:root {
  --primary: #9f1239;
  --accent: #e11d48;
  --bg: #fafafa;
  --text: #3f0a1a;
  --white: #ffffff;
  --shadow: rgba(159, 18, 57, 0.2);
  --shadow-heavy: rgba(159, 18, 57, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--primary);
}

/* 拟物厚重感 */
.btn-heavy {
  background: linear-gradient(145deg, var(--accent), var(--primary));
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 6px 20px var(--shadow), 0 2px 0 rgba(255,255,255,0.2) inset, 0 -4px 8px rgba(0,0,0,0.15) inset;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-heavy:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--shadow-heavy), 0 2px 0 rgba(255,255,255,0.2) inset;
  color: white;
}
.btn-outline-heavy {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 15px rgba(159, 18, 57, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-outline-heavy:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 25px var(--shadow);
  transform: translateY(-2px);
}

/* 导航 */
.navbar-custom {
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(159, 18, 57, 0.1);
  padding: 16px 0;
  border-bottom: 3px solid var(--primary);
}
.navbar-brand-custom {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 rgba(225, 29, 72, 0.2);
}
.navbar-brand-custom i {
  color: var(--accent);
  margin-right: 8px;
}
.nav-link-custom {
  color: var(--text);
  font-weight: 600;
  margin: 0 12px;
  padding: 8px 4px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}
.nav-link-custom:hover {
  color: var(--primary);
  border-bottom-color: var(--accent);
}
.navbar-toggler {
  border: 2px solid var(--primary);
  color: var(--primary);
}

/* Hero 区 */
.hero-section {
  background: linear-gradient(135deg, rgba(159, 18, 57, 0.08) 0%, rgba(250, 250, 250, 0) 60%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.1) 0%, transparent 70%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 20px;
  text-shadow: 3px 3px 0 rgba(225, 29, 72, 0.15);
}
.hero-subtitle {
  font-size: 1.25rem;
  color: #6b4a5c;
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* 波浪分隔 */
.wave-divider {
  display: block;
  width: 100%;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%239f1239' fill-opacity='0.08' d='M0,32L80,37.3C160,43,320,53,480,53.3C640,53,800,43,960,37.3C1120,32,1280,32,1360,32L1440,32L1440,80L0,80Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
}

/* 手风琴说明区 */
.accordion-custom .accordion-item {
  background: white;
  border: none;
  border-radius: 16px !important;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(159, 18, 57, 0.1);
  overflow: hidden;
}
.accordion-custom .accordion-button {
  font-weight: 700;
  color: var(--primary);
  padding: 20px 24px;
  font-size: 1.1rem;
  background: white;
  box-shadow: none !important;
}
.accordion-custom .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(159, 18, 57, 0.05), rgba(225, 29, 72, 0.03));
  color: var(--accent);
}
.accordion-custom .accordion-body {
  padding: 20px 24px;
  color: var(--text);
  border-top: 1px solid rgba(159, 18, 57, 0.1);
}

