:root {
  --main-color: #eab308;
  --accent-color: #f59e0b;
  --bg-color: #18181b;
  --text-color: #fafafa;
  --secondary-text: rgba(250, 250, 250, 0.7);
  --border-color: rgba(234, 179, 8, 0.35);
  --card-bg: #1f1f23;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* ===== 几何背景装饰 ===== */
.geo-shape {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
}
.geo-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--main-color);
  top: 15%;
  right: -60px;
}
.geo-square {
  width: 120px;
  height: 120px;
  background: var(--accent-color);
  bottom: 10%;
  left: -40px;
  transform: rotate(45deg);
}
.geo-triangle {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid var(--main-color);
  top: 60%;
  left: 5%;
  transform: rotate(25deg);
}
.geo-dot {
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  top: 30%;
  left: 20%;
}
.geo-ring {
  width: 100px;
  height: 100px;
  border: 3px solid var(--main-color);
  border-radius: 50%;
  bottom: 20%;
  right: 10%;
}

/* ===== 导航栏 ===== */
.navbar {
  background-color: rgba(24, 24, 27, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 1.5rem;
  z-index: 100;
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-color);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-brand i {
  color: var(--main-color);
  font-size: 1.4rem;
}
.navbar-brand:hover {
  color: var(--main-color);
}
.navbar-toggler {
  border-color: var(--main-color);
  color: var(--main-color);
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(234, 179, 8, 0.25);
}
.nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  transition: color 0.2s;
  font-size: 0.95rem;
}
.nav-link:hover {
  color: var(--main-color);
}
.navbar-nav {
  align-items: center;
}

/* ===== Hero 区 ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(circle at 20% 30%, rgba(234, 179, 8, 0.05), transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.04), transparent 50%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  width: 100%;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.tag-cloud span {
  display: inline-block;
  padding: 4px 16px;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  color: var(--secondary-text);
  transition: all 0.3s;
  animation: floatTag 6s ease-in-out infinite;
}
.tag-cloud span:nth-child(2) { animation-delay: 0.8s; }
.tag-cloud span:nth-child(3) { animation-delay: 1.6s; }
.tag-cloud span:nth-child(4) { animation-delay: 2.4s; }
.tag-cloud span:nth-child(5) { animation-delay: 3.2s; }
.tag-cloud span:nth-child(6) { animation-delay: 4s; }
.tag-cloud span:nth-child(7) { animation-delay: 4.8s; }
.tag-cloud span:hover {
  border-color: var(--main-color);
  color: var(--main-color);
  transform: translateY(-2px);
}
@keyframes floatTag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 80px rgba(234, 179, 8, 0.2);
}
.hero h1 .highlight {
  color: var(--main-color);
  position: relative;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--secondary-text);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-gold {
  background-color: var(--main-color);
  color: #18181b;
  font-weight: 800;
  padding: 0.8rem 2.2rem;
  border: 2px solid var(--main-color);
  border-radius: 0;
  font-size: 1rem;
  transition: all 0.3s;
  letter-spacing: 0.03em;
}
.btn-gold:hover {
  background-color: transparent;
  color: var(--main-color);
}
.btn-outline-gold {
  background-color: transparent;
  color: var(--text-color);
  font-weight: 600;
  padding: 0.8rem 2.2rem;
  border: 2px solid var(--border-color);
  border-radius: 0;
  font-size: 1rem;
  transition: all 0.3s;
}
.btn-outline-gold:hover {
  border-color: var(--main-color);
  color: var(--main-color);
}

/* ===== 通用区块 ===== */
.section {
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(234, 179, 8, 0.1);
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--main-color);
}
.section-header p {
  color: var(--secondary-text);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== 使用说明时间线 ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--main-color), var(--accent-color), transparent);
}
.timeline-item {
  position: relative;
  padding-left: 90px;
  margin-bottom: 3rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: 18px;
  top: 5px;
  width: 26px;
  height: 26px;
  background-color: var(--bg-color);
  border: 3px solid var(--main-color);
  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-dot i {
  font-size: 0.7rem;
  color: var(--main-color);
}
.timeline-content {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 1.8rem 2rem;
}
.timeline-content h4 {
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--main-color);
}
.timeline-content p {
  color: var(--secondary-text);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ===== 特色网格标签页 ===== */
.feature-tabs {
  max-width: 1000px;
  margin: 0 auto;
}
.tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}
.tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--secondary-text);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.02em;
}
.tab-btn:hover {
  color: var(--main-color);
}
.tab-btn.active {
  color: var(--main-color);
  border-bottom-color: var(--main-color);
}
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background-color: var(--card-bg);
  border: 1px solid rgba(234, 179, 8, 0.15);
  padding: 2rem 1.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--main-color), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.feature-card:hover {
  border-color: var(--main-color);
}
.feature-icon {
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 1.2rem;
  display: inline-block;
}
.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.feature-card p {
  color: var(--secondary-text);
  font-size: 0.92rem;
  margin-bottom: 0;
  line-height: 1.7;
}

