/* roulang page: index */
:root {
  --primary: #e05a33;
  --primary-dark: #c44522;
  --primary-light: #fef0eb;
  --secondary: #1f2a3d;
  --secondary-light: #2c3a52;
  --accent: #f5b544;
  --bg: #f7f8fa;
  --bg-light: #ffffff;
  --text: #1c2333;
  --text-weak: #6b7688;
  --border: #e8ebf0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(28, 35, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 35, 51, 0.08);
  --shadow-lg: 0 16px 48px rgba(28, 35, 51, 0.12);
  --space-sm: 24px;
  --space-md: 48px;
  --space-lg: 80px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 浮动 Dock 导航 */
.site-header {
  position: sticky;
  top: 20px;
  z-index: 100;
  padding: 0 16px;
  margin-top: 20px;
}

.nav-dock {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: 56px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav-dock:hover {
  box-shadow: var(--shadow-lg);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-logo .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(224, 90, 51, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.nav-links a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-links a.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(224, 90, 51, 0.3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav {
  padding: 9px 22px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--secondary);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}

.menu-toggle:focus {
  outline: 2px solid var(--primary);
}

/* Hero 区域 */
.hero-section {
  position: relative;
  padding: 110px 0 90px;
  background: linear-gradient(180deg, #fef4ef 0%, #f7f8fa 90%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-3.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(224, 90, 51, 0.2);
  border-radius: 40px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-badge i {
  color: var(--accent);
}

.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.hero-content h1 .highlight {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-weak);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 44px;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(224, 90, 51, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(224, 90, 51, 0.4);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 44px;
  background: #fff;
  border: 2px solid var(--border);
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-weak);
}

.hero-meta-item i {
  color: var(--primary);
}

/* 分类入口 */
.category-section {
  padding: var(--space-lg) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-weak);
  font-size: 1.05rem;
  line-height: 1.7;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.category-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224, 90, 51, 0.2);
}

.category-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-card-img img {
  transform: scale(1.05);
}

.category-card-img .category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 35, 51, 0.2), rgba(28, 35, 51, 0));
}

.category-card-body {
  padding: 24px;
}

.category-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.category-card-body h3 a {
  color: inherit;
  transition: color 0.2s;
}

.category-card-body h3 a:hover {
  color: var(--primary);
}

.category-card-body p {
  color: var(--text-weak);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  transition: gap 0.2s ease;
}

.card-link:hover {
  gap: 12px;
  color: var(--primary-dark);
}

/* 核心优势 */
.features-section {
  background: var(--secondary);
  padding: var(--space-lg) 0;
  color: #fff;
}

.features-section .section-header h2 {
  color: #fff;
}

.features-section .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.features-section .section-tag {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 10px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.3s ease;
  text-align: center;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(224, 90, 51, 0.3);
}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

/* 资讯列表 */
.news-section {
  padding: var(--space-lg) 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(224, 90, 51, 0.15);
}

.news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--text-weak);
}

.news-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
}

.news-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-body h3 a {
  color: inherit;
}

.news-card-body h3 a:hover {
  color: var(--primary);
}

.news-card-body p {
  font-size: 0.9rem;
  color: var(--text-weak);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--text-weak);
}

.news-card-footer .read-more {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 数据面板 */
.stats-section {
  padding: var(--space-lg) 0;
  background: linear-gradient(135deg, #fef0eb 0%, #f7f8fa 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-weak);
}

/* 流程 */
.process-section {
  padding: var(--space-lg) 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: #fff;
  border-radius: 50%;
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  box-shadow: 0 0 0 6px rgba(224, 90, 51, 0.1);
}

.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-weak);
  line-height: 1.6;
}

/* FAQ */
.faq-section {
  padding: var(--space-lg) 0;
  background: #fff;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  background: var(--bg);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 22px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question i {
  color: var(--primary);
  font-size: 1.1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  padding: 0 28px 22px;
  max-height: 300px;
}

