/* roulang page: index */
:root {
  --bg-primary: #0B1026;
  --bg-secondary: #111C3A;
  --bg-card: rgba(17, 28, 58, 0.65);
  --bg-card-hover: rgba(20, 34, 64, 0.80);
  --border-card: rgba(255, 255, 255, 0.10);
  --border-glow: rgba(0, 229, 255, 0.25);
  --cyan: #00E5FF;
  --violet: #7C5CFF;
  --gold: #FFC876;
  --mint: #20D9A8;
  --danger: #FF5C7A;
  --title: #EAF1FF;
  --body: #B6C2E0;
  --muted: #7A88A8;
  --dim: #4B5878;
  --dark-bg: #070A17;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 12px 40px rgba(0, 229, 255, 0.10);
  --shadow-cyan: 0 0 24px rgba(0, 229, 255, 0.35);
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", "Noto Sans SC", sans-serif;
  --container-w: 1200px;
  --header-h: 64px;
  --space-section: 96px;
  --space-large: 72px;
  --space-mobile: 56px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0d1530 50%, var(--bg-primary) 100%);
  color: var(--body);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; transition: color .22s ease, border-color .22s ease, background .22s ease; }
img { max-width: 100%; display: block; border: 0; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--space-section) 0; position: relative; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .section-tag {
  display: inline-block; padding: 6px 18px; border-radius: 999px;
  background: rgba(0,229,255,.12); color: var(--cyan);
  font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: 14px;
}
.section-head h2 { color: var(--title); font-size: clamp(26px, 3.5vw, 42px); font-weight: 800; margin-bottom: 12px; line-height: 1.25; }
.section-head p { color: var(--muted); font-size: 15px; max-width: 560px; margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; line-height: 1.2;
  transition: all .28s ease; white-space: nowrap; min-height: 48px;
}
.btn-primary {
  background: linear-gradient(135deg, #00E5FF, #2C7BFF); color: #fff;
  box-shadow: var(--shadow-cyan); border: none; position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); animation: btnShine 3s infinite;
}
@keyframes btnShine { 0% { left: -80%; } 55% { left: 120%; } 100% { left: 120%; } }
.btn-primary:hover { filter: brightness(1.12); box-shadow: 0 0 38px rgba(0,229,255,.55); transform: translateY(-2px); }
.btn-primary:active { transform: scale(.97); }
.btn-ghost {
  background: transparent; border-color: rgba(0,229,255,.4); color: var(--cyan);
}
.btn-ghost:hover { background: rgba(0,229,255,.12); border-color: rgba(0,229,255,.7); transform: translateY(-2px); box-shadow: 0 0 20px rgba(0,229,255,.12); }
.btn-ghost:active { transform: scale(.97); }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-sm { padding: 10px 22px; font-size: 14px; min-height: 40px; }
.btn-xl { padding: 18px 52px; font-size: 17px; }
.btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 999px;
}

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
  background: transparent; border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8,12,24,.85); backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,.05); box-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand-logo { display: flex; align-items: center; gap: 10px; color: var(--title); }
