/* roulang page: index */
/* ===== Design Tokens ===== */
:root {
  --bg-deep: #0B0F1C;
  --bg-body: #0F1524;
  --bg-elev: #151D30;
  --bg-sink: #0C1220;
  --primary: #D9B45B;
  --primary-hover: #E7C878;
  --primary-soft: rgba(217, 180, 91, 0.12);
  --accent: #FF6B3D;
  --accent-hover: #FF8A5C;
  --accent-soft: rgba(255, 107, 61, 0.15);
  --text-primary: #F2F4F8;
  --text-secondary: #ADB5C7;
  --text-placeholder: #5E6672;
  --border-1: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.14);
  --success: #34C77B;
  --warning: #E8B84B;
  --error: #E4584F;
  --info: #4E8FD8;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-2: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-3: 0 16px 48px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --container: 1240px;
  --font-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  --font-sans: -apple-system, 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-num: 'DIN Alternate', 'Roboto Mono', monospace;
}

/* ===== 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: 15px;
  line-height: 1.75;
  color: var(--text-primary);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.3; font-weight: 700; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
::selection { background: var(--primary); color: #0B0F1C; }

/* ===== Container & Utilities ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 48px; }
.section { padding: 88px 0; position: relative; }
.section-alt { background: var(--bg-deep); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 20px; }
.section-head h2 { font-size: 32px; font-weight: 800; letter-spacing: 0.02em; }
.section-head h2 span { color: var(--primary); }
.section-link { color: var(--primary); font-size: 14px; font-weight: 600; white-space: nowrap; transition: color 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.section-link:hover { color: var(--primary-hover); text-decoration: underline; text-underline-offset: 4px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 26px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; transition: all 0.2s var(--ease); white-space: nowrap; }
.btn-lg { height: 50px; padding: 0 34px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 18px; font-size: 13px; }
.btn-primary { background: var(--accent); color: #fff; border: 1px solid transparent; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255, 107, 61, 0.25); }
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-outline { background: transparent; color: #fff; border: 1px solid var(--border-2); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(217, 180, 91, 0.05); }
.btn-gold { background: var(--primary); color: #0B0F1C; border: 1px solid transparent; }
.btn-gold:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(217, 180, 91, 0.25); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 15, 28, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-1);
  transition: background 0.3s ease, height 0.3s ease;
  height: 60px;
}
.site-header.scrolled { background: rgba(11, 15, 28, 0.96); height: 56px; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 30px; height: 30px; display: block; }
.logo-text { font-family: var(--font-serif); font-size: 20px; font-weight: 800; letter-spacing: 0.08em; color: var(--primary); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-chip { display: inline-flex; align-items: center; height: 34px; padding: 0 20px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: all 0.2s var(--ease); border: 1px solid transparent; }
.nav-chip:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.05); }
.nav-chip.active { background: var(--primary-soft); color: var(--primary); border-color: rgba(217, 180, 91, 0.25); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.search-toggle { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-secondary); transition: all 0.2s; font-size: 15px; }
.search-toggle:hover { color: var(--primary); background: var(--primary-soft); }
.menu-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; color: var(--text-primary); font-size: 20px; }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 99; background: rgba(11, 15, 28, 0.98);
  display: flex; flex-direction: column; padding: 80px 24px 32px; transform: translateX(100%); transition: transform 0.35s var(--ease); visibility: hidden;
}
.mobile-drawer.open { transform: translateX(0); visibility: visible; }
.drawer-nav { display: flex; flex-direction: column; gap: 12px; }
.drawer-nav a { font-size: 18px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--border-1); color: var(--text-secondary); }
.drawer-nav a.active { color: var(--primary); }
.drawer-cta { margin-top: 28px; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 660px; display: flex; align-items: center; background-size: cover; background-position: center; overflow: hidden; padding: 100px 0 80px; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,28,0.55) 0%, rgba(11,15,28,0.35) 50%, rgba(11,15,28,0.85) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 30%, rgba(217, 180, 91, 0.08) 0%, transparent 60%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: center; width: 100%; }
.hero-content { padding: 20px 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--primary); text-transform: uppercase; margin-bottom: 24px; }
.hero-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--primary); }
.hero h1 { font-size: 50px; font-weight: 900; line-height: 1.15; letter-spacing: 0.02em; margin-bottom: 20px; color: #fff; }
.hero h1 .gold { color: var(--primary); }
.hero-sub { font-size: 17px; line-height: 1.8; color: var(--text-secondary); max-width: 520px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 48px; }
.hero-stat { border-left: 2px solid var(--primary); padding-left: 14px; }
.hero-stat .num { font-family: var(--font-num); font-size: 24px; font-weight: 700; color: #fff; line-height: 1.2; }
.hero-stat .lbl { font-size: 12px; color: var(--text-placeholder); letter-spacing: 0.06em; }

/* Hero Match Card */
.hero-card { position: relative; }
.match-card { background: rgba(21, 29, 48, 0.8); border: 1px solid rgba(217, 180, 91, 0.3); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-3); position: relative; overflow: hidden; }
.match-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.match-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.match-league { font-size: 12px; color: var(--text-secondary); letter-spacing: 0.08em; }
.live-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--accent); }
.live-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: 0.5; } }
.match-body { text-align: center; padding: 16px 0 20px; }
.match-teams { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 12px; }
.match-team { font-size: 15px; font-weight: 700; color: #fff; }
.match-score { font-family: var(--font-num); font-size: 42px; font-weight: 700; color: var(--primary); line-height: 1; letter-spacing: 2px; }
.match-sub { font-size: 12px; color: var(--text-placeholder); }
.match-footer { border-top: 1px solid var(--border-1); padding-top: 16px; display: flex; justify-content: space-between; font-size: 12px; color: var(--text-secondary); }

/* ===== Scroll Row (Horizontal Shuttle) ===== */
.scroll-section { overflow: hidden; }
.scroll-wrap { position: relative; }
.scroll-row { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 8px; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; }
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row::after { content: ""; flex: 0 0 2px; }
.fade-edge { position: absolute; top: 0; bottom: 8px; right: 0; width: 60px; background: linear-gradient(90deg, transparent, var(--bg-body)); pointer-events: none; }
.section-alt .fade-edge { background: linear-gradient(90deg, transparent, var(--bg-deep)); }

.scroll-card { flex: 0 0 275px; border-radius: var(--radius-md); background: var(--bg-elev); border: 1px solid var(--border-1); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.scroll-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.scroll-card:hover .card-cover img { transform: scale(1.04); }
.cover-overlay { position: absolute; inset: 0; background: rgba(11, 15, 28, 0.4); opacity: 0; transition: opacity 0.35s; display: flex; align-items: center; justify-content: center; }
.scroll-card:hover .cover-overlay { opacity: 1; }
.play-button { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: 0 4px 16px rgba(255, 107, 61, 0.4); transform: scale(0.85); transition: transform 0.3s var(--ease); }
.scroll-card:hover .play-button { transform: scale(1); }
.card-body { padding: 16px 16px 18px; }
.card-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-soft); padding: 3px 10px; border-radius: var(--radius-pill); margin-bottom: 10px; }
.card-body h3 { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; color: var(--text-primary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.3s; }
.scroll-card:hover .card-body h3 { color: var(--primary); }
.card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-placeholder); }
.card-meta .hot { color: var(--accent); font-weight: 600; }
.card-meta i { margin-right: 4px; font-size: 12px; }

