:root {
    --primary: #22d3ee;
    --accent: #fb923c;
    --bg: #0f172a;
    --text: #e2e8f0;
    --border-width: 3px;
    --shadow: 8px 8px 0 rgba(34, 211, 238, 0.15);
  }
  * { margin:0; padding:0; box-sizing:border-box; }
  html { scroll-behavior:smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
  }
  /* 顶部滚动进度条 */
  #scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
    transition: width 0.1s linear;
  }
  /* 波浪分割 */
  .wave-divider {
    position: relative;
    width: 100%;
    height: 60px;
    margin-top: -30px;
    z-index: 2;
  }
  .wave-divider svg {
    width: 100%;
    height: 100%;
    display: block;
  }
  /* 直角风格 */
  .sharp {
    border-radius: 0 !important;
  }
  /* 导航 */
  .navbar {
    background: rgba(15,23,42,0.9);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-width) solid var(--primary);
    padding: 0;
    border-radius: 0;
  }
  .navbar-brand {
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    color: var(--text) !important;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .navbar-brand i {
    color: var(--accent);
    font-size: 2rem;
  }
  .nav-link {
    font-weight: 600;
    color: var(--text) !important;
    padding: 1rem 1.2rem !important;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
  }
  .nav-link:hover {
    color: var(--primary) !important;
    border-left-color: var(--primary);
    background: rgba(34,211,238,0.05);
  }
  .navbar-toggler {
    border: 2px solid var(--primary);
    border-radius: 0;
  }
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(34, 211, 238, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  /* Hero */
  .hero-section {
    position: relative;
    padding: 100px 0 80px;
    border-bottom: var(--border-width) solid var(--accent);
    overflow: hidden;
  }
  .hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    background: linear-gradient(120deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 4s ease infinite;
    position: relative;
    z-index: 3;
  }
  @keyframes gradientFlow {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
  }
  .hero-sub {
    font-size: 1.25rem;
    color: var(--text);
    opacity: 0.8;
    max-width: 600px;
    margin-top: 20px;
    position: relative;
    z-index: 3;
  }
  .hero-cta {
    margin-top: 35px;
    position: relative;
    z-index: 3;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }
  .btn-soft {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 800;
    text-decoration: none;
    border: var(--border-width) solid var(--primary);
    color: var(--primary);
    background: transparent;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 1;
  }
  .btn-soft::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
  }
  .btn-soft:hover {
    color: var(--bg);
    background: var(--primary);
  }
  .btn-soft:hover::before {
    left: 100%;
  }
  .btn-solid {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 800;
    text-decoration: none;
    border: var(--border-width) solid var(--accent);
    background: var(--accent);
    color: var(--bg);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
  }
  .btn-solid::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
  }
  .btn-solid:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg);
  }
  .btn-solid:hover::before {
    left: 100%;
  }
  /* 浮动装饰元素 */
  .float-deco {
    position: absolute;
    z-index: 1;
    opacity: 0.3;
    animation: floatY 6s ease-in-out infinite;
  }
  .float-deco-1 {
    top: 20%; right: 10%;
    font-size: 5rem;
    color: var(--primary);
    animation-delay: 0s;
  }
  .float-deco-2 {
    bottom: 10%; right: 25%;
    font-size: 3.5rem;
    color: var(--accent);
    animation-delay: 2s;
  }
  .float-deco-3 {
    top: 15%; left: 5%;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    animation-delay: 4s;
  }
  @keyframes floatY {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
  }
  /* Bento 网格 */
  .bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(140px, auto);
    gap: 20px;
    padding: 80px 0;
  }
  .bento-item {
    border: var(--border-width) solid var(--text);
    padding: 30px;
    background: rgba(255,255,255,0.02);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  .bento-item:hover {
    transform: translate(-3px, -3px);
    box-shadow: 12px 12px 0 rgba(34,211,238,0.25);
  }
  .bento-item::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
  }
  .bento-item:hover::after {
    transform: scaleX(1);
  }
  .bento-item .icon-wrap {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
  }
  .bento-item h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
  }
  .bento-item p {
    color: var(--text);
    opacity: 0.7;
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .bento-large { grid-column: span 7; grid-row: span 2; }
  .bento-medium { grid-column: span 5; }
  .bento-small { grid-column: span 4; }
  .bento-tall { grid-column: span 5; grid-row: span 2; }
  /* 区块标题 */
  .section-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 20px;
    border-left: 8px solid var(--accent);
    padding-left: 20px;
    position: relative;
  }
  .section-title i {
    color: var(--primary);
    margin-right: 10px;
  }
  /* FAQ */
  .faq-section {
    padding: 80px 0;
    border-top: var(--border-width) solid var(--primary);
    border-bottom: var(--border-width) solid var(--accent);
    position: relative;
  }
  .accordion-item {
    background: transparent;
    border: var(--border-width) solid var(--text) !important;
    margin-bottom: 20px;
    border-radius: 0 !important;
  }
  .accordion-button {
    background: rgba(15,23,42,0.8);
    color: var(--text);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 0 !important;
    padding: 20px 25px;
  }
  .accordion-button:not(.collapsed) {
    background: rgba(34,211,238,0.1);
    color: var(--primary);
    box-shadow: none;
  }
  .accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
  }
  .accordion-button::after {
    filter: invert(1);
  }
  .accordion-body {
    padding: 20px 25px;
    border-top: 2px solid rgba(34,211,238,0.3);
    color: var(--text);
    opacity: 0.85;
    line-height: 1.8;
  }
  /* 介绍区 */
  .about-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg) 0%, #0a1120 100%);
  }
  .about-box {
    border: var(--border-width) solid var(--primary);
    padding: 40px;
    background: rgba(34,211,238,0.03);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
  }
  .about-box h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary);
  }
  .about-box p {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.9;
  }
  .about-box .stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
  }
  /* CTA */
  .cta-section {
    padding: 80px 0;
    border-top: var(--border-width) solid var(--accent);
    background: linear-gradient(135deg, rgba(34,211,238,0.1), rgba(251,146,60,0.1));
    position: relative;
    overflow: hidden;
  }
  .cta-box {
    border: var(--border-width) solid var(--text);
    padding: 50px;
    background: var(--bg);
    text-align: center;
    box-shadow: 10px 10px 0 rgba(251,146,60,0.2);
  }
  .cta-box h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
  }
  .cta-box .btn-solid, .cta-box .btn-soft {
    margin: 10px;
  }
  /* 友情链接 */
  .friend-links {
    padding: 40px 0;
    border-top: 2px solid rgba(34,211,238,0.3);
    background: rgba(0,0,0,0.3);
  }
  .friend-links h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
  }
  .friend-links a {
    color: var(--text);
    text-decoration: none;
    margin-right: 20px;
    opacity: 0.7;
    transition: opacity 0.2s;
    display: inline-block;
    margin-bottom: 8px;
  }
  .friend-links a:hover {
    opacity: 1;
    color: var(--primary);
  }
  /* 页脚 */
  .footer {
    background: #0a1120;
    padding: 40px 0;
    border-top: var(--border-width) solid var(--primary);
    text-align: center;
  }
  .footer .brand {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text);
  }
  .footer .brand i {
    color: var(--accent);
    margin-right: 8px;
  }
  .footer p {
    opacity: 0.6;
    font-size: 0.9rem;
  }
  .footer .sub-links {
    margin: 20px 0;
  }
  .footer .sub-links a {
    color: var(--text);
    text-decoration: none;
    margin: 0 15px;
    opacity: 0.7;
    font-size: 0.9rem;
  }
  .footer .sub-links a:hover {
    color: var(--primary);
    opacity: 1;
  }
  /* 数字动画 */
  .counter {
    font-weight: 900;
    color: var(--accent);
  }
  /* 响应式 */
  @media (max-width: 991px) {
    .bento-large, .bento-medium, .bento-small, .bento-tall {
      grid-column: span 12 !important;
    }
    .bento-item {
      grid-row: auto !important;
    }
    .hero-section {
      padding: 70px 0 60px;
    }
  }
  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }
    .cta-box {
      padding: 30px 20px;
    }
  }
  /* 波浪 */
  .wave-top {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%230f172a' fill-opacity='1' d='M0,50 C240,100 480,0 720,30 C960,60 1200,20 1440,50 L1440,100 L0,100 Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: top;
    height: 60px;
    margin-bottom: -30px;
    position: relative;
    z-index: 2;
    border-bottom: var(--border-width) solid var(--accent);
  }
  .wave-bottom {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%230f172a' fill-opacity='1' d='M0,60 C240,10 480,90 720,60 C960,30 1200,80 1440,50 L1440,100 L0,100 Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: bottom;
    height: 60px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    border-top: var(--border-width) solid var(--primary);
  }

