/* roulang page: index */
/* ===== 设计变量 ===== */
:root {
  --color-primary: #d4a843;
  --color-primary-light: #f5d060;
  --color-primary-dark: #b8912e;
  --color-accent: #f0a030;
  --color-accent-alt: #e85050;
  --color-bg-dark: #0a0e1a;
  --color-bg-card: #141a2e;
  --color-bg-card-hover: #1a2240;
  --color-bg-section: #0f1424;
  --color-bg-section-alt: #0c1120;
  --color-text: #c8ccd8;
  --color-text-light: #8890a8;
  --color-text-heading: #ffffff;
  --color-border: rgba(212, 168, 67, 0.2);
  --color-border-light: rgba(255, 255, 255, 0.06);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 8px 40px rgba(212, 168, 67, 0.15);
  --shadow-hero: 0 8px 60px rgba(0, 0, 0, 0.6);
  --shadow-btn: 0 4px 16px rgba(212, 168, 67, 0.3);
  --shadow-btn-hover: 0 6px 28px rgba(212, 168, 67, 0.45);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --spacing-section: 80px;
  --spacing-section-mobile: 48px;
  --container-max: 1200px;
  --container-padding: 24px;
}

/* ===== 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);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg-dark);
  overflow-x: hidden;
}
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-light); }
a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 4px; 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; border: none; outline: none; }
button { cursor: pointer; background: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--color-text-heading); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 32px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition); border: 2px solid transparent; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); color: #0a0e1a; border-color: var(--color-primary); box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary)); color: #0a0e1a; transform: translateY(-2px); box-shadow: var(--shadow-btn-hover); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #0a0e1a; transform: translateY(-2px); }
.btn-outline:active { transform: translateY(0); }
.btn-white { background: #fff; color: #0a0e1a; border-color: #fff; }
.btn-white:hover { background: var(--color-primary-light); color: #0a0e1a; border-color: var(--color-primary-light); transform: translateY(-2px); }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 44px; font-size: 1.1rem; }

/* ===== 徽章 / 标签 ===== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.3px; text-transform: uppercase;
}
.badge-gold { background: rgba(212, 168, 67, 0.18); color: var(--color-primary); border: 1px solid rgba(212, 168, 67, 0.3); }
.badge-white { background: rgba(255,255,255,0.08); color: var(--color-text); border: 1px solid rgba(255,255,255,0.1); }
.badge-accent { background: rgba(240, 160, 48, 0.18); color: var(--color-accent); border: 1px solid rgba(240, 160, 48, 0.3); }
.tag {
  display: inline-block; padding: 3px 12px; border-radius: var(--radius-sm);
  font-size: 0.75rem; font-weight: 500; background: rgba(212, 168, 67, 0.1);
  color: var(--color-primary); border: 1px solid rgba(212, 168, 67, 0.15);
  transition: all var(--transition);
}
.tag:hover { background: var(--color-primary); color: #0a0e1a; }

/* ===== 卡片 ===== */
.card {
  background: var(--color-bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light); overflow: hidden;
  transition: all var(--transition); box-shadow: var(--shadow-card);
}
.card:hover { transform: translateY(-6px); border-color: rgba(212, 168, 67, 0.25); box-shadow: var(--shadow-card-hover); background: var(--color-bg-card-hover); }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img { transform: scale(1.03); }
.card-body { padding: 24px; }
.card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--color-text-heading); }
.card-text { font-size: 0.9rem; color: var(--color-text-light); line-height: 1.6; }
.card-meta { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 0.8rem; color: var(--color-text-light); }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--color-primary); margin-top: 12px; }
.card-link:hover { gap: 10px; }

/* ===== 统计数字 ===== */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; padding: 28px 16px; background: rgba(212, 168, 67, 0.04); border-radius: var(--radius-md); border: 1px solid rgba(212, 168, 67, 0.08); }
.stat-number { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--color-primary); line-height: 1.1; }
.stat-label { font-size: 0.9rem; color: var(--color-text-light); margin-top: 6px; }