.logo-mark { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { font-size: 18px; font-weight: 800; color: var(--title); letter-spacing: .01em; white-space: nowrap; }
.logo-text strong { color: var(--cyan); font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--body);
  transition: all .25s ease; position: relative;
}
.nav-link:hover { color: var(--cyan); background: rgba(0,229,255,.08); }
.nav-link.active { color: var(--cyan); background: rgba(0,229,255,.12); font-weight: 600; }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 2px; background: var(--cyan); border-radius: 99px;
  box-shadow: 0 0 8px var(--cyan);
}
.header-tools { display: flex; align-items: center; gap: 14px; }
.countdown-pill {
  display: flex; align-items: center; gap: 8px; padding: 6px 16px;
  background: rgba(0,229,255,.12); border-radius: 999px; border: 1px solid rgba(0,229,255,.2);
}
.countdown-label { font-size: 12px; color: var(--muted); white-space: nowrap; }
.countdown-time {
  font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 700; color: var(--cyan);
  text-shadow: 0 0 12px rgba(0,229,255,.6); letter-spacing: .03em;
}
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-card);
  background: rgba(0,229,255,.1); color: var(--cyan); font-size: 18px; align-items: center; justify-content: center;
}
.mobile-drawer {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1200;
  background: rgba(11,16,38,.98); backdrop-filter: blur(18px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.mobile-drawer.open { opacity: 1; visibility: visible; }
.mobile-drawer .drawer-link {
  font-size: 22px; font-weight: 700; color: var(--title); padding: 14px 20px; border-radius: 12px; display: block;
}
.mobile-drawer .drawer-link.active { color: var(--cyan); background: rgba(0,229,255,.1); }
.drawer-tools { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.drawer-close {
  position: absolute; top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid var(--border-card); color: var(--title); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}

/* Hero */
.hero {
  min-height: 92vh; position: relative; display: flex; align-items: center;
  background: linear-gradient(135deg, rgba(11,16,38,.82) 0%, rgba(17,28,58,.68) 55%, rgba(44,27,94,.52) 100%);
  overflow: hidden; padding-top: calc(var(--header-h) + 20px);
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0; background:
    radial-gradient(ellipse at 15% 20%, rgba(124,92,255,.15), transparent 45%),
    radial-gradient(ellipse at 80% 85%, rgba(0,229,255,.08), transparent 40%),
    linear-gradient(180deg, rgba(11,16,38,.92) 0%, rgba(11,16,38,.6) 50%, rgba(11,16,38,.94) 100%);
  z-index: -1;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px; pointer-events: none;
}
.hero-content { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; width: 100%; padding: 48px 24px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; border-radius: 999px;
  background: rgba(124,92,255,.15); border: 1px solid rgba(124,92,255,.35);
  color: #C3B5FF; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.hero-title {
  font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.2;
  color: var(--title); margin-bottom: 20px;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
.hero-sub { font-size: 17px; color: var(--body); max-width: 560px; margin-bottom: 32px; line-height: 1.8; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.stat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(17,28,58,.7); border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px; padding: 8px 18px; font-size: 13px; color: var(--title);
  backdrop-filter: blur(6px);
  animation: floatY 4s ease-in-out infinite;
}
.stat-pill:nth-child(2) { animation-delay: .6s; }
.stat-pill:nth-child(3) { animation-delay: 1.2s; }
.stat-pill .num { color: var(--cyan); font-weight: 700; font-variant-numeric: tabular-nums; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.hero-visual { position: relative; }
.hero-card {
  border-radius: var(--radius-lg); padding: 14px; position: relative;
  background: rgba(17,28,58,.55); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px); box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.hero-card img { border-radius: 10px; height: 300px; object-fit: cover; width: 100%; }
.hero-card-badge {
  position: absolute; top: 24px; left: 24px;
  background: linear-gradient(135deg, var(--cyan), #2C7BFF); color: #fff;
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,229,255,.4);
}

/* Glass Card base */
.glass-card { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg); backdrop-filter: blur(10px); }

/* Steps Section */
.steps-section { background: rgba(11,16,38,.4); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { position: relative; padding: 32px 26px; gap: 0; overflow: hidden; transition: all .3s ease; }
.step-card:hover { transform: translateY(-4px); background: var(--bg-card-hover); border-color: var(--border-glow); box-shadow: var(--shadow-hover); }
.step-number {
  position: absolute; top: 0; right: 14px; font-size: 84px; font-weight: 800; line-height: 1.1;
  color: rgba(255,255,255,.06); pointer-events: none; font-variant-numeric: tabular-nums;
}
.step-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,229,255,.15), rgba(124,92,255,.15));
  color: var(--cyan); font-size: 24px; margin-bottom: 20px; position: relative;
}
.step-card h3 { color: var(--title); font-size: 18px; font-weight: 700; margin-bottom: 10px; position: relative; }
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.75; position: relative; }

/* Rewards Section */
.rewards-section { position: relative; }
.rewards-section::before {
  content: ''; position: absolute; top: -10%; right: -5%; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(124,92,255,.08), transparent 70%); pointer-events: none;
}
.rewards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.reward-card { padding: 30px 26px; display: flex; flex-direction: column; transition: all .3s ease; position: relative; }
.reward-card:hover { transform: translateY(-6px); border-color: var(--border-glow); box-shadow: var(--shadow-hover); }
.reward-card:hover .reward-icon { transform: rotate(2deg) scale(1.05); }
.reward-icon {
  width: 62px; height: 62px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  margin-bottom: 22px; transition: transform .35s ease;
}
.reward-icon-rare { background: linear-gradient(135deg, rgba(124,92,255,.3), rgba(124,92,255,.1)); color: #C3B5FF; }
.reward-icon-epic { background: linear-gradient(135deg, rgba(255,200,118,.3), rgba(255,200,118,.1)); color: var(--gold); }
.reward-icon-common { background: rgba(255,255,255,.08); color: var(--body); }
.reward-icon-legend { background: linear-gradient(135deg, rgba(0,229,255,.28), rgba(124,92,255,.2)); color: var(--cyan); }
.reward-card h3 { font-size: 18px; font-weight: 700; color: var(--title); margin-bottom: 8px; }
.reward-level {
  display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  margin-bottom: 14px; align-self: flex-start;
}
.level-rare { background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(124,92,255,.08)); color: #C3B5FF; border: 1px solid rgba(124,92,255,.4); }
.level-epic { background: linear-gradient(135deg, rgba(255,200,118,.25), rgba(255,200,118,.08)); color: var(--gold); border: 1px solid rgba(255,200,118,.4); }
.level-common { background: rgba(255,255,255,.06); color: var(--body); border: 1px solid rgba(255,255,255,.12); }
.level-legend { background: linear-gradient(135deg, rgba(0,229,255,.2), rgba(124,92,255,.18)); color: var(--cyan); border: 1px solid rgba(0,229,255,.35); }
.reward-card p { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 14px; flex: 1; }
.reward-note { font-size: 12px; color: var(--dim); border-top: 1px solid rgba(255,255,255,.07); padding-top: 12px; margin-top: auto; }

/* Tasks Section */
.tasks-section { position: relative; }
.tasks-panel {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; padding: 40px;
  background: linear-gradient(135deg, rgba(17,28,58,.75), rgba(11,16,38,.6));
  border-radius: var(--radius-lg); border: 1px solid var(--border-card);
  position: relative; overflow: hidden;
}
.tasks-panel::before {
  content: ''; position: absolute; top: -80px; right: -80px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0,229,255,.1), transparent 70%); pointer-events: none;
}
.task-main h3 { color: var(--title); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.task-main .task-desc { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.task-progress-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.task-progress-top .label { font-size: 14px; color: var(--body); font-weight: 600; }
.task-progress-top .percent { font-size: 14px; font-weight: 700; color: var(--cyan); text-shadow: 0 0 10px rgba(0,229,255,.5); }
.task-progress-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: visible; position: relative; }
.task-progress-fill {
  height: 100%; width: 68%; border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--mint)); position: relative;
  box-shadow: 0 0 12px rgba(0,229,255,.45);
}
.task-progress-fill::after {
  content: ''; position: absolute; top: -2px; left: 0; right: 8%; height: 3px;
  background: rgba(255,255,255,.4); border-radius: 999px;
}
.task-side { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.task-item {
  background: rgba(0,229,255,.06); border: 1px solid rgba(0,229,255,.16);
  border-radius: var(--radius-md); padding: 18px 20px;
  display: flex; align-items: center; gap: 16px;
}
.task-item .task-icon { color: var(--cyan); font-size: 20px; }
.task-item .task-info { flex: 1; }
.task-item .task-info .t-label { font-size: 13px; color: var(--muted); }
.task-item .task-info .t-value { font-size: 20px; font-weight: 800; color: var(--title); font-variant-numeric: tabular-nums; }
.task-status-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; border: 1px solid;
}
.task-status-badge.live { color: var(--cyan); border-color: rgba(0,229,255,.4); background: rgba(0,229,255,.08); }
.task-status-badge.live .badge-dot { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.task-link-row { margin-top: 22px; }
.task-link-row a { font-size: 14px; font-weight: 600; color: var(--cyan); display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.task-link-row a:hover { border-bottom-color: var(--cyan); }

/* News Section */
.news-section { background: rgba(11,16,38,.5); }
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-card {
  display: flex; align-items: stretch; background: var(--bg-card);
  border: 1px solid var(--border-card); border-radius: var(--radius-lg);
  overflow: hidden; transition: all .3s ease;
}
.news-card:hover { background: var(--bg-card-hover); border-color: var(--border-glow); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.news-info { flex: 1; padding: 24px 28px; display: flex; flex-direction: column; min-width: 0; }
.news-tag {
  align-self: flex-start; padding: 3px 14px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(124,92,255,.14); color: #C3B5FF; border: 1px solid rgba(124,92,255,.25); margin-bottom: 12px;
}
.news-info h3 { font-size: 17px; font-weight: 700; color: var(--title); margin-bottom: 8px; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-info h3 a { color: inherit; display: inline; }
.news-info h3 a:hover { color: var(--cyan); }
.news-excerpt { font-size: 14px; color: var(--body); line-height: 1.75; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 14px; flex: 1; }
.news-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.news-date { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-readmore { font-size: 13px; font-weight: 600; color: var(--cyan); display: inline-flex; align-items: center; gap: 6px; }
.news-readmore:hover { text-decoration: underline; }
.news-thumb { flex: 0 0 240px; min-height: 160px; position: relative; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.news-section-head h2 { color: var(--title); font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.news-section-head .section-tag { font-size: 13px; color: var(--cyan); background: rgba(0,229,255,.1); padding: 5px 14px; border-radius: 999px; margin-bottom: 8px; display: inline-block; }
.news-more { font-size: 14px; color: var(--body); display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid transparent; }
.news-more:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.news-empty {
  background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg);
  padding: 60px 24px; text-align: center;
}
.news-empty i { font-size: 42px; color: var(--dim); margin-bottom: 16px; }
.news-empty p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }

/* FAQ Section */
.faq-section { position: relative; }
.faq-panel {
  max-width: 800px; margin: 0 auto; padding: 32px 40px;
  background: linear-gradient(135deg, rgba(17,28,58,.7), rgba(11,16,38,.75));
  border-radius: var(--radius-lg); border: 1px solid var(--border-card);
}
.faq-item { border-top: 1px solid rgba(255,255,255,.08); padding: 8px 0; }
.faq-item:first-child { border-top: none; }
.faq-question {
  display: flex; align-items: center; gap: 14px; width: 100%;
  background: transparent; border: none; padding: 20px 4px; text-align: left;
  font-size: 16px; font-weight: 600; color: var(--title); cursor: pointer;
  transition: color .25s ease;
}
.faq-question:hover { color: var(--cyan); background: transparent; }
.faq-q-mark {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: rgba(0,229,255,.12); color: var(--cyan); font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.faq-item.open .faq-question { color: var(--cyan); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 50px 0 50px;
}
.faq-answer p { padding-bottom: 20px; font-size: 14px; color: var(--body); line-height: 1.8; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-icon { margin-left: auto; color: var(--dim); transition: transform .3s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--cyan); }

/* CTA Banner */
.cta-banner {
  position: relative; padding: 96px 0; overflow: hidden;
  background: linear-gradient(135deg, #0B1026 0%, #1D1647 55%, #2C1B5E 100%);
  text-align: center;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,229,255,.15), transparent 50%);
}
.cta-banner::after {
  content: ''; position: absolute; inset: -20% 0 auto 0; height: 120px;
  background: linear-gradient(115deg, transparent 33%, rgba(255,255,255,.08) 50%, transparent 66%);
  transform: rotate(-2deg);
}
.cta-inner { position: relative; z-index: 2; }
.cta-inner h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--title);
  margin-bottom: 16px; line-height: 1.3;
}
.cta-inner h2 .gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-inner p { font-size: 15px; color: var(--muted); margin-bottom: 36px; }
.cta-inner .btn { margin: 0 auto; }

/* Footer */
.site-footer { background: var(--dark-bg); border-top: 1px solid rgba(255,255,255,.05); padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 56px; margin-bottom: 44px; }
.footer-brand .logo-text { font-size: 20px; }
.footer-brand p { font-size: 14px; color: var(--muted); margin-top: 12px; max-width: 340px; line-height: 1.8; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { color: var(--title); font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--muted); padding: 5px 0; transition: color .2s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding-top: 28px; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--dim); }

/* Responsive */
@media (max-width: 1199px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .rewards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 991px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .countdown-pill { display: none; }
  .hero-content { grid-template-columns: 1fr; padding: 40px 24px; gap: 32px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 32px); }
  .hero-card { max-width: 480px; margin: 0 auto; }
  .tasks-panel { grid-template-columns: 1fr; gap: 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .section { --space-section: var(--space-large); }
}
@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .section { --space-section: var(--space-mobile); }
  .steps-grid { grid-template-columns: 1fr; }
  .rewards-grid { grid-template-columns: 1fr; }
  .hero-btns .btn { width: 100%; }
  .stat-pill { width: 100%; justify-content: center; }
  .news-card { flex-direction: column; }
  .news-thumb { flex: 0 0 180px; }
  .news-thumb img { height: 180px; }
  .news-info { padding: 20px; }
  .faq-panel { padding: 20px; }
  .task-item { flex-wrap: wrap; }
  .cta-banner { padding: 72px 0; }
  .footer-links { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 520px) {
  .brand-logo .logo-text { font-size: 15px; }
  .hero-title { font-size: 28px; }
  .hero-card img { height: 220px; }
  .tasks-panel { padding: 24px; }
}

/* roulang page: category1 */
:root {
  --bg-primary: #0B1026;
  --bg-secondary: #111C3A;
  --bg-deep: #070A17;
  --bg-card: rgba(17, 28, 58, 0.65);
  --bg-card-hover: rgba(20, 34, 64, 0.80);
  --border-color: rgba(255, 255, 255, 0.10);
  --border-hover: rgba(0, 229, 255, 0.25);
  --accent-cyan: #00E5FF;
  --accent-blue: #2C7BFF;
  --accent-purple: #7C5CFF;
  --accent-gold: #FFC876;
  --text-title: #EAF1FF;
  --text-body: #B6C2E0;
  --text-muted: #7A88A8;
  --text-disabled: #4B5878;
  --success: #20D9A8;
  --danger: #FF5C7A;
  --radius-card: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 12px 40px rgba(0, 229, 255, 0.10);
  --shadow-cta: 0 0 24px rgba(0, 229, 255, 0.35);
  --container-width: 1200px;
  --space-section: 96px;
  --space-tablet: 72px;
  --space-mobile: 56px;
  --font-stack: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", "Noto Sans SC", sans-serif;
  --ease: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-stack);
  background: linear-gradient(180deg, #0B1026 0%, #111C3A 100%);
  color: var(--text-body);
  line-height: 1.75;
  font-size: 15px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-cyan); text-decoration: none; transition: color var(--ease); }
a:hover { color: #fff; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: var(--space-section) 0; position: relative; }
.section-dark { background: rgba(8, 12, 24, 0.5); }
.section-soft { background: rgba(17, 28, 58, 0.35); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 42px); font-weight: 800; color: var(--text-title); letter-spacing: -0.02em; margin-bottom: 12px; }
.section-head p { font-size: 16px; color: var(--text-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 14px 32px;
  transition: all var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  min-height: 44px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.55);
  transform: translateY(-2px);
}
.btn-primary:hover::after { left: 120%; }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 3px; }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--accent-cyan);
}
.btn-ghost:hover { background: rgba(0, 229, 255, 0.12); color: #fff; border-color: rgba(0, 229, 255, 0.7); }
.btn-ghost:active { transform: scale(0.97); }
.btn-ghost:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 3px; }
.btn-sm { padding: 10px 22px; font-size: 13px; min-height: 38px; }
.btn-lg { padding: 16px 44px; font-size: 16px; min-height: 52px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  background: rgba(8, 12, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark { width: 38px; height: 38px; display: block; }
.logo-text { font-size: 18px; font-weight: 700; color: var(--text-title); letter-spacing: 0.01em; white-space: nowrap; }
.logo-text strong { color: var(--accent-cyan); font-weight: 800; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 8px 2px;
  white-space: nowrap;
  transition: color var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 2px;
  transition: width var(--ease);
}
.nav-link:hover { color: var(--text-title); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--accent-cyan); }
.nav-link.active::after { width: 100%; box-shadow: 0 0 12px rgba(0, 229, 255, 0.6); }
.header-tools { display: flex; align-items: center; gap: 16px; }
.countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-title);
}
.countdown-label { color: var(--text-muted); font-weight: 500; }
.countdown-time {
  font-family: "SF Mono", "Cascadia Code", "Roboto Mono", monospace;
  font-weight: 700;
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--text-title);
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 28, 58, 0.6);
  transition: all var(--ease);
}
.nav-toggle:hover { border-color: rgba(0, 229, 255, 0.4); color: var(--accent-cyan); }
.nav-mobile-extra { display: none; }