/* --- 子页面追加 --- */
/* 保证 Bootstrap 组件不出现白底，所有卡片自己覆盖 */
    .rank-card {
      background: var(--bg);
      border: var(--border-width) solid var(--primary);
      border-radius: 0;
      box-shadow: var(--shadow);
      padding: 1.25rem;
      margin-bottom: 1.5rem;
      transition: transform .2s;
      color: var(--text);
    }
.rank-card:hover {
      transform: translateY(-4px);
      border-color: var(--accent);
    }
.rank-badge {
      background: var(--primary);
      color: #0f172a;
      font-weight: 800;
      display: inline-block;
      padding: 0.2rem 0.9rem;
      border: 2px solid #0f172a;
      box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
      letter-spacing: 1px;
    }
.rank-title {
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 0.25rem;
      border-left: 6px solid var(--accent);
      padding-left: 0.75rem;
    }
.rank-meta {
      color: var(--text);
      opacity: 0.75;
      font-size: 0.9rem;
      letter-spacing: 0.3px;
    }
.rank-tag {
      background: rgba(34, 211, 238, 0.15);
      border: 1px solid var(--primary);
      color: var(--primary);
      padding: 0.2rem 0.8rem;
      font-size: 0.75rem;
      font-weight: 600;
      display: inline-block;
      margin-right: 0.5rem;
      margin-top: 0.5rem;
    }
