/* Template65 - 深海珊瑚 | whatsapp网页版 */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;800&display=swap');
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Raleway', sans-serif;background:#0a2a3a;color:#e0f4f4;line-height:1.7;font-size:16px}
a{color:#FF6B6B;text-decoration:none;transition:color 0.2s}
a:hover{color:#20B2AA}
img{max-width:100%;height:auto;display:block}
ul{list-style:none}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.section-pad{padding:60px 0}
.text-center{text-align:center}
.mt-40{margin-top:40px}
.navbar{background:#0a2a3a;padding:0 20px;position:sticky;top:0;z-index:1000;box-shadow:0 2px 8px rgba(0,0,0,0.15)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:10px;font-size:1.2rem;font-weight:700;color:#e0f4f4}
.brand img{border-radius:6px}
.nav-links{display:flex;gap:24px;align-items:center}
.nav-links a{color:#e0f4f4;font-weight:600;font-size:0.95rem;padding:4px 0;border-bottom:2px solid transparent;transition:border-color 0.2s}
.nav-links a:hover,.nav-links a.active{border-bottom-color:#FF6B6B;color:#FF6B6B}
.nav-toggle{display:none;background:none;border:none;color:#e0f4f4;font-size:1.5rem;cursor:pointer}
.slider-wrap{position:relative;overflow:hidden;max-height:500px}
.slider{display:flex;transition:transform 0.5s ease}
.slide{min-width:100%;position:relative}
.slide img{width:100%;height:400px;object-fit:cover}
.slide-caption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,0.7));padding:40px 40px 30px;color:#fff}
.hero-sub{font-size:1.1rem;margin:10px 0 20px;opacity:0.9}
.slider-prev,.slider-next{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,0.5);color:#fff;border:none;width:44px;height:44px;font-size:1.5rem;cursor:pointer;border-radius:50%;transition:background 0.2s}
.slider-prev{left:16px}.slider-next{right:16px}
.slider-prev:hover,.slider-next:hover{background:#FF6B6B}
.slider-dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:8px}
.dot{width:10px;height:10px;background:rgba(255,255,255,0.5);border-radius:50%;cursor:pointer;transition:background 0.2s}
.dot.active{background:#FF6B6B}
.stats-bar{background:#FF6B6B;padding:24px 0}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center}
.stat-item{color:#fff}
.stat-num{display:block;font-size:2rem;font-weight:800}
.stat-label{font-size:0.9rem;opacity:0.9}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:32px}
.section-sub{color:#e0f4f4;opacity:0.7;margin-top:8px;margin-bottom:24px}
.card-img{width:100%;height:180px;object-fit:cover;border-radius:6px;margin-bottom:16px}
.card-body{padding:0}
.articles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:32px}
.article-card{overflow:hidden}
.card-meta{display:flex;gap:12px;font-size:0.85rem;opacity:0.7;margin:8px 0}
.btn-sm{padding:6px 16px;font-size:0.85rem;display:inline-block;margin-top:10px}
.faq-list{display:flex;flex-direction:column;gap:16px;margin-top:24px}
.faq-item{cursor:pointer}
.faq-item summary{font-weight:600;padding:4px 0;cursor:pointer}
.faq-item summary h3{display:inline;font-size:1rem}
.faq-item p{margin-top:12px;opacity:0.85}
.breadcrumb-bar{background:#0d3347;padding:12px 0;border-bottom:1px solid rgba(128,128,128,0.2)}
.breadcrumb ol{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:0.9rem}
.breadcrumb li+li::before{content:'>';opacity:0.5;margin-right:8px}
.list-header{background:#0d3347;padding:40px 0}
.list-layout{display:grid;grid-template-columns:1fr 300px;gap:32px}
.list-item{display:flex;gap:20px;margin-bottom:24px}
.list-thumb img{width:200px;height:130px;object-fit:cover;border-radius:6px;flex-shrink:0}
.list-meta{display:flex;gap:12px;font-size:0.85rem;opacity:0.7;margin:8px 0;flex-wrap:wrap}
.list-excerpt{font-size:0.95rem;opacity:0.8;margin:8px 0}
.list-cat a{color:#FF6B6B;font-weight:600}
.pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:32px}
.page-num{font-weight:600}
.sidebar-widget{margin-bottom:24px}
.widget-title{font-size:1.1rem;font-weight:700;color:#FF6B6B;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid #FF6B6B}
.widget-list li{padding:8px 0;border-bottom:1px solid rgba(128,128,128,0.15);display:flex;justify-content:space-between;align-items:center}
.hot-count{font-size:0.8rem;opacity:0.6}
.tag-cloud{display:flex;flex-wrap:wrap;gap:8px}
.tag-item{background:#0d3347;border:1px solid #FF6B6B;color:#FF6B6B;padding:4px 12px;border-radius:20px;font-size:0.85rem;transition:all 0.2s}
.tag-item:hover{background:#FF6B6B;color:#fff}
.show-layout{display:grid;grid-template-columns:1fr 300px;gap:32px}
.article-header{margin-bottom:24px}
.article-header h1{font-size:1.8rem;font-weight:700;margin-bottom:12px;line-height:1.4}
.article-meta{display:flex;gap:16px;font-size:0.85rem;opacity:0.7;flex-wrap:wrap}
.article-cover{margin:20px 0}
.article-cover img{width:100%;height:400px;object-fit:cover;border-radius:8px}
.article-cover figcaption{font-size:0.85rem;opacity:0.6;text-align:center;margin-top:8px}
.article-content{font-size:1rem;line-height:1.9}
.article-content h2{font-size:1.4rem;font-weight:700;color:#FF6B6B;margin:28px 0 12px}
.article-content h3{font-size:1.2rem;font-weight:600;margin:20px 0 10px}
.article-content p{margin-bottom:16px}
.article-footer{margin-top:32px;padding-top:20px;border-top:1px solid rgba(128,128,128,0.2);display:flex;gap:20px;flex-wrap:wrap;align-items:center}
.article-tags,.article-share{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.related-item a{display:flex;gap:10px;align-items:center;padding:8px 0}
.related-item img{border-radius:4px;flex-shrink:0}
.site-footer{background:#0d3347;padding:48px 0 24px;border-top:2px solid #FF6B6B}
.footer-inner{display:grid;grid-template-columns:2fr 1fr 1fr;gap:32px}
.footer-brand img{margin-bottom:12px}
.footer-brand p{font-size:0.9rem;opacity:0.7;margin-bottom:4px}
.footer-links h4{font-size:1rem;font-weight:700;color:#FF6B6B;margin-bottom:12px}
.footer-links ul li{margin-bottom:8px}
.footer-links ul li a{font-size:0.9rem;opacity:0.8}
.footer-links ul li a:hover{opacity:1;color:#FF6B6B}
.footer-copy{grid-column:1/-1;text-align:center;padding-top:24px;border-top:1px solid rgba(128,128,128,0.2);font-size:0.85rem;opacity:0.6}

/* 深海珊瑚核心样式 */
body { background: #0a2a3a; color: #e0f4f4; }
.hero-section {
  background: linear-gradient(180deg, #0a2a3a 0%, #0d3347 60%, #0a2a3a 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80'%3E%3Cpath d='M0,40 C300,80 900,0 1200,40 L1200,80 L0,80 Z' fill='%230a2a3a'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}
.hero-title {
  color: #FF6B6B;
  font-size: 3rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(255,107,107,0.3);
}
.ocean-card {
  background: #0d3347;
  border: 1px solid rgba(32,178,170,0.3);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ocean-card:hover {
  border-color: #20B2AA;
  box-shadow: 0 0 20px rgba(32,178,170,0.2);
}
.ocean-btn {
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}
.ocean-btn:hover { opacity: 0.85; }
.section-title { color: #20B2AA; font-size: 2rem; font-weight: 800; }
.bubble { display: inline-block; width: 8px; height: 8px; background: rgba(32,178,170,0.5); border-radius: 50%; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media(max-width:768px){
  .nav-links{display:none;flex-direction:column;position:absolute;top:64px;left:0;right:0;background:#0a2a3a;padding:20px;gap:16px}
  .nav-links.open{display:flex}
  .nav-toggle{display:block}
  .features-grid,.articles-grid{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .list-layout,.show-layout{grid-template-columns:1fr}
  .list-item{flex-direction:column}
  .list-thumb img{width:100%;height:200px}
  .footer-inner{grid-template-columns:1fr}
  .hero-title{font-size:1.8rem}
  .slide img{height:250px}
}