.hero-inner {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  padding: 120px 0 64px;
  background-image: linear-gradient(135deg, rgba(11, 16, 38, 0.92) 0%, rgba(17, 28, 58, 0.75) 45%, rgba(124, 92, 255, 0.30) 100%), url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-inner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 28, 58, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.hero-badge i { font-size: 12px; }
.hero-inner h1 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin-bottom: 16px;
}
.hero-inner h1 .gradient-text {
  background: linear-gradient(120deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 16px;
  color: var(--text-body);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--ease);
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 229, 255, 0.25);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(124, 92, 255, 0.15));
  border: 1px solid rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  transition: transform var(--ease);
}
.feature-card:hover .feature-icon { transform: rotate(-4deg) scale(1.05); }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--text-title); margin-bottom: 10px; }
.feature-card p { font-size: 14px; line-height: 1.75; color: var(--text-muted); }

.timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.60), rgba(124, 92, 255, 0.60), rgba(255, 200, 118, 0.40));
  transform: translateX(-50%);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  width: calc(50% - 40px);
  padding: 30px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--ease);
}
.timeline-item:hover {
  border-color: rgba(0, 229, 255, 0.25);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-hover);
}
.timeline-item:nth-child(odd) { align-self: flex-start; text-align: right; }
.timeline-item:nth-child(even) { align-self: flex-end; text-align: left; }
.timeline-item::after {
  content: '';
  position: absolute;
  top: 36px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.6), 0 0 6px rgba(0, 229, 255, 0.8);
  right: -46px;
}
.timeline-item:nth-child(even)::after { left: -46px; right: auto; }
.timeline-num {
  font-size: 64px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  margin-bottom: 8px;
  font-family: "Helvetica Neue", sans-serif;
  letter-spacing: -0.04em;
}
.timeline-item h3 { font-size: 20px; font-weight: 700; color: var(--text-title); margin-bottom: 10px; }
.timeline-item p { font-size: 14px; line-height: 1.8; color: var(--text-muted); }

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}
.split-grid:last-child { margin-bottom: 0; }
.split-media {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  position: relative;
}
.split-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.split-grid:hover .split-media img { transform: scale(1.03); }
.split-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 16, 38, 0.4) 100%);
}
.split-text h3 { font-size: 24px; font-weight: 800; color: var(--text-title); margin-bottom: 14px; }
.split-text p { font-size: 15px; line-height: 1.85; color: var(--text-body); margin-bottom: 16px; }
.split-text .text-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-top: 8px;
}
.split-grid.reversed .split-media { order: 2; }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--ease);
}
.faq-item:first-of-type { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.faq-item:hover { background: rgba(255, 255, 255, 0.03); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 24px 8px;
  color: var(--text-title);
  font-size: 16px;
  font-weight: 600;
  transition: color var(--ease);
}
.faq-question:hover { color: var(--accent-cyan); }
.faq-q-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(124, 92, 255, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}
.faq-arrow { margin-left: auto; font-size: 14px; color: var(--text-muted); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.active .faq-arrow { transform: rotate(180deg); color: var(--accent-cyan); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 8px 24px 44px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}
.faq-item.active .faq-question { color: var(--accent-cyan); }

.cta-banner {
  position: relative;
  background: linear-gradient(120deg, #0B1026 0%, #2C1B5E 100%);
  padding: 88px 0;
  text-align: center;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0px, transparent 16px, rgba(255, 255, 255, 0.015) 16px, rgba(255, 255, 255, 0.015) 17px);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cta-banner h2 span {
  background: linear-gradient(120deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-banner p { font-size: 15px; color: var(--text-muted); margin-bottom: 32px; }
.cta-text-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
  transition: all var(--ease);
}
.cta-text-link:hover { color: var(--accent-cyan); border-color: var(--accent-cyan); }

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 64px 0 32px;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 56px;
  margin-bottom: 48px;
}
.footer-brand .logo-text { font-size: 20px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 16px; max-width: 300px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--text-title); margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 2.4;
  transition: all var(--ease);
}
.footer-col a:hover { color: var(--accent-cyan); padding-left: 4px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--text-disabled); }

@media (max-width: 1199px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .main-nav { gap: 20px; }
}
@media (max-width: 991px) {
  .section { padding: var(--space-tablet) 0; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 24, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 998;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .nav-link { font-size: 20px; font-weight: 600; color: var(--text-title); }
  .nav-mobile-extra {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 300px;
  }
  .countdown-pill { display: inline-flex; }
  .header-tools .countdown-pill,
  .header-tools .btn-primary { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .split-grid.reversed .split-media { order: 0; }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .timeline::before { left: 20px; transform: none; }
  .timeline-item::after,
  .timeline-item:nth-child(even)::after {
    left: -34px;
    right: auto;
  }
  .timeline-item:nth-child(odd) { align-self: flex-start; }
  .timeline-item:nth-child(even) { align-self: flex-end; }
  .timeline-item:nth-child(odd)::after {
    left: -34px;
    right: auto;
  }
}
@media (max-width: 767px) {
  .section { padding: var(--space-mobile) 0; }
  .container { padding: 0 16px; }
  .site-header { height: 56px; }
  .nav-inner { height: 56px; gap: 16px; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-inner { min-height: 420px; padding: 100px 0 48px; }
  .hero-inner h1 { font-size: 28px; }
  .hero-sub { font-size: 14px; }
  .hero-actions .btn { width: 100%; }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100%;
    padding: 24px 20px;
  }
  .timeline-item::after,
  .timeline-item:nth-child(odd)::after,
  .timeline-item:nth-child(even)::after { left: 14px; right: auto; }
  .timeline-num { font-size: 52px; }
  .split-media img { height: 240px; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 24px; }
  .footer-top { gap: 32px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cta-banner { padding: 64px 0; }
  .cta-banner h2 { font-size: 24px; }
  .btn-lg { width: 100%; max-width: 320px; }
  .faq-question { font-size: 15px; padding: 20px 4px; }
  .faq-answer-inner { padding-left: 34px; }
}
@media (max-width: 375px) {
  .logo-text { font-size: 15px; }
  .hero-inner h1 { font-size: 24px; }
  .footer-links { grid-template-columns: 1fr; gap: 16px; }
}

/* roulang page: article */
:root {
  --primary-dark: #0B1026;
  --primary-soft: #111C3A;
  --glass-bg: rgba(17, 28, 58, 0.65);
  --glass-hover: rgba(20, 34, 64, 0.80);
  --cyan: #00E5FF;
  --violet: #7C5CFF;
  --gold: #FFC876;
  --mint: #20D9A8;
  --error: #FF5C7A;
  --title-color: #EAF1FF;
  --text-color: #B6C2E0;
  --muted: #7A88A8;
  --disabled: #4B5878;
  --border-subtle: rgba(255, 255, 255, 0.10);
  --border-bright: rgba(0, 229, 255, 0.25);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 12px 40px rgba(0, 229, 255, 0.10);
  --shadow-btn: 0 0 24px rgba(0, 229, 255, 0.35);
  --spacing-section: 96px;
  --spacing-section-md: 72px;
  --spacing-section-sm: 56px;
  --font-stack: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", "Noto Sans SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-stack);
  background: linear-gradient(140deg, #0B1026 0%, #111C3A 55%, #151A3A 100%);
  color: var(--text-color);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; transition: color 0.25s ease, opacity 0.25s ease; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-stack); cursor: pointer; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  z-index: 1000;
  background: rgba(8, 12, 24, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: rgba(8, 12, 24, 0.88);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { font-size: 18px; font-weight: 500; color: var(--title-color); letter-spacing: 0.02em; white-space: nowrap; }
.logo-text strong { color: var(--cyan); font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  padding: 10px 16px;
  color: #B6C2E0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-link:hover { color: var(--title-color); background: rgba(255, 255, 255, 0.05); }
.nav-link.active { color: var(--cyan); font-weight: 600; }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}
.header-tools { display: flex; align-items: center; gap: 16px; }
.countdown-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(0, 229, 255, 0.10);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 999px;
}
.countdown-label { font-size: 12px; color: var(--muted); }
.countdown-time {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #00E5FF, #2C7BFF);
  box-shadow: var(--shadow-btn);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.55);
  filter: brightness(1.08);
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn-sm { padding: 9px 22px; font-size: 14px; }
.btn-lg { padding: 16px 44px; font-size: 17px; }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--cyan);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(0, 229, 255, 0.12); box-shadow: none; filter: none; }
.nav-toggle { display: none; background: none; border: none; color: var(--title-color); font-size: 22px; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; transition: background 0.2s; }
.nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }

.article-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 56px;
  overflow: hidden;
  background: url('/assets/images/backpic/back-1.webp') center 30% no-repeat;
  background-size: cover;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 38, 0.70) 0%, rgba(11, 16, 38, 0.92) 100%);
  z-index: 1;
}
.article-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.6), transparent);
  z-index: 2;
}
.article-hero .container { position: relative; z-index: 3; width: 100%; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #8B96B3; margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { color: #4A5570; }
.breadcrumb .current { color: var(--cyan); }
.article-heading h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--title-color);
  max-width: 900px;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); }