/* Bento 网格 */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  grid-auto-rows: minmax(120px, auto);
}
.bento-card {
  background: white;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 8px 30px rgba(159, 18, 57, 0.12), 0 2px 0 rgba(255,255,255,0.8) inset;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(159, 18, 57, 0.1);
}
.bento-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}
.bento-card:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 45px rgba(159, 18, 57, 0.2), 0 4px 0 rgba(255,255,255,0.9) inset;
  border-color: var(--accent);
}
.bento-card:hover::after {
  opacity: 1;
}
.bento-card-large {
  grid-column: span 2;
  grid-row: span 2;
}
.bento-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.bento-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.bento-desc {
  color: #6b4a5c;
  line-height: 1.7;
}
.bento-placeholder-img {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(159, 18, 57, 0.1), rgba(225, 29, 72, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 600;
  margin-top: 16px;
  overflow: hidden;
}
.bento-placeholder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 长文区 */
.long-article {
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 10px 40px rgba(159, 18, 57, 0.1);
  position: relative;
  overflow: hidden;
}
.long-article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.long-article h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
.long-article p {
  margin-bottom: 20px;
  color: #5a3a4a;
  font-size: 1.05rem;
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(159, 18, 57, 0.08);
  transition: all 0.3s;
}
.faq-item:hover {
  box-shadow: 0 10px 30px rgba(159, 18, 57, 0.15);
  transform: translateY(-3px);
}
.faq-question {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-question i {
  color: var(--accent);
}
.faq-answer {
  color: #6b4a5c;
  padding-left: 34px;
}

/* CTA 区 */
.cta-section {
  background: linear-gradient(145deg, var(--primary), #7a0e2d);
  border-radius: 24px;
  padding: 60px;
  color: white;
  text-align: center;
  box-shadow: 0 20px 60px rgba(159, 18, 57, 0.3);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-section h2 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  font-size: 1.1rem;
}
.cta-section .btn-light-custom {
  background: white;
  color: var(--primary);
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: all 0.3s;
  display: inline-block;
}
.cta-section .btn-light-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

/* 页脚 */
.footer-custom {
  background: #2a0a14;
  color: rgba(255,255,255,0.7);
  padding: 40px 0 20px;
  margin-top: 80px;
}
.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin: 0 12px;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: white;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 30px;
  font-size: 0.9rem;
}

/* 友情链接 */
.friend-links {
  background: rgba(159, 18, 57, 0.05);
  border-radius: 16px;
  padding: 24px 32px;
  margin: 40px 0;
}
.friend-links h5 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.friend-links .links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #6b4a5c;
}

/* 滚动渐显 */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* 图片懒加载占位 */
.img-lazy {
  background: linear-gradient(135deg, #f0e4e8, #e8d6dc);
  min-height: 100px;
}

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .cta-section {
    padding: 40px 20px;
  }
}
@media (max-width: 576px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card-large {
    grid-column: span 1;
    grid-row: span 1;
  }
  .long-article {
    padding: 28px;
  }
}

/* --- 子页面追加 --- */
/* 本页专属的少量补充样式 */
        .about-hero {
            background: linear-gradient(135deg, var(--bg) 0%, rgba(159, 18, 57, 0.08) 100%);
            padding: 80px 0 40px;
        }
.about-section {
            padding: 60px 0;
        }
.about-section-alt {
            background: rgba(159, 18, 57, 0.04);
        }
.about-card-custom {
            background: var(--white);
            border-radius: 16px;
            padding: 32px;
            height: 100%;
            border: 1px solid rgba(159, 18, 57, 0.1);
            box-shadow: 0 4px 20px rgba(159, 18, 57, 0.06);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.about-card-custom:hover {
            transform: translateY(-6px);
            box-shadow: 0 8px 30px var(--shadow);
        }
.about-icon-circle {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            color: var(--white);
            font-size: 24px;
        }
.about-title-custom {
            color: var(--primary);
            font-weight: 800;
            font-size: 28px;
            margin-bottom: 16px;
            position: relative;
            padding-bottom: 12px;
        }
.about-title-custom::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 2px;
        }
.about-text-custom {
            color: var(--text);
            line-height: 1.8;
            font-size: 16px;
        }
.about-text-custom strong {
            color: var(--primary);
        }
.about-value-list {
            list-style: none;
            padding: 0;
            margin: 20px 0 0;
        }
.about-value-list li {
            padding: 8px 0;
            color: var(--text);
            display: flex;
            align-items: flex-start;
            gap: 12px;
            line-height: 1.6;
        }
.about-value-list li i {
            color: var(--accent);
            margin-top: 4px;
        }
.timeline-custom {
            position: relative;
            padding-left: 30px;
        }
.timeline-custom::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(180deg, var(--primary), var(--accent));
            border-radius: 3px;
        }
.timeline-item {
            position: relative;
            padding: 0 0 40px 20px;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -6px;
            top: 4px;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: var(--white);
            border: 3px solid var(--accent);
        }
.timeline-year {
            font-weight: 800;
            color: var(--primary);
            font-size: 18px;
            margin-bottom: 8px;
        }
.timeline-desc {
            color: var(--text);
            line-height: 1.7;
        }
.about-hero {
                padding: 50px 0 30px;
            }
.about-section {
                padding: 40px 0;
            }
.about-title-custom {
                font-size: 22px;
            }

/* --- 子页面追加 --- */
/* 免责声明正文区域增强 */
        .disclaimer-hero {
            background: linear-gradient(135deg, rgba(159,18,57,.06) 0%, rgba(225,29,72,.04) 100%);
            border-bottom: 1px solid rgba(159,18,57,.1);
        }
.disclaimer-card {
            background: var(--white);
            border: 1px solid rgba(159,18,57,.1);
            border-radius: 16px;
            padding: 2rem 2.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 4px 20px rgba(159,18,57,.06);
            transition: box-shadow .3s ease;
        }
.disclaimer-card:hover {
            box-shadow: 0 8px 30px rgba(159,18,57,.12);
        }
.disclaimer-card h2 {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.5rem;
            margin-bottom: 1.2rem;
            display: flex;
            align-items: center;
            gap: .75rem;
        }
.disclaimer-card h2 i {
            color: var(--accent);
            font-size: 1.3rem;
            width: 2rem;
            text-align: center;
        }
.disclaimer-card p, .disclaimer-card li {
            color: var(--text);
            line-height: 1.8;
            font-size: .95rem;
        }
.disclaimer-card ul, .disclaimer-card ol {
            padding-left: 1.5rem;
            margin-bottom: 1rem;
        }
.disclaimer-card li {
            margin-bottom: .5rem;
        }
.disclaimer-card strong {
            color: var(--primary);
            font-weight: 600;
        }
.disclaimer-highlight {
            background: rgba(159,18,57,.05);
            border-left: 4px solid var(--accent);
            padding: 1rem 1.5rem;
            border-radius: 0 8px 8px 0;
            margin: 1.5rem 0;
        }
.disclaimer-highlight p {
            margin-bottom: 0;
            font-style: italic;
        }
.disclaimer-meta {
            font-size: .85rem;
            color: rgba(63,10,26,.6);
            border-top: 1px solid rgba(159,18,57,.08);
            padding-top: 1.2rem;
            margin-top: 2rem;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1rem;
        }
