/* B9 Game App — main stylesheet
   Palette derived from official banners: deep emerald + neon green + gold + black */

:root {
  /* Surface */
  --surface-0: #050a08;
  --surface-1: #0c1812;
  --surface-2: #102a1d;
  --surface-3: #163a28;
  --surface-card: rgba(16, 42, 29, 0.75);
  --surface-card-2: rgba(22, 58, 40, 0.85);

  /* Brand */
  --brand-primary: #00d563;
  --brand-primary-dim: #00a64c;
  --brand-primary-bright: #4dff8c;
  --brand-secondary: #1f7a3f;
  --brand-secondary-dark: #0e4d24;

  /* Accent */
  --gold-1: #ffd966;
  --gold-2: #d4a942;
  --gold-3: #8c6e1c;

  /* State */
  --state-alert: #ff4757;
  --state-alert-dim: #b22a36;
  --state-ok: #00d563;

  /* Text */
  --txt-on-dark: #e8f5ec;
  --txt-on-dark-soft: #aac6b3;
  --txt-on-dark-faint: #6e8a78;
  --txt-on-light: #050a08;
  --txt-pure: #ffffff;

  /* Lines */
  --hr-soft: rgba(0, 213, 99, 0.18);
  --hr-strong: rgba(0, 213, 99, 0.42);
  --hr-gold: rgba(255, 217, 102, 0.35);

  /* Sweeps */
  --sweep-bg: radial-gradient(ellipse at 50% -10%, #1f7a3f 0%, #0c1812 45%, #050a08 100%);
  --sweep-brand: linear-gradient(135deg, #4dff8c 0%, #00d563 50%, #00a64c 100%);
  --sweep-brand-soft: linear-gradient(135deg, #00d563 0%, #00a64c 100%);
  --sweep-gold: linear-gradient(135deg, #ffd966 0%, #d4a942 50%, #8c6e1c 100%);
  --sweep-alert: linear-gradient(135deg, #ff4757 0%, #b22a36 100%);
  --sweep-card: linear-gradient(160deg, rgba(31, 122, 63, 0.28) 0%, rgba(12, 24, 18, 0.65) 100%);
  --sweep-night: linear-gradient(180deg, rgba(22, 58, 40, 0.5) 0%, rgba(5, 10, 8, 0.95) 100%);

  /* Halos */
  --halo-1: 0 2px 8px rgba(0, 0, 0, 0.45);
  --halo-2: 0 8px 24px rgba(0, 0, 0, 0.55);
  --halo-3: 0 16px 48px rgba(0, 0, 0, 0.65);
  --halo-brand: 0 6px 22px rgba(0, 213, 99, 0.42);
  --halo-brand-strong: 0 8px 30px rgba(0, 213, 99, 0.6);
  --halo-gold: 0 6px 22px rgba(255, 217, 102, 0.35);

  /* Curves */
  --curve-xs: 6px;
  --curve-s: 10px;
  --curve-m: 14px;
  --curve-l: 22px;
  --curve-pill: 999px;

  /* Type */
  --face-display: 'Sora', 'Inter', system-ui, -apple-system, sans-serif;
  --face-body: 'Sora', 'Inter', system-ui, -apple-system, sans-serif;
  --face-rtl: 'Noto Nastaliq Urdu', serif;

  /* Layout */
  --frame-max: 1200px;
  --inset: 16px;
  --topbar-h: 60px;
  --footstrip-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--face-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--txt-on-dark);
  background: var(--sweep-bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: var(--footstrip-h);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-primary-bright); text-decoration: underline; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--face-display);
  line-height: 1.22;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--txt-pure);
}
h1 { font-size: clamp(1.85rem, 5.5vw, 3rem); }
h2 { font-size: clamp(1.45rem, 4vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.4rem); }
p { margin: 0 0 1em; color: var(--txt-on-dark-soft); }

.frame { max-width: var(--frame-max); margin: 0 auto; padding: 0 var(--inset); }
.muted-text { color: var(--txt-on-dark-faint); }
.brand-text { color: var(--brand-primary); }
.gradient-text {
  background: var(--sweep-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gold-text {
  background: var(--sweep-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   HEADER (different naming: masthead / barnav / hambar)
   ============================================ */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 10, 8, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hr-soft);
  height: var(--topbar-h);
}
.masthead .frame {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mark {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.mark img { height: 36px; width: auto; }
.mark:hover { text-decoration: none; }

.hambar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--curve-s);
  border: 1px solid var(--hr-soft);
}
.hambar i {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brand-primary);
  margin: 0 auto;
  transition: 0.3s;
}
.hambar.active i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hambar.active i:nth-child(2) { opacity: 0; }
.hambar.active i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.barnav { display: none; }

/* Off-canvas */
.offcanvas {
  position: fixed;
  top: var(--topbar-h);
  right: 0;
  width: 86%;
  max-width: 340px;
  height: calc(100vh - var(--topbar-h));
  background: var(--surface-0);
  border-left: 1px solid var(--hr-soft);
  padding: 24px 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  z-index: 99;
}
.offcanvas.active { transform: translateX(0); }
.offcanvas ul { list-style: none; padding: 0; margin: 0; }
.offcanvas li { margin-bottom: 4px; }
.offcanvas a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--curve-s);
  color: var(--txt-on-dark);
  font-weight: 600;
  font-size: 1rem;
}
.offcanvas a:hover { background: var(--surface-2); color: var(--brand-primary); text-decoration: none; }
.offcanvas .go-btn {
  background: var(--sweep-brand);
  color: var(--surface-0);
  text-align: center;
  margin-top: 14px;
  font-weight: 800;
  box-shadow: var(--halo-brand);
}
.offcanvas .lang-row {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--hr-soft);
}
.offcanvas .lang-row a {
  flex: 1;
  text-align: center;
  border: 1px solid var(--hr-soft);
  padding: 10px;
  font-size: 0.9rem;
}
.offcanvas .lang-row a.cur {
  background: var(--surface-3);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.veil {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.veil.active { opacity: 1; pointer-events: all; }

/* ============================================
   SPLASH (hero) — different name
   ============================================ */
.splash {
  position: relative;
  padding: 28px 0 40px;
  overflow: hidden;
}
.splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 213, 99, 0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 217, 102, 0.12), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.splash > * { position: relative; z-index: 1; }
.frame-img {
  border-radius: var(--curve-l);
  overflow: hidden;
  box-shadow: var(--halo-3);
  border: 1px solid var(--hr-soft);
  margin-bottom: 24px;
}
.frame-img img { width: 100%; display: block; transition: transform 0.4s ease; }
.frame-img a { display: block; }
.frame-img a:hover img { transform: scale(1.02); }
.frame-img a:hover { text-decoration: none; }
.splash h1 {
  text-align: center;
  margin-bottom: 14px;
}
.byline {
  text-align: center;
  font-size: 1.05rem;
  color: var(--txt-on-dark-soft);
  margin-bottom: 22px;
}
.bullets {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  font-size: 0.85rem;
  color: var(--txt-on-dark-faint);
}
.bullets span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.bullets b { color: var(--brand-primary); font-weight: 700; }

.hits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

/* Buttons — totally different class names */
.hit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: var(--curve-m);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
  font-family: var(--face-display);
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 0;
  text-align: center;
  line-height: 1.2;
}
.hit:hover { text-decoration: none; transform: translateY(-2px); }
.hit:active { transform: translateY(0); }
.hit-brand {
  background: var(--sweep-brand);
  color: var(--surface-0);
  box-shadow: var(--halo-brand);
}
.hit-brand:hover {
  box-shadow: var(--halo-brand-strong);
  color: var(--surface-0);
  filter: brightness(1.05);
}
.hit-alert {
  background: var(--sweep-alert);
  color: var(--txt-pure);
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}
.hit-alert:hover { color: var(--txt-pure); }
.hit-night {
  background: var(--surface-3);
  color: var(--brand-primary-bright);
  border: 1px solid var(--brand-primary);
  box-shadow: var(--halo-1);
}
.hit-night:hover { color: var(--brand-primary-bright); }
.hit-gold {
  background: var(--sweep-gold);
  color: var(--surface-0);
  box-shadow: var(--halo-gold);
}
.hit-ghost {
  background: rgba(0, 213, 99, 0.08);
  color: var(--brand-primary);
  border: 1px solid var(--hr-strong);
}
.hit-bigger {
  font-size: 1.15rem;
  padding: 18px 28px;
}
.hit-stretch { width: 100%; }