/* ===== 导航 ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 14, 26, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.08); transition: background var(--transition);
}
.header.scrolled { background: rgba(10, 14, 26, 0.96); border-bottom-color: rgba(212, 168, 67, 0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--color-text-heading); white-space: nowrap; }
.logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.1rem; color: #0a0e1a; }
.logo span { color: var(--color-primary); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 50px;
  font-size: 0.88rem; font-weight: 500; color: var(--color-text); transition: all var(--transition);
  position: relative;
}
.nav a:hover { color: var(--color-primary); background: rgba(212, 168, 67, 0.06); }
.nav a.active { color: var(--color-primary); background: rgba(212, 168, 67, 0.12); }
.nav a.active::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 20px; height: 2px; background: var(--color-primary); border-radius: 2px; }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text-heading); border-radius: 2px; transition: all var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 70vh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
  background: var(--color-bg-dark);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  opacity: 0.35; transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.6) 50%, rgba(10,14,26,0.88) 100%);
}
.hero-particles { position: absolute; inset: 0; z-index: 1; opacity: 0.2; background: radial-gradient(circle at 20% 50%, rgba(212,168,67,0.15) 0%, transparent 50%), radial-gradient(circle at 80% 30%, rgba(240,160,48,0.1) 0%, transparent 40%); }
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 720px; }
.hero-badge { margin-bottom: 20px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .highlight { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--color-text); max-width: 600px; line-height: 1.8; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(212, 168, 67, 0.1); }
.hero-stat { text-align: left; }
.hero-stat-number { font-size: 1.6rem; font-weight: 800; color: var(--color-primary); }
.hero-stat-label { font-size: 0.8rem; color: var(--color-text-light); margin-top: 2px; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; animation: float 2.5s ease-in-out infinite; }
.hero-scroll a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(212,168,67,0.3); color: var(--color-primary); font-size: 1.2rem; transition: all var(--transition); }
.hero-scroll a:hover { background: var(--color-primary); color: #0a0e1a; border-color: var(--color-primary); }
@keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

/* ===== 板块通用 ===== */
.section { padding: var(--spacing-section) 0; }
.section-alt { background: var(--color-bg-section); }
.section-alt-2 { background: var(--color-bg-section-alt); }
.section-dark { background: var(--color-bg-dark); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--color-text-light); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-header .badge { margin-bottom: 16px; }
.section-line { width: 50px; height: 3px; background: var(--color-primary); border-radius: 2px; margin: 16px auto 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===== 图文区块 ===== */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.feature-image img { width: 100%; height: 400px; object-fit: cover; }
.feature-content { padding: 20px 0; }
.feature-content .badge { margin-bottom: 16px; }
.feature-content h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 16px; }
.feature-content p { color: var(--color-text-light); line-height: 1.8; }
.feature-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--color-text); }
.feature-list li i { color: var(--color-primary); margin-top: 4px; flex-shrink: 0; }

/* ===== 横向滚动卡片 ===== */
.scroll-section { overflow: hidden; }
.scroll-track { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.scroll-track::-webkit-scrollbar { height: 4px; }
.scroll-track::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 2px; }
.scroll-track::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 2px; }
.scroll-track .card { min-width: 280px; max-width: 320px; flex-shrink: 0; scroll-snap-align: start; }

/* ===== 文章列表 ===== */
.post-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
.post-item { display: flex; gap: 20px; background: var(--color-bg-card); border-radius: var(--radius-md); padding: 20px; border: 1px solid var(--color-border-light); transition: all var(--transition); }
.post-item:hover { border-color: rgba(212,168,67,0.2); background: var(--color-bg-card-hover); transform: translateX(4px); }
.post-thumb { width: 120px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.post-info { flex: 1; min-width: 0; }
.post-info h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: var(--color-text-heading); }
.post-info h4 a { color: inherit; }
.post-info h4 a:hover { color: var(--color-primary); }
.post-info p { font-size: 0.85rem; color: var(--color-text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 0.75rem; color: var(--color-text-light); }
.post-meta .tag { font-size: 0.7rem; padding: 2px 10px; }
.empty-msg { text-align: center; padding: 40px 20px; color: var(--color-text-light); font-size: 1rem; background: rgba(255,255,255,0.02); border-radius: var(--radius-md); border: 1px dashed rgba(255,255,255,0.06); }

/* ===== FAQ ===== */
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--color-bg-card); border-radius: var(--radius-md); border: 1px solid var(--color-border-light); overflow: hidden; transition: all var(--transition); }
.faq-item:hover { border-color: rgba(212,168,67,0.15); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; cursor: pointer; font-weight: 600; color: var(--color-text-heading); font-size: 1rem; transition: color var(--transition); user-select: none; }
.faq-q:hover { color: var(--color-primary); }
.faq-q i { font-size: 0.8rem; transition: transform var(--transition); color: var(--color-primary); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 24px; color: var(--color-text-light); font-size: 0.92rem; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }

