:root {
  --primary: #9f1239;
  --accent: #e11d48;
  --bg: #fafafa;
  --text: #3f0a1a;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 10px 40px rgba(159, 18, 57, 0.08), 0 4px 12px rgba(159, 18, 57, 0.05);
  --shadow-hover: 0 16px 48px rgba(159, 18, 57, 0.14), 0 6px 16px rgba(159, 18, 57, 0.08);
}

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

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

.bg-dots {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(159, 18, 57, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.bg-grid-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(rgba(159, 18, 57, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(159, 18, 57, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.wrapper {
  position: relative;
  z-index: 1;
}

/* 顶部导航 */
.navbar-custom {
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(159, 18, 57, 0.06);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: box-shadow 0.3s ease;
}

.navbar-custom.scrolled {
  box-shadow: 0 4px 30px rgba(159, 18, 57, 0.06);
}

.navbar-brand {
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--primary) !important;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.navbar-brand i {
  color: var(--accent);
  margin-right: 8px;
  font-size: 1.4rem;
}

.navbar-nav .nav-link {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent);
  background: rgba(225, 29, 72, 0.06);
}

/* 左侧固定栏 */
.sidebar {
  position: fixed;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  z-index: 500;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(159, 18, 57, 0.08);
}

.sidebar a {
  color: var(--text);
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.sidebar a:hover {
  background: rgba(225, 29, 72, 0.1);
  color: var(--accent);
  transform: scale(1.1);
}

/* Hero 区 */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.keyword-tag {
  background: white;
  border: 1px solid rgba(159, 18, 57, 0.1);
  color: var(--text);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(159, 18, 57, 0.04);
  animation: floatTag 6s ease-in-out infinite;
  transition: all 0.3s ease;
}

.keyword-tag:nth-child(2n) { animation-delay: 1s; }
.keyword-tag:nth-child(3n) { animation-delay: 2s; }
.keyword-tag:nth-child(4n) { animation-delay: 3s; }
.keyword-tag:nth-child(5n) { animation-delay: 4s; }

.keyword-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.12);
}

@keyframes floatTag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(63, 10, 26, 0.7);
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(63, 10, 26, 0.6);
  font-weight: 500;
}

/* 区块通用 */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: rgba(63, 10, 26, 0.6);
  max-width: 600px;
  margin-bottom: 48px;
}

/* 手风琴 */
.accordion-custom {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.accordion-item-custom {
  border-bottom: 1px solid rgba(159, 18, 57, 0.06);
}

.accordion-item-custom:last-child {
  border-bottom: none;
}

.accordion-header-custom {
  padding: 24px 32px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  transition: background 0.3s ease;
}

.accordion-header-custom:hover {
  background: rgba(225, 29, 72, 0.02);
}

.accordion-header-custom i {
  color: var(--accent);
  transition: transform 0.4s ease;
}

.accordion-header-custom.active i {
  transform: rotate(180deg);
}

.accordion-body-custom {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 32px;
}

.accordion-body-custom.open {
  max-height: 500px;
  padding-bottom: 24px;
}

.accordion-body-custom p {
  color: rgba(63, 10, 26, 0.7);
  line-height: 1.8;
}

/* 特色网格 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
  border: 1px solid rgba(159, 18, 57, 0.04);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-card h4 {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  color: rgba(63, 10, 26, 0.6);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 长文区 */
.long-read {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.long-read::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.long-read h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--primary);
}

.long-read p {
  margin-bottom: 20px;
  color: rgba(63, 10, 26, 0.75);
  font-size: 1rem;
  line-height: 1.9;
}

.long-read .highlight {
  color: var(--accent);
  font-weight: 700;
}

/* 瀑布流卡片 */
.masonry-grid {
  columns: 3;
  column-gap: 24px;
}

.masonry-card {
  break-inside: avoid;
  margin-bottom: 24px;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
  position: relative;
}

.masonry-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.masonry-card .card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.masonry-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.masonry-card:hover .card-img img {
  transform: scale(1.08);
}

.masonry-card .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(63, 10, 26, 0.9));
  padding: 60px 20px 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: white;
}

.masonry-card:hover .card-overlay {
  opacity: 1;
}

.card-overlay h5 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.card-overlay p {
  font-size: 0.85rem;
  opacity: 0.8;
}

