/* roulang page: index */
:root {
  --primary: #00d4ff;
  --primary-dark: #009dcc;
  --primary-glow: rgba(0, 212, 255, 0.3);
  --accent: #7b2ff7;
  --accent-glow: rgba(123, 47, 247, 0.3);
  --gold: #ffd700;
  --gold-glow: rgba(255, 215, 0, 0.25);
  --bg-deep: #080c18;
  --bg-card: #0f1628;
  --bg-card-hover: #161f38;
  --bg-elevated: #1a2540;
  --text-primary: #eef2ff;
  --text-secondary: #94a3b8;
  --text-weak: #64748b;
  --border: #1e2d4a;
  --border-light: #2a3f60;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 212, 255, 0.06);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.1);
  --shadow-btn: 0 4px 20px rgba(0, 212, 255, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: #66e5ff; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }
input::placeholder, textarea::placeholder { color: var(--text-weak); }
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
}

/* ==== Dock 导航 ==== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 24px;
  pointer-events: none;
}
.header-inner {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(12, 20, 40, 0.75);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-radius: 60px;
  padding: 8px 20px 8px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 212, 255, 0.12);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 212, 255, 0.05);
  pointer-events: auto;
  transition: var(--transition);
}
.header-inner:hover {
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 8px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 212, 255, 0.06);
}
.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo i {
  color: var(--primary);
  font-size: 1.1rem;
}
.logo span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--text-secondary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav a:hover {
  color: var(--text-primary);
  background: rgba(0, 212, 255, 0.08);
}
.nav a.active {
  color: var(--primary);
  background: rgba(0, 212, 255, 0.12);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.06);
}
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff !important;
  padding: 7px 22px !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-btn);
  margin-left: 8px;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 30px rgba(0, 212, 255, 0.35) !important;
  background: linear-gradient(135deg, #33ddff, var(--primary-dark)) !important;
}
.mobile-toggle {
  display: none;
  background: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: var(--transition);
}
.mobile-toggle:hover { background: rgba(0,212,255,0.1); }
@media (max-width: 768px) {
  .header { padding: 12px 16px; }
  .header-inner { padding: 6px 14px 6px 18px; border-radius: 40px; }
  .nav { display: none; flex-direction: column; position: absolute; top: calc(100% + 12px); left: 16px; right: 16px; background: rgba(12,20,40,0.95); backdrop-filter: blur(20px); border-radius: 20px; padding: 12px; border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,0.8); gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 16px; font-size: 1rem; border-radius: 12px; }
  .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .mobile-toggle { display: block; }
}

/* ==== Hero ==== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  padding: 140px 24px 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,12,24,0.88) 0%, rgba(8,12,24,0.6) 50%, rgba(8,12,24,0.85) 100%);
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,212,255,0.08) 0%, transparent 70%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  padding: 6px 18px 6px 10px;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-badge i { font-size: 0.75rem; }
.hero h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #94b8ff 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-btn);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(0, 212, 255, 0.4);
  background: linear-gradient(135deg, #33ddff, var(--primary-dark));
  color: #fff;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-light);
  transform: translateY(-2px);
  color: var(--text-primary);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-weak);
  margin-top: 2px;
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat-num { font-size: 1.5rem; }
}
@media (max-width: 520px) {
  .hero { padding: 120px 16px 80px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
}

/* ==== 板块通用 ==== */
.section {
  padding: 90px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
}
.section-header .subtitle {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--primary);
  background: rgba(0,212,255,0.1);
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(0,212,255,0.15);
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.8rem; }
}

/* ==== 卡片网格 ==== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 28px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--primary);
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
.card .tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 12px;
  border-radius: 50px;
  background: rgba(0,212,255,0.08);
  color: var(--primary);
  margin-top: 12px;
  border: 1px solid rgba(0,212,255,0.1);
}
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 18px; }
  .card { padding: 20px; }
}

/* ==== 内容列表（资讯） ==== */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.post-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.post-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateX(4px);
}
.post-item .post-thumb {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-elevated);
}
.post-item .post-body { flex: 1; min-width: 0; }
.post-item .post-cat {
  font-size: 0.75rem;
  color: var(--primary);
  background: rgba(0,212,255,0.08);
  padding: 2px 12px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 6px;
  border: 1px solid rgba(0,212,255,0.1);
}
.post-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
  line-height: 1.4;
}
.post-item .post-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-item .post-meta {
  font-size: 0.8rem;
  color: var(--text-weak);
  margin-top: 6px;
  display: flex;
  gap: 16px;
}
.post-empty {
  text-align: center;
  padding: 40px;
  color: var(--text-weak);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
}
@media (max-width: 768px) {
  .post-item { flex-direction: column; padding: 16px; }
  .post-item .post-thumb { width: 100%; height: 140px; }
}