.badge-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.10);
  border: 1px solid rgba(0, 229, 255, 0.18);
}
.meta-item { display: inline-flex; align-items: center; gap: 6px; }
.article-content-section { padding: var(--spacing-section) 0; }
.container-narrow { max-width: 860px; }
.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-color);
}
.article-body p { margin: 0 0 22px; }
.article-body h2 {
  font-size: 27px;
  font-weight: 700;
  color: var(--title-color);
  margin: 44px 0 18px;
  padding-left: 16px;
  border-left: 4px solid var(--cyan);
  line-height: 1.35;
}
.article-body h3 {
  font-size: 21px;
  font-weight: 600;
  color: var(--title-color);
  margin: 36px 0 14px;
}
.article-body h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--title-color);
  margin: 28px 0 12px;
}
.article-body img {
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin: 24px 0;
  height: auto;
}
.article-body ul, .article-body ol { padding-left: 24px; margin: 16px 0 22px; }
.article-body ul li { list-style: disc; margin-bottom: 8px; }
.article-body ol li { list-style: decimal; margin-bottom: 8px; }
.article-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { text-shadow: 0 0 12px rgba(0, 229, 255, 0.4); }
.article-body blockquote {
  margin: 28px 0;
  padding: 22px 24px;
  background: rgba(17, 28, 58, 0.65);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius-md);
  color: var(--text-color);
  font-style: normal;
}
.article-body blockquote p { margin-bottom: 0; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.article-body th, .article-body td {
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 12px 14px;
  text-align: left;
}
.article-body th {
  background: rgba(0, 229, 255, 0.08);
  color: var(--title-color);
  font-weight: 600;
}
.article-body pre {
  background: #0D1428;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-color);
  margin: 24px 0;
}
.article-body code {
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}
.article-body pre code { background: none; padding: 0; color: inherit; }

.not-found {
  text-align: center;
  padding: 80px 24px;
  background: rgba(17, 28, 58, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}
.not-found i { font-size: 48px; color: var(--muted); margin-bottom: 20px; }
.not-found h2 { color: var(--title-color); font-size: 24px; margin-bottom: 12px; }
.not-found p { color: var(--muted); margin-bottom: 28px; }

.post-pagination {
  max-width: 720px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.post-nav-item:hover {
  border-color: var(--border-bright);
  box-shadow: var(--shadow-hover), 0 0 20px rgba(0, 229, 255, 0.08);
  transform: translateY(-2px);
}
.text-right { text-align: right; align-items: flex-end; }
.nav-direction { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.nav-title { font-size: 15px; font-weight: 600; color: var(--title-color); line-height: 1.5; }
.post-nav-item:hover .nav-direction { color: var(--cyan); }

.related-section { padding: 0 0 var(--spacing-section); }
.related-section .section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 36px;
  text-align: center;
  position: relative;
}
.related-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.related-card:hover {
  border-color: var(--border-bright);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.related-thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.related-card:hover .related-thumb img { transform: scale(1.05); }
.related-info { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.related-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--title-color);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}
.related-card:hover .related-info h3 { color: var(--cyan); }

.article-cta {
  padding: 0 0 var(--spacing-section);
}
.cta-banner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 48px;
  border-radius: 24px;
  background: linear-gradient(120deg, #0B1026 0%, #1E1650 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(0, 229, 255, 0.10);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12), transparent 70%);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5), transparent);
}
.cta-banner h2 {
  position: relative;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--title-color);
  margin-bottom: 14px;
  z-index: 1;
}
.cta-banner p {
  position: relative;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 30px;
  z-index: 1;
}
.cta-banner .btn { position: relative; z-index: 1; }

.site-footer {
  background: #070A17;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 64px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2.4fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-brand .logo-text { font-size: 20px; display: flex; gap: 4px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.8; max-width: 360px; margin-top: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { font-size: 15px; font-weight: 600; color: var(--title-color); margin-bottom: 18px; }
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-col a:hover { color: var(--cyan); padding-left: 4px; }
.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--disabled); }

@media (max-width: 1199px) {
  .container { max-width: 100%; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .main-nav {
    position: fixed;
    top: 64px;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    width: min(340px, 80vw);
    padding: 24px;
    background: rgba(8, 12, 24, 0.96);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0 0 0 20px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    height: calc(100vh - 64px);
    overflow-y: auto;
    z-index: 999;
  }
  .main-nav.mobile-open { transform: translateX(0); }
  .nav-link { width: 100%; font-size: 17px; padding: 14px 16px; }
  .nav-link.active::after { left: 18px; top: 50%; transform: translateY(-50%); width: 4px; height: 4px; margin-left: -8px; }
  .nav-toggle { display: flex; }
  .countdown-pill { display: none; }
  .header-tools { gap: 10px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .site-header { height: 56px; }
  .main-nav { top: 56px; height: calc(100vh - 56px); }
  .article-hero { min-height: 320px; padding-top: 80px; }
  .article-heading h1 { font-size: 27px; }
  .article-meta { gap: 12px; }
  .article-content-section { padding: 56px 0; }
  .article-body { font-size: 15px; }
  .article-body h2 { font-size: 22px; }
  .post-pagination { grid-template-columns: 1fr; gap: 14px; }
  .related-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 20px; border-radius: 18px; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }
  .btn-lg { min-height: 50px; padding: 14px 34px; }
  .spacing-section { padding: 56px 0; }
}
@media (max-width: 375px) {
  .logo-text { font-size: 16px; }
  .brand-logo .logo-mark { width: 32px; height: 32px; }
  .btn-lg { width: 100%; }
  .cta-banner h2 { font-size: 21px; }
  .breadcrumb { font-size: 12px; flex-wrap: wrap; }
}

/* roulang page: category2 */
:root {
  --bg-dark: #0B1026;
  --bg-deep: #070A17;
  --bg-card: rgba(17, 28, 58, 0.65);
  --bg-card-hover: rgba(20, 34, 64, 0.80);
  --primary: #00E5FF;
  --primary-dark: #2C7BFF;
  --secondary: #7C5CFF;
  --accent: #FFC876;
  --success: #20D9A8;
  --text-title: #EAF1FF;
  --text-body: #B6C2E0;
  --text-muted: #7A88A8;
  --text-disabled: #4B5878;
  --border-card: rgba(255, 255, 255, 0.10);
  --border-hover: rgba(0, 229, 255, 0.25);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 24px rgba(0, 229, 255, 0.35);
  --shadow-glow-hover: 0 0 32px rgba(0, 229, 255, 0.55);
  --spacing-section: 96px;
  --spacing-section-tablet: 72px;
  --spacing-section-mobile: 56px;
  --font-stack: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", "Noto Sans SC", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background: linear-gradient(180deg, var(--bg-dark) 0%, #111C3A 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 10%, rgba(124, 92, 255, 0.10), transparent 50%),
              radial-gradient(ellipse at 10% 90%, rgba(0, 229, 255, 0.06), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: #6FEFFF;
}

button {
  font-family: var(--font-stack);
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8, 12, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.30);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.logo-text strong {
  color: var(--primary);
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.25s ease, background 0.25s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(0, 229, 255, 0.08);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(0, 229, 255, 0.12);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.18);
}

.countdown-label {
  font-size: 12px;
  color: var(--text-muted);
}

.countdown-time {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
  letter-spacing: 0.05em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-hover);
  color: #fff;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(0, 229, 255, 0.40);
  color: var(--primary);
}

.btn-ghost:hover {
  background: rgba(0, 229, 255, 0.12);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-ghost:active {
  transform: scale(0.97);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: var(--text-title);
  font-size: 20px;
  border: 1px solid var(--border-card);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.25s ease;
}

.nav-toggle:hover {
  background: rgba(0, 229, 255, 0.10);
}

/* ===== Hero ===== */
.category-hero {
  position: relative;
  min-height: 420px;
  padding: 128px 0 64px;
  display: flex;
  align-items: center;
  background-image: url('/assets/images/backpic/back-1.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 16, 38, 0.92) 0%, rgba(11, 16, 38, 0.72) 55%, rgba(20, 16, 48, 0.80) 100%);
}

.category-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.22);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--primary); }
  50% { opacity: 0.6; box-shadow: 0 0 14px var(--primary); }
}