/* ===== Hot Recommend ===== */
.hot-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; }
.hot-feature { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; box-shadow: var(--shadow-2); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.hot-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.hot-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.hot-feature:hover img { transform: scale(1.05); }
.hot-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(11, 15, 28, 0.85) 100%); }
.hot-feature-content { position: relative; z-index: 2; padding: 32px; width: 100%; }
.rank-badge { position: absolute; top: 16px; left: 22px; z-index: 3; font-family: var(--font-num); font-size: 56px; font-weight: 700; color: var(--primary); opacity: 0.25; line-height: 1; }
.hot-feature .card-tag { background: rgba(11, 15, 28, 0.6); border: 1px solid rgba(217, 180, 91, 0.3); }
.hot-feature h3 { font-size: 24px; color: #fff; margin-bottom: 8px; }
.hot-feature p { font-size: 14px; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.hot-list { display: flex; flex-direction: column; gap: 14px; }
.hot-list-item { display: flex; gap: 16px; align-items: center; background: var(--bg-elev); border: 1px solid var(--border-1); border-radius: var(--radius-md); padding: 14px; transition: all 0.3s var(--ease); cursor: pointer; }
.hot-list-item:hover { background: var(--bg-elev); border-color: rgba(217, 180, 91, 0.3); transform: translateX(-2px); box-shadow: var(--shadow-1); }
.hot-list-main { flex: 1; min-width: 0; }
.hot-list-main h3 { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s; }
.hot-list-item:hover .hot-list-main h3 { color: var(--primary); }
.hot-list-main p { font-size: 13px; color: var(--text-placeholder); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hot-list-rank { font-family: var(--font-num); font-size: 20px; font-weight: 700; color: var(--primary); opacity: 0.5; width: 28px; text-align: center; flex-shrink: 0; }
.hot-list-cover { width: 80px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.hot-list-cover img { width: 100%; height: 100%; object-fit: cover; }
.hot-list-trend { font-size: 12px; color: var(--accent); font-weight: 600; margin-top: 2px; }

/* ===== Feature Section (Category A) ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card { background: var(--bg-elev); border: 1px solid var(--border-1); border-radius: var(--radius-md); overflow: hidden; transition: all 0.35s var(--ease); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(217, 180, 91, 0.25); }
.feature-cover { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.feature-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.feature-card:hover .feature-cover img { transform: scale(1.05); }
.feature-body { padding: 18px 18px 20px; }
.feature-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); line-height: 1.4; }
.feature-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feature-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-1); font-size: 12px; color: var(--text-placeholder); }
.feature-meta .count { color: var(--primary); font-weight: 600; }

/* ===== News / CMS Section ===== */
.news-list { display: flex; flex-direction: column; }
.news-row { display: grid; grid-template-columns: 110px 120px 1fr 40px; gap: 20px; align-items: center; padding: 22px 16px; border-bottom: 1px solid var(--border-1); transition: background 0.25s; border-radius: var(--radius-sm); }
.news-row:first-child { border-top: 1px solid var(--border-1); }
.news-row:hover { background: rgba(255, 255, 255, 0.02); }
.news-time { font-family: var(--font-num); font-size: 14px; color: var(--primary); font-weight: 600; }
.news-cat { display: inline-block; font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-soft); padding: 3px 12px; border-radius: var(--radius-pill); justify-self: start; }
.news-main { display: flex; flex-direction: column; min-width: 0; }
.news-title { font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--text-primary); line-height: 1.5; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s; }
.news-row:hover .news-title { color: var(--primary); }
.news-excerpt { font-size: 13px; color: var(--text-placeholder); line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-arrow { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-2); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 14px; transition: all 0.2s; }
.news-row:hover .news-arrow { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.empty-state { border: 1px dashed var(--border-2); border-radius: var(--radius-md); padding: 56px 20px; text-align: center; color: var(--text-placeholder); }
.empty-state i { font-size: 36px; display: block; margin-bottom: 12px; opacity: 0.5; }
.empty-state p { font-size: 14px; }

/* ===== Classic Timeline (Section B) ===== */
.classic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.classic-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 220px; display: flex; align-items: flex-end; box-shadow: var(--shadow-1); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.classic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.classic-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.classic-card:hover img { transform: scale(1.04); }
.classic-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 15, 28, 0.9) 100%); }
.classic-content { position: relative; z-index: 2; padding: 24px; width: 100%; }
.classic-year { font-family: var(--font-num); font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 4px; letter-spacing: 0.04em; }
.classic-content h3 { font-size: 20px; color: #fff; margin-bottom: 6px; }
.classic-content p { font-size: 13px; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== CTA Banner ===== */
.cta-panel { border-radius: var(--radius-lg); background: linear-gradient(135deg, #0C1220 0%, #151D30 55%, #0B0F1C 100%); border: 1px solid rgba(217, 180, 91, 0.2); padding: 56px 48px; position: relative; overflow: hidden; }
.cta-panel::before { content: ""; position: absolute; top: -120px; right: -80px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(217, 180, 91, 0.15) 0%, transparent 65%); pointer-events: none; }
.cta-panel::after { content: ""; position: absolute; bottom: 0; left: 60px; right: 60px; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 180, 91, 0.4), transparent); }
.cta-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 2; flex-wrap: wrap; }
.cta-text h2 { font-size: 30px; color: #fff; margin-bottom: 10px; }
.cta-text p { font-size: 15px; color: var(--text-secondary); max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-1); }
.faq-item:first-child { border-top: 1px solid var(--border-1); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 8px; cursor: pointer; width: 100%; text-align: left; }
.faq-question h4 { font-size: 17px; font-weight: 600; color: var(--text-primary); transition: color 0.2s; font-family: var(--font-sans); }
.faq-question:hover h4 { color: var(--primary); }
.faq-item.active .faq-question h4 { color: var(--primary); }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-2); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 14px; flex-shrink: 0; transition: all 0.25s var(--ease); }
.faq-item.active .faq-icon { transform: rotate(45deg); border-color: var(--primary); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-answer-inner { padding: 0 8px 22px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border-1); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo-text { font-size: 24px; }
.footer-brand p { margin-top: 16px; font-size: 14px; color: var(--text-placeholder); line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-1); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 14px; transition: all 0.2s; }
.footer-social a:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.footer-col h4 { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 18px; font-family: var(--font-sans); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-placeholder); transition: color 0.2s; }
.footer-col a:hover { color: var(--text-secondary); }
.footer-bottom { border-top: 1px solid var(--border-1); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-placeholder); }
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom a { color: var(--text-placeholder); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--text-secondary); }