.card-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(63, 10, 26, 0.75);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  color: white;
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.cta-section h2 {
  font-weight: 900;
  font-size: 2.2rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.cta-btn {
  background: white;
  color: var(--primary) !important;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* 友情链接 */
.friend-links {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 32px;
  margin-top: 60px;
}

.friend-links h5 {
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.friend-links h5 i {
  color: var(--accent);
}

.friend-links .links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* 回到顶部 */
#backToTop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  box-shadow: 0 8px 24px rgba(159, 18, 57, 0.3);
  z-index: 1000;
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

/* 页脚 */
.footer-custom {
  background: white;
  border-top: 1px solid rgba(159, 18, 57, 0.06);
  padding: 40px 0 24px;
  margin-top: 80px;
}

.footer-custom .brand {
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--primary);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
}

.footer-links a {
  color: rgba(63, 10, 26, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  text-align: center;
  color: rgba(63, 10, 26, 0.5);
  font-size: 0.85rem;
  border-top: 1px solid rgba(159, 18, 57, 0.06);
  padding-top: 24px;
  margin-top: 24px;
}

/* 响应式 */
@media (max-width: 1200px) {
  .masonry-grid {
    columns: 2;
  }
}

@media (max-width: 992px) {
  .sidebar {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
  
  .hero-section {
    padding: 50px 0 40px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .masonry-grid {
    columns: 1;
  }
  
  .long-read {
    padding: 32px 24px;
  }
  
  .cta-section {
    padding: 40px 24px;
  }
  
  #backToTop {
    bottom: 20px;
    right: 20px;
  }
}

/* --- 子页面追加 --- */
.about-hero {
            padding: 120px 0 80px;
            position: relative;
            background: var(--bg);
        }
.about-hero h1 {
            font-size: 3rem;
            font-weight: 900;
            color: var(--primary);
            margin-bottom: 20px;
            letter-spacing: -0.02em;
        }
.about-hero .lead {
            font-size: 1.2rem;
            color: var(--text);
            opacity: 0.85;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.8;
        }
.about-content {
            padding: 60px 0;
            background: var(--bg);
        }
.about-card {
            background: #ffffff;
            border-radius: var(--radius-lg);
            padding: 40px;
            margin-bottom: 40px;
            box-shadow: var(--shadow-soft);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid rgba(159, 18, 57, 0.08);
        }
.about-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
.about-card h2 {
            color: var(--primary);
            font-weight: 800;
            font-size: 1.8rem;
            margin-bottom: 20px;
            letter-spacing: -0.01em;
            position: relative;
            padding-bottom: 15px;
        }
.about-card h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--accent);
            border-radius: 3px;
        }
.about-card h3 {
            color: var(--text);
            font-weight: 700;
            font-size: 1.3rem;
            margin: 25px 0 15px;
        }
.about-card p {
            color: var(--text);
            line-height: 1.8;
            opacity: 0.85;
            margin-bottom: 15px;
            font-size: 1rem;
        }
.about-card ul, .about-card ol {
            color: var(--text);
            line-height: 2;
            opacity: 0.85;
            padding-left: 20px;
            margin-bottom: 15px;
        }
.about-card li {
            margin-bottom: 8px;
        }
.about-card strong {
            color: var(--primary);
            font-weight: 700;
        }
.about-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 1.5rem;
            color: #ffffff;
            box-shadow: 0 8px 24px rgba(159, 18, 57, 0.2);
        }
.timeline {
            position: relative;
            padding-left: 30px;
            margin: 20px 0;
        }
.timeline::before {
            content: '';
            position: absolute;
            left: 8px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(to bottom, var(--primary), var(--accent));
        }
.timeline-item {
            position: relative;
            margin-bottom: 25px;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -27px;
            top: 8px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--accent);
            border: 2px solid #ffffff;
            box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.2);
        }
.timeline-item .year {
            font-weight: 800;
            color: var(--primary);
            font-size: 1.1rem;
            display: block;
            margin-bottom: 5px;
        }
.timeline-item .desc {
            color: var(--text);
            opacity: 0.85;
            line-height: 1.6;
        }
.stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
.stats-box {
            text-align: center;
            padding: 25px 15px;
            background: linear-gradient(135deg, rgba(159, 18, 57, 0.05), rgba(225, 29, 72, 0.08));
            border-radius: var(--radius-md);
            border: 1px solid rgba(159, 18, 57, 0.1);
        }
.stats-box .number {
            font-size: 2rem;
            font-weight: 900;
            color: var(--primary);
            display: block;
            margin-bottom: 5px;
        }
.stats-box .label {
            font-size: 0.9rem;
            color: var(--text);
            opacity: 0.75;
        }