/* ============================================
   PERKS (feature row) — boxes with icons
   ============================================ */
.perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 16px 0;
}
.perk {
  background: var(--surface-card);
  border: 1px solid var(--hr-soft);
  border-radius: var(--curve-m);
  padding: 14px 12px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.perk:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}
.perk em {
  font-style: normal;
  font-size: 1.9rem;
  margin-bottom: 6px;
  display: block;
}
.perk strong {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--txt-pure);
  line-height: 1.2;
}

/* ============================================
   SLABS — content sections
   ============================================ */
.slab {
  padding: 36px 0;
  position: relative;
}
.slab + .slab { border-top: 1px solid var(--hr-soft); }
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-primary-bright);
  background: rgba(0, 213, 99, 0.12);
  padding: 5px 12px;
  border-radius: var(--curve-pill);
  border: 1px solid var(--hr-strong);
  margin-bottom: 12px;
}
.deck {
  font-size: 1.05rem;
  color: var(--txt-on-dark-soft);
  margin-bottom: 24px;
}

/* ============================================
   PATH — install steps
   ============================================ */
.path {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}
.node {
  background: var(--sweep-card);
  border: 1px solid var(--hr-soft);
  border-radius: var(--curve-m);
  padding: 22px 18px;
  position: relative;
  overflow: hidden;
}
.node-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--sweep-brand);
  color: var(--surface-0);
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: 50%;
  margin-bottom: 12px;
  box-shadow: var(--halo-brand);
}
.node h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: var(--txt-pure);
}
.node p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--txt-on-dark-soft);
}