.rank-desc {
      color: var(--text);
      opacity: 0.9;
      font-size: 0.95rem;
      line-height: 1.6;
      border-top: 1px dashed rgba(34,211,238,0.3);
      padding-top: 0.75rem;
      margin-top: 0.75rem;
    }
.rank-number {
      font-size: 3rem;
      font-weight: 900;
      line-height: 1;
      color: var(--primary);
      opacity: 0.25;
      position: absolute;
      top: 0.5rem;
      right: 1rem;
    }
.rank-card {
      position: relative;
    }
.rank-title { font-size: 1.15rem; }

/* --- 子页面追加 --- */
/* 本页专属样式：分类卡片、标签云、分类详情区块 */
        .tag-hero {
            padding: 80px 0 40px;
            text-align: center;
            position: relative;
        }
.tag-hero h1 {
            font-size: 3.2rem;
            font-weight: 900;
            color: var(--primary);
            text-shadow: 4px 4px 0 rgba(34, 211, 238, 0.2);
            margin-bottom: 16px;
        }
.tag-hero p {
            color: var(--text);
            font-size: 1.15rem;
            max-width: 700px;
            margin: 0 auto;
            opacity: .85;
        }
.category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 24px;
            margin: 40px 0;
        }
.category-card {
            background: rgba(255,255,255,0.03);
            border: var(--border-width) solid rgba(34, 211, 238, 0.25);
            border-radius: 12px;
            padding: 28px 22px;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }
.category-card:hover {
            transform: translateY(-6px);
            border-color: var(--primary);
            box-shadow: var(--shadow);
        }
.category-card .cat-icon {
            font-size: 2.2rem;
            color: var(--accent);
            margin-bottom: 14px;
            display: block;
        }
.category-card h3 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 8px;
        }
.category-card p {
            font-size: 0.95rem;
            color: var(--text);
            opacity: .8;
            line-height: 1.6;
            margin-bottom: 14px;
        }
.category-card .count {
            font-size: 0.85rem;
            color: var(--accent);
            font-weight: 600;
        }
.tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin: 30px 0 20px;
        }
.tag-cloud a {
            display: inline-block;
            padding: 8px 18px;
            background: rgba(34, 211, 238, 0.1);
            border: 1px solid rgba(34, 211, 238, 0.3);
            border-radius: 30px;
            color: var(--text);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.2s ease;
        }
.tag-cloud a:hover {
            background: var(--primary);
            color: #0f172a;
            border-color: var(--primary);
            transform: scale(1.05);
        }