.disclaimer-meta span i {
            color: var(--accent);
            margin-right: .4rem;
        }
.active-nav {
            color: var(--accent) !important;
            font-weight: 700 !important;
            border-bottom: 2px solid var(--accent);
        }
.disclaimer-card {
                padding: 1.5rem;
            }
.disclaimer-card h2 {
                font-size: 1.25rem;
            }

/* --- 子页面追加 --- */
/* 本页专属少量样式 */
    .privacy-hero {
      padding: 120px 0 60px;
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      color: var(--white);
      position: relative;
      overflow: hidden;
    }
.privacy-hero::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      right: 0;
      height: 60px;
      background: var(--bg);
      clip-path: polygon(0 100%, 100% 100%, 50% 0);
    }
.privacy-content {
      max-width: 800px;
      margin: 0 auto;
      padding: 40px 20px;
    }
.privacy-content h2 {
      color: var(--primary);
      font-weight: 700;
      margin: 40px 0 16px;
      padding-bottom: 8px;
      border-bottom: 2px solid var(--accent);
    }
.privacy-content h3 {
      color: var(--primary);
      font-weight: 600;
      margin: 24px 0 12px;
    }
.privacy-content p {
      line-height: 1.8;
      color: var(--text);
      margin-bottom: 16px;
    }
.privacy-content ul, .privacy-content ol {
      margin-left: 20px;
      margin-bottom: 16px;
    }
.privacy-content li {
      line-height: 1.8;
      color: var(--text);
      margin-bottom: 8px;
    }
.privacy-box {
      background: var(--white);
      border-left: 4px solid var(--accent);
      padding: 20px 24px;
      margin: 24px 0;
      box-shadow: 0 4px 15px var(--shadow);
      border-radius: 0 8px 8px 0;
    }
.privacy-box p {
      margin-bottom: 0;
    }
.last-updated {
      font-size: 0.9rem;
      color: var(--primary);
      font-style: italic;
      margin-bottom: 24px;
    }

/* --- 子页面追加 --- */
/* 仅本页排行卡片/徽章等特殊修饰，保证与站点风格融合 */
    .rank-card {
      background: rgba(255,255,255,0.65);
      backdrop-filter: blur(2px);
      border: 1px solid var(--shadow);
      border-radius: 24px;
      padding: 1.5rem 1.2rem;
      transition: transform 0.2s ease, box-shadow 0.2s;
      box-shadow: 0 8px 20px var(--shadow);
    }
.rank-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 14px 28px var(--shadow-heavy);
      background: rgba(255,255,255,0.85);
    }
.rank-badge {
      background: var(--primary);
      color: var(--white);
      font-weight: 700;
      display: inline-block;
      padding: 0.2rem 0.8rem;
      border-radius: 30px;
      font-size: 0.8rem;
      letter-spacing: 0.5px;
      box-shadow: 0 3px 10px var(--shadow);
    }
.rank-list-group {
      list-style: none;
      padding-left: 0;
      margin-bottom: 0;
    }
.rank-item {
      border-bottom: 1px dashed rgba(159,18,57,0.2);
      padding: 0.9rem 0.2rem;
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }
.rank-item:last-child { border-bottom: none; }
.rank-number {
      font-weight: 800;
      font-size: 1.5rem;
      color: var(--primary);
      min-width: 2.2rem;
      text-align: center;
    }
.rank-info { flex: 1; }
.rank-title {
      font-weight: 700;
      color: var(--text);
      margin-bottom: 0.15rem;
      font-size: 1.05rem;
    }
.rank-meta {
      color: var(--primary);
      font-size: 0.85rem;
      opacity: 0.8;
    }
.rank-tag {
      background: var(--accent);
      color: var(--white);
      font-size: 0.7rem;
      padding: 0.15rem 0.6rem;
      border-radius: 20px;
      font-weight: 600;
      margin-left: 0.5rem;
      letter-spacing: 0.3px;
    }
.section-title {
      display: inline-block;
      border-bottom: 4px solid var(--accent);
      padding-bottom: 6px;
      margin-bottom: 1.8rem;
      font-weight: 800;
      color: var(--text);
    }
.table-wrap {
      background: rgba(255,255,255,0.5);
      border-radius: 20px;
      padding: 1.2rem;
      border: 1px solid var(--shadow);
    }
.table-wrap table {
      margin-bottom: 0;
      color: var(--text);
    }
.table-wrap td, .table-wrap th {
      border-color: rgba(159,18,57,0.15);
      padding: 0.8rem 0.5rem;
    }
.table-wrap th {
      font-weight: 700;
      color: var(--primary);
    }
/* 尽量不依赖bootstrap组件，所以自己控制表格背景 */
    .table-wrap table tbody tr:hover {
      background: rgba(225, 29, 72, 0.04);
    }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.table { color:#3f0a1a !important; border-color:rgba(0,0,0,.12) !important; --bs-table-bg:transparent !important; --bs-table-color:#3f0a1a !important; }
.accordion-header { background:transparent !important; }