/* ===== CTA ===== */
.cta-section { position: relative; padding: 80px 0; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat; opacity: 0.2; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,14,26,0.92) 0%, rgba(20,26,46,0.8) 100%); }
.cta-section .container { position: relative; z-index: 2; text-align: center; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: var(--color-text-light); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===== 页脚 ===== */
.footer { background: var(--color-bg-dark); border-top: 1px solid rgba(212,168,67,0.06); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: var(--color-text-light); max-width: 320px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(212,168,67,0.08); color: var(--color-primary); transition: all var(--transition); font-size: 0.95rem; }
.footer-social a:hover { background: var(--color-primary); color: #0a0e1a; transform: translateY(-3px); }
.footer h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; color: var(--color-text-heading); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--color-text-light); transition: all var(--transition); }
.footer-links a:hover { color: var(--color-primary); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(212,168,67,0.06); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.82rem; color: var(--color-text-light); }
.footer-bottom a { color: var(--color-text-light); }
.footer-bottom a:hover { color: var(--color-primary); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .feature-block.reverse { direction: ltr; }
  .feature-image img { height: 300px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  :root { --container-padding: 20px; --spacing-section: 48px; }
  .header-inner { height: 64px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: rgba(10,14,26,0.98); backdrop-filter: blur(20px); flex-direction: column; padding: 16px 20px; border-bottom: 1px solid rgba(212,168,67,0.1); gap: 4px; }
  .nav.open { display: flex; }
  .nav a { width: 100%; justify-content: flex-start; padding: 12px 16px; }
  .nav a.active::after { display: none; }
  .nav-cta { margin-left: 0; margin-top: 8px; width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: flex; }
  .hero { min-height: 60vh; padding: 100px 0 60px; }
  .hero h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat { flex: 1; min-width: 100px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .post-item { flex-direction: column; }
  .post-thumb { width: 100%; height: 160px; }
  .scroll-track .card { min-width: 240px; }
  .faq-q { padding: 14px 18px; font-size: 0.95rem; }
  .faq-a { font-size: 0.88rem; }
  .cta-section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 520px) {
  :root { --container-padding: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero-stat-number { font-size: 1.3rem; }
  .hero { min-height: auto; padding: 90px 0 40px; }
  .feature-image img { height: 200px; }
  .post-thumb { height: 120px; }
  .scroll-track .card { min-width: 200px; }
  .btn-lg { padding: 12px 28px; font-size: 1rem; }
}

/* ===== 工具类 ===== */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

/* roulang page: category1 */
/* ===== 设计变量 ===== */
        :root {
            --primary: #e63946;
            --primary-dark: #c1121f;
            --primary-light: #ff6b6b;
            --secondary: #1d3557;
            --secondary-light: #2a4a7f;
            --accent: #f4a261;
            --accent-light: #fad4a0;
            --bg-dark: #0d1b2a;
            --bg-mid: #1b2838;
            --bg-light: #f8f9fa;
            --bg-card: #ffffff;
            --text-light: #f1f1f1;
            --text-muted: #b0b8c4;
            --text-dark: #1a1a2e;
            --text-body: #333;
            --border: #e0e0e0;
            --border-light: rgba(255, 255, 255, 0.12);
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 24px;
            --radius-xl: 32px;
            --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
            --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
            --shadow-glow: 0 0 40px rgba(230, 57, 70, 0.2);
            --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
            --container: 1200px;
            --header-h: 76px;
        }

        /* ===== Reset & 基础 ===== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
        }
        body {
            font-family: var(--font-sans);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-body);
            background: var(--bg-light);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }
        button,
        input,
        textarea {
            font-family: inherit;
            font-size: inherit;
        }
        ul,
        ol {
            list-style: none;
        }

        /* ===== 容器 & 排版 ===== */
        .container {
            max-width: var(--container);
            margin: 0 auto;
            padding: 0 24px;
        }
        .section {
            padding: 80px 0;
        }
        .section-title {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text-dark);
            letter-spacing: -0.02em;
            line-height: 1.25;
            margin-bottom: 12px;
        }
        .section-sub {
            font-size: 1.1rem;
            color: #666;
            max-width: 680px;
            line-height: 1.6;
        }
        .section-header {
            text-align: center;
            margin-bottom: 52px;
        }
        .section-header .section-sub {
            margin: 0 auto;
        }
        .text-center {
            text-align: center;
        }
        .text-white {
            color: #fff;
        }
        .text-white .section-sub {
            color: rgba(255, 255, 255, 0.75);
        }

        /* ===== 按钮 ===== */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 14px 32px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            white-space: nowrap;
            line-height: 1.2;
        }
        .btn-primary {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 16px rgba(230, 57, 70, 0.3);
        }
        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(230, 57, 70, 0.4);
        }
        .btn-primary:active {
            transform: translateY(0);
        }
        .btn-secondary {
            background: transparent;
            color: #fff;
            border: 2px solid rgba(255, 255, 255, 0.25);
        }
        .btn-secondary:hover {
            border-color: var(--primary-light);
            background: rgba(230, 57, 70, 0.08);
            transform: translateY(-2px);
        }
        .btn-outline {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
        }
        .btn-outline:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(230, 57, 70, 0.25);
        }
        .btn-sm {
            padding: 8px 20px;
            font-size: 0.875rem;
        }
        .btn-lg {
            padding: 18px 44px;
            font-size: 1.1rem;
        }
        .btn .fa-arrow-right {
            transition: var(--transition);
        }
        .btn:hover .fa-arrow-right {
            transform: translateX(4px);
        }

        /* ===== 徽章 ===== */
        .badge {
            display: inline-block;
            padding: 4px 16px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            background: rgba(230, 57, 70, 0.1);
            color: var(--primary);
        }
        .badge-white {
            background: rgba(255, 255, 255, 0.15);
            color: #fff;
        }
        .badge-gold {
            background: rgba(244, 162, 97, 0.15);
            color: #b86b2c;
        }

        /* ===== 导航 ===== */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(13, 27, 42, 0.92);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-light);
            height: var(--header-h);
            transition: var(--transition);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: var(--header-h);
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.35rem;
            font-weight: 700;
            color: #fff;
            letter-spacing: -0.01em;
        }
        .logo .logo-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: var(--primary);
            color: #fff;
            font-weight: 900;
            font-size: 1.3rem;
        }
        .logo span {
            font-weight: 300;
            color: var(--accent-light);
        }
        .nav {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .nav a {
            padding: 8px 18px;
            border-radius: 50px;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 500;
            font-size: 0.95rem;
            transition: var(--transition);
            position: relative;
        }
        .nav a:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.06);
        }
        .nav a.active {
            color: #fff;
            background: rgba(230, 57, 70, 0.2);
        }
        .nav a.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            border-radius: 2px;
            background: var(--primary);
        }
        .nav .nav-cta {
            margin-left: 12px;
        }
        .nav-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 4px;
        }
        .nav-toggle span {
            display: block;
            width: 26px;
            height: 2.5px;
            background: #fff;
            border-radius: 2px;
            transition: var(--transition);
        }
        .nav-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .nav-toggle.active span:nth-child(2) {
            opacity: 0;
        }
        .nav-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* ===== Hero / Banner ===== */
        .page-banner {
            padding: 160px 0 90px;
            background: var(--bg-dark);
            background-image: linear-gradient(135deg, rgba(13, 27, 42, 0.85), rgba(27, 40, 56, 0.75)), url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            position: relative;
            overflow: hidden;
        }
        .page-banner::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 120px;
            background: linear-gradient(to top, var(--bg-light), transparent);
        }
        .page-banner .container {
            position: relative;
            z-index: 2;
        }
        .page-banner .badge {
            margin-bottom: 16px;
        }
        .page-banner h1 {
            font-size: 3.2rem;
            font-weight: 900;
            color: #fff;
            line-height: 1.15;
            letter-spacing: -0.02em;
            max-width: 700px;
            margin-bottom: 18px;
        }
        .page-banner p {
            font-size: 1.15rem;
            color: rgba(255, 255, 255, 0.75);
            max-width: 600px;
            line-height: 1.7;
            margin-bottom: 32px;
        }
        .page-banner .btn-group {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }

        /* ===== 分类筛选 ===== */
        .filter-bar {
            background: #fff;
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            padding: 16px 24px;
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: -40px;
            position: relative;
            z-index: 3;
            border: 1px solid var(--border);
        }
        .filter-bar .filter-label {
            font-weight: 600;
            color: var(--text-dark);
            font-size: 0.9rem;
            margin-right: 4px;
        }
        .filter-tag {
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            background: var(--bg-light);
            color: var(--text-body);
            border: 1px solid var(--border);
            cursor: pointer;
            transition: var(--transition);
        }
        .filter-tag:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: rgba(230, 57, 70, 0.04);
        }
        .filter-tag.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }

        /* ===== 赛事卡片网格 ===== */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
        }
        .card-sport {
            background: #fff;
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            border: 1px solid var(--border);
            display: flex;
            flex-direction: column;
        }
        .card-sport:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
            border-color: transparent;
        }
        .card-sport .card-img {
            height: 190px;
            background-size: cover;
            background-position: center;
            position: relative;
        }
        .card-sport .card-img .card-badge {
            position: absolute;
            top: 14px;
            left: 14px;
        }
        .card-sport .card-body {
            padding: 22px 24px 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .card-sport .card-body h3 {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
        }
        .card-sport .card-body p {
            font-size: 0.92rem;
            color: #666;
            line-height: 1.6;
            flex: 1;
            margin-bottom: 16px;
        }
        .card-sport .card-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.85rem;
            color: #999;
            border-top: 1px solid var(--border);
            padding-top: 14px;
        }
        .card-sport .card-meta span i {
            margin-right: 6px;
            color: var(--primary);
        }
        .card-sport .card-meta .card-link {
            color: var(--primary);
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .card-sport .card-meta .card-link:hover {
            gap: 10px;
        }

        /* ===== 数据统计区块 ===== */
        .stats-section {
            background: var(--bg-dark);
            background-image: linear-gradient(135deg, rgba(13, 27, 42, 0.9), rgba(27, 40, 56, 0.85)), url('/assets/images/backpic/back-2.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            padding: 80px 0;
            color: #fff;
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
            text-align: center;
        }
        .stat-item .stat-number {
            font-size: 3rem;
            font-weight: 900;
            color: #fff;
            line-height: 1.2;
            letter-spacing: -0.02em;
        }
        .stat-item .stat-number .stat-suffix {
            color: var(--primary-light);
            font-size: 1.6rem;
        }
        .stat-item .stat-label {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.65);
            margin-top: 6px;
        }

        /* ===== 流程/步骤 ===== */
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 28px;
        }
        .step-card {
            background: #fff;
            border-radius: var(--radius-md);
            padding: 32px 28px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: var(--transition);
            position: relative;
        }
        .step-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
        .step-card .step-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: rgba(230, 57, 70, 0.08);
            color: var(--primary);
            font-size: 1.4rem;
            font-weight: 800;
            margin-bottom: 16px;
            transition: var(--transition);
        }
        .step-card:hover .step-num {
            background: var(--primary);
            color: #fff;
            transform: scale(1.05);
        }
        .step-card h4 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
        }
        .step-card p {
            font-size: 0.9rem;
            color: #666;
            line-height: 1.6;
        }

        /* ===== 资讯列表 ===== */
        .list-articles {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .list-article-item {
            display: flex;
            gap: 24px;
            background: #fff;
            border-radius: var(--radius-md);
            padding: 20px 24px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border);
            transition: var(--transition);
            align-items: center;
        }
        .list-article-item:hover {
            transform: translateX(4px);
            box-shadow: var(--shadow-md);
            border-color: transparent;
        }
        .list-article-item .article-thumb {
            width: 100px;
            height: 80px;
            border-radius: var(--radius-sm);
            background-size: cover;
            background-position: center;
            flex-shrink: 0;
        }
        .list-article-item .article-info {
            flex: 1;
        }
        .list-article-item .article-info h4 {
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 4px;
        }
        .list-article-item .article-info p {
            font-size: 0.88rem;
            color: #888;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .list-article-item .article-meta {
            font-size: 0.82rem;
            color: #aaa;
            display: flex;
            align-items: center;
            gap: 16px;
            margin-top: 6px;
        }
        .list-article-item .article-meta i {
            color: var(--primary);
            margin-right: 4px;
        }

        /* ===== FAQ ===== */
        .faq-list {
            max-width: 800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: #fff;
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-item:hover {
            border-color: rgba(230, 57, 70, 0.2);
        }
        .faq-item .faq-q {
            padding: 18px 24px;
            font-weight: 600;
            color: var(--text-dark);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            font-size: 1rem;
            background: none;
            border: none;
            width: 100%;
            text-align: left;
            transition: var(--transition);
        }
        .faq-item .faq-q:hover {
            color: var(--primary);
        }
        .faq-item .faq-q .fa-chevron-down {
            transition: var(--transition);
            color: #bbb;
            font-size: 0.85rem;
        }
        .faq-item.active .faq-q .fa-chevron-down {
            transform: rotate(180deg);
            color: var(--primary);
        }
        .faq-item .faq-a {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.35s ease;
            padding: 0 24px;
            color: #666;
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-item.active .faq-a {
            max-height: 300px;
            padding: 0 24px 20px;
        }

        /* ===== CTA ===== */
        .cta-section {
            background: var(--bg-dark);
            background-image: linear-gradient(135deg, rgba(13, 27, 42, 0.88), rgba(27, 40, 56, 0.8)), url('/assets/images/backpic/back-3.png');
            background-size: cover;
            background-position: center;
            background-blend-mode: overlay;
            padding: 80px 0;
            text-align: center;
            color: #fff;
        }
        .cta-section h2 {
            font-size: 2.4rem;
            font-weight: 800;
            margin-bottom: 14px;
            letter-spacing: -0.02em;
        }
        .cta-section p {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.7);
            max-width: 600px;
            margin: 0 auto 32px;
        }

        /* ===== 页脚 ===== */
        .footer {
            background: var(--bg-dark);
            color: rgba(255, 255, 255, 0.75);
            padding: 60px 0 0;
            border-top: 1px solid var(--border-light);
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 40px;
        }
        .footer-brand .logo {
            margin-bottom: 14px;
        }
        .footer-brand p {
            font-size: 0.9rem;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.55);
            max-width: 340px;
        }
        .footer-social {
            display: flex;
            gap: 12px;
            margin-top: 18px;
        }
        .footer-social a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.06);
            color: rgba(255, 255, 255, 0.5);
            font-size: 1.1rem;
            transition: var(--transition);
        }
        .footer-social a:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-3px);
        }
        .footer h4 {
            font-size: 1rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 16px;
            letter-spacing: 0.02em;
        }
        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .footer-links a {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.5);
            transition: var(--transition);
        }
        .footer-links a:hover {
            color: var(--primary-light);
            padding-left: 4px;
        }
        .footer-bottom {
            border-top: 1px solid var(--border-light);
            padding: 20px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.35);
            flex-wrap: wrap;
            gap: 8px;
        }
        .footer-bottom a {
            color: rgba(255, 255, 255, 0.45);
        }
        .footer-bottom a:hover {
            color: var(--primary-light);
        }

        /* ===== 响应式 ===== */
        @media (max-width: 1024px) {
            .card-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 24px;
            }
            .steps-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .page-banner h1 {
                font-size: 2.6rem;
            }
        }

        @media (max-width: 768px) {
            :root {
                --header-h: 64px;
            }
            .section {
                padding: 56px 0;
            }
            .section-title {
                font-size: 1.7rem;
            }
            .nav {
                position: fixed;
                top: var(--header-h);
                left: 0;
                right: 0;
                background: rgba(13, 27, 42, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                padding: 20px 24px;
                gap: 6px;
                transform: translateY(-120%);
                opacity: 0;
                transition: var(--transition);
                border-bottom: 1px solid var(--border-light);
                border-radius: 0 0 var(--radius-md) var(--radius-md);
                pointer-events: none;
            }
            .nav.open {
                transform: translateY(0);
                opacity: 1;
                pointer-events: auto;
            }
            .nav a {
                width: 100%;
                padding: 12px 18px;
            }
            .nav .nav-cta {
                margin-left: 0;
                margin-top: 8px;
                width: 100%;
            }
            .nav .nav-cta .btn {
                width: 100%;
            }
            .nav-toggle {
                display: flex;
            }
            .page-banner {
                padding: 120px 0 60px;
            }
            .page-banner h1 {
                font-size: 2rem;
            }
            .page-banner p {
                font-size: 1rem;
            }
            .filter-bar {
                margin-top: -24px;
                padding: 12px 16px;
            }
            .card-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            .stat-item .stat-number {
                font-size: 2.2rem;
            }
            .steps-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .list-article-item {
                flex-direction: column;
                padding: 16px;
                gap: 12px;
            }
            .list-article-item .article-thumb {
                width: 100%;
                height: 140px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .cta-section h2 {
                font-size: 1.8rem;
            }
            .btn-lg {
                padding: 14px 32px;
                font-size: 1rem;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }
            .page-banner h1 {
                font-size: 1.6rem;
            }
            .section-title {
                font-size: 1.4rem;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: 16px;
            }
            .stat-item .stat-number {
                font-size: 1.8rem;
            }
            .filter-bar .filter-label {
                display: none;
            }
            .filter-tag {
                font-size: 0.78rem;
                padding: 4px 12px;
            }
            .btn-group {
                flex-direction: column;
                width: 100%;
            }
            .btn-group .btn {
                width: 100%;
                justify-content: center;
            }
        }

        /* ===== 辅助过渡 ===== */
        .fade-up {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        .fade-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ===== 分类内页专属 ===== */
        .sport-detail-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 28px;
        }
        @media (max-width: 768px) {
            .sport-detail-grid {
                grid-template-columns: 1fr;
            }
        }

        /* 热门标签行 */
        .hot-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 16px;
        }
        .hot-tag {
            padding: 6px 18px;
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.85rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition);
        }
        .hot-tag:hover {
            background: rgba(230, 57, 70, 0.2);
            border-color: var(--primary-light);
            color: #fff;
        }