/* ===== Back to Top ===== */
.back-top { position: fixed; bottom: 40px; right: 40px; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-elev); border: 1px solid var(--border-2); color: var(--text-secondary); font-size: 16px; display: flex; align-items: center; justify-content: center; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s var(--ease); }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { border-color: var(--primary); color: var(--primary); background: var(--bg-elev); }

/* ===== Skeleton (reserved) ===== */
.skeleton { background: rgba(255, 255, 255, 0.06); border-radius: var(--radius-md); position: relative; overflow: hidden; }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent); animation: shimmer 1.6s infinite; }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ===== Responsive ===== */
@media (max-width: 1199px) {
  .container { padding: 0 32px; }
  .section { padding: 72px 0; }
  .scroll-card { flex-basis: 245px; }
  .hero { min-height: 600px; }
}

@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 80px 0 60px; }
  .hero-card { max-width: 380px; }
  .hot-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .classic-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .news-row { grid-template-columns: 90px 100px 1fr 32px; gap: 14px; }
}

@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .site-header { height: 56px; }
  .main-nav, .nav-actions .search-toggle, .nav-actions .btn { display: none; }
  .menu-toggle { display: flex; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .hero { min-height: auto; padding: 60px 0 48px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 20px; margin-top: 32px; }
  .scroll-card { flex-basis: 200px; }
  .feature-grid { gap: 14px; }
  .feature-body h3 { font-size: 16px; }
  .news-row { grid-template-columns: 70px 1fr 28px; }
  .news-cat { display: none; }
  .news-title { font-size: 15px; }
  .cta-panel { padding: 40px 24px; }
  .cta-content { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .back-top { bottom: 20px; right: 20px; }
  .hot-feature { min-height: 300px; }
  .hot-feature h3 { font-size: 20px; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 31px; }
  .section-head h2 { font-size: 23px; }
  .scroll-card { flex-basis: 175px; }
  .card-body { padding: 12px; }
  .card-body h3 { font-size: 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .hot-list-main p { display: none; }
  .hot-list-cover { width: 70px; height: 50px; }
  .classic-content h3 { font-size: 17px; }
  .cta-text h2 { font-size: 24px; }
  .news-row { grid-template-columns: 60px 1fr 26px; gap: 10px; padding: 16px 8px; }
  .news-time { font-size: 13px; }
  .news-excerpt { display: none; }
  .faq-question h4 { font-size: 15px; }
}

/* roulang page: category1 */
:root {
            --bg-deep: #0B0F1C;
            --bg-body: #0F1524;
            --bg-elev: #151D30;
            --bg-sink: #0C1220;
            --primary: #D9B45B;
            --primary-hover: #E7C878;
            --primary-soft: rgba(217, 180, 91, 0.12);
            --accent: #FF6B3D;
            --accent-hover: #FF8A5C;
            --accent-soft: rgba(255, 107, 61, 0.15);
            --text-primary: #F2F4F8;
            --text-secondary: #ADB5C7;
            --text-placeholder: #5E6672;
            --border-1: rgba(255, 255, 255, 0.07);
            --border-2: rgba(255, 255, 255, 0.14);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-round: 999px;
            --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3);
            --shadow-2: 0 8px 32px rgba(0, 0, 0, 0.5);
            --shadow-3: 0 16px 48px rgba(0, 0, 0, 0.6);
            --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
            --font-display: 'Noto Serif SC', 'Songti SC', serif;
            --font-body: -apple-system, 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
            --font-mono: 'DIN Alternate', 'Roboto Mono', monospace;
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: var(--font-body);
            background: var(--bg-body);
            color: var(--text-primary);
            line-height: 1.75;
            -webkit-font-smoothing: antialiased;
        }
        img {
            max-width: 100%;
            display: block;
        }
        a {
            color: inherit;
            text-decoration: none;
        }
        ul,
        ol {
            list-style: none;
        }
        button {
            font-family: inherit;
            cursor: pointer;
            border: none;
            background: none;
            color: inherit;
        }
        input {
            font-family: inherit;
            border: none;
            outline: none;
        }
        .container {
            max-width: 1240px;
            margin: 0 auto;
            padding-left: 48px;
            padding-right: 48px;
        }
        .section {
            padding: 80px 0;
        }
        .section-head {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 24px;
            margin-bottom: 32px;
        }
        .section-head h2 {
            font-family: var(--font-display);
            font-size: 32px;
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: 0.02em;
        }
        .section-head .section-link {
            color: var(--primary);
            font-size: 14px;
            font-weight: 500;
            transition: color .2s var(--ease);
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .section-head .section-link:hover {
            color: var(--primary-hover);
            text-decoration: underline;
            text-underline-offset: 4px;
        }
        .section-sub {
            color: var(--text-secondary);
            font-size: 14px;
            margin-top: 8px;
            max-width: 640px;
        }
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            height: 44px;
            padding: 0 24px;
            border-radius: var(--radius-sm);
            font-size: 15px;
            font-weight: 600;
            line-height: 1;
            letter-spacing: 0.01em;
            white-space: nowrap;
            transition: all .2s var(--ease);
        }
        .btn i {
            font-size: 14px;
        }
        .btn-accent {
            background: var(--accent);
            color: #fff;
            box-shadow: 0 4px 20px rgba(255, 107, 61, 0.25);
        }
        .btn-accent:hover {
            background: var(--accent-hover);
            transform: translateY(-1px);
            box-shadow: 0 8px 28px rgba(255, 107, 61, 0.35);
        }
        .btn-accent:active {
            transform: translateY(0);
        }
        .btn-outline {
            background: transparent;
            color: #fff;
            border: 1px solid var(--border-2);
        }
        .btn-outline:hover {
            border-color: var(--primary);
            color: var(--primary);
        }
        .btn-outline:active {
            transform: translateY(0);
        }
        .btn-gold {
            background: var(--primary);
            color: #1A1405;
        }
        .btn-gold:hover {
            background: var(--primary-hover);
            transform: translateY(-1px);
        }
        .btn-sm {
            height: 36px;
            padding: 0 16px;
            font-size: 14px;
        }
        .btn-block {
            width: 100%;
        }
        .tag {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px 10px;
            border-radius: var(--radius-round);
            background: var(--primary-soft);
            color: var(--primary);
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.05em;
            line-height: 1.5;
            white-space: nowrap;
        }
        .tag-live {
            background: var(--accent-soft);
            color: var(--accent);
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .tag-live i {
            font-size: 8px;
            animation: pulse-dot 2s infinite;
        }
        @keyframes pulse-dot {
            0%,
            100% {
                transform: scale(1);
                opacity: 1;
            }
            50% {
                transform: scale(1.15);
                opacity: 0.5;
            }
        }
        /* ===== Header ===== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 100;
            height: 60px;
            background: rgba(11, 15, 28, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-1);
            transition: background .25s var(--ease), height .25s var(--ease);
        }
        .site-header.scrolled {
            height: 56px;
            background: rgba(11, 15, 28, 0.96);
        }
        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
        }
        .logo {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-family: var(--font-display);
            font-size: 20px;
            font-weight: 700;
            letter-spacing: 0.08em;
            color: var(--primary);
            white-space: nowrap;
        }
        .logo-mark {
            width: 30px;
            height: 30px;
        }
        .main-nav {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .nav-chip {
            display: inline-flex;
            align-items: center;
            padding: 7px 18px;
            border-radius: var(--radius-round);
            font-size: 14px;
            font-weight: 500;
            color: var(--text-secondary);
            background: transparent;
            border: 1px solid transparent;
            transition: all .2s var(--ease);
            white-space: nowrap;
        }
        .nav-chip:hover {
            color: var(--text-primary);
            background: var(--primary-soft);
        }
        .nav-chip.active {
            background: var(--primary-soft);
            color: var(--primary);
            border-color: rgba(217, 180, 91, 0.3);
        }
        .header-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .icon-btn {
            width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            color: var(--text-secondary);
            transition: all .2s var(--ease);
        }
        .icon-btn:hover {
            color: var(--primary);
            background: var(--primary-soft);
        }
        .menu-toggle {
            display: none;
        }
        /* Mobile Menu */
        .mobile-menu {
            display: none;
            position: fixed;
            top: 60px;
            left: 0;
            right: 0;
            background: var(--bg-deep);
            border-bottom: 1px solid var(--border-1);
            padding: 20px 24px 28px;
            z-index: 99;
            transform: translateY(-12px);
            opacity: 0;
            visibility: hidden;
            transition: all .25s var(--ease);
        }
        .mobile-menu.open {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }
        .mobile-menu .nav-chip {
            display: block;
            margin-bottom: 8px;
            border-radius: var(--radius-sm);
            text-align: center;
            padding: 12px;
        }
        .mobile-search {
            display: flex;
            align-items: center;
            background: var(--bg-sink);
            border: 1px solid var(--border-1);
            border-radius: var(--radius-round);
            padding: 0 14px;
            height: 40px;
            margin-bottom: 16px;
        }
        .mobile-search i {
            color: var(--text-placeholder);
            margin-right: 10px;
            font-size: 14px;
        }
        .mobile-search input {
            background: transparent;
            flex: 1;
            color: var(--text-primary);
            font-size: 14px;
        }
        .mobile-search input::placeholder {
            color: var(--text-placeholder);
        }
        /* ===== Hero ===== */
        .page-hero {
            position: relative;
            min-height: 480px;
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, rgba(11, 15, 28, 0.92) 30%, rgba(11, 15, 28, 0.65) 70%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
            overflow: hidden;
            border-bottom: 1px solid var(--border-1);
        }
        .page-hero::before {
            content: '';
            position: absolute;
            top: -30%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(217, 180, 91, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }
        .hero-inner {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 60px;
            align-items: center;
            width: 100%;
            padding: 56px 0;
        }
        .hero-crumb {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: var(--text-placeholder);
            margin-bottom: 18px;
        }
        .hero-crumb a {
            color: var(--text-secondary);
            transition: color .2s;
        }
        .hero-crumb a:hover {
            color: var(--primary);
        }
        .hero-crumb .sep {
            color: var(--text-placeholder);
        }
        .page-hero h1 {
            font-family: var(--font-display);
            font-size: 48px;
            font-weight: 900;
            line-height: 1.12;
            letter-spacing: 0.01em;
            margin-bottom: 18px;
        }
        .page-hero h1 .gold {
            color: var(--primary);
        }
        .hero-desc {
            color: var(--text-secondary);
            font-size: 16px;
            line-height: 1.8;
            max-width: 560px;
            margin-bottom: 28px;
        }
        .hero-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }
        .hero-status-card {
            background: linear-gradient(145deg, rgba(21, 29, 48, 0.9), rgba(11, 15, 28, 0.9));
            border: 1px solid rgba(217, 180, 91, 0.35);
            border-radius: var(--radius-lg);
            padding: 24px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-2);
        }
        .hero-status-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, transparent, var(--primary), transparent);
        }
        .status-card-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
        }
        .status-card-head .label {
            font-size: 13px;
            color: var(--text-secondary);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .status-card-head .label i {
            color: var(--accent);
            font-size: 9px;
            animation: pulse-dot 2s infinite;
        }
        .status-card-league {
            font-size: 12px;
            color: var(--primary);
            font-weight: 600;
            letter-spacing: 0.08em;
            background: var(--primary-soft);
            padding: 4px 10px;
            border-radius: var(--radius-round);
        }
        .status-card-teams {
            display: grid;
            gap: 12px;
            margin-bottom: 16px;
        }
        .team-row {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
        }
        .team-score {
            margin-left: auto;
            font-family: var(--font-mono);
            font-size: 24px;
            font-weight: 700;
            color: var(--primary);
        }
        .status-card-progress {
            height: 4px;
            background: var(--bg-sink);
            border-radius: 2px;
            overflow: hidden;
            margin-bottom: 14px;
        }
        .status-card-progress span {
            display: block;
            height: 100%;
            width: 68%;
            background: linear-gradient(90deg, var(--accent), var(--primary));
            border-radius: 2px;
        }
        .status-card-foot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            color: var(--text-secondary);
        }
        .status-card-foot .minute {
            font-family: var(--font-mono);
            color: var(--text-primary);
            font-size: 15px;
            font-weight: 600;
        }
        /* ===== Stats ===== */
        .stats-section {
            background: var(--bg-deep);
            padding: 32px 0;
            border-bottom: 1px solid var(--border-1);
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }
        .stat-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 16px 20px;
            border-radius: var(--radius-md);
            background: var(--bg-elev);
            border: 1px solid var(--border-1);
            transition: all .25s var(--ease);
        }
        .stat-item:hover {
            border-color: rgba(217, 180, 91, 0.25);
            transform: translateY(-2px);
        }
        .stat-icon {
            width: 44px;
            height: 44px;
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--primary-soft);
            color: var(--primary);
            font-size: 20px;
            flex-shrink: 0;
        }
        .stat-info .stat-num {
            font-family: var(--font-display);
            font-size: 22px;
            font-weight: 700;
            line-height: 1.2;
            color: var(--text-primary);
        }
        .stat-info .stat-num em {
            font-style: normal;
            color: var(--primary);
        }
        .stat-info .stat-label {
            font-size: 13px;
            color: var(--text-secondary);
        }
        /* ===== Filter Tabs ===== */
        .filter-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 28px;
        }
        .chip-tab {
            padding: 7px 18px;
            border-radius: var(--radius-round);
            font-size: 14px;
            color: var(--text-secondary);
            background: var(--bg-elev);
            border: 1px solid var(--border-1);
            transition: all .2s var(--ease);
            white-space: nowrap;
        }
        .chip-tab:hover {
            color: var(--text-primary);
            border-color: var(--border-2);
        }
        .chip-tab.active {
            background: var(--primary);
            color: #1A1405;
            border-color: var(--primary);
            font-weight: 600;
        }
        /* ===== Scroll Row & Match Cards ===== */
        .scroll-row {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            padding: 8px 4px 20px;
            scroll-behavior: smooth;
            scrollbar-width: none;
        }
        .scroll-row::-webkit-scrollbar {
            display: none;
        }
        .match-card {
            min-width: 280px;
            max-width: 280px;
            border-radius: var(--radius-md);
            background: var(--bg-elev);
            border: 1px solid var(--border-1);
            overflow: hidden;
            transition: all .35s var(--ease);
            flex-shrink: 0;
        }
        .match-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-2), 0 0 0 1px rgba(217, 180, 91, 0.2);
            border-color: rgba(217, 180, 91, 0.2);
        }
        .match-cover {
            position: relative;
            aspect-ratio: 16 / 9;
            overflow: hidden;
        }
        .match-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .35s var(--ease);
        }
        .match-card:hover .match-cover img {
            transform: scale(1.04);
        }
        .cover-overlay {
            position: absolute;
            inset: 0;
            background: rgba(11, 15, 28, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity .3s var(--ease);
        }
        .match-card:hover .cover-overlay {
            opacity: 1;
        }
        .play-btn {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--accent);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            box-shadow: 0 4px 20px rgba(255, 107, 61, 0.4);
            transform: scale(0.9);
            transition: all .3s var(--ease);
        }
        .match-card:hover .play-btn {
            transform: scale(1);
        }
        .match-cover .tag-live {
            position: absolute;
            top: 10px;
            left: 10px;
            z-index: 2;
            backdrop-filter: blur(4px);
        }
        .match-info {
            padding: 16px 16px 18px;
        }
        .match-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 8px;
        }
        .match-meta .time {
            font-size: 12px;
            color: var(--text-secondary);
            font-family: var(--font-mono);
            letter-spacing: 0.04em;
        }
        .match-info h3 {
            font-size: 16px;
            font-weight: 600;
            line-height: 1.4;
            color: var(--text-primary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 10px;
        }
        .match-stats {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 13px;
            color: var(--text-placeholder);
        }
        .match-stats span {
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .match-stats i {
            color: var(--primary);
            font-size: 12px;
        }
        /* ===== Timeline ===== */
        .timeline-list {
            border-top: 1px solid var(--border-1);
        }
        .timeline-item {
            display: flex;
            align-items: center;
            gap: 24px;
            padding: 20px 0;
            border-bottom: 1px solid var(--border-1);
            transition: background .2s var(--ease);
        }
        .timeline-item:hover {
            background: rgba(255, 255, 255, 0.02);
        }
        .timeline-date {
            width: 64px;
            text-align: center;
            flex-shrink: 0;
        }
        .timeline-date .date-day {
            font-family: var(--font-display);
            font-size: 28px;
            font-weight: 700;
            line-height: 1;
            color: var(--primary);
            display: block;
        }
        .timeline-date .date-month {
            font-size: 12px;
            color: var(--text-secondary);
            letter-spacing: 0.1em;
        }
        .timeline-content {
            flex: 1;
            min-width: 0;
        }
        .timeline-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 4px;
            flex-wrap: wrap;
        }
        .timeline-meta .status-text {
            font-size: 12px;
            color: var(--text-secondary);
        }
        .timeline-meta .status-text.finished {
            color: var(--text-placeholder);
        }
        .timeline-meta .status-text.live {
            color: var(--accent);
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        .timeline-meta .status-text.live i {
            font-size: 8px;
            animation: pulse-dot 2s infinite;
        }
        .timeline-content h3 {
            font-size: 17px;
            font-weight: 600;
            line-height: 1.4;
            margin-bottom: 2px;
            color: var(--text-primary);
        }
        .timeline-content p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
            margin-top: 4px;
        }
        .timeline-arrow {
            color: var(--text-placeholder);
            font-size: 18px;
            transition: all .2s var(--ease);
            flex-shrink: 0;
        }
        .timeline-item:hover .timeline-arrow {
            color: var(--primary);
            transform: translateX(4px);
        }
        /* ===== Pagination ===== */
        .pagination {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 32px;
        }
        .page-link {
            width: 38px;
            height: 38px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius-sm);
            background: var(--bg-elev);
            border: 1px solid var(--border-1);
            color: var(--text-secondary);
            font-size: 14px;
            transition: all .2s var(--ease);
        }
        .page-link:hover {
            color: var(--primary);
            border-color: rgba(217, 180, 91, 0.4);
        }
        .page-link.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #1A1405;
            font-weight: 600;
        }
        .page-link.disabled {
            opacity: 0.4;
            pointer-events: none;
        }
        /* ===== Features ===== */
        .features-section {
            background: var(--bg-deep);
            border-top: 1px solid var(--border-1);
            border-bottom: 1px solid var(--border-1);
        }
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        .feature-card {
            background: var(--bg-elev);
            border: 1px solid var(--border-1);
            border-radius: var(--radius-md);
            padding: 24px 22px;
            transition: all .3s var(--ease);
        }
        .feature-card:hover {
            transform: translateY(-4px);
            border-color: rgba(217, 180, 91, 0.25);
            box-shadow: var(--shadow-2);
        }
        .feature-icon {
            width: 48px;
            height: 48px;
            border-radius: var(--radius-md);
            background: var(--primary-soft);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 20px;
            margin-bottom: 16px;
        }
        .feature-card h3 {
            font-size: 17px;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text-primary);
        }
        .feature-card p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.65;
        }
        /* ===== FAQ ===== */
        .faq-list {
            max-width: 800px;
            margin: 0 auto;
        }
        .faq-item {
            border-bottom: 1px solid var(--border-1);
        }
        .faq-item:first-child {
            border-top: 1px solid var(--border-1);
        }
        .faq-question {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 18px 0;
            text-align: left;
            font-size: 16px;
            font-weight: 500;
            color: var(--text-primary);
            transition: color .2s var(--ease);
        }
        .faq-question:hover {
            color: var(--primary);
        }
        .faq-icon {
            font-size: 20px;
            color: var(--text-secondary);
            transition: transform .25s var(--ease);
            flex-shrink: 0;
        }
        .faq-item.open .faq-icon {
            transform: rotate(45deg);
            color: var(--primary);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height .3s var(--ease);
        }
        .faq-answer p {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.7;
            padding-bottom: 18px;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
        }
        .faq-item.open .faq-question {
            color: var(--primary);
        }
        /* ===== CTA ===== */
        .cta-section {
            padding: 80px 0;
        }
        .cta-banner {
            position: relative;
            background: linear-gradient(135deg, var(--bg-elev), #10182A);
            border: 1px solid rgba(217, 180, 91, 0.18);
            border-radius: var(--radius-lg);
            padding: 48px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
            box-shadow: var(--shadow-2);
        }
        .cta-banner::before {
            content: '';
            position: absolute;
            top: -40%;
            left: 30%;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(217, 180, 91, 0.1), transparent 65%);
            pointer-events: none;
        }
        .cta-banner::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
            opacity: 0.6;
        }
        .cta-content h2 {
            font-family: var(--font-display);
            font-size: 28px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 10px;
        }
        .cta-content p {
            color: var(--text-secondary);
            font-size: 15px;
            max-width: 480px;
        }
        .cta-actions {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            flex-shrink: 0;
        }
        /* ===== Footer ===== */
        .site-footer {
            background: var(--bg-deep);
            border-top: 1px solid var(--border-1);
            padding: 60px 0 0;
        }
        .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: 14px;
            color: var(--text-secondary);
            max-width: 300px;
            line-height: 1.7;
            margin-bottom: 18px;
        }
        .footer-social {
            display: flex;
            gap: 10px;
        }
        .footer-social a {
            width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            border: 1px solid var(--border-1);
            color: var(--text-secondary);
            font-size: 15px;
            transition: all .2s var(--ease);
        }
        .footer-social a:hover {
            color: var(--primary);
            border-color: var(--primary);
            transform: translateY(-2px);
        }
        .footer-col h4 {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 16px;
            letter-spacing: 0.05em;
        }
        .footer-col li {
            margin-bottom: 10px;
        }
        .footer-col a {
            font-size: 14px;
            color: var(--text-secondary);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: color .2s;
        }
        .footer-col a:hover {
            color: var(--text-primary);
        }
        .footer-col a i {
            color: var(--primary);
            font-size: 11px;
            width: 14px;
        }
        .footer-bottom {
            border-top: 1px solid var(--border-1);
            padding: 20px 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
        }
        .footer-bottom span {
            font-size: 13px;
            color: var(--text-placeholder);
        }
        .legal-links {
            display: flex;
            gap: 18px;
        }
        .legal-links a {
            font-size: 13px;
            color: var(--text-placeholder);
            transition: color .2s;
        }
        .legal-links a:hover {
            color: var(--text-secondary);
        }
        /* ===== Back to Top ===== */
        .back-to-top {
            position: fixed;
            bottom: 28px;
            right: 28px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--bg-elev);
            border: 1px solid var(--border-2);
            color: var(--text-secondary);
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 80;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all .25s var(--ease);
            box-shadow: var(--shadow-1);
        }
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .back-to-top:hover {
            color: var(--primary);
            border-color: var(--primary);
            box-shadow: var(--shadow-2);
        }
        /* ===== Reveal Animation ===== */
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity .6s var(--ease), transform .6s var(--ease);
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }
        /* ===== Responsive ===== */
        @media (max-width: 1199px) {
            .container {
                padding-left: 32px;
                padding-right: 32px;
            }
            .section {
                padding: 72px 0;
            }
            .feature-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .hero-inner {
                gap: 40px;
            }
        }
        @media (max-width: 1023px) {
            .page-hero {
                min-height: 560px;
            }
            .hero-inner {
                grid-template-columns: 1fr;
                gap: 32px;
                padding: 48px 0;
            }
            .hero-status-card {
                max-width: 460px;
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
            .cta-banner {
                flex-direction: column;
                align-items: flex-start;
                padding: 36px;
                gap: 24px;
            }
            .page-hero h1 {
                font-size: 40px;
            }
        }
        @media (min-width: 641px) {
            .main-nav {
                display: flex !important;
            }
        }
        @media (max-width: 767px) {
            .container {
                padding-left: 20px;
                padding-right: 20px;
            }
            .section {
                padding: 56px 0;
            }
            .section-head {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
                margin-bottom: 24px;
            }
            .section-head h2 {
                font-size: 28px;
            }
            .header-actions .btn {
                display: none;
            }
            .menu-toggle {
                display: inline-flex;
            }
            .main-nav {
                display: none;
            }
            .mobile-menu {
                display: block;
            }
            .page-hero h1 {
                font-size: 36px;
            }
            .page-hero {
                min-height: 500px;
            }
            .hero-actions .btn {
                flex: 1;
            }
            .stats-grid {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }
            .stat-item {
                padding: 12px;
            }
            .stat-icon {
                width: 38px;
                height: 38px;
                font-size: 16px;
            }
            .stat-info .stat-num {
                font-size: 18px;
            }
            .match-card {
                min-width: 240px;
                max-width: 240px;
            }
            .timeline-item {
                gap: 14px;
                padding: 16px 0;
            }
            .timeline-date {
                width: 46px;
            }
            .timeline-date .date-day {
                font-size: 22px;
            }
            .timeline-content h3 {
                font-size: 15px;
            }
            .timeline-content p {
                font-size: 13px;
            }
            .timeline-arrow {
                display: none;
            }
            .feature-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }
            .cta-section {
                padding: 48px 0;
            }
            .cta-banner {
                padding: 28px 20px;
            }
            .cta-content h2 {
                font-size: 24px;
            }
            .cta-actions {
                width: 100%;
            }
            .cta-actions .btn {
                flex: 1;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
            .legal-links {
                justify-content: center;
            }
            .back-to-top {
                bottom: 16px;
                right: 16px;
            }
        }
        @media (max-width: 520px) {
            .page-hero h1 {
                font-size: 29px;
            }
            .hero-desc {
                font-size: 15px;
            }
            .stats-grid {
                grid-template-columns: 1fr;
            }
            .stat-item {
                padding: 14px 16px;
            }
            .filter-tabs {
                flex-wrap: nowrap;
                overflow-x: auto;
                scrollbar-width: none;
            }
            .filter-tabs::-webkit-scrollbar {
                display: none;
            }
            .chip-tab {
                flex-shrink: 0;
            }
            .match-card {
                min-width: 200px;
                max-width: 200px;
            }
            .match-info {
                padding: 12px;
            }
            .match-info h3 {
                font-size: 14px;
            }
            .timeline-item {
                gap: 10px;
            }
            .timeline-date .date-day {
                font-size: 20px;
            }
            .timeline-date .date-month {
                font-size: 11px;
            }
            .timeline-meta .tag {
                padding: 2px 6px;
                font-size: 11px;
            }
            .timeline-content h3 {
                font-size: 14px;
            }
            .timeline-content p {
                display: none;
            }
            .pagination {
                gap: 5px;
            }
            .page-link {
                width: 34px;
                height: 34px;
                font-size: 13px;
            }
            .cta-banner {
                padding: 24px 18px;
            }
            .hero-status-card {
                padding: 16px;
            }
        }

/* roulang page: article */
:root {
  --bg-deep: #0B0F1C;
  --bg-body: #0F1524;
  --bg-elev: #151D30;
  --bg-sink: #0C1220;
  --primary: #D9B45B;
  --primary-hover: #E7C878;
  --primary-soft: rgba(217, 180, 91, 0.12);
  --accent: #FF6B3D;
  --accent-hover: #FF8A5C;
  --accent-soft: rgba(255, 107, 61, 0.15);
  --text-primary: #F2F4F8;
  --text-secondary: #ADB5C7;
  --text-placeholder: #5E6672;
  --border-1: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.14);
  --success: #34C77B;
  --warning: #E8B84B;
  --error: #E4584F;
  --info: #4E8FD8;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-2: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-3: 0 16px 48px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-serif: 'Noto Serif SC', 'Songti SC', serif;
  --font-sans: -apple-system, 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'DIN Alternate', 'Roboto Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.10), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.08), transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,0.06), transparent),
    radial-gradient(1px 1px at 70% 85%, rgba(255,255,255,0.05), transparent);
  color: var(--text-primary);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; border: none; background: none; color: inherit; }