.category-hero h1 {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.category-hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(17, 28, 58, 0.60);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13px;
  color: var(--text-body);
  animation: float-soft 4s ease-in-out infinite;
}

.stat-pill:nth-child(2) {
  animation-delay: 0.8s;
}

.stat-pill:nth-child(3) {
  animation-delay: 1.4s;
}

.stat-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ===== Feature Rows ===== */
.feature-rows {
  padding: var(--spacing-section) 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.15);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reversed .feature-media {
  order: 1;
}

.feature-row.reversed .feature-text {
  order: 2;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.20), rgba(0, 229, 255, 0.10));
  border: 1px solid rgba(124, 92, 255, 0.25);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.feature-row h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.3;
  margin-bottom: 16px;
}

.feature-row p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 20px;
}

.feature-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

.feature-points li i {
  color: var(--success);
  font-size: 14px;
  margin-top: 4px;
  flex-shrink: 0;
}

.feature-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-card);
  aspect-ratio: 4 / 3;
  background: rgba(17, 28, 58, 0.5);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-media:hover img {
  transform: scale(1.03);
}

.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

/* ===== Feature Strip ===== */
.feature-strip {
  padding: 48px 0;
  background: linear-gradient(90deg, rgba(11, 16, 38, 0.90), rgba(30, 20, 64, 0.90), rgba(11, 16, 38, 0.90));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

.feature-strip .strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.strip-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(124, 92, 255, 0.10));
  border: 1px solid rgba(0, 229, 255, 0.20);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strip-item:hover .strip-icon {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.20);
}