.faq-answer p {
  color: var(--text-weak);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* CTA */
.cta-section {
  padding: 80px 0;
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(224, 90, 51, 0.15);
  border-radius: 50%;
  top: -200px;
  right: -100px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(245, 181, 68, 0.1);
  border-radius: 50%;
  bottom: -150px;
  left: -80px;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 48px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-cta-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 28px rgba(224, 90, 51, 0.4);
}

.btn-cta-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  color: #fff;
}

.btn-cta-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.btn-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: #fff;
}

/* Footer */
.site-footer {
  background: #10161f;
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.footer-logo .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* 响应式 */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .process-steps::before {
    display: none;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 56px;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    display: none;
    z-index: 200;
    border: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    text-align: center;
    padding: 12px;
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }

  .nav-actions .btn-nav {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-section {
    padding-top: 70px;
    padding-bottom: 60px;
  }

  .category-grid,
  .news-grid,
  .features-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-content h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-meta {
    gap: 16px;
    flex-direction: column;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-item {
    padding: 24px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta {
    width: 100%;
    justify-content: center;
  }
}

/* 焦点状态 */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(224, 90, 51, 0.4);
  outline-offset: 2px;
}

/* roulang page: category1 */
:root {
  --primary: #FF5A36;
  --primary-dark: #E8451F;
  --primary-light: #FFF1EC;
  --accent: #FFB800;
  --accent-soft: #FFF8E8;
  --dark: #1A1A2E;
  --dark-2: #252542;
  --text: #2D2A32;
  --text-weak: #6B6B7B;
  --bg: #F8F7F4;
  --bg-white: #FFFFFF;
  --border: #E8E5DF;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 16px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 10px 32px rgba(26, 26, 46, 0.10);
  --shadow-lg: 0 20px 48px rgba(26, 26, 46, 0.14);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --container-w: 1200px;
  --space-section: 96px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--space-section) 0;
}

.section-alt {
  background: var(--bg-white);
}

/* ===== 浮动导航 ===== */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0 24px;
  margin-top: 16px;
}

.nav-bar {
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 60px;
  padding: 12px 28px;
  box-shadow: var(--shadow-md);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  border-radius: 14px;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(255, 90, 54, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 22px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-weak);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 700;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 8px 18px;
  min-width: 180px;
}

.nav-search i {
  color: var(--text-weak);
  font-size: 0.9rem;
}

.nav-search input {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text);
}

.nav-search input::placeholder {
  color: #aaa;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ===== 页头 Banner ===== */
.page-banner {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #1A1A2E 0%, #252542 60%, #2D2D55 100%);
  overflow: hidden;
  color: #fff;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -160px;
  left: 20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 90, 54, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner .banner-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner .banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 40px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFD700;
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
}

.page-banner h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.page-banner h1 span {
  background: linear-gradient(135deg, #FFD700, #FF8A50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.page-banner .banner-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 90, 54, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 90, 54, 0.35);
  color: #fff;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--dark);
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
}

/* ===== 板块标题 ===== */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head .sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  background: var(--primary-light);
  border-radius: 40px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-weak);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ===== 分类标签 / 玩法标签 ===== */
.play-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.tag-chip {
  padding: 8px 20px;
  border-radius: 40px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-weak);
  cursor: pointer;
  transition: var(--transition);
}

.tag-chip:hover,
.tag-chip.active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: translateY(-2px);
}

/* ===== 玩法内容卡片网格 ===== */
.play-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.play-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.6);
}

.play-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.play-card .card-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.play-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.play-card:hover .card-media img {
  transform: scale(1.06);
}

.play-card .card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(26, 26, 46, 0.25));
}

.play-card .card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 16px;
  background: var(--accent);
  color: var(--dark);
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.play-card .card-body {
  padding: 26px;
}

.play-card .card-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.play-card .card-body p {
  color: var(--text-weak);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.play-card .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-weak);
}

.play-card .card-meta .meta-view {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* ===== 热门榜单 ===== */
.rank-panel {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.7);
}

.rank-panel .rank-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.rank-panel .rank-head h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-item:hover {
  padding-left: 8px;
}

.rank-num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text-weak);
  flex-shrink: 0;
}