/* roulang page: article */
/* ===== Design Variables ===== */
:root {
  --primary: #0f1b3a;
  --primary-light: #1a2d5a;
  --primary-dark: #0a1028;
  --accent: #c9a84c;
  --accent-light: #e0c878;
  --accent-dark: #a8882c;
  --bg: #faf8f4;
  --bg-alt: #f0ece4;
  --bg-card: #ffffff;
  --bg-dark: #0a1628;
  --text: #1a1a2e;
  --text-light: #5a5a7a;
  --text-lighter: #8a8aaa;
  --text-inverse: #ffffff;
  --border: #e8e4dc;
  --border-light: #f0ece8;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 30px rgba(201,168,76,0.15);
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
  --font-serif: 'Georgia', 'Noto Serif SC', serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; font-size: 1rem; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--primary); }

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ===== Header & Nav ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15,27,58,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-inverse);
  letter-spacing: 0.5px;
}
.logo .logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  font-weight: 900;
}
.logo span { color: var(--accent); font-weight: 600; }
.nav { display: flex; align-items: center; gap: var(--space-xl); }
.nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  padding: var(--space-xs) 0;
  position: relative;
  transition: var(--transition);
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}
.nav a:hover { color: var(--accent); }
.nav a:hover::after { width: 100%; }
.nav a.active { color: var(--accent); }
.nav a.active::after { width: 100%; }
.nav-cta { margin-left: var(--space-md); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-inverse);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-dark);
  border-color: var(--accent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-md); }