.strip-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 2px;
}

.strip-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Reward Grid ===== */
.reward-grid {
  padding: var(--spacing-section) 0;
  position: relative;
  z-index: 1;
}

.reward-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.reward-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.reward-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.30), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.reward-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.10);
  border-color: var(--border-hover);
}

.reward-card:hover::before {
  opacity: 1;
}

.reward-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.reward-card:nth-child(2) .reward-icon {
  background: linear-gradient(135deg, #FFC876, #FF8A3D);
}

.reward-card:nth-child(3) .reward-icon {
  background: linear-gradient(135deg, #20D9A8, #2C7BFF);
}

.reward-card:nth-child(4) .reward-icon {
  background: linear-gradient(135deg, #7C5CFF, #FF5C7A);
}

.reward-card:hover .reward-icon {
  transform: rotate(2deg) scale(1.05);
}

.reward-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
}

.reward-level {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.reward-level.rarity {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.25), rgba(0, 229, 255, 0.15));
  color: #C9B8FF;
  border: 1px solid rgba(124, 92, 255, 0.30);
}

.reward-level.epic {
  background: linear-gradient(135deg, rgba(255, 200, 118, 0.25), rgba(255, 138, 61, 0.15));
  color: #FFD9A0;
  border: 1px solid rgba(255, 200, 118, 0.30);
}

.reward-level.vip {
  background: linear-gradient(135deg, rgba(32, 217, 168, 0.20), rgba(44, 123, 255, 0.15));
  color: #A6F6E0;
  border: 1px solid rgba(32, 217, 168, 0.30);
}

.reward-level.flash {
  background: linear-gradient(135deg, rgba(255, 92, 122, 0.20), rgba(124, 92, 255, 0.15));
  color: #FFB3C0;
  border: 1px solid rgba(255, 92, 122, 0.30);
}

.reward-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}