/* ==== 图文区块 ==== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--bg-elevated);
  aspect-ratio: 4/3;
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.feature-img:hover img { transform: scale(1.03); }
.feature-text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.feature-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.feature-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.feature-text ul li i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  .feature-block { grid-template-columns: 1fr; gap: 30px; }
  .feature-block.reverse { direction: ltr; }
  .feature-text h3 { font-size: 1.3rem; }
}

/* ==== 数据/流程 ==== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(0, 212, 255, 0.08);
  line-height: 1;
}
.step-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.step-card .step-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.step-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* ==== FAQ ==== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(0,212,255,0.15); }
.faq-q {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: var(--transition);
}
.faq-q:hover { color: var(--primary); }
.faq-q i { transition: var(--transition); font-size: 0.85rem; color: var(--text-weak); }
.faq-item.active .faq-q i { transform: rotate(180deg); color: var(--primary); }
.faq-a {
  padding: 0 24px 18px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  display: none;
}
.faq-item.active .faq-a { display: block; }

/* ==== CTA ==== */
.cta-section {
  background: linear-gradient(135deg, rgba(0,212,255,0.06) 0%, rgba(123,47,247,0.06) 100%);
  border: 1px solid rgba(0,212,255,0.08);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,212,255,0.05) 0%, transparent 70%);
}
.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}
.cta-section p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 28px;
  position: relative;
}
.cta-section .btn-primary { position: relative; }
@media (max-width: 768px) {
  .cta-section { padding: 40px 24px; }
  .cta-section h2 { font-size: 1.5rem; }
}