/* ===== 长文区 ===== */
.longform {
  max-width: 800px;
  margin: 0 auto;
}
.longform h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 3rem 0 1.2rem;
  color: var(--main-color);
  position: relative;
  padding-left: 1.2rem;
}
.longform h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 4px;
  background: var(--main-color);
}
.longform p {
  color: var(--secondary-text);
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
  line-height: 2;
}
.longform strong {
  color: var(--text-color);
  font-weight: 700;
}
.longform .quote {
  border-left: 3px solid var(--accent-color);
  padding: 1rem 1.5rem;
  background: rgba(245, 158, 11, 0.05);
  margin: 2rem 0;
  font-style: italic;
  color: var(--secondary-text);
}

/* ===== FAQ ===== */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 0;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-q {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  padding: 1.5rem 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}
.faq-q:hover {
  color: var(--main-color);
}
.faq-q i {
  transition: transform 0.3s;
  color: var(--main-color);
  font-size: 0.9rem;
}
.faq-item.open .faq-q i {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1rem;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 1rem 1.8rem;
}
.faq-a p {
  color: var(--secondary-text);
  font-size: 0.98rem;
  line-height: 1.8;
  margin: 0;
}

/* ===== CTA ===== */
.cta-section {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.06), rgba(245, 158, 11, 0.03));
  border-bottom: 1px solid var(--border-color);
}
.cta-section h2 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.cta-section p {
  color: var(--secondary-text);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 友情链接 ===== */
.friend-links {
  padding: 3rem 2rem;
  border-bottom: 1px solid var(--border-color);
  background: rgba(234, 179, 8, 0.02);
}
.friend-links-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.friend-links h5 {
  color: var(--main-color);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-align: center;
}
.friend-links .links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  color: var(--secondary-text);
  font-size: 0.9rem;
  text-align: center;
}
.friend-links a {
  color: var(--secondary-text);
  text-decoration: none;
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
}
.friend-links a:hover {
  color: var(--main-color);
  border-bottom-color: var(--main-color);
}

/* ===== 页脚 ===== */
.footer {
  background-color: #101012;
  padding: 3rem 2rem 2rem;
  border-top: 1px solid var(--border-color);
}
.footer-brand {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}
.footer-brand i {
  color: var(--main-color);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.footer-links a {
  color: var(--secondary-text);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--main-color);
}
.footer-copyright {
  text-align: center;
  color: rgba(250, 250, 250, 0.5);
  font-size: 0.85rem;
  border-top: 1px solid rgba(234, 179, 8, 0.1);
  padding-top: 2rem;
  margin-bottom: 0;
}
.footer-copyright a {
  color: var(--main-color);
  text-decoration: none;
}