.reward-condition {
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 6px;
}

.reward-condition i {
  color: var(--accent);
  font-size: 12px;
}

/* ===== Task Progress Preview ===== */
.task-preview {
  padding: var(--spacing-section) 0;
  background: rgba(11, 16, 38, 0.50);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

.task-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.task-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.task-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.task-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-title);
}

.task-card-title i {
  color: var(--primary);
  font-size: 18px;
}

.task-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(0, 229, 255, 0.30);
  color: var(--primary);
  background: rgba(0, 229, 255, 0.08);
}

.task-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s infinite;
}

.task-status.done {
  border-color: rgba(32, 217, 168, 0.30);
  color: var(--success);
  background: rgba(32, 217, 168, 0.08);
}

.task-status.done::before {
  background: var(--success);
  animation: none;
}

.task-status.upcoming {
  border-color: rgba(255, 200, 118, 0.30);
  color: var(--accent);
  background: rgba(255, 200, 118, 0.08);
}

.task-status.upcoming::before {
  background: var(--accent);
  animation: none;
}

.task-progress-wrap {
  margin: 16px 0;
}

.task-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.task-progress-label .percent {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.30);
}

.progress-track {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #20D9A8);
  position: relative;
  max-width: 100%;
  transition: width 1.2s ease;
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px 999px 0 0;
}