.category-detail {
            margin: 50px 0;
            padding: 36px;
            background: rgba(255,255,255,0.02);
            border: 2px solid rgba(34, 211, 238, 0.15);
            border-radius: 16px;
        }
.category-detail h2 {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 12px;
        }
.category-detail h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--accent);
        }
.detail-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 16px;
            margin-top: 20px;
        }
.detail-item {
            background: rgba(34, 211, 238, 0.05);
            border: 1px solid rgba(34, 211, 238, 0.15);
            border-radius: 10px;
            padding: 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all 0.2s ease;
        }
.detail-item:hover {
            border-color: var(--accent);
            background: rgba(251, 146, 60, 0.1);
            transform: translateX(4px);
        }
.detail-item .rank {
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--accent);
            min-width: 36px;
        }
.detail-item .name {
            color: var(--text);
            font-weight: 500;
        }
.detail-item .status {
            margin-left: auto;
            font-size: 0.75rem;
            color: var(--primary);
            background: rgba(34, 211, 238, 0.15);
            padding: 3px 10px;
            border-radius: 20px;
        }
.tag-hero h1 { font-size: 2.2rem; }
.category-grid { grid-template-columns: 1fr; }
.detail-list { grid-template-columns: 1fr; }

/* --- 子页面追加 --- */
.register-hero {
            padding: 80px 0 60px;
            text-align: center;
        }
.register-hero h1 {
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 20px;
        }
.register-hero p {
            font-size: 1.2rem;
            color: rgba(226, 232, 240, 0.8);
            max-width: 700px;
            margin: 0 auto;
        }
.register-form-wrapper {
            max-width: 560px;
            margin: 40px auto 80px;
            background: rgba(15, 23, 42, 0.8);
            border: var(--border-width) solid var(--primary);
            border-radius: 16px;
            box-shadow: var(--shadow);
            padding: 40px;
        }
.register-form-wrapper .form-label {
            color: var(--text);
            font-weight: 600;
            margin-bottom: 8px;
        }
.register-form-wrapper .form-control {
            background: rgba(0, 0, 0, 0.35);
            border: 2px solid rgba(34, 211, 238, 0.3);
            color: var(--text);
            border-radius: 8px;
            padding: 12px 16px;
            margin-bottom: 20px;
        }
.register-form-wrapper .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.2rem rgba(34, 211, 238, 0.15);
            background: rgba(0, 0, 0, 0.5);
            color: var(--text);
        }
.register-form-wrapper .form-control::placeholder {
            color: rgba(255, 255, 255, 0.45);
        }
.register-form-wrapper .btn-submit {
            width: 100%;
            padding: 14px;
            font-size: 1.1rem;
            font-weight: 700;
            background: var(--primary);
            color: #0f172a;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 10px;
        }
.register-form-wrapper .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(34, 211, 238, 0.3);
        }
.form-check-input {
            background-color: rgba(0, 0, 0, 0.35);
            border-color: var(--primary);
        }
.form-check-input:checked {
            background-color: var(--primary);
            border-color: var(--primary);
        }
.form-check-label a {
            color: var(--primary);
            text-decoration: none;
        }
.form-check-label a:hover {
            text-decoration: underline;
        }
.benefit-grid {
            padding: 60px 0;
        }
.benefit-grid .bento-item {
            padding: 30px;
        }
.benefit-grid .bento-item i {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
        }
.benefit-grid .bento-item h3 {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 10px;
        }
.benefit-grid .bento-item p {
            color: rgba(226, 232, 240, 0.8);
            font-size: 0.95rem;
        }
.login-link {
            text-align: center;
            margin-top: 20px;
            color: rgba(226, 232, 240, 0.8);
        }
.login-link a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
        }
.login-link a:hover {
            text-decoration: underline;
        }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件不会破坏深色主题 —— 仅针对可能用到的类做兜底 */
    .card, .card-body, .form-control, .list-group-item, .accordion-item, .accordion-button, .accordion-body {
      background: #1e293b;           /* 深色卡片背景 */
      color: #e2e8f0;                /* 亮色文字 */
      border-color: #334155;         /* 深色边框 */
    }