.feature-badge {
            display: inline-block;
            padding: 6px 16px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #ffffff;
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-right: 10px;
            margin-bottom: 10px;
        }
.about-hero {
                padding: 100px 0 60px;
            }
.about-hero h1 {
                font-size: 2.2rem;
            }
.about-card {
                padding: 25px;
            }
.stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }

/* --- 子页面追加 --- */
/* 本页专属样式 — 覆盖bootstrap组件确保与站点风格一致 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
            background: var(--bg);
            color: var(--text);
            border-color: rgba(159, 18, 57, 0.15);
        }
.form-control, .form-select {
            background: rgba(255, 255, 255, 0.7);
            color: var(--text);
            border: 1px solid rgba(159, 18, 57, 0.25);
        }
.form-control::placeholder {
            color: rgba(63, 10, 26, 0.5);
        }
.form-label {
            color: var(--text);
            font-weight: 600;
        }
.list-group-item {
            background: var(--bg);
            color: var(--text);
            border-color: rgba(159, 18, 57, 0.1);
        }
.accordion-item, .accordion-button, .accordion-body {
            background: var(--bg);
            color: var(--text);
        }
.accordion-button:not(.collapsed) {
            background: rgba(159, 18, 57, 0.08);
            color: var(--primary);
        }
.btn-outline-primary {
            border-color: var(--primary);
            color: var(--primary);
        }
.btn-outline-primary:hover {
            background: var(--primary);
            color: #fff;
        }
/* 本站特色卡片 */
        .plan-card {
            background: var(--bg);
            border: 1px solid rgba(159, 18, 57, 0.15);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-soft);
            transition: transform .2s, box-shadow .2s;
            height: 100%;
        }
.plan-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
.plan-card .plan-title {
            font-weight: 700;
            color: var(--primary);
        }
.plan-card .plan-price {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text);
        }
.plan-card .btn-subscribe {
            background: var(--accent);
            border: none;
            color: #fff;
            font-weight: 600;
            border-radius: 50px;
            padding: 10px 28px;
            transition: .2s;
        }
.plan-card .btn-subscribe:hover {
            background: var(--primary);
            transform: scale(1.02);
        }
/* 高亮当前导航 */
        .navbar-custom .nav-link.active {
            color: var(--accent) !important;
            font-weight: 600;
        }
.navbar-custom .nav-link {
            color: var(--text);
        }
.bg-soft-tint {
            background: rgba(159, 18, 57, 0.03);
        }
.section-title-custom {
            font-weight: 800;
            color: var(--primary);
        }
hr {
            border-top: 1px solid rgba(159, 18, 57, 0.15);
        }