button { cursor: pointer; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 15, 28, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-1);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled { background: rgba(11, 15, 28, 0.96); box-shadow: 0 4px 24px rgba(0,0,0,0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; transition: height 0.2s var(--ease); }
.site-header.scrolled .header-inner { height: 56px; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 28px; flex-shrink: 0; }
.logo-mark { width: 28px; height: 28px; flex-shrink: 0; }
.logo-text { font-family: var(--font-serif); font-weight: 700; font-size: 20px; letter-spacing: 0.08em; color: var(--primary); }
.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 18px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  border: 1px solid transparent; transition: all 0.2s var(--ease);
}
.nav-chip:hover { color: var(--text-primary); background: var(--primary-soft); }
.nav-chip.active { background: var(--primary-soft); color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-wrap { position: relative; }
.search-toggle { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: all 0.2s var(--ease); font-size: 16px; }
.search-toggle:hover { color: var(--primary); background: var(--primary-soft); }
.search-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; width: 320px; padding: 12px;
  background: var(--bg-elev); border: 1px solid var(--border-2); border-radius: var(--radius-md);
  box-shadow: var(--shadow-3); display: none; align-items: center; gap: 8px;
}
.search-dropdown.open { display: flex; }
.search-dropdown input {
  flex: 1; height: 38px; padding: 0 14px; background: var(--bg-sink);
  border: 1px solid var(--border-1); border-radius: var(--radius-sm);
  color: var(--text-primary); outline: none; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.search-dropdown input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(217,180,91,0.15); }