.rank-item:nth-child(1) .rank-num,
.rank-item:nth-child(2) .rank-num,
.rank-item:nth-child(3) .rank-num {
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 90, 54, 0.25);
}

.rank-info {
  flex: 1;
}

.rank-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.rank-info p {
  font-size: 0.85rem;
  color: var(--text-weak);
}

.rank-score {
  text-align: right;
  flex-shrink: 0;
}

.rank-score .score-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
}

.rank-score .score-label {
  font-size: 0.78rem;
  color: var(--text-weak);
}

/* ===== 玩法流程 ===== */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  margin-top: 20px;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  opacity: 0.2;
}

.flow-step {
  position: relative;
  z-index: 2;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.flow-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(255, 90, 54, 0.28);
}

.flow-step h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.flow-step p {
  font-size: 0.88rem;
  color: var(--text-weak);
  line-height: 1.6;
}

/* ===== 数据展示 ===== */
.stats-section {
  background: var(--dark);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  opacity: 0.12;
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item .stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #FF8A50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
}

/* ===== FAQ ===== */
.faq-panel {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  padding: 24px 28px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item[open] summary {
  color: var(--primary);
}

.faq-item .faq-content {
  padding: 0 28px 24px;
  color: var(--text-weak);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(145deg, #1A1A2E 0%, #252542 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-3.png') center/cover no-repeat;
  opacity: 0.1;
}

.cta-panel {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  color: #fff;
}

.cta-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.cta-panel p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
  position: relative;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ===== 响应式断点 ===== */
@media screen and (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  .section {
    --space-section: 72px;
  }

  .play-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-steps::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-search {
    min-width: 140px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 10px 16px;
    font-size: 0.88rem;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .site-header {
    top: 10px;
    padding: 0 16px;
  }

  .nav-bar {
    padding: 10px 18px;
    border-radius: 30px;
  }

  .nav-search {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 16px;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 99;
    border: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .brand-logo {
    font-size: 1.1rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .page-banner {
    padding: 90px 0 56px;
  }

  .page-banner h1 {
    font-size: 1.9rem;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .play-grid {
    grid-template-columns: 1fr;
  }

  .play-card .card-media {
    height: 180px;
  }

  .rank-panel {
    padding: 24px;
  }

  .rank-item {
    gap: 12px;
  }

  .user-actions {
    display: flex;
    gap: 4px;
  }

  .btn-quick {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    padding: 0 !important;
    font-size: 0;
    justify-content: center;
    gap: 0;
  }

  .btn-quick i {
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media screen and (max-width: 520px) {
  .container {
    padding: 0 16px;
  }

  .section {
    --space-section: 56px;
  }

  .nav-bar {
    padding: 10px 14px;
  }

  .brand-logo {
    font-size: 1rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .page-banner h1 {
    font-size: 1.6rem;
  }

  .page-banner .banner-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .tag-chip {
    padding: 6px 14px;
    font-size: 0.82rem;
  }

  .rank-item {
    flex-wrap: wrap;
  }

  .rank-score {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .footer-col {
    width: 100%;
  }
}

@media screen and (max-width: 1280px) and (min-width: 1025px) {
  .nav-search {
    min-width: 140px;
  }

  .nav-links a {
    padding: 10px 18px;
  }
}

/* ===== 通用工具 ===== */
.text-primary {
  color: var(--primary);
}

.text-center {
  text-align: center;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-quick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  background: var(--dark);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-quick:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.btn-quick i {
  font-size: 0.9rem;
}

/* roulang page: article */
:root {
  --primary: #e85d2f;
  --primary-dark: #d04a1c;
  --primary-light: #fff1eb;
  --secondary: #1a1a2e;
  --accent: #f4a261;
  --accent-light: #fef3e9;
  --bg: #fff9f5;
  --bg-alt: #f6f1ec;
  --bg-dark: #1a1a2e;
  --text: #22223b;
  --text-muted: #6b7280;
  --border: #e8e0da;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 12px rgba(26, 26, 46, .06);
  --shadow-md: 0 8px 32px rgba(26, 26, 46, .10);
  --shadow-lg: 0 16px 48px rgba(26, 26, 46, .14);
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, textarea { font-family: inherit; font-size: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grid-container { max-width: 1200px; padding-left: 24px; padding-right: 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 700; font-size: 15px;
  line-height: 1.2; border: none; cursor: pointer; transition: var(--transition);
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 24px rgba(232, 93, 47, .3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(232, 93, 47, .42); }
.btn-dark { background: var(--secondary); color: #fff; }
.btn-dark:hover { background: #2a2a4a; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-lg { padding: 18px 44px; font-size: 17px; }

/* ===== Badge / Tag ===== */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600;
  background: var(--primary-light); color: var(--primary);
}
.badge-dark { background: rgba(255,255,255,.14); color: #fff; }
.badge-gold { background: var(--accent-light); color: #b45309; }

/* ===== Header / Dock Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  padding: 18px 0 0;
  pointer-events: none;
}
.site-header .container { pointer-events: auto; }
.dock-nav {
  max-width: 1120px; margin: 0 auto;
  border-radius: 60px;
  background: rgba(255, 255, 255, .87);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,.85);
  padding: 10px 18px 10px 22px;
  position: relative;
}
.dock-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 18px; letter-spacing: .03em;
  color: var(--text); white-space: nowrap;
}
.brand-mark {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; border-radius: 13px; font-size: 17px;
  box-shadow: 0 4px 16px rgba(232, 93, 47, .35);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 20px; border-radius: 50px;
  font-weight: 600; font-size: 15px; color: var(--text-muted);
  transition: var(--transition); white-space: nowrap;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }
.nav-links a.active { color: #fff; background: var(--primary); box-shadow: 0 4px 16px rgba(232, 93, 47, .35); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle {
  display: none; width: 42px; height: 42px; flex-shrink: 0;
  border: none; border-radius: 14px;
  background: var(--primary-light); color: var(--primary);
  font-size: 17px; cursor: pointer;
  align-items: center; justify-content: center;
  transition: var(--transition);
}
.nav-toggle:hover { background: var(--primary); color: #fff; }

/* ===== Article Hero ===== */
.article-hero {
  position: relative;
  padding: 90px 0 100px;
  background: linear-gradient(135deg, rgba(26,26,46,.92), rgba(26,26,46,.7)), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  color: #fff;
}
.article-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(232,93,47,.18), transparent 60%);
}
.article-hero-inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; text-align: center; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.article-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900; line-height: 1.35; letter-spacing: .02em;
  margin-bottom: 24px;
}
.article-meta { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.75); }
.meta-item { display: inline-flex; align-items: center; gap: 7px; }
.meta-item i { color: var(--accent); }

/* ===== Article Main ===== */
.article-main-section { padding: 60px 0 70px; }
.article-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  overflow: hidden; margin-bottom: 32px;
}
.article-cover img { width: 100%; object-fit: cover; max-height: 420px; }
.article-body { padding: 40px 42px; }
.article-body h2 { font-size: 26px; font-weight: 800; margin: 36px 0 16px; color: var(--text); }
.article-body h3 { font-size: 21px; font-weight: 700; margin: 28px 0 14px; }
.article-body p { margin-bottom: 20px; color: #3c3c52; }
.article-body ul, .article-body ol { margin: 0 0 22px 24px; color: #3c3c52; }
.article-body ul li { list-style: disc; margin-bottom: 8px; }
.article-body ol li { list-style: decimal; margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--primary); padding: 16px 24px;
  background: var(--primary-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0 0 24px; color: var(--text); font-weight: 500;
}
.article-body img { border-radius: var(--radius); margin: 24px 0; }
.article-body a { color: var(--primary); font-weight: 600; border-bottom: 2px solid rgba(232,93,47,.25); }
.article-body a:hover { border-color: var(--primary); }

/* ===== Not Found ===== */
.not-found-box { text-align: center; padding: 80px 32px; }
.not-found-icon {
  width: 88px; height: 88px; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary);
  border-radius: 50%; font-size: 36px;
}
.not-found-box h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.not-found-box p { color: var(--text-muted); margin-bottom: 24px; }

/* ===== Sidebar ===== */
.sidebar-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  padding: 28px; margin-bottom: 24px;
}
.sidebar-card h3 {
  font-size: 18px; font-weight: 800; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.sidebar-card h3::after { content: ''; flex: 1; height: 2px; background: var(--primary-light); border-radius: 2px; }
.sidebar-cat-label { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--primary-light); border-radius: var(--radius-sm); font-weight: 600; color: var(--primary); }
.sidebar-list li { padding: 10px 0; border-bottom: 1px solid #f3ece6; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li i { color: var(--primary); margin-top: 4px; }
.sidebar-cta {
  background: linear-gradient(135deg, var(--primary), #f47a3a);
  color: #fff; border-radius: var(--radius); padding: 30px;
  box-shadow: 0 12px 32px rgba(232,93,47,.3); position: relative; overflow: hidden;
}
.sidebar-cta::before { content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; background: rgba(255,255,255,.12); border-radius: 50%; }
.sidebar-cta h3 { font-size: 20px; font-weight: 900; margin-bottom: 10px; }
.sidebar-cta p { font-size: 14px; opacity: .92; margin-bottom: 20px; }
.sidebar-cta .btn { background: #fff; color: var(--primary); box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.sidebar-cta .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }

/* ===== Stats ===== */
.stats-section { padding: 70px 0; background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head .badge { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; margin-bottom: 14px; line-height: 1.3; }
.section-head p { color: var(--text-muted); font-size: 16px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 32px 24px; text-align: center; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat-icon { width: 52px; height: 52px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: var(--primary-light); color: var(--primary); font-size: 20px; }
.stat-num { font-size: 40px; font-weight: 900; line-height: 1.2; color: var(--text); }
.stat-num span { font-size: 22px; }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 6px; }

/* ===== Related ===== */
.related-section { padding: 70px 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.related-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition);
  display: flex; flex-direction: column;
}
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.related-card img { width: 100%; height: 200px; object-fit: cover; }
.related-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.related-body h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; line-height: 1.45; }
.related-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; flex: 1; }
.related-link { font-weight: 700; font-size: 14px; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.related-link:hover { gap: 10px; }

/* ===== FAQ ===== */
.faq-section { padding: 70px 0; background: var(--bg-alt); }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item summary {
  cursor: pointer; padding: 22px 28px; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; gap: 14px; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '\f067'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  color: var(--primary); font-size: 14px; width: 30px; height: 30px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); border-radius: 50%;
}
.faq-item[open] summary::before { content: '\f068'; }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-answer { padding: 20px 28px 24px; color: var(--text-muted); font-size: 15px; }

/* ===== CTA ===== */
.cta-section {
  padding: 90px 0; position: relative; color: #fff;
  background: linear-gradient(135deg, rgba(26,26,46,.96), rgba(26,26,46,.82)), url('/assets/images/backpic/back-2.png') center/cover no-repeat;
}
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 80%, rgba(232,93,47,.24), transparent 55%); pointer-events: none; }
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-inner .badge { margin-bottom: 18px; }
.cta-inner h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; margin-bottom: 16px; line-height: 1.3; }
.cta-inner p { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.72); padding: 64px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; margin-bottom: 42px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 340px; }
.footer-col h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .article-body { padding: 32px; }
}
@media (max-width: 768px) {
  .site-header { padding-top: 12px; }
  .dock-nav { padding: 10px 16px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: calc(100% + 14px); left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
    padding: 14px; display: none; z-index: 100;
    border: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; padding: 13px 16px; }
  .header-actions { display: none; }
  .article-hero { padding: 60px 0 72px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; }
}
@media (max-width: 520px) {
  .container, .grid-container { padding-left: 16px; padding-right: 16px; }
  .brand-logo { font-size: 16px; }
  .brand-mark { width: 36px; height: 36px; font-size: 15px; border-radius: 11px; }
  .dock-nav { border-radius: 24px; }
  .article-hero h1 { font-size: 24px; }
  .article-body { padding: 24px 20px; }
  .stats-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .article-meta { gap: 12px; }
}
@media (max-width: 420px) {
  .nav-links a { font-size: 14px; padding: 11px 14px; }
}