/* 自定义小装饰，与站点风格呼应 */
    .about-panel {
      background: #16213e;
      border: 2px solid #22d3ee;
      box-shadow: 8px 8px 0 rgba(34, 211, 238, 0.15);
      border-radius: 16px;
      padding: 2rem 1.5rem;
      height: 100%;
    }
.about-icon {
      font-size: 2.5rem;
      color: #fb923c;
      margin-bottom: 1rem;
    }
.section-divider {
      border-bottom: 3px dashed #fb923c;
      opacity: .3;
      margin: 2.5rem 0;
    }
.brand-highlight {
      color: #22d3ee;
      font-weight: 700;
    }

/* --- 子页面追加 --- */
/* 保证 Bootstrap 组件与深色主题一致 */
        .card, .card-body, .card-header, .card-footer, .list-group-item, .accordion-item, .accordion-button, .accordion-body, .form-control, .form-select, .modal-content {
            background-color: var(--bg) !important;
            color: var(--text) !important;
            border-color: rgba(255,255,255,0.1) !important;
        }
/* 页面特定布局 */
        .privacy-hero {
            border-bottom: var(--border-width) solid var(--primary);
            box-shadow: var(--shadow);
        }
.privacy-section {
            background-color: rgba(15, 23, 42, 0.7);
            backdrop-filter: blur(2px);
            padding: 2.5rem;
            border-radius: 1rem;
            margin-bottom: 2.5rem;
            border: 1px solid rgba(34, 211, 238, 0.2);
        }