/* ==== Footer ==== */
.footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 12px; font-size: 1.2rem; }
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 300px;
  line-height: 1.7;
}
.footer-col h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--primary); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-weak);
}
.footer-bottom a { color: var(--text-weak); }
.footer-bottom a:hover { color: var(--primary); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==== 工具类 ==== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.gap-16 { gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  padding: 3px 14px;
  border-radius: 50px;
  background: rgba(0,212,255,0.08);
  color: var(--primary);
  border: 1px solid rgba(0,212,255,0.1);
}
.badge-gold {
  background: rgba(255,215,0,0.1);
  color: var(--gold);
  border-color: rgba(255,215,0,0.15);
}
.badge-accent {
  background: rgba(123,47,247,0.1);
  color: var(--accent);
  border-color: rgba(123,47,247,0.15);
}

/* roulang page: category1 */
/* ===== Design Variables ===== */
:root {
  --primary: #6c5ce7;
  --primary-dark: #5a4bd1;
  --primary-light: #a29bfe;
  --secondary: #fd79a8;
  --accent: #fdcb6e;
  --bg-dark: #0a0a1a;
  --bg-card: #13132b;
  --bg-section: #0f0f24;
  --bg-input: #1a1a3a;
  --text-light: #f0f0ff;
  --text-muted: #9494b8;
  --text-dim: #6a6a8a;
  --border-color: #2a2a4a;
  --border-light: #3a3a5a;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(108,92,231,0.12);
  --shadow-md: 0 8px 30px rgba(108,92,231,0.18);
  --shadow-lg: 0 20px 60px rgba(108,92,231,0.25);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1200px;
  --nav-height: 72px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  font-size: 16px;
}
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; }
ul, ol { list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: #fff; }
::selection { background: var(--primary); color: #fff; }

/* ===== Floating Dock Navigation ===== */
.header {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 1000;
  pointer-events: none;
}
.nav {
  max-width: 780px; margin: 0 auto;
  display: flex; align-items: center;
  background: rgba(15,15,36,0.85);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--border-light);
  border-radius: 60px;
  padding: 6px 24px 6px 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
  pointer-events: auto;
  gap: 8px;
}
.nav .logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800;
  color: #fff; margin-right: 20px;
  letter-spacing: -0.3px;
}
.nav .logo i { color: var(--primary-light); font-size: 22px; }
.nav .logo span { background: linear-gradient(135deg,#fff 60%,var(--primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav a {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: 30px;
  transition: var(--transition); position: relative;
  white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(108,92,231,0.15); }
.nav a.active { color: #fff; background: var(--primary); box-shadow: 0 4px 15px rgba(108,92,231,0.35); }
.nav .nav-cta {
  background: linear-gradient(135deg,var(--primary),var(--secondary));
  color: #fff !important; padding: 8px 22px;
  border-radius: 30px; font-weight: 600;
  margin-left: auto; box-shadow: 0 4px 20px rgba(108,92,231,0.3);
}
.nav .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(108,92,231,0.45); }
.nav .nav-cta i { margin-right: 6px; font-size: 13px; }

/* Mobile Toggle */
.nav-toggle { display: none; background: none; color: #fff; font-size: 24px; cursor: pointer; padding: 6px 10px; border-radius: 8px; margin-left: auto; }

/* ===== Hero Banner ===== */
.page-banner {
  position: relative; min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  margin-top: 0; padding-top: 100px; padding-bottom: 60px;
  overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,26,0.88) 30%, rgba(10,10,26,0.5) 70%, rgba(108,92,231,0.2));
  z-index: 1;
}
.page-banner::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--bg-dark), transparent); z-index: 1;
}
.page-banner .container { position: relative; z-index: 2; text-align: center; }
.page-banner h1 { font-size: 52px; font-weight: 900; margin-bottom: 16px; letter-spacing: -1px; }
.page-banner h1 span { background: linear-gradient(135deg,#fff 40%,var(--primary-light),var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-banner p { font-size: 18px; color: var(--text-muted); max-width: 640px; margin: 0 auto 24px; line-height: 1.7; }
.page-banner .banner-tags { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.page-banner .banner-tags span {
  background: rgba(108,92,231,0.18); border: 1px solid rgba(108,92,231,0.25);
  padding: 6px 18px; border-radius: 30px; font-size: 13px; color: var(--primary-light);
  backdrop-filter: blur(6px);
}

/* ===== Section Common ===== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.5px; }
.section-header h2 i { color: var(--primary-light); margin-right: 10px; }
.section-header p { color: var(--text-muted); font-size: 16px; max-width: 560px; margin: 12px auto 0; }
.section-header .overline {
  display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase;
  color: var(--primary-light); letter-spacing: 3px; margin-bottom: 8px;
  background: rgba(108,92,231,0.15); padding: 4px 16px; border-radius: 30px;
}
.bg-card-section { background: var(--bg-card); border-radius: var(--radius-lg); padding: 60px 50px; }
.section-divider { width: 60px; height: 3px; background: linear-gradient(90deg,var(--primary),var(--secondary)); border-radius: 4px; margin: 14px auto 0; }

/* ===== Category Cards Grid ===== */
.cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.cat-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 32px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
  cursor: pointer;
}
.cat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,var(--primary),var(--secondary));
  opacity: 0; transition: var(--transition);
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.cat-card:hover::before { opacity: 1; }
.cat-card .cat-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(108,92,231,0.12); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary-light); margin-bottom: 18px; transition: var(--transition); }
.cat-card:hover .cat-icon { background: var(--primary); color: #fff; }
.cat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.cat-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.cat-card .cat-tag { display: inline-block; margin-top: 14px; font-size: 12px; color: var(--primary-light); background: rgba(108,92,231,0.08); padding: 2px 12px; border-radius: 20px; }

/* ===== Race List / Content Cards ===== */
.race-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
.race-item {
  display: flex; align-items: center; gap: 24px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 20px 24px;
  transition: var(--transition);
}
.race-item:hover { border-color: var(--primary); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.race-item .race-thumb { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--bg-input); }
.race-item .race-info { flex: 1; }
.race-item .race-info h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.race-item .race-info p { font-size: 13px; color: var(--text-muted); }
.race-item .race-meta { display: flex; gap: 16px; margin-top: 6px; font-size: 12px; color: var(--text-dim); }
.race-item .race-meta i { margin-right: 4px; }
.race-item .race-status {
  flex-shrink: 0; padding: 6px 16px; border-radius: 30px;
  font-size: 12px; font-weight: 600;
}
.race-status.open { background: rgba(0,230,118,0.12); color: #00e676; }
.race-status.soon { background: rgba(253,203,110,0.12); color: var(--accent); }
.race-status.closed { background: rgba(255,107,107,0.12); color: #ff6b6b; }

/* ===== Process / Steps ===== */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.process-step {
  text-align: center; padding: 32px 20px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); position: relative;
  transition: var(--transition);
}
.process-step:hover { border-color: var(--primary); transform: translateY(-4px); }
.process-step .step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg,var(--primary),var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: #fff;
  margin: 0 auto 16px; box-shadow: 0 4px 20px rgba(108,92,231,0.3);
}
.process-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.process-step .step-arrow { display: none; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-light); }
.faq-item .faq-q {
  padding: 18px 24px; font-weight: 600; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; color: #fff; transition: var(--transition);
  gap: 16px;
}
.faq-item .faq-q i { color: var(--primary-light); font-size: 14px; transition: var(--transition); flex-shrink: 0; }
.faq-item.active .faq-q i { transform: rotate(180deg); }
.faq-item .faq-a {
  padding: 0 24px 18px; font-size: 14px; color: var(--text-muted);
  line-height: 1.7; display: none;
}
.faq-item.active .faq-a { display: block; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg,var(--bg-card),rgba(108,92,231,0.08));
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  padding: 60px 50px; text-align: center;
}
.cta-section h3 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-section p { color: var(--text-muted); font-size: 16px; max-width: 520px; margin: 0 auto 28px; }
.cta-section .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border-radius: 40px; font-weight: 600; font-size: 15px;
  transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: linear-gradient(135deg,var(--primary),var(--secondary)); color: #fff; box-shadow: 0 6px 25px rgba(108,92,231,0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(108,92,231,0.45); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--border-light); color: var(--text-light); }