/* ===== Hero / Article Banner ===== */
.article-hero {
  position: relative;
  padding: 120px 0 80px;
  background: var(--primary-dark);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
}
.article-hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  opacity: 0.25;
  transform: scale(1.05);
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,27,58,0.92) 0%, rgba(10,16,40,0.8) 100%);
}
.article-hero .container { position: relative; z-index: 2; }
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-bottom: var(--space-lg);
}
.article-breadcrumb a { color: var(--accent); }
.article-breadcrumb a:hover { color: var(--accent-light); }
.article-breadcrumb .sep { color: rgba(255,255,255,0.3); }
.article-category {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-md);
}
.article-hero h1 {
  font-size: 2.5rem;
  color: var(--text-inverse);
  max-width: 900px;
  line-height: 1.25;
  margin-bottom: var(--space-lg);
  font-weight: 800;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.article-meta i { margin-right: var(--space-xs); color: var(--accent); }
.article-meta span { display: flex; align-items: center; }

/* ===== Main Content ===== */
.main-content {
  padding: var(--space-3xl) 0;
}
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-3xl);
  align-items: start;
}
.content-body {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.content-body .featured-image {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
  overflow: hidden;
}
.content-body .featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.content-body .article-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}
.content-body .article-text p {
  margin-bottom: var(--space-lg);
}
.content-body .article-text h2,
.content-body .article-text h3 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--primary);
}
.content-body .article-text ul,
.content-body .article-text ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}
.content-body .article-text li {
  margin-bottom: var(--space-sm);
  list-style: disc;
}
.content-body .article-text blockquote {
  border-left: 4px solid var(--accent);
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
  background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-light);
}