.search-dropdown input::placeholder { color: var(--text-placeholder); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 24px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; transition: all 0.2s var(--ease); white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,61,0.25); }
.btn-outline { background: transparent; border: 1px solid var(--border-2); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn-sm { height: 36px; padding: 0 18px; font-size: 14px; }
.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-primary); font-size: 18px; transition: background 0.2s var(--ease); }
.nav-toggle:hover { background: var(--primary-soft); color: var(--primary); }
.mobile-nav { display: none; }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 28px 0 8px; font-size: 14px; color: var(--text-placeholder); }
.breadcrumb a { color: var(--text-secondary); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-placeholder); }
.breadcrumb .current { color: var(--text-primary); max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Article layout */
.article-layout { max-width: 860px; margin: 0 auto; animation: fadeInUp 0.65s var(--ease) both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* Article header */
.article-header { padding: 32px 0 24px; }
.article-category { display: inline-flex; align-items: center; gap: 6px; padding: 5px 16px; border-radius: var(--radius-pill); background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; }
.article-category i { font-size: 11px; }
.article-header h1 { font-family: var(--font-serif); font-size: 40px; font-weight: 700; line-height: 1.2; color: var(--text-primary); margin: 18px 0 16px; letter-spacing: 0.02em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--text-secondary); font-size: 14px; }
.meta-item { display: inline-flex; align-items: center; gap: 7px; }
.meta-item i { color: var(--primary); font-size: 14px; }

/* Article cover */
.article-cover { position: relative; margin: 8px 0 40px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.article-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(217,180,91,0.08), transparent 60%); pointer-events: none; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Article content */
.article-content { max-width: 780px; margin: 0 auto; font-size: 16px; line-height: 1.9; color: #C7CEDA; }
.article-content h2 { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--text-primary); margin: 44px 0 16px; line-height: 1.3; letter-spacing: 0.02em; }
.article-content h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--text-primary); margin: 34px 0 14px; line-height: 1.35; }
.article-content h4 { font-size: 17px; font-weight: 600; color: var(--text-primary); margin: 28px 0 12px; }
.article-content p { margin: 0 0 20px; }
.article-content a { color: var(--primary); border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease); }
.article-content a:hover { border-bottom-color: var(--primary); }
.article-content ul, .article-content ol { margin: 0 0 20px; padding-left: 26px; }
.article-content li { margin-bottom: 8px; }
.article-content li::marker { color: var(--primary); }
.article-content blockquote { margin: 28px 0; padding: 18px 24px; border-left: 3px solid var(--primary); background: var(--bg-elev); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-secondary); font-style: italic; }
.article-content table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 14px; }
.article-content th, .article-content td { padding: 12px 16px; border: 1px solid var(--border-1); text-align: left; }
.article-content th { background: var(--bg-elev); color: var(--text-primary); font-weight: 600; }
.article-content td { color: var(--text-secondary); }
.article-content img { border-radius: var(--radius-md); margin: 24px 0; }
.article-content code { font-family: var(--font-mono); background: var(--bg-sink); padding: 2px 8px; border-radius: 4px; font-size: 14px; color: var(--primary); }
.article-content pre { background: var(--bg-sink); border: 1px solid var(--border-1); border-radius: var(--radius-md); padding: 20px; overflow-x: auto; margin: 24px 0; }
.article-content pre code { background: none; padding: 0; color: var(--text-secondary); }