.task-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 16px;
}

.task-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  transition: gap 0.3s ease;
}

.task-link:hover {
  gap: 10px;
  color: #6FEFFF;
}

.task-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.task-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.task-meta-item i {
  color: var(--primary);
  font-size: 14px;
}

.meta-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-title);
  font-variant-numeric: tabular-nums;
}

/* ===== FAQ ===== */
.faq-section {
  padding: var(--spacing-section) 0;
  position: relative;
  z-index: 1;
}

.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(8, 12, 24, 0.60);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-q-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(0, 229, 255, 0.10);
  border: 1px solid rgba(0, 229, 255, 0.15);
  flex-shrink: 0;
}

.faq-question-text {
  flex: 1;
  line-height: 1.5;
}

.faq-chevron {
  font-size: 13px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 0 20px 42px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-body);
}

/* ===== CTA ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0B1026 0%, #2C1B5E 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.12);
  filter: blur(80px);
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.08);
  filter: blur(80px);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.3;
  margin-bottom: 12px;
}

.cta-inner p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 28px;
}

.cta-inner .btn {
  min-width: 180px;
  height: 48px;
  padding: 0 32px;
}

.cta-back-link {
  display: block;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.cta-back-link:hover {
  color: var(--primary);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 64px 0 24px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  font-size: 20px;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-col a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-disabled);
}

/* ===== Focus visibility ===== */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
  .reward-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .feature-strip .strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .countdown-pill {
    display: none;
  }

  .header-tools .btn-sm {
    display: none;
  }

  .site-header .main-nav.open {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(8, 12, 24, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid var(--border-card);
  }

  .site-header .main-nav.open .nav-link {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 16px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 56px;
  }

  .feature-row.reversed .feature-media {
    order: 0;
  }

  .feature-row.reversed .feature-text {
    order: 0;
  }

  .task-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --spacing-section: var(--spacing-section-mobile);
  }

  .site-header {
    height: 56px;
  }

  .nav-inner {
    height: 56px;
  }

  .logo-text {
    font-size: 16px;
  }

  .logo-mark {
    width: 32px;
    height: 32px;
  }

  .category-hero {
    min-height: 480px;
    padding: 96px 0 48px;
  }

  .category-hero h1 {
    font-size: 28px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .stat-pill {
    width: 100%;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .reward-cards {
    grid-template-columns: 1fr;
  }

  .feature-strip .strip-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .strip-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .faq-wrap {
    padding: 16px;
  }

  .faq-item.open .faq-answer {
    padding-left: 42px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-top {
    gap: 24px;
  }

  .cta-section {
    padding: 56px 0;
  }

  .cta-inner .btn {
    width: 100%;
    max-width: 280px;
  }

  .task-preview-grid {
    gap: 16px;
  }

  .task-card {
    padding: 20px;
  }

  .task-meta {
    gap: 12px;
  }
}

@media (max-width: 375px) {
  .feature-strip .strip-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-pill {
    padding: 8px 16px;
    font-size: 12px;
  }

  .stat-num {
    font-size: 16px;
  }
}