.btn-outline:hover { border-color: var(--primary); color: #fff; background: rgba(108,92,231,0.08); transform: translateY(-2px); }

/* ===== Footer ===== */
.footer {
  background: var(--bg-card); border-top: 1px solid var(--border-color);
  padding: 56px 0 32px; margin-top: 40px;
}
.footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .footer-brand .logo { font-size: 20px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer .footer-brand .logo i { color: var(--primary-light); }
.footer .footer-brand p { font-size: 13px; color: var(--text-muted); max-width: 300px; line-height: 1.7; }
.footer .footer-col h5 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer .footer-col a { display: block; font-size: 13px; color: var(--text-muted); padding: 4px 0; }
.footer .footer-col a:hover { color: var(--primary-light); padding-left: 4px; }
.footer .footer-socials { display: flex; gap: 12px; }
.footer .footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(108,92,231,0.08); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 18px; padding: 0; }
.footer .footer-socials a:hover { background: var(--primary); color: #fff; }
.footer .footer-bottom { border-top: 1px solid var(--border-color); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--text-dim); }
.footer .footer-bottom a { color: var(--text-dim); }
.footer .footer-bottom a:hover { color: var(--primary-light); }

/* ===== Mobile / Responsive ===== */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .footer .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 6px 16px 6px 14px; gap: 4px; max-width: 96%; border-radius: 40px; }
  .nav .logo { font-size: 17px; margin-right: 8px; }
  .nav .logo span { font-size: 16px; }
  .nav a { font-size: 12px; padding: 6px 12px; }
  .nav .nav-cta { padding: 6px 16px; font-size: 12px; }
  .nav .nav-cta i { display: none; }
  .page-banner { min-height: 300px; padding-top: 90px; padding-bottom: 40px; }
  .page-banner h1 { font-size: 32px; }
  .page-banner p { font-size: 15px; }
  .section { padding: 50px 0; }
  .section-header h2 { font-size: 26px; }
  .section-header p { font-size: 14px; }
  .cat-grid { grid-template-columns: 1fr; gap: 16px; }
  .cat-card { padding: 24px 20px; }
  .race-item { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .race-item .race-thumb { width: 100%; height: 140px; }
  .race-item .race-status { align-self: flex-start; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .process-step { padding: 24px 16px; }
  .bg-card-section { padding: 30px 20px; }
  .cta-section { padding: 40px 24px; }
  .cta-section h3 { font-size: 24px; }
  .footer .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 520px) {
  .nav { padding: 6px 12px; gap: 2px; }
  .nav .logo { font-size: 15px; margin-right: 4px; }
  .nav .logo i { font-size: 16px; }
  .nav .logo span { font-size: 14px; }
  .nav a { font-size: 11px; padding: 5px 10px; }
  .nav .nav-cta { padding: 5px 12px; font-size: 11px; }
  .page-banner h1 { font-size: 26px; }
  .page-banner .banner-tags span { font-size: 11px; padding: 4px 12px; }
  .process-grid { grid-template-columns: 1fr; }
  .cat-card .cat-icon { width: 44px; height: 44px; font-size: 20px; }
}

/* roulang page: article */
/* ===== 设计变量 ===== */
:root {
  --primary: #7C3AED;
  --primary-light: #9F67FF;
  --primary-dark: #5B21B6;
  --secondary: #06D6A0;
  --secondary-light: #34E0B0;
  --accent: #F59E0B;
  --bg-deep: #0B0B1A;
  --bg-card: #16162A;
  --bg-card-hover: #1E1E3A;
  --bg-elevated: #1C1C3A;
  --text-primary: #F0F0FF;
  --text-secondary: #B0B0D0;
  --text-muted: #7A7A9A;
  --border-color: #2A2A4A;
  --border-glow: rgba(124, 58, 237, 0.3);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 24px rgba(124,58,237,0.25);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-w: 1200px;
  --nav-h: 72px;
}
/* ===== Reset / Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}
a { color: var(--secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary-light); }
a:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
}
/* ===== 浮动 Dock 导航 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 24px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.header .nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(22, 22, 42, 0.85);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--border-color);
  border-radius: 60px;
  padding: 8px 32px 8px 28px;
  box-shadow: var(--shadow-md), 0 0 40px rgba(124, 58, 237, 0.08);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.header .nav:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), 0 0 48px rgba(124, 58, 237, 0.15);
}
.header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  margin-right: 8px;
}
.header .logo i { color: var(--primary-light); font-size: 24px; }
.header .logo span { background: linear-gradient(135deg, var(--text-primary) 60%, var(--primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.header .nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 30px;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}
.header .nav a:hover { color: var(--text-primary); background: rgba(124,58,237,0.15); }
.header .nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 4px 16px rgba(124,58,237,0.35);
}
.header .nav a.nav-cta {
  background: linear-gradient(135deg, var(--secondary), #059669);
  color: #fff;
  padding: 8px 22px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 18px rgba(6, 214, 160, 0.3);
}
.header .nav a.nav-cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 6px 28px rgba(6,214,160,0.45); }
.header .nav a.nav-cta i { font-size: 13px; transition: transform var(--transition); }
.header .nav a.nav-cta:hover i { transform: translateX(3px); }
.nav-toggle { display: none; pointer-events: auto; background: rgba(22,22,42,0.9); border: 1px solid var(--border-color); color: var(--text-primary); width: 44px; height: 44px; border-radius: 50%; font-size: 20px; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(12px); transition: all var(--transition); }
.nav-toggle:hover { border-color: var(--primary-light); background: rgba(124,58,237,0.15); }
@media (max-width: 820px) {
  .header { padding: 10px 16px; }
  .header .nav { gap: 6px; padding: 6px 16px 6px 18px; border-radius: 40px; flex-wrap: nowrap; overflow-x: auto; }
  .header .nav a { font-size: 13px; padding: 4px 10px; white-space: nowrap; }
  .header .logo { font-size: 18px; gap: 6px; margin-right: 2px; }
  .header .logo i { font-size: 18px; }
  .header .nav a.nav-cta { padding: 5px 14px; font-size: 13px; }
}
@media (max-width: 540px) {
  .header { padding: 8px 12px; }
  .header .nav { gap: 4px; padding: 5px 10px 5px 12px; border-radius: 32px; }
  .header .nav a { font-size: 12px; padding: 3px 8px; }
  .header .logo { font-size: 16px; }
  .header .logo i { font-size: 15px; }
  .header .nav a.nav-cta { padding: 4px 10px; font-size: 12px; }
}
/* ===== 文章 Banner ===== */
.article-hero {
  position: relative;
  padding: 140px 0 60px;
  min-height: 340px;
  display: flex;
  align-items: center;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  isolation: isolate;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,11,26,0.92) 30%, rgba(11,11,26,0.6) 70%, rgba(11,11,26,0.85));
  z-index: 0;
}
.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg-deep) 0%, transparent 50%);
  z-index: 0;
}
.article-hero .container { position: relative; z-index: 1; width: 100%; }
.article-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.article-hero .breadcrumb a { color: var(--text-muted); }
.article-hero .breadcrumb a:hover { color: var(--secondary); }
.article-hero .breadcrumb span { color: var(--text-secondary); }
.article-hero .breadcrumb i { font-size: 10px; color: var(--text-muted); }
.article-hero .hero-category {
  display: inline-block;
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(6,214,160,0.15));
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.article-hero h1 {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  max-width: 860px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.article-hero .hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}
.article-hero .hero-meta i { margin-right: 4px; color: var(--primary-light); }
.article-hero .hero-meta span { display: flex; align-items: center; }
.article-hero .hero-excerpt {
  margin-top: 16px;
  max-width: 700px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  background: rgba(11,11,26,0.5);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary-light);
}
@media (max-width: 768px) {
  .article-hero { padding: 120px 0 40px; min-height: 240px; }
  .article-hero .hero-meta { gap: 12px; font-size: 13px; }
  .article-hero .hero-excerpt { font-size: 14px; padding: 12px 16px; }
}
/* ===== 文章主体 ===== */
.article-main {
  padding: 40px 0 60px;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}