/* Empty state */
.article-empty { max-width: 780px; margin: 40px auto 0; text-align: center; padding: 64px 24px; border: 1px dashed var(--border-2); border-radius: var(--radius-lg); background: rgba(255,255,255,0.01); }
.article-empty .empty-icon { font-size: 48px; color: var(--text-placeholder); margin-bottom: 16px; }
.article-empty p { color: var(--text-secondary); margin: 0 0 28px; max-width: 420px; margin-left: auto; margin-right: auto; }
.empty-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Tags */
.article-tags { max-width: 780px; margin: 36px auto 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tag { display: inline-flex; align-items: center; padding: 6px 16px; border-radius: var(--radius-pill); background: var(--primary-soft); color: var(--primary); font-size: 13px; transition: all 0.2s var(--ease); }
.tag:hover { background: rgba(217,180,91,0.22); transform: translateY(-1px); }
.tag i { font-size: 11px; margin-right: 6px; }

/* Article footer nav */
.article-footer { max-width: 780px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--border-1); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.article-footer a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 14px; transition: all 0.2s var(--ease); }
.article-footer a:hover { color: var(--primary); }
.article-footer a.prev:hover { transform: translateX(-3px); }
.article-footer a.next:hover { transform: translateX(3px); }

/* Related section */
.related-section { margin-top: 88px; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; gap: 16px; }
.section-header h2 { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--text-primary); margin: 0; letter-spacing: 0.02em; }
.section-link { color: var(--primary); font-size: 14px; transition: opacity 0.2s var(--ease); display: inline-flex; align-items: center; gap: 6px; }
.section-link:hover { opacity: 0.8; text-decoration: underline; }
.related-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 14px; scrollbar-width: none; }
.related-scroll::-webkit-scrollbar { display: none; }
.related-card { min-width: 280px; max-width: 280px; background: var(--bg-elev); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-1); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); scroll-snap-align: start; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2), 0 0 0 1px rgba(217,180,91,0.2); }
.related-card .card-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.related-card .card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ease); }
.related-card:hover .card-cover img { transform: scale(1.04); }
.related-card .card-cover .card-badge { position: absolute; top: 10px; left: 10px; padding: 3px 12px; border-radius: var(--radius-pill); background: rgba(11,15,28,0.75); color: var(--primary); font-size: 12px; letter-spacing: 0.04em; backdrop-filter: blur(4px); }
.related-card .card-body { padding: 16px; }
.related-card .card-body h3 { font-size: 16px; font-weight: 600; color: var(--text-primary); line-height: 1.45; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s var(--ease); }
.related-card:hover .card-body h3 { color: var(--primary); }
.related-card .card-body p { font-size: 13px; color: var(--text-secondary); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; }
.related-card .card-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-placeholder); }
.related-card .card-meta i { color: var(--accent); }