/* ===== Sidebar ===== */
.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.sidebar-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.sidebar-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.sidebar-card h3 i { color: var(--accent); }
.sidebar-links a {
  display: block;
  padding: var(--space-sm) 0;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  font-size: 0.92rem;
}
.sidebar-links a:last-child { border-bottom: none; }
.sidebar-links a:hover { color: var(--accent); padding-left: var(--space-sm); }
.sidebar-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--text-inverse);
  text-align: center;
}
.sidebar-cta h3 { color: var(--accent); border-bottom-color: rgba(201,168,76,0.3); }
.sidebar-cta p { color: rgba(255,255,255,0.7); font-size: 0.92rem; margin-bottom: var(--space-lg); }
.sidebar-cta .btn { width: 100%; }

/* ===== Tags & Share ===== */
.article-tags-share {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.article-tags .tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--bg-alt);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-light);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.article-tags .tag:hover { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }
.article-share {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.article-share span { font-size: 0.85rem; color: var(--text-lighter); }
.article-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-light);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.article-share a:hover { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }

/* ===== Error State ===== */
.error-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}
.error-state .error-icon {
  font-size: 4rem;
  color: var(--text-lighter);
  margin-bottom: var(--space-lg);
}
.error-state h2 { font-size: 1.6rem; margin-bottom: var(--space-md); }
.error-state p { color: var(--text-light); margin-bottom: var(--space-xl); max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== Related Posts ===== */
.related-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-alt);
}
.related-section .section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.related-section .section-header h2 {
  font-size: 1.8rem;
  position: relative;
  display: inline-block;
}
.related-section .section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: var(--space-sm) auto 0;
  border-radius: 3px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.related-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.related-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.related-card-body {
  padding: var(--space-lg);
}
.related-card-body .related-cat {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 2px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}
.related-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card-body h3 a { color: var(--primary); }
.related-card-body h3 a:hover { color: var(--accent); }
.related-card-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-sm);
}
.related-card-body .related-meta {
  font-size: 0.8rem;
  color: var(--text-lighter);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: var(--space-4xl) 0;
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  opacity: 0.08;
}
.cta-section .container { position: relative; z-index: 2; text-align: center; }
.cta-section h2 {
  font-size: 2rem;
  color: var(--text-inverse);
  margin-bottom: var(--space-md);
}
.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}
.cta-section .btn-group {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ===== FAQ Section ===== */
.faq-section {
  padding: var(--space-3xl) 0;
  background: var(--bg);
}
.faq-section .section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.faq-section .section-header h2 {
  font-size: 1.8rem;
  position: relative;
  display: inline-block;
}
.faq-section .section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: var(--space-sm) auto 0;
  border-radius: 3px;
}
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question {
  padding: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  user-select: none;
}
.faq-question i { color: var(--accent); transition: var(--transition); font-size: 0.85rem; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  padding: 0 var(--space-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 var(--space-lg) var(--space-lg);
}
.faq-answer p { color: var(--text-light); font-size: 0.95rem; line-height: 1.8; }

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: var(--space-3xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: var(--space-md); font-size: 1.2rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; color: rgba(255,255,255,0.6); max-width: 360px; }
.footer-social { display: flex; gap: var(--space-md); margin-top: var(--space-lg); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--primary-dark); }
.footer h4 {
  color: var(--text-inverse);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  font-weight: 700;
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .content-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(15,27,58,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(201,168,76,0.15);
  }
  .nav.open { transform: translateY(0); opacity: 1; }
  .nav-cta { margin-left: 0; width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: flex; }
  .article-hero { padding: 100px 0 60px; min-height: 300px; }
  .article-hero h1 { font-size: 1.6rem; }
  .article-meta { gap: var(--space-md); font-size: 0.82rem; }
  .content-body { padding: var(--space-lg); }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .cta-section h2 { font-size: 1.5rem; }
  .faq-section .section-header h2 { font-size: 1.4rem; }
  .related-section .section-header h2 { font-size: 1.4rem; }
  .article-tags-share { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .header-inner { height: 60px; }
  .logo { font-size: 1.1rem; }
  .logo .logo-icon { width: 32px; height: 32px; font-size: 1rem; }
  .nav { top: 60px; }
  .article-hero { padding: 80px 0 40px; min-height: 240px; }
  .article-hero h1 { font-size: 1.3rem; }
  .related-grid { grid-template-columns: 1fr; }
  .content-body { padding: var(--space-md); }
  .content-body .article-text { font-size: 0.95rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
  .cta-section .btn-group { flex-direction: column; align-items: center; }
}