.privacy-section h2 {
            color: var(--primary);
            font-weight: 700;
            letter-spacing: -0.02em;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
.privacy-section h2 i {
            color: var(--accent);
            font-size: 1.8rem;
        }
.privacy-section p, .privacy-section li {
            line-height: 1.8;
            color: rgba(226, 232, 240, 0.9);
        }
.privacy-section ul {
            padding-left: 1.2rem;
        }
.privacy-section ul li {
            margin-bottom: 0.6rem;
        }
.highlight-box {
            background: rgba(251, 146, 60, 0.1);
            border-left: 4px solid var(--accent);
            padding: 1rem 1.5rem;
            border-radius: 0.5rem;
            margin: 1.5rem 0;
        }
.privacy-table {
            width: 100%;
            border-collapse: collapse;
        }
.privacy-table th, .privacy-table td {
            padding: 0.8rem 1rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            text-align: left;
        }
.privacy-table th {
            color: var(--primary);
            font-weight: 600;
            background-color: rgba(34, 211, 238, 0.05);
        }
.nav-link.active {
            color: var(--primary) !important;
            font-weight: 700;
        }
.footer-links a {
            color: var(--text);
            opacity: 0.8;
            transition: 0.2s;
        }
.footer-links a:hover {
            opacity: 1;
            color: var(--primary);
        }

/* --- 子页面追加 --- */
/* 确保bootstrap组件不出现白底，覆盖为站点配色 */
    .card, .card-body, .card-header, .card-footer {
      background: var(--card-bg, #1e293b);
      color: var(--text);
      border-color: var(--border-color, #334155);
    }
.list-group-item {
      background: var(--card-bg, #1e293b);
      color: var(--text);
      border-color: var(--border-color, #334155);
    }
.form-control, .form-select {
      background: rgba(0,0,0,.35);
      color: var(--text);
      border-color: var(--border-color, #334155);
    }
/* 导航高亮当前页 */
    .nav-link.active-page {
      color: var(--primary) !important;
      font-weight: 700;
      border-bottom: 3px solid var(--primary);
    }
/* 条款正文卡片样式 */
    .terms-card {
      background: rgba(15, 23, 42, 0.6);
      border: 2px solid var(--primary);
      border-radius: 0;
      box-shadow: var(--shadow);
      padding: 2rem;
      margin-bottom: 2rem;
    }
.terms-card h2 {
      color: var(--primary);
      font-weight: 800;
      margin-bottom: 1.2rem;
      border-left: 6px solid var(--accent);
      padding-left: 1rem;
    }
.terms-card p, .terms-card li {
      color: var(--text);
      line-height: 1.8;
    }
.terms-card strong {
      color: var(--accent);
    }
.terms-card ul {
      padding-left: 1.2rem;
    }
.terms-card li {
      margin-bottom: 0.6rem;
    }
/* 链接颜色 */
    .terms-card a {
      color: var(--primary);
      text-decoration: underline;
      text-underline-offset: 3px;
    }
.terms-card a:hover {
      color: var(--accent);
    }
hr {
      border-color: var(--primary);
      opacity: 0.3;
    }

/* --- 子页面追加 --- */
/* 覆盖Bootstrap卡片/表单默认白底，确保与深色主题一致 */
        .card, .card-body, .card-header, .card-footer {
            background: var(--card-bg, #1e293b);
            color: var(--text);
            border-color: var(--border-color, #334155);
        }
.accordion-item, .accordion-button {
            background: #1e293b;
            color: var(--text);
        }
.btn-outline-light {
            border-color: #475569;
            color: var(--text);
        }
.btn-outline-light:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #0f172a;
        }
/* 联系卡片装饰 */
        .contact-icon {
            width: 48px;
            height: 48px;
            background: rgba(34, 211, 238, 0.12);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 1.4rem;
            margin-bottom: 1rem;
        }
.contact-card {
            background: #1e293b;
            border: 1px solid #334155;
            border-radius: 20px;
            padding: 1.8rem 1.5rem;
            transition: transform .2s ease, box-shadow .2s;
            height: 100%;
        }
.contact-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
        }
.contact-card h3 {
            color: var(--primary);
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
        }
.contact-card p {
            margin-bottom: 0.3rem;
            font-size: 0.95rem;
        }
.contact-card a {
            color: var(--text);
            text-decoration: none;
            border-bottom: 1px dashed #475569;
        }
.contact-card a:hover {
            color: var(--accent);
            border-bottom-color: var(--accent);
        }
.border-soft {
            border: 1px solid #334155;
        }
.bg-dark-card {
            background: #1e293b;
        }
.text-muted {
            color: #94a3b8 !important;
        }

/* --- 子页面追加 --- */
/* 强制覆盖Bootstrap可能出现的白底黑字，与首页深色风格统一 */
        .card, .card-body, .card-header, .card-footer,
        .list-group-item, .accordion-item, .accordion-button, .accordion-body,
        .modal-content, .modal-header, .modal-body,
        .form-control, .form-select, .form-label, .input-group-text {
            background-color: var(--bg) !important;
            color: var(--text) !important;
            border-color: rgba(34, 211, 238, 0.25) !important;
        }
.btn-light {
            background-color: rgba(34, 211, 238, 0.1) !important;
            color: var(--primary) !important;
            border-color: var(--primary) !important;
        }
.btn-outline-primary, .btn-outline-secondary, .btn-outline-light {
            color: var(--primary) !important;
            border-color: var(--primary) !important;
        }
.btn-outline-primary:hover, .btn-outline-secondary:hover {
            background-color: var(--primary) !important;
            color: #0f172a !important;
        }
/* 站内自带阴影/边框变量，补一点卡片呼吸感 */
        .legal-card {
            background: rgba(15, 23, 42, 0.7);
            border: var(--border-width) solid rgba(34, 211, 238, 0.25);
            box-shadow: var(--shadow);
            padding: 1.8rem 1.5rem;
            border-radius: 4px;
            transition: transform .2s;
        }
.legal-card:hover {
            transform: translateY(-3px);
            border-color: var(--primary);
        }
.legal-card h3 {
            color: var(--primary);
            font-weight: 700;
            letter-spacing: -0.02em;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: .6rem;
        }
.legal-card h3 i {
            color: var(--accent);
            font-size: 1.4rem;
        }
.legal-card p, .legal-card li {
            color: rgba(226, 232, 240, 0.85);
            font-size: 0.95rem;
            line-height: 1.7;
        }
.legal-card ul {
            padding-left: 1.2rem;
            list-style-type: square;
        }
.legal-card ul li::marker {
            color: var(--accent);
        }
/* 导航高亮当前页 */
        .nav-link.active-disclaimer {
            color: var(--accent) !important;
            font-weight: 700;
            border-bottom: 2px solid var(--accent);
        }
/* 确保所有文字可见 */
        body {
            background-color: var(--bg);
            color: var(--text);
        }
footer a {
            color: var(--primary);
            text-decoration: none;
        }
footer a:hover {
            color: var(--accent);
        }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-header { background:transparent !important; }