.article-body { min-width: 0; }
.article-body .content {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--text-primary);
}
.article-body .content p { margin-bottom: 1.5em; }
.article-body .content h2 { font-size: 26px; font-weight: 700; margin: 1.8em 0 0.8em; color: #fff; letter-spacing: -0.3px; }
.article-body .content h3 { font-size: 20px; font-weight: 600; margin: 1.6em 0 0.6em; color: var(--text-primary); }
.article-body .content ul, .article-body .content ol { margin: 1em 0 1.5em 1.6em; }
.article-body .content li { margin-bottom: 0.5em; }
.article-body .content ul li { list-style: disc; }
.article-body .content ol li { list-style: decimal; }
.article-body .content a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.article-body .content a:hover { color: var(--secondary-light); }
.article-body .content blockquote {
  border-left: 4px solid var(--primary-light);
  padding: 16px 24px;
  margin: 1.5em 0;
  background: rgba(124,58,237,0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
  font-style: italic;
}
.article-body .content img {
  border-radius: var(--radius-md);
  margin: 1.5em 0;
  box-shadow: var(--shadow-md);
}
.article-body .content pre {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  margin: 1.5em 0;
  color: var(--text-secondary);
}
/* 文章信息栏 */
.article-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  margin-top: 32px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.article-info .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-info .tags a {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 30px;
  font-size: 13px;
  color: var(--primary-light);
  transition: all var(--transition);
}
.article-info .tags a:hover { background: rgba(124,58,237,0.25); border-color: var(--primary-light); }
.article-info .share { display: flex; align-items: center; gap: 10px; }
.article-info .share span { font-size: 14px; color: var(--text-muted); }
.article-info .share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 15px;
  transition: all var(--transition);
}
.article-info .share a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(124,58,237,0.3); }
/* 侧边栏 */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
}
.sidebar-card:hover { border-color: var(--border-glow); box-shadow: var(--shadow-glow); }
.sidebar-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-card h4 i { color: var(--primary-light); font-size: 18px; }
.sidebar-card ul li { margin-bottom: 10px; }
.sidebar-card ul li a {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}
.sidebar-card ul li a:hover { color: var(--secondary); transform: translateX(4px); }
.sidebar-card ul li a i { font-size: 10px; color: var(--text-muted); }
.sidebar-card .cta-mini {
  display: block;
  text-align: center;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
}
.sidebar-card .cta-mini:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124,58,237,0.35); color: #fff; }
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .article-sidebar { grid-template-columns: 1fr; }
  .article-info { flex-direction: column; align-items: flex-start; }
}
/* ===== 文章导航（上下篇） ===== */
.article-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
.article-nav-links a {
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  gap: 4px;
}
.article-nav-links a:hover { border-color: var(--border-glow); background: var(--bg-card-hover); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.article-nav-links a .label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.article-nav-links a .title { font-size: 15px; font-weight: 600; color: var(--text-primary); display: flex; align-items: center; gap: 6px; }
.article-nav-links a:hover .title { color: var(--secondary); }
.article-nav-links a.next { text-align: right; }
.article-nav-links a.next .title { justify-content: flex-end; }
@media (max-width: 640px) {
  .article-nav-links { grid-template-columns: 1fr; }
  .article-nav-links a.next { text-align: left; }
  .article-nav-links a.next .title { justify-content: flex-start; }
}
/* ===== 相关推荐 ===== */
.related-section {
  padding: 60px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-color);
}
.related-section .section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.related-section .section-title i { color: var(--primary-light); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.related-card:hover { border-color: var(--border-glow); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.related-card .card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.related-card .card-body { padding: 16px 18px 18px; }
.related-card .card-cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(124,58,237,0.12);
  padding: 2px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}
.related-card .card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition);
}
.related-card:hover .card-title { color: var(--secondary); }
.related-card .card-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 1024px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .related-grid { grid-template-columns: 1fr; }
  .related-card .card-img { height: 200px; }
}
/* ===== FAQ ===== */
.faq-section {
  padding: 60px 0;
  background: var(--bg-card);
}
.faq-section .section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-deep);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  transition: all var(--transition);
  cursor: pointer;
}
.faq-item:hover { border-color: var(--border-glow); }
.faq-item .faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  gap: 12px;
}
.faq-item .faq-q i { color: var(--primary-light); font-size: 14px; transition: transform var(--transition); }
.faq-item.active .faq-q i { transform: rotate(180deg); }
.faq-item .faq-a {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  display: none;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}
.faq-item.active .faq-a { display: block; }
/* ===== CTA ===== */
.cta-section {
  padding: 70px 0;
  background: url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
  position: relative;
  isolation: isolate;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,11,26,0.92), rgba(124,58,237,0.3));
  z-index: 0;
}
.cta-section .container { position: relative; z-index: 1; text-align: center; }
.cta-section h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 28px;
}
.cta-section .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--secondary), #059669);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border-radius: 40px;
  box-shadow: 0 6px 28px rgba(6,214,160,0.35);
  transition: all var(--transition);
}
.cta-section .cta-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 40px rgba(6,214,160,0.5); color: #fff; }
.cta-section .cta-btn i { transition: transform var(--transition); }
.cta-section .cta-btn:hover i { transform: translateX(4px); }
/* ===== Not Found ===== */
.not-found-box {
  text-align: center;
  padding: 60px 20px;
}
.not-found-box i { font-size: 56px; color: var(--text-muted); margin-bottom: 20px; }
.not-found-box h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.not-found-box p { color: var(--text-secondary); margin-bottom: 20px; }
.not-found-box .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  transition: all var(--transition);
}
.not-found-box .back-link:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(124,58,237,0.35); color: #fff; }
/* ===== Footer ===== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.footer-brand .logo i { color: var(--primary-light); }
.footer-brand p { font-size: 14px; color: var(--text-muted); max-width: 320px; line-height: 1.7; }
.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--secondary); }
.footer-socials { display: flex; gap: 12px; margin-top: 8px; }
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 18px;
  transition: all var(--transition);
}
.footer-socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(124,58,237,0.3); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--secondary); }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
/* ===== 通用辅助 ===== */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
/* ===== 内容未找到特殊处理 ===== */
.no-article .article-hero { min-height: 200px; padding: 120px 0 30px; }
