/* kazinoleon.fun — Leon / Леон. Аркадный HUD / игровой интерфейс. Палитра «arcade orange-purple». */

:root {
  --bg: #0e0a0a;
  --bg-2: #17111a;
  --bg-3: #1f1724;
  --line: #34283f;
  --line-2: #4a3a58;
  --txt: #f0eaf0;
  --txt-d: #a89aa0;
  --txt-dd: #776673;
  --orange: #ff7518;
  --purple: #a855f7;
  --purple-d: #8a3ee0;
  --good: #57e0a0;
  --r: 4px;
  --r-s: 3px;
  --pixel: 3px;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0;
  font: 16px/1.68 "Overpass", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Arial, sans-serif;
  color: var(--txt);
  background:
    radial-gradient(1000px 560px at 86% -12%, rgba(255, 117, 24, .16) 0%, transparent 60%),
    radial-gradient(860px 560px at -8% 52%, rgba(168, 85, 247, .16) 0%, transparent 58%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* сканлайны аркадного экрана — тонкая горизонтальная сетка поверх фона */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px);
}
img { max-width: 100%; display: block; height: auto }
a { color: var(--orange); text-decoration: none }
a:hover { text-decoration: underline }

/* Silkscreen — только лейблы/цифры/акценты. Утилита. */
.px { font-family: "Silkscreen", "Courier New", monospace; letter-spacing: .5px }

.skip {
  position: absolute; top: -42px; left: 8px;
  padding: 8px 12px; background: var(--orange); color: #180a02;
  border-radius: 3px; z-index: 100; font-weight: 700;
}
.skip:focus { top: 8px }

/* ===== HUD TOP BAR ===== */
.hud {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 22px;
  border-bottom: var(--pixel) solid var(--line);
  background: rgba(14, 10, 10, .9);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 50;
}
.hud__logo { display: flex; align-items: center; gap: 11px; color: var(--txt) }
.hud__logo:hover { text-decoration: none }
.hud__joy {
  width: 32px; height: 32px; flex: none;
  filter: drop-shadow(0 0 8px rgba(255, 117, 24, .55));
}
.hud__mark {
  font-family: "Silkscreen", monospace;
  font-size: 19px; line-height: 1; letter-spacing: 1px; color: var(--orange);
}
.hud__sub {
  display: block; font-family: "Silkscreen", monospace;
  font-size: 8px; color: var(--txt-d);
  letter-spacing: 2px; margin-top: 6px; text-transform: uppercase;
}
.hud__nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap }
.hud__nav a {
  color: var(--txt-d); font-size: 14px; padding: 4px 0; font-weight: 600;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.hud__nav a:hover { color: var(--purple); border-bottom-color: var(--purple); text-decoration: none }

/* ===== CTA ===== */
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: var(--r-s);
  font-family: "Silkscreen", monospace;
  font-weight: 400; font-size: 13px; letter-spacing: .5px;
  border: var(--pixel) solid transparent; white-space: nowrap;
  transition: transform .12s, box-shadow .2s, background .2s;
  cursor: pointer; text-transform: uppercase;
}
.cta:hover { text-decoration: none; transform: translateY(-2px) }
.cta--sm { background: var(--bg-3); color: var(--txt); border-color: var(--line-2); padding: 10px 18px; font-size: 12px }
.cta--sm:hover { border-color: var(--orange); color: var(--orange) }
.cta--coin {
  background: var(--orange); color: #180a02; border-color: #ffb066;
  box-shadow: 0 0 0 var(--pixel) var(--bg), 0 10px 30px -10px rgba(255, 117, 24, .7);
  padding: 15px 30px; font-size: 14px;
}
.cta--coin:hover { background: #ff8a3a; box-shadow: 0 0 0 var(--pixel) var(--bg), 0 0 26px rgba(255, 117, 24, .55) }
.cta--ghost {
  background: transparent; color: var(--purple); border-color: var(--purple);
  padding: 15px 30px; font-size: 14px;
}
.cta--ghost:hover { background: rgba(168, 85, 247, .12); color: var(--txt) }

/* ===== AGGREGATE COUNTER — HUD STAT STRIP ===== */
.stats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; padding: 10px 22px;
  border-bottom: var(--pixel) solid var(--line);
  background: linear-gradient(90deg, rgba(255, 117, 24, .06), rgba(168, 85, 247, .06));
}
.stats__cell {
  display: flex; flex-direction: column; gap: 3px;
  padding: 6px 14px;
  border-right: 1px solid var(--line);
  align-items: flex-start;
}
.stats__cell:last-child { border-right: 0 }
.stats__num {
  font-family: "Silkscreen", monospace;
  font-size: 15px; color: var(--orange); letter-spacing: .5px;
}
.stats__lbl { font-size: 10px; color: var(--txt-d); letter-spacing: 1px; text-transform: uppercase }