/* ===== 回到顶部按钮 ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--main-color);
  color: #18181b;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background-color: transparent;
  color: var(--main-color);
}

/* ===== 海报悬停 ===== */
.video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(234, 179, 8, 0.15);
  background-color: var(--card-bg);
  transition: all 0.3s;
}
.video-card:hover {
  border-color: var(--main-color);
}
.video-poster {
  aspect-ratio: 16 / 10;
  background-color: #27272a;
  background-image: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(245, 158, 11, 0.05));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  background-color: rgba(234, 179, 8, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #18181b;
  font-size: 1.4rem;
  transition: transform 0.3s;
  cursor: pointer;
}
.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1);
}
.video-info {
  padding: 1rem 1.2rem;
}
.video-info h6 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.video-info .video-meta {
  font-size: 0.8rem;
  color: var(--secondary-text);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .hero {
    padding: 5rem 1.5rem 3rem;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .section {
    padding: 3.5rem 1.2rem;
  }
  .timeline-item {
    padding-left: 70px;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-dot {
    left: 8px;
    width: 24px;
    height: 24px;
  }
  .tab-btn {
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
  }
  .cta-section h2 {
    font-size: 2rem;
  }
  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

/* --- 子页面追加 --- */
/* 仅覆盖必要的 bootstrap 组件配色，以防白底黑字 */
    .card, .card-body, .card-header, .card-footer {
      background-color: var(--card-bg);
      color: var(--text-color);
      border-color: var(--border-color);
    }
.form-control, .form-select {
      background-color: rgba(0,0,0,0.35);
      color: var(--text-color);
      border-color: var(--border-color);
    }
.form-control::placeholder {
      color: rgba(255,255,255,0.45);
    }
.list-group-item {
      background-color: var(--card-bg);
      color: var(--text-color);
      border-color: var(--border-color);
    }
.accordion-button, .accordion-body {
      background-color: var(--card-bg);
      color: var(--text-color);
      border-color: var(--border-color);
    }
/* 让 timeline 更贴合 */
    .timeline-content {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
    }
/* 导航高亮当前页 */
    .navbar-nav .nav-link.active {
      color: var(--main-color);
      font-weight: 600;
    }

/* --- 子页面追加 --- */
/* 本页专属微调,保证与站点风格完全一致 */
    .register-hero {
      background: linear-gradient(145deg, rgba(24,24,27,0.9) 0%, rgba(24,24,27,0.7) 100%), var(--bg-color);
      border-bottom: 1px solid var(--border-color);
    }
.form-input-dark {
      background: rgba(0,0,0,0.35);
      border: 1px solid var(--border-color);
      color: var(--text-color);
      transition: border-color 0.2s, box-shadow 0.2s;
    }
.form-input-dark:focus {
      background: rgba(0,0,0,0.5);
      border-color: var(--main-color);
      box-shadow: 0 0 0 0.2rem rgba(234, 179, 8, 0.15);
      color: #fff;
    }
.form-input-dark::placeholder {
      color: rgba(255,255,255,0.4);
    }
.btn-register-submit {
      background: var(--main-color);
      border: none;
      color: #18181b;
      font-weight: 700;
      letter-spacing: 0.3px;
      transition: all 0.2s;
    }
.btn-register-submit:hover {
      background: var(--accent-color);
      color: #18181b;
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(234, 179, 8, 0.25);
    }
.feature-icon-box {
      background: rgba(234, 179, 8, 0.08);
      border: 1px solid var(--border-color);
      border-radius: 14px;
      padding: 1.5rem 1rem;
      transition: 0.2s;
    }
.feature-icon-box:hover {
      border-color: var(--main-color);
      background: rgba(234, 179, 8, 0.12);
    }
.form-check-input {
      background-color: #2a2a2e;
      border-color: var(--border-color);
    }
.form-check-input:checked {
      background-color: var(--main-color);
      border-color: var(--main-color);
    }
.agreement-text a {
      color: var(--main-color);
      text-decoration: underline;
    }
.agreement-text a:hover {
      color: var(--accent-color);
    }

/* --- 子页面追加 --- */
/* 本页专属的少量样式 */
        .disclaimer-section {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 1.5rem;
        }
.disclaimer-section h2 {
            color: var(--main-color);
            font-weight: 700;
            margin-bottom: 1.2rem;
            font-size: 1.4rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }
.disclaimer-section h2 i {
            color: var(--accent-color);
            font-size: 1.3rem;
        }
.disclaimer-section p, .disclaimer-section li {
            color: var(--secondary-text);
            line-height: 1.8;
            font-size: 0.95rem;
        }
.disclaimer-section strong {
            color: var(--text-color);
        }
.disclaimer-section ul {
            padding-left: 1.2rem;
            margin-bottom: 1rem;
        }
.disclaimer-section ul li {
            margin-bottom: 0.4rem;
        }
.disclaimer-warning {
            background: rgba(234, 179, 8, 0.08);
            border-left: 4px solid var(--main-color);
            padding: 1.2rem 1.5rem;
            border-radius: 0 8px 8px 0;
            margin-bottom: 1.5rem;
        }
.disclaimer-warning p {
            color: var(--text-color);
            margin-bottom: 0;
        }
.last-updated {
            font-size: 0.85rem;
            color: rgba(250, 250, 250, 0.4);
            text-align: right;
            margin-top: 2rem;
            font-style: italic;
        }
.disclaimer-section {
                padding: 1.2rem;
            }

/* --- 子页面追加 --- */
/* 确保卡片/表单等组件与深色站一致（若 style.css 已覆盖可忽略） */
    .card, .card-body, .form-control, .form-select, .list-group-item {
      background: var(--card-bg) !important;
      color: var(--text-color) !important;
      border-color: var(--border-color) !important;
    }
/* 本页专属：让隐私条款层次更清晰 */
    .privacy-block {
      background: rgba(31,31,35,0.7);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 2rem;
      margin-bottom: 2.5rem;
      backdrop-filter: blur(4px);
    }
.privacy-block h2 {
      color: var(--main-color);
      font-weight: 700;
      font-size: 1.8rem;
      border-left: 4px solid var(--accent-color);
      padding-left: 1rem;
      margin-bottom: 1.25rem;
    }
.privacy-block h3 {
      color: var(--text-color);
      font-weight: 600;
      font-size: 1.35rem;
      margin-top: 1.5rem;
      margin-bottom: 0.75rem;
    }
.privacy-block p, .privacy-block li {
      color: var(--secondary-text);
      line-height: 1.8;
    }
.privacy-block ul, .privacy-block ol {
      padding-left: 1.5rem;
    }
.privacy-block a {
      color: var(--main-color);
      text-decoration: underline;
      text-underline-offset: 2px;
    }
.highlight-data {
      background: rgba(234,179,8,0.15);
      padding: 0.2rem 0.4rem;
      border-radius: 6px;
      font-weight: 500;
      color: var(--main-color);
    }
/* 更新日期标签 */
    .last-updated {
      font-size: 0.9rem;
      color: var(--secondary-text);
      border-bottom: 1px dashed var(--border-color);
      padding-bottom: 0.5rem;
      margin-bottom: 2rem;
    }

/* --- 子页面追加 --- */
/* 本页专属补充样式 */
        .guide-hero {
            position: relative;
            padding: 80px 0 60px;
            background: linear-gradient(135deg, rgba(234,179,8,0.08) 0%, rgba(245,158,11,0.03) 50%, transparent 100%);
            border-bottom: 1px solid var(--border-color);
        }
.guide-section {
            padding: 60px 0;
            border-bottom: 1px solid rgba(234,179,8,0.12);
        }
.guide-section:last-of-type {
            border-bottom: none;
        }
.guide-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 28px 24px;
            height: 100%;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
.guide-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        }
.guide-card-icon {
            font-size: 2rem;
            color: var(--main-color);
            margin-bottom: 16px;
        }
.guide-card h3 {
            color: var(--main-color);
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 12px;
        }
.guide-card p {
            color: var(--secondary-text);
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 0;
        }
.step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(234,179,8,0.15);
            border: 1px solid var(--main-color);
            color: var(--main-color);
            font-weight: 700;
            font-size: 0.95rem;
            margin-right: 10px;
            flex-shrink: 0;
        }
.tip-box {
            background: rgba(234,179,8,0.06);
            border-left: 3px solid var(--main-color);
            padding: 16px 20px;
            border-radius: 0 8px 8px 0;
            margin: 20px 0;
        }
.tip-box p {
            color: var(--secondary-text);
            font-size: 0.9rem;
            margin-bottom: 0;
        }
.tip-box strong {
            color: var(--main-color);
        }
.accordion-guide-item {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            margin-bottom: 12px;
            overflow: hidden;
        }
.accordion-guide-header {
            padding: 16px 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: var(--text-color);
            font-weight: 600;
            font-size: 0.95rem;
            transition: background 0.2s;
        }
.accordion-guide-header:hover {
            background: rgba(234,179,8,0.04);
        }
.accordion-guide-header i {
            color: var(--main-color);
            transition: transform 0.2s;
        }
.accordion-guide-header[aria-expanded="true"] i {
            transform: rotate(180deg);
        }
.accordion-guide-body {
            padding: 0 20px 16px;
            color: var(--secondary-text);
            font-size: 0.9rem;
            line-height: 1.7;
        }
.platform-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(234,179,8,0.1);
            border: 1px solid var(--border-color);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            color: var(--text-color);
            margin: 4px 4px 4px 0;
        }