/* Footer */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border-1); padding: 64px 0 24px; margin-top: 88px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 4px; }
.footer-brand p { color: var(--text-placeholder); font-size: 14px; margin: 16px 0 20px; max-width: 340px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border-1); color: var(--text-secondary); transition: all 0.2s var(--ease); font-size: 14px; }
.footer-social a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.footer-col h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin: 0 0 16px; letter-spacing: 0.06em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-placeholder); font-size: 14px; transition: color 0.2s var(--ease); display: inline-flex; align-items: center; gap: 6px; }
.footer-col a:hover { color: var(--text-secondary); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border-1); color: var(--text-placeholder); font-size: 13px; }
.footer-bottom .legal { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom .legal a { color: var(--text-placeholder); transition: color 0.2s var(--ease); }
.footer-bottom .legal a:hover { color: var(--text-secondary); }
.footer-bottom .legal .divider { opacity: 0.5; }

/* Back to top */
.back-top { position: fixed; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-elev); border: 1px solid var(--border-2); color: var(--primary); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.3s var(--ease); z-index: 90; font-size: 15px; }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--primary); color: var(--bg-deep); border-color: var(--primary); }

/* Responsive */
@media (max-width: 1023px) {
  .container { padding: 0 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .article-header h1 { font-size: 34px; }
  .related-section { margin-top: 72px; }
}
@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .search-wrap { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav {
    display: block; position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--bg-deep); padding: 24px 20px; transform: translateX(100%);
    transition: transform 0.3s var(--ease); z-index: 99; overflow-y: auto;
    border-top: 1px solid var(--border-1);
  }
  .mobile-nav.open { transform: translateX(0); }
  .mobile-search { display: flex; gap: 8px; margin-bottom: 24px; }
  .mobile-search input { flex: 1; height: 42px; padding: 0 14px; background: var(--bg-sink); border: 1px solid var(--border-1); border-radius: var(--radius-sm); color: var(--text-primary); outline: none; transition: border-color 0.2s var(--ease); }
  .mobile-search input:focus { border-color: var(--primary); }
  .mobile-search input::placeholder { color: var(--text-placeholder); }
  .mobile-search button { width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--primary); color: var(--bg-deep); display: flex; align-items: center; justify-content: center; transition: background 0.2s var(--ease); }
  .mobile-search button:hover { background: var(--primary-hover); }
  .mobile-chip-nav { display: flex; flex-direction: column; gap: 10px; }
  .mobile-chip-nav .nav-chip { justify-content: flex-start; padding: 12px 18px; font-size: 15px; }
  .article-header h1 { font-size: 28px; }
  .article-content { font-size: 15px; }
  .article-meta { gap: 12px; font-size: 13px; }
  .related-card { min-width: 230px; max-width: 230px; }
  .related-scroll { scroll-snap-type: x mandatory; }
  .article-footer { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom .legal { justify-content: center; }
  .back-top { right: 16px; bottom: 16px; }
  .breadcrumb { padding-top: 20px; font-size: 13px; }
}
@media (max-width: 520px) {
  .article-header h1 { font-size: 24px; line-height: 1.25; }
  .section-header h2 { font-size: 22px; }
  .related-card { min-width: 190px; max-width: 190px; }
  .article-cover { margin-bottom: 28px; }
  .article-tags { gap: 8px; }
  .tag { padding: 5px 12px; font-size: 12px; }
  .btn { width: 100%; justify-content: center; }
  .empty-actions { flex-direction: column; width: 100%; max-width: 260px; margin: 0 auto; }
  .search-dropdown { width: 260px; }
}