/* ===== HERO / STAGE ===== */
.stage {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px;
  padding: 54px 22px 38px;
  max-width: 1220px; margin: 0 auto;
  align-items: center;
}
.stage__chip {
  display: inline-block; font-family: "Silkscreen", monospace;
  font-size: 10px; letter-spacing: 1.4px; color: var(--purple);
  background: rgba(168, 85, 247, .1);
  border: 2px solid rgba(168, 85, 247, .4);
  padding: 7px 13px; border-radius: 3px; margin: 0 0 20px;
  text-transform: uppercase;
}
h1 {
  font-family: "Overpass", sans-serif;
  font-size: clamp(29px, 4.2vw, 46px); line-height: 1.12;
  margin: 0 0 18px; letter-spacing: -.4px; font-weight: 800;
}
.acc { color: var(--orange) }
/* HUD-полоска score/lives — декоративный элемент аркады */
.stage__hp {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 18px; font-family: "Silkscreen", monospace;
  font-size: 10px; color: var(--txt-d); letter-spacing: 1px;
}
.hp-lbl { color: var(--purple) }
.hp-bar {
  flex: 1; min-width: 120px; height: 12px;
  border: 2px solid var(--line-2); border-radius: 2px;
  background: var(--bg-3); overflow: hidden; padding: 1px;
}
.hp-bar i {
  display: block; height: 100%; width: 78%;
  background: repeating-linear-gradient(90deg, var(--orange) 0 8px, var(--bg-3) 8px 10px);
}
.stage__sub { color: var(--txt-d); font-size: 16px; margin: 0 0 14px; line-height: 1.72 }
.stage__btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 30px }
.stage__cab { margin: 0 }
.stage__cab-svg {
  display: block; width: 100%; height: auto;
  border-radius: var(--r);
  border: var(--pixel) solid var(--line-2);
  background:
    radial-gradient(420px 320px at 72% 34%, rgba(255, 117, 24, .18), transparent 60%),
    radial-gradient(360px 280px at 26% 80%, rgba(168, 85, 247, .22), transparent 65%),
    linear-gradient(135deg, #120d16 0%, #1a1220 100%);
  aspect-ratio: 16 / 11;
  box-shadow: 0 0 0 var(--pixel) var(--bg), 0 24px 60px -22px rgba(168, 85, 247, .5);
}
.stage__cab figcaption {
  margin-top: 12px; font-size: 12px; color: var(--txt-dd);
  font-style: italic; text-align: right;
}

/* HI-SCORE / KPI */
.hiscore {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 20px 0 0; border-top: 2px solid var(--line);
}
.hiscore__i { display: flex; flex-direction: column; gap: 4px }
.hiscore__n {
  font-family: "Silkscreen", monospace;
  font-size: 24px; color: var(--orange); letter-spacing: .5px;
}
.hiscore__l { font-size: 10px; color: var(--txt-d); text-transform: uppercase; letter-spacing: 1px }

/* ===== SCREEN (generic section wrapper) ===== */
.screen {
  max-width: 1220px; margin: 0 auto;
  padding: 56px 22px;
}
.eyebrow {
  display: inline-block; font-family: "Silkscreen", monospace;
  font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--purple); margin: 0 0 12px;
}
h2 {
  font-family: "Overpass", sans-serif;
  font-size: clamp(23px, 3vw, 34px); line-height: 1.2;
  margin: 0 0 16px; letter-spacing: -.3px; font-weight: 800;
}
h3 {
  font-family: "Overpass", sans-serif;
  font-size: clamp(17px, 2vw, 22px); line-height: 1.34;
  margin: 26px 0 10px; color: var(--orange); font-weight: 700; letter-spacing: -.2px;
}
p { margin: 0 0 14px; color: var(--txt) }
.lead { color: var(--txt-d); font-size: 16px; margin-bottom: 24px; max-width: 820px; line-height: 1.72 }