.platform-badge i {
            color: var(--main-color);
        }
.diy-table {
            width: 100%;
            border-collapse: collapse;
        }
.diy-table th {
            color: var(--main-color);
            font-size: 0.85rem;
            font-weight: 700;
            padding: 12px 16px;
            text-align: left;
            border-bottom: 2px solid var(--border-color);
        }
.diy-table td {
            padding: 12px 16px;
            border-bottom: 1px solid rgba(234,179,8,0.1);
            color: var(--secondary-text);
            font-size: 0.85rem;
        }
.diy-table tr:hover td {
            background: rgba(234,179,8,0.03);
        }
.guide-hero {
                padding: 50px 0 40px;
            }
.guide-section {
                padding: 40px 0;
            }

/* --- 子页面追加 --- */
/* 仅针对排行榜特有组件做极少量补充，其余全部复用全局类 */
    .rank-table { width: 100%; border-collapse: collapse; }
.rank-table th, .rank-table td { padding: 0.9rem 0.5rem; border-bottom: 1px solid var(--border-color); vertical-align: middle; }
.rank-table th { color: var(--main-color); font-weight: 600; background: rgba(234, 179, 8, 0.08); }
.rank-table td { color: var(--text-color); }
.rank-badge { display: inline-block; min-width: 2.2rem; text-align: center; font-weight: 700; background: rgba(234,179,8,0.15); border-radius: 4px; padding: 0.2rem 0.4rem; border: 1px solid rgba(234,179,8,0.3); }
.rank-up { color: #4ade80; font-size: 0.8rem; margin-left: 4px; }
.rank-down { color: #f87171; font-size: 0.8rem; margin-left: 4px; }
.rank-flat { color: var(--secondary-text); font-size: 0.8rem; margin-left: 4px; }
.trend-bar { height: 6px; background: rgba(234,179,8,0.15); border-radius: 10px; margin-top: 4px; width: 100%; }
.trend-bar span { display: block; height: 6px; background: var(--main-color); border-radius: 10px; }
.section-sub { color: var(--secondary-text); font-size: 0.95rem; }
.tag-mini { background: rgba(234,179,8,0.1); border-radius: 20px; padding: 0.2rem 0.8rem; font-size: 0.75rem; border: 1px solid var(--border-color); display: inline-block; margin-right: 0.4rem; }
.list-item-custom { background: var(--card-bg); border-radius: 12px; padding: 1.2rem; border: 1px solid var(--border-color); margin-bottom: 0.8rem; }
/* 覆盖Bootstrap卡片可能出现的白底 */
    .list-item-custom, .rank-table, .rank-table th, .rank-table td { background: transparent; color: var(--text-color); }
.rank-table th { background: rgba(234,179,8,0.06); }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.card-title { color:#fafafa !important; }
.card-text { color:#fafafa !important; }
.form-label { color:#fafafa !important; }
.accordion-item { background:rgba(255,255,255,.04) !important; color:#fafafa !important; border-color:rgba(255,255,255,.12) !important; }
.accordion-header { background:transparent !important; }