/* ============================================
   GAMECARDS — game type tiles
   ============================================ */
.gamecards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.gamecard {
  background: var(--surface-card);
  border: 1px solid var(--hr-soft);
  border-radius: var(--curve-m);
  padding: 18px 14px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.gamecard:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}
.gamecard em { font-style: normal; font-size: 1.7rem; margin-bottom: 6px; display: block; }
.gamecard h4 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--txt-pure);
  margin: 0 0 4px;
}
.gamecard small {
  font-size: 0.78rem;
  color: var(--txt-on-dark-faint);
  line-height: 1.4;
  display: block;
}

/* ============================================
   META — file info table
   ============================================ */
.meta {
  background: var(--surface-card);
  border: 1px solid var(--hr-soft);
  border-radius: var(--curve-m);
  padding: 0;
  overflow: hidden;
  margin: 22px 0;
}
.meta-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--hr-soft);
  gap: 12px;
}
.meta-row:last-child { border-bottom: 0; }
.meta-row > span:first-child {
  color: var(--txt-on-dark-faint);
  font-size: 0.88rem;
  flex-shrink: 0;
}
.meta-row > span:last-child {
  font-weight: 700;
  color: var(--txt-pure);
  text-align: right;
  font-size: 0.95rem;
}

/* ============================================
   SIGNUP — login mini block
   ============================================ */
.signup {
  background: var(--sweep-card);
  border: 1px solid var(--hr-strong);
  border-radius: var(--curve-l);
  padding: 24px 20px;
  margin-top: 22px;
  position: relative;
  overflow: hidden;
}
.signup::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 213, 99, 0.18), transparent 60%);
  pointer-events: none;
}
.signup > * { position: relative; }
.signup h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.signup-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  counter-reset: signup;
}
.signup-list li {
  counter-increment: signup;
  padding: 10px 0 10px 40px;
  position: relative;
  border-bottom: 1px dashed rgba(0, 213, 99, 0.18);
  font-size: 0.95rem;
  color: var(--txt-on-dark);
}
.signup-list li:last-child { border-bottom: 0; }
.signup-list li::before {
  content: counter(signup);
  position: absolute;
  left: 0;
  top: 8px;
  width: 28px;
  height: 28px;
  background: var(--surface-3);
  color: var(--brand-primary-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  border: 1px solid var(--brand-primary);
}

/* ============================================
   ASKED — FAQ
   ============================================ */
.asked { margin: 22px 0; }
.asked details {
  background: var(--surface-card);
  border: 1px solid var(--hr-soft);
  border-radius: var(--curve-m);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.asked details[open] { border-color: var(--hr-strong); }
.asked summary {
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--txt-pure);
  font-size: 0.98rem;
}
.asked summary::-webkit-details-marker { display: none; }
.asked summary::after {
  content: '+';
  color: var(--brand-primary);
  font-size: 1.6rem;
  font-weight: 300;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.asked details[open] summary::after { transform: rotate(45deg); }
.asked details > div {
  padding: 0 18px 16px;
  color: var(--txt-on-dark-soft);
  font-size: 0.95rem;
}
.asked details > div p { margin: 0 0 0.7em; }
.asked details > div p:last-child { margin-bottom: 0; }

/* ============================================
   ESSAY — long-form SEO block with fade
   ============================================ */
.essay { position: relative; margin-top: 22px; }
.essay-text {
  position: relative;
  max-height: 420px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.essay-text.opened { max-height: 9000px; }
.essay-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(180deg, transparent 0%, var(--surface-1) 90%);
  pointer-events: none;
  transition: opacity 0.4s;
}
.essay-text.opened::after { opacity: 0; }
.essay-text h3 {
  color: var(--txt-pure);
  margin-top: 1.4em;
  font-size: 1.15rem;
}
.essay-text h3:first-child { margin-top: 0; }
.essay-text p {
  font-size: 0.97rem;
  color: var(--txt-on-dark-soft);
  line-height: 1.7;
}
.essay-flip {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 22px;
  background: var(--sweep-brand);
  color: var(--surface-0);
  border-radius: var(--curve-m);
  font-weight: 800;
  margin-top: 14px;
  font-family: var(--face-display);
  font-size: 1rem;
  box-shadow: var(--halo-brand);
}
.essay-flip:hover { box-shadow: var(--halo-brand-strong); }

/* ============================================
   SHOUT — callout block
   ============================================ */
.shout {
  background: var(--sweep-night);
  border: 1px solid var(--brand-primary);
  border-radius: var(--curve-l);
  padding: 30px 22px;
  text-align: center;
  margin: 30px 0;
  box-shadow: var(--halo-2);
  position: relative;
  overflow: hidden;
}
.shout::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 213, 99, 0.22), transparent 60%);
}
.shout > * { position: relative; }
.shout h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--txt-pure);
}
.shout p {
  margin-bottom: 18px;
  color: var(--txt-on-dark);
  font-size: 1rem;
}

/* ============================================
   FOOTGRID — footer
   ============================================ */
.footgrid {
  background: var(--surface-0);
  border-top: 1px solid var(--hr-soft);
  padding: 32px 0 24px;
  margin-top: 36px;
  font-size: 0.88rem;
  color: var(--txt-on-dark-faint);
}
.footrows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.footrows section h4 {
  color: var(--brand-primary);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.footrows ul { list-style: none; padding: 0; margin: 0; }
.footrows li { margin-bottom: 6px; }
.footrows a { color: var(--txt-on-dark-soft); }
.footrows a:hover { color: var(--brand-primary); }
.legalnote {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hr-soft);
  font-size: 0.78rem;
  color: var(--txt-on-dark-faint);
  line-height: 1.6;
}
.eighteenplus {
  display: inline-block;
  background: var(--state-alert-dim);
  color: var(--txt-pure);
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--curve-xs);
  font-size: 0.78rem;
  margin-right: 8px;
  border: 1px solid var(--state-alert);
}

/* ============================================
   FOOTSTRIP — sticky mobile bottom bar
   ============================================ */
.footstrip {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(5, 10, 8, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--hr-strong);
  padding: 10px var(--inset);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.footstrip .hit {
  padding: 12px 14px;
  font-size: 0.92rem;
  width: 100%;
}

/* ============================================
   RTL adjustments
   ============================================ */
[dir="rtl"] body { font-family: var(--face-rtl); line-height: 1.95; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: var(--face-rtl); }
[dir="rtl"] .offcanvas { left: 0; right: auto; border-right: 1px solid var(--hr-soft); border-left: 0; transform: translateX(-100%); }
[dir="rtl"] .offcanvas.active { transform: translateX(0); }
[dir="rtl"] .node-num { font-family: var(--face-display); }
[dir="rtl"] .signup-list li { padding: 10px 40px 10px 0; }
[dir="rtl"] .signup-list li::before { left: auto; right: 0; }
[dir="rtl"] .meta-row > span:first-child { text-align: right; }
[dir="rtl"] .meta-row > span:last-child { text-align: left; }

/* ============================================
   Tablet / Desktop
   ============================================ */
@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .footstrip { display: none; }
  :root { --inset: 24px; }

  .perks { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .gamecards { grid-template-columns: repeat(4, 1fr); }
  .path { grid-template-columns: repeat(2, 1fr); }
  .hits { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .hits .hit { min-width: 220px; }
  .footrows { grid-template-columns: 2fr 1fr 1fr; }
  .meta-grid { grid-template-columns: 1fr 1fr; }
  .meta-row:nth-last-child(2) { border-bottom: 0; }
}

@media (min-width: 1024px) {
  :root { --inset: 32px; --topbar-h: 74px; }
  .hambar { display: none; }
  .offcanvas, .veil { display: none !important; }

  .barnav {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .barnav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 4px;
  }
  .barnav a {
    padding: 8px 14px;
    border-radius: var(--curve-s);
    color: var(--txt-on-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
  }
  .barnav a:hover { background: var(--surface-2); color: var(--brand-primary); text-decoration: none; }
  .barnav .go-btn {
    background: var(--sweep-brand);
    color: var(--surface-0);
    font-weight: 800;
    margin-left: 8px;
    box-shadow: var(--halo-brand);
  }
  .barnav .go-btn:hover { color: var(--surface-0); }
  .barnav .lang-tag {
    margin-left: 6px;
    padding: 6px 10px;
    border: 1px solid var(--hr-strong);
    border-radius: var(--curve-pill);
    font-size: 0.85rem;
    color: var(--brand-primary);
    font-weight: 700;
  }

  .path { grid-template-columns: repeat(4, 1fr); }
  .splash { padding: 50px 0 60px; }
  .perks { gap: 20px; }
  .perk { padding: 22px 16px; }
  .perk em { font-size: 2.4rem; }
  .perk strong { font-size: 0.98rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