/* «экранные» рамки-скринов для акцентных секций */
.welcome, .arena, .continue, .author {
  border: var(--pixel) solid var(--line-2);
  border-radius: var(--r);
  box-shadow: 0 0 0 var(--pixel) var(--bg), inset 0 0 60px rgba(168, 85, 247, .05);
  margin: 30px 22px; max-width: none;
  position: relative;
}
/* пиксельные уголки-«болты» аркадного экрана */
.welcome::before, .welcome::after,
.arena::before, .arena::after {
  content: ""; position: absolute; width: 8px; height: 8px;
  background: var(--orange); top: 10px;
}
.welcome::before, .arena::before { left: 10px }
.welcome::after, .arena::after { right: 10px }

/* ===== WELCOME / BOOSTS ===== */
.welcome {
  background:
    radial-gradient(720px 360px at 82% 26%, rgba(255, 117, 24, .08) 0%, transparent 70%),
    rgba(23, 17, 26, .6);
}
.boosts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 24px 0 26px;
}
.boost {
  background: var(--bg-2);
  border: 2px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px;
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .15s;
}
.boost:hover { border-color: var(--orange); transform: translateY(-3px) }
.boost::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(168, 85, 247, .08), transparent 60%);
  pointer-events: none;
}
.boost__tag {
  font-family: "Silkscreen", monospace;
  font-size: 10px; color: var(--purple); letter-spacing: 1.4px;
  margin-bottom: 10px; text-transform: uppercase;
}
.boost__pct {
  font-family: "Silkscreen", monospace;
  font-size: 30px; line-height: 1; color: var(--orange);
  margin-bottom: 10px; letter-spacing: .5px;
}
.boost__title { font-weight: 700; font-size: 15px; margin-bottom: 6px; line-height: 1.36 }
.boost__desc { font-size: 13px; color: var(--txt-d); line-height: 1.55 }

/* ===== COMBO / THREE STEPS ===== */
.combo {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 22px;
}
.combo__step {
  background: var(--bg-2);
  border: 2px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  position: relative;
}
.combo__n {
  font-family: "Silkscreen", monospace;
  position: absolute; top: 16px; right: 20px;
  font-size: 42px; line-height: 1; color: var(--bg-3);
}
.combo__h {
  font-family: "Overpass", sans-serif;
  font-size: 18px; font-weight: 800; margin-bottom: 12px; color: var(--orange);
}
.combo__step p { color: var(--txt-d); font-size: 14px; margin: 0; line-height: 1.62 }

/* ===== SLOT RACK ===== */
.rack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px; margin: 24px 0;
}
.cart {
  background: var(--bg-2);
  border: 2px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .15s, border-color .2s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.cart:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: 0 16px 34px -14px rgba(255, 117, 24, .5);
}
.cart__art {
  width: 100%; aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  font-family: "Silkscreen", monospace;
  font-size: 17px; color: rgba(240, 234, 240, .96);
  text-align: center; padding: 14px; line-height: 1.4;
  position: relative; overflow: hidden;
}
.cart__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(0,0,0,.45) 100%);
  pointer-events: none;
}
.cv-1 { background: linear-gradient(135deg, #3a1a04 0%, #ff7518 100%); color: #180a02 }
.cv-2 { background: linear-gradient(135deg, #2a123a 0%, #a855f7 100%) }
.cv-3 { background: linear-gradient(135deg, #3a1a04 0%, #ff9a4a 100%); color: #180a02 }
.cv-4 { background: linear-gradient(135deg, #2a123a 0%, #8a3ee0 100%) }
.cv-5 { background: linear-gradient(135deg, #3a1404 0%, #ff7518 100%); color: #180a02 }
.cv-6 { background: linear-gradient(135deg, #2a123a 0%, #a855f7 100%) }
.cv-7 { background: linear-gradient(135deg, #3a2004 0%, #ffab52 100%); color: #180a02 }
.cv-8 { background: linear-gradient(135deg, #2a123a 0%, #8a3ee0 100%) }
.cv-9 { background: linear-gradient(135deg, #3a1a04 0%, #ff7518 100%); color: #180a02 }
.cv-10 { background: linear-gradient(135deg, #241040 0%, #a855f7 100%) }
.cv-11 { background: linear-gradient(135deg, #3a1404 0%, #ff8a3a 100%); color: #180a02 }
.cv-12 { background: linear-gradient(135deg, #2a123a 0%, #9a4af0 100%) }

.cart h3 { font-family: "Overpass", sans-serif; font-size: 15px; margin: 12px 14px 4px; color: var(--txt); font-weight: 700 }
.cart p { font-size: 12px; color: var(--txt-d); margin: 0 14px 12px; line-height: 1.4 }
.cart__btn {
  display: block; padding: 10px; margin: auto 12px 12px;
  background: var(--bg-3); color: var(--txt);
  text-align: center; border-radius: var(--r-s);
  font-family: "Silkscreen", monospace; font-size: 11px; letter-spacing: .5px;
  border: 2px solid var(--line); transition: all .15s; text-transform: uppercase;
}
.cart__btn:hover { background: var(--orange); border-color: var(--orange); color: #180a02; text-decoration: none }

.chips { margin: 22px 0 0 }
.chips__title { font-family: "Silkscreen", monospace; font-size: 11px; color: var(--purple); margin-bottom: 10px; letter-spacing: 1px; text-transform: uppercase }
.chips__row { display: flex; flex-wrap: wrap; gap: 8px }
.chips__row span {
  padding: 6px 13px;
  background: var(--bg-2);
  border: 2px solid var(--line);
  border-radius: 3px;
  font-size: 12px; color: var(--txt-d);
}

/* ===== LOYALTY / LEVELS ===== */
.perks {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  margin-top: 22px;
}
.perk {
  background: var(--bg-2);
  border: 2px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  transition: border-color .2s;
}
.perk:hover { border-color: var(--purple) }
.perk__h { font-family: "Overpass", sans-serif; font-weight: 800; font-size: 18px; margin-bottom: 10px; color: var(--purple) }
.perk p { color: var(--txt-d); font-size: 14px; margin: 0; line-height: 1.64 }

/* VIP-уровни как аркадная шкала прокачки (лесенка вверх) */
.levels {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 6px; margin-top: 16px; align-items: end;
}
.level {
  background: var(--bg-3);
  border: 2px solid var(--line);
  border-radius: var(--r-s);
  padding: 12px 8px 11px;
  text-align: center;
  position: relative;
}
.level:nth-child(1) { transform: translateY(0) }
.level:nth-child(2) { transform: translateY(-8px) }
.level:nth-child(3) { transform: translateY(-16px) }
.level:nth-child(4) { transform: translateY(-24px); border-color: var(--orange) }
.level:nth-child(5) { transform: translateY(-32px); border-color: var(--orange) }
.level:nth-child(6) { transform: translateY(-40px); border-color: var(--orange); background: linear-gradient(135deg, var(--bg-2), rgba(255, 117, 24, .16)) }
.level__n {
  display: block; font-family: "Silkscreen", monospace;
  font-size: 9px; color: var(--txt-dd); margin-bottom: 6px;
}
.level__name {
  font-family: "Silkscreen", monospace;
  font-size: 13px; color: var(--txt);
  display: block; line-height: 1; margin-bottom: 6px;
}
.level__cb { font-size: 11px; color: var(--txt-d) }
.level:nth-child(1) .level__name { color: var(--purple) }
.level:nth-child(6) .level__name { color: var(--orange) }

/* ===== ARENA / TOURNAMENT ===== */
.arena {
  background:
    radial-gradient(640px 360px at 50% 50%, rgba(168, 85, 247, .1) 0%, transparent 70%),
    var(--bg-2);
  text-align: center;
}
.arena__btns { margin: 22px 0 28px }
.arena__kpi {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 22px;
}
.arena__kpi > div {
  background: var(--bg-3);
  border: 2px solid var(--line);
  border-radius: var(--r);
  padding: 18px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.arena__kpi span {
  font-family: "Silkscreen", monospace;
  font-size: 22px; color: var(--orange); margin-bottom: 4px; letter-spacing: .5px;
}
.arena__kpi em { font-size: 14px; font-weight: 700; color: var(--txt); font-style: normal }
.arena__kpi i { font-size: 12px; color: var(--txt-d); font-style: normal; line-height: 1.4 }

/* ===== LIVE TABLES ===== */
.tables {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px; margin-top: 22px;
}
.tbl {
  background: var(--bg-2);
  border: 2px solid var(--line);
  border-radius: var(--r);
  overflow: hidden; position: relative;
  transition: transform .15s, border-color .2s, box-shadow .25s;
}
.tbl:hover {
  transform: translateY(-3px);
  border-color: var(--purple);
  box-shadow: 0 16px 34px -14px rgba(168, 85, 247, .5);
}
.tbl__art {
  width: 100%; aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  font-family: "Silkscreen", monospace;
  font-size: 16px; color: rgba(240, 234, 240, .96);
  padding: 12px; text-align: center; line-height: 1.4;
  position: relative; overflow: hidden;
}
.lv-1 { background: linear-gradient(135deg, #3a1a04 0%, #ff7518 100%); color: #180a02 }
.lv-2 { background: linear-gradient(135deg, #2a123a 0%, #a855f7 100%) }
.lv-3 { background: linear-gradient(135deg, #241040 0%, #8a3ee0 100%) }
.lv-4 { background: linear-gradient(135deg, #3a2004 0%, #ffab52 100%); color: #180a02 }
.lv-5 { background: linear-gradient(135deg, #3a1404 0%, #ff7518 100%); color: #180a02 }
.lv-6 { background: linear-gradient(135deg, #2a123a 0%, #a855f7 100%) }

.tbl__b { padding: 14px 16px 16px; position: relative }
.tbl__t { font-family: "Overpass", sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 4px }
.tbl__s { font-size: 12px; color: var(--txt-d); margin-bottom: 10px }
.tbl__m { font-size: 13px; color: var(--purple); font-weight: 600; margin-bottom: 4px }
.tbl__p { font-size: 12px; color: var(--txt-dd) }
.tbl__live {
  position: absolute; top: 12px; right: 16px;
  background: var(--orange); color: #180a02;
  padding: 3px 10px; border-radius: 3px;
  font-family: "Silkscreen", monospace;
  font-size: 9px; letter-spacing: 1px; text-transform: uppercase;
}

/* ===== BRAND OVERVIEW / MANUAL ===== */
.manual h3 {
  border-left: var(--pixel) solid var(--purple);
  padding-left: 14px; margin-top: 30px;
}
.manual p { color: var(--txt); line-height: 1.74 }
.badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px; padding-top: 22px; border-top: 2px solid var(--line);
}
.bdg {
  padding: 7px 14px;
  background: var(--bg-2);
  border: 2px solid var(--purple);
  border-radius: 3px;
  font-size: 12px; color: var(--txt); letter-spacing: .3px;
}

/* ===== REVIEWS / SCORES ===== */
.scores {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 22px;
}
.score {
  background: var(--bg-2);
  border: 2px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.score__stars { color: var(--orange); font-size: 16px; letter-spacing: 4px }
.score__stars--four .star-off { color: var(--line-2) }
.score__q { font-size: 14px; line-height: 1.64; color: var(--txt); margin: 0; font-style: italic }
.score__meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--txt-d);
  border-top: 1px solid var(--line); padding-top: 14px;
}
.score__a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--orange), var(--purple));
  border-radius: 3px; color: #180a02; font-family: "Silkscreen", monospace; font-size: 13px;
  flex: none;
}

/* ===== CASHIER / RAILS ===== */
.rails {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  margin: 22px 0;
}
.rail {
  background: var(--bg-2);
  border: 2px solid var(--line);
  border-radius: var(--r-s);
  padding: 18px 14px;
  text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.rail__b { font-family: "Silkscreen", monospace; font-size: 13px; color: var(--txt); letter-spacing: .5px }
.rail i { font-size: 11px; color: var(--txt-d); font-style: normal; text-transform: uppercase; letter-spacing: .8px }

.timing {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 8px;
}
.timing > div {
  background: var(--bg-3);
  border: 2px solid var(--line);
  border-radius: var(--r-s);
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.timing em {
  font-family: "Silkscreen", monospace;
  font-size: 16px; color: var(--orange); font-style: normal; letter-spacing: .5px;
}
.timing span { font-size: 12px; color: var(--txt-d) }

/* ===== CONTINUE / FINAL CTA ===== */
.continue {
  text-align: center;
  background:
    radial-gradient(620px 320px at 50% 50%, rgba(255, 117, 24, .14) 0%, transparent 70%),
    var(--bg-2);
}
.continue h2 { margin-bottom: 10px }
.continue p { color: var(--txt-d); margin-bottom: 24px }

/* ===== AUTHOR NOTE ===== */
.author {
  background: rgba(23, 17, 26, .55);
  border-left: var(--pixel) solid var(--orange);
  padding: 36px 30px;
}
.author h2 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 16px }
.author p { color: var(--txt-d); font-size: 14px; line-height: 1.76; max-width: 940px }

/* ===== FAQ ===== */
.faq h2 { margin-bottom: 22px }
details {
  background: var(--bg-2);
  border: 2px solid var(--line);
  border-radius: var(--r-s);
  padding: 16px 20px;
  margin: 0 0 10px;
  transition: border-color .2s;
}
details[open] { border-color: var(--purple) }
summary {
  cursor: pointer; font-weight: 700; list-style: none;
  position: relative; padding-right: 32px;
  display: flex; align-items: center; min-height: 24px;
}
summary::-webkit-details-marker { display: none }
summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px;
  border: 2px solid var(--line); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-family: "Silkscreen", monospace; color: var(--orange); font-size: 14px;
  transition: transform .25s;
}
details[open] summary::after { content: "–"; border-color: var(--purple); color: var(--purple) }
details p { margin: 12px 0 0; color: var(--txt-d); font-size: 15px; line-height: 1.68 }

/* ===== FOOTER ===== */
.foot {
  margin-top: 24px;
  border-top: var(--pixel) solid var(--line);
  background: rgba(14, 10, 10, .7);
}
.foot__top {
  max-width: 1220px; margin: 0 auto;
  padding: 42px 22px 26px;
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 36px;
}
.foot__brand { font-size: 14px; color: var(--txt-d); line-height: 1.66 }
.foot__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px }
.foot__logo span { display: flex; flex-direction: column; line-height: 1.1 }
.foot__name { color: var(--orange); font-family: "Silkscreen", monospace; font-size: 15px; margin-bottom: 4px }
.foot__legal { font-size: 12px; color: var(--txt-dd); margin: 0; line-height: 1.66 }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px }
.foot__col h4 {
  font-family: "Silkscreen", monospace;
  font-size: 11px; color: var(--purple); font-weight: 400;
  letter-spacing: .5px; margin: 0 0 12px; text-transform: uppercase;
}
.foot__col ul { list-style: none; padding: 0; margin: 0 }
.foot__col li {
  font-size: 13px; color: var(--txt-d);
  padding: 4px 0; cursor: default; transition: color .15s;
}
.foot__col li:hover { color: var(--txt) }
.foot__bottom {
  border-top: 1px solid var(--line);
  padding: 16px 22px;
  max-width: 1220px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: var(--txt-dd);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .boosts { grid-template-columns: 1fr }
  .rails { grid-template-columns: repeat(3, 1fr) }
  .arena__kpi { grid-template-columns: repeat(2, 1fr) }
  .scores { grid-template-columns: 1fr }
  .foot__top { grid-template-columns: 1fr }
  .stats { grid-template-columns: repeat(3, 1fr) }
  .stats__cell:nth-child(4), .stats__cell:nth-child(5) { border-top: 1px solid var(--line); padding-top: 8px }
  .levels { grid-template-columns: repeat(3, 1fr) }
  .level { transform: none !important }
}

@media (max-width: 880px) {
  .stage { grid-template-columns: 1fr; gap: 26px; padding-top: 34px }
  .stage__cab { order: -1 }
  .hud__nav { display: none }
  .hud { padding: 11px 14px }
  .screen { padding: 40px 16px }
  .welcome, .arena, .continue, .author { padding: 36px 18px; margin: 22px 14px }
  .combo { grid-template-columns: 1fr }
  .perks { grid-template-columns: 1fr }
  .foot__top { padding: 30px 16px 22px; gap: 22px }
  .foot__cols { grid-template-columns: repeat(2, 1fr); gap: 18px }
  .stats { padding: 8px 14px; grid-template-columns: repeat(2, 1fr) }
  .stats__cell { padding: 4px 10px }
  .timing { grid-template-columns: 1fr }
  .hiscore { grid-template-columns: repeat(2, 1fr) }
}

@media (max-width: 480px) {
  .rack { grid-template-columns: repeat(2, 1fr); gap: 10px }
  .tables { grid-template-columns: 1fr }
  .cart h3 { font-size: 13px }
  .cart p { font-size: 11px }
  .cart__art { font-size: 13px }
  .stage__btns { flex-direction: column; align-items: stretch }
  .cta--coin, .cta--ghost { width: 100% }
  .rails { grid-template-columns: repeat(2, 1fr) }
  .arena__kpi { grid-template-columns: 1fr }
  .foot__cols { grid-template-columns: 1fr }
  .levels { grid-template-columns: repeat(2, 1fr) }
}