/* --- 子页面追加 --- */
/* 确保Bootstrap 组件不会破坏站点深色/玫瑰色调 —— 只使用栅格与工具类，组件全部自写 */
    .legal-card {
      background: var(--bg, #fafafa);
      color: var(--text, #3f0a1a);
      border-radius: var(--radius-lg, 24px);
      box-shadow: var(--shadow-soft, 0 10px 40px rgba(159,18,57,0.08));
      padding: 2rem 1.8rem;
      margin-bottom: 2rem;
      border: 1px solid rgba(159,18,57,0.08);
      transition: box-shadow 0.2s ease, transform 0.2s ease;
    }
.legal-card:hover {
      box-shadow: var(--shadow-hover, 0 16px 48px rgba(159,18,57,0.14));
    }
.legal-card h2, .legal-card h3 {
      color: var(--primary, #9f1239);
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 1.2rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
.legal-card h2 i, .legal-card h3 i {
      color: var(--accent, #e11d48);
      font-size: 0.9em;
    }
.legal-card p, .legal-card li {
      color: #5c1a2f;
      line-height: 1.7;
      font-weight: 400;
    }
.legal-card ul, .legal-card ol {
      padding-left: 1.2rem;
      margin-bottom: 1rem;
    }
.legal-card li {
      margin-bottom: 0.4rem;
    }
.legal-card a {
      color: var(--primary, #9f1239);
      text-decoration: underline;
      text-underline-offset: 2px;
      font-weight: 500;
    }
.legal-card a:hover {
      color: var(--accent, #e11d48);
    }
.legal-highlight {
      background: rgba(159, 18, 57, 0.05);
      padding: 0.8rem 1.2rem;
      border-radius: var(--radius-md, 16px);
      border-left: 4px solid var(--accent, #e11d48);
      margin: 1.5rem 0;
    }
.legal-meta {
      font-size: 0.9rem;
      color: #7a4052;
      border-bottom: 1px dashed rgba(159,18,57,0.2);
      padding-bottom: 1rem;
      margin-bottom: 1.8rem;
    }
.legal-meta i {
      margin-right: 0.4rem;
      color: var(--accent, #e11d48);
    }
.badge-soft {
      background: rgba(225, 29, 72, 0.1);
      color: var(--primary, #9f1239);
      font-weight: 600;
      padding: 0.2rem 0.8rem;
      border-radius: 30px;
      font-size: 0.75rem;
    }
/* 导航高亮当前页 */
    .navbar-custom .nav-link.active {
      color: var(--accent, #e11d48) !important;
      font-weight: 600;
    }

/* --- 子页面追加 --- */
/* 页面专属补充样式 */
        .privacy-hero {
            padding: 60px 0 40px;
            background: linear-gradient(180deg, rgba(159,18,57,0.04) 0%, transparent 100%);
        }
.privacy-hero h1 {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 16px;
            line-height: 1.2;
        }
.privacy-hero .hero-subtitle {
            font-size: 1.05rem;
            color: #8a5a6a;
            max-width: 720px;
            line-height: 1.7;
        }
.privacy-section {
            background: #fff;
            border-radius: var(--radius-lg);
            padding: 36px;
            margin-bottom: 28px;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(159,18,57,0.06);
            transition: box-shadow .3s ease, transform .3s ease;
        }
.privacy-section:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-2px);
        }
.privacy-section h2 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 20px;
            padding-bottom: 14px;
            border-bottom: 2px solid rgba(159,18,57,0.1);
            position: relative;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.privacy-section h2 i {
            color: var(--primary);
            font-size: 1.2rem;
        }
.privacy-section p {
            color: #5a3644;
            line-height: 1.85;
            margin-bottom: 16px;
            font-size: 0.95rem;
        }
.privacy-section ul {
            padding-left: 0;
            list-style: none;
            margin-bottom: 16px;
        }
.privacy-section ul li {
            padding: 8px 0 8px 28px;
            position: relative;
            color: #5a3644;
            line-height: 1.7;
            font-size: 0.95rem;
        }
.privacy-section ul li::before {
            content: '\f058';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 9px;
            color: var(--primary);
            font-size: 0.85rem;
        }
.privacy-section .highlight-box {
            background: rgba(159,18,57,0.05);
            border-left: 4px solid var(--primary);
            padding: 18px 20px;
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            margin: 20px 0;
        }
.privacy-section .highlight-box p {
            margin-bottom: 0;
            font-size: 0.92rem;
            color: #4a2a38;
        }
.privacy-section .update-date {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(159,18,57,0.08);
            color: var(--primary);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 20px;
        }
.privacy-section .update-date i {
            font-size: 0.75rem;
        }
.privacy-contact-card {
            background: linear-gradient(135deg, rgba(159,18,57,0.03) 0%, rgba(225,29,72,0.05) 100%);
            border: 1px dashed rgba(159,18,57,0.2);
            border-radius: var(--radius-md);
            padding: 24px;
            margin-top: 20px;
            text-align: center;
        }
.privacy-contact-card p {
            margin-bottom: 12px;
            font-size: 0.95rem;
        }
.privacy-contact-card a {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            border-bottom: 2px solid rgba(159,18,57,0.15);
            transition: border-color .3s;
        }
.privacy-contact-card a:hover {
            border-color: var(--primary);
        }
.privacy-hero h1 {
                font-size: 1.8rem;
            }
.privacy-section {
                padding: 24px;
            }
.privacy-section h2 {
                font-size: 1.2rem;
            }

/* --- 子页面追加 --- */
.contact-hero { padding: 80px 0 40px; }
.contact-card {
            background: #ffffff;
            border: 1px solid rgba(159, 18, 57, 0.08);
            border-radius: var(--radius-lg);
            padding: 40px 32px;
            height: 100%;
            box-shadow: var(--shadow-soft);
            transition: transform .3s ease, box-shadow .3s ease;
        }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.contact-icon {
            width: 60px; height: 60px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 16px;
            display: flex; align-items: center; justify-content: center;
            font-size: 24px; color: #fff; margin-bottom: 20px;
        }
.contact-card h3 { color: var(--primary); font-weight: 700; font-size: 1.25rem; margin-bottom: 12px; }
.contact-card p { color: #6b7280; font-size: .95rem; line-height: 1.7; margin-bottom: 8px; }
.contact-card a { color: var(--primary); font-weight: 600; text-decoration: none; }
.contact-card a:hover { color: var(--accent); text-decoration: underline; }
.contact-divider {
            width: 60px; height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 4px; margin: 24px 0;
        }
.form-label-custom { color: var(--text); font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form-control-custom {
            background: #fff;
            border: 1.5px solid rgba(159, 18, 57, 0.12);
            border-radius: 12px;
            padding: 12px 16px;
            font-size: .95rem;
            color: var(--text);
            width: 100%;
            transition: border-color .2s ease, box-shadow .2s ease;
        }
.form-control-custom:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(159, 18, 57, 0.1);
        }
.form-control-custom::placeholder { color: #9ca3af; }
.btn-submit {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #fff; font-weight: 700; font-size: 1rem;
            border: none; border-radius: 12px; padding: 14px 32px;
            transition: transform .2s ease, box-shadow .2s ease;
            cursor: pointer;
        }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(159, 18, 57, 0.25); }
.contact-faq-links a {
            display: inline-flex; align-items: center; gap: 8px;
            color: var(--primary); font-weight: 600; text-decoration: none;
            padding: 10px 18px; border: 1.5px solid rgba(159, 18, 57, 0.15);
            border-radius: 30px; margin: 6px 8px 6px 0; font-size: .9rem;
            transition: all .2s ease;
        }
.contact-faq-links a:hover { background: rgba(159, 18, 57, 0.06); border-color: var(--primary); }
.response-time {
            display: inline-flex; align-items: center; gap: 8px;
            background: rgba(159, 18, 57, 0.06);
            color: var(--primary); font-weight: 600;
            padding: 8px 16px; border-radius: 30px; font-size: .85rem;
        }
.contact-hero { padding: 40px 0 20px; }
.contact-card { padding: 24px 20px; }

/* --- 子页面追加 --- */
/* 排行榜页面独有的小范围补充样式，与主站风格完全统一 */
    .ranking-wrap {
      max-width: 1200px;
      margin: 0 auto;
    }
.ranking-table {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }
.rank-item {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      background: rgba(255,255,255,0.6);
      backdrop-filter: blur(4px);
      border-radius: var(--radius-md);
      padding: 1.25rem 1.5rem;
      box-shadow: var(--shadow-soft);
      transition: all 0.2s ease;
      border: 1px solid rgba(159,18,57,0.08);
    }
.rank-item:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-hover);
      background: rgba(255,255,255,0.85);
    }
.rank-number {
      font-size: 2.2rem;
      font-weight: 900;
      color: var(--primary);
      min-width: 3.5rem;
      text-align: center;
      line-height: 1;
      opacity: 0.9;
    }
.rank-info {
      flex: 1;
    }
.rank-title {
      font-weight: 700;
      font-size: 1.25rem;
      color: var(--text);
      margin-bottom: 0.25rem;
    }
.rank-meta {
      display: flex;
      gap: 1.2rem;
      font-size: 0.9rem;
      color: #6b4152;
      flex-wrap: wrap;
    }
.rank-meta span i {
      color: var(--accent);
      width: 1.2rem;
    }
.rank-badge {
      background: var(--primary);
      color: #fff;
      font-size: 0.75rem;
      padding: 0.3rem 0.9rem;
      border-radius: 30px;
      font-weight: 600;
      letter-spacing: 0.3px;
      white-space: nowrap;
      box-shadow: 0 2px 8px rgba(159,18,57,0.2);
    }
.rank-badge.hot {
      background: var(--accent);
    }
.rank-badge.top {
      background: #7c2d5e;
    }
.rank-category {
      display: inline-block;
      background: rgba(159,18,57,0.08);
      color: var(--primary);
      padding: 0.25rem 1rem;
      border-radius: 30px;
      font-size: 0.8rem;
      font-weight: 600;
      margin-right: 0.5rem;
    }
.section-header-rank {
      margin-bottom: 2.5rem;
    }
.list-col {
      background: rgba(159,18,57,0.02);
      border-radius: var(--radius-lg);
      padding: 1.8rem;
      border: 1px solid rgba(159,18,57,0.06);
    }
.rank-item {
        flex-wrap: wrap;
        gap: 0.75rem;
      }
.rank-number {
        min-width: 2.5rem;
        font-size: 1.8rem;
      }
.rank-badge {
        margin-left: auto;
      }

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