/* Sim racing club site: night-pit-lane palette (near black, racing red signal, amber for the hot details),
   Russo One everywhere (the user's choice; Manrope/JetBrains Mono were the text/number faces before). One dark look on purpose. */
:root {
  --bg: #0a0b0d;
  --bg2: #101216;
  --card: #15181d;
  --card2: #1b1f26;
  --line: #262a32;
  --fg: #f1f2f4;
  --muted: #8c929e;
  --accent: #e10600;          /* racing red: fills, buttons, lines */
  --accent-fg: #ff4a3d;       /* the same red, lighter, for text and icons on the dark ground */
  --accent-ink: #ffffff;      /* text on red */
  --accent-dim: rgba(225, 6, 0, .16);
  --hot: #ffb627;             /* amber: live dots, high revs, weekend days */
  --radius: 18px;
  --display: "Russo One", "Arial Black", system-ui, sans-serif;
  --text: "Russo One", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Russo One", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
/* Russo One has one weight: never fake a bold of it. */
* { font-synthesis: none; }
body { background: var(--bg); color: var(--fg); font: 16px/1.6 var(--text); letter-spacing: .01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg { max-width: 100%; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(28px, 4.4vw, 48px); }
h3 { font-size: 18px; line-height: 1.2; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--accent-fg); margin-bottom: 16px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 4px rgba(255, 182, 39, .25); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 182, 39, 0); } }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 15px/1 var(--text); text-decoration: none; padding: 17px 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #ff1f12; }
.btn-ghost { border-color: var(--line); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-fg); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-wide { width: 100%; }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 20; padding-top: env(safe-area-inset-top, 0px); transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(10, 11, 13, .82); backdrop-filter: blur(14px); border-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; width: min(1200px, 100%); margin: 0 auto; padding: 14px 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 17px/1 var(--display); letter-spacing: .02em; text-decoration: none; }
.logo-mark { display: grid; grid-template-columns: repeat(2, 9px); grid-template-rows: repeat(2, 9px); }
.logo-mark i { background: var(--fg); }
.logo-mark i:nth-child(2), .logo-mark i:nth-child(3) { background: var(--accent); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--fg); }
.top-phone { font: 600 14px var(--mono); text-decoration: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger i { display: block; width: 18px; height: 2px; background: var(--fg); transition: transform .2s; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 40px; overflow: hidden;
  background: radial-gradient(1000px 520px at 78% 30%, rgba(225, 6, 0, .10), transparent 60%), radial-gradient(700px 400px at 10% 90%, rgba(255, 182, 39, .06), transparent 60%), var(--bg); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; opacity: .35;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.hero-track { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-track path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 10 14; opacity: .5; animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -480; } }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6.4vw, 84px); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--accent-fg); }
.lead { margin-top: 24px; font-size: clamp(16px, 1.6vw, 19px); color: #c5c9d1; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.telemetry { background: linear-gradient(180deg, rgba(27, 31, 38, .92), rgba(16, 18, 22, .92)); border: 1px solid var(--line); border-radius: 24px; padding: 22px; font-family: var(--mono); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: rotate(-2deg); }
.tm-head { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.tm-rec { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); animation: pulse 1.2s infinite; }
.tm-lap { margin-left: auto; }
.tm-speed { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 10px; }
.tm-speed b { font-size: clamp(56px, 7vw, 84px); line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.tm-speed small { color: var(--muted); font-size: 14px; }
.tm-rev { display: grid; grid-template-columns: repeat(16, 1fr); gap: 4px; margin-bottom: 18px; }
.tm-rev i { height: 10px; border-radius: 2px; background: var(--card2); transition: background .1s; }
.tm-rev i.on { background: #f1f2f4; }
.tm-rev i.on:nth-child(n+9) { background: var(--hot); }
.tm-rev i.on:nth-child(n+13) { background: var(--accent); }
.tm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.tm-row small, .tm-bars small { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.tm-row b { font-size: 18px; font-variant-numeric: tabular-nums; }
.tm-row b.up { color: var(--accent-fg); }
.tm-bars { display: grid; gap: 8px; margin-top: 14px; }
.tm-bars div { display: grid; grid-template-columns: 64px 1fr; align-items: center; }
.tm-bars small { margin: 0; }
.tm-bars span { height: 6px; border-radius: 3px; background: var(--card2); overflow: hidden; }
.tm-bars i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .15s; }
#brk { background: #fff; }

.facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--line); }
.facts > div { padding: 22px 20px 4px 0; display: grid; gap: 6px; }
.facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts b { font: 700 clamp(20px, 2.4vw, 30px)/1 var(--display); letter-spacing: -0.02em; }
.facts span { color: var(--muted); font-size: 13px; line-height: 1.35; }

/* ticker */
.ticker { background: var(--accent); color: var(--accent-ink); overflow: hidden; transform: rotate(-1.2deg); margin: 10px -10px; }
.ticker-in { display: flex; gap: 28px; width: max-content; padding: 14px 0; animation: tick 34s linear infinite; font: 800 18px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.ticker-in i { font-style: normal; font-size: 12px; align-self: center; }
@keyframes tick { to { transform: translateX(-50%); } }

/* sections */
.sec { padding-block: clamp(72px, 10vw, 128px); }
.sec-dark { background: var(--bg2); border-block: 1px solid var(--line); }
.sec-head { margin-bottom: 44px; }
.sec-head.row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.sec-note { color: var(--muted); max-width: 26em; }

.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; transition: border-color .2s, transform .2s; }
.card:hover { border-color: rgba(225, 6, 0, .5); transform: translateY(-4px); }
.card p { color: var(--muted); font-size: 15px; }
.card-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-dim); display: grid; place-items: center; margin-bottom: 8px; }
.card-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-fg); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mode { position: relative; min-height: 340px; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; border: 1px solid var(--line); isolation: isolate; transition: transform .25s; }
.mode:hover { transform: translateY(-6px); }
.mode::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9; transition: opacity .25s; }
.mode::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(10, 11, 13, .92)); }
.m1::before { background: repeating-linear-gradient(115deg, #2a1212 0 22px, #200d0d 22px 44px), radial-gradient(circle at 70% 20%, #e1060066, transparent 55%); background-blend-mode: screen; }
.m2::before { background: radial-gradient(circle at 30% 30%, #ffb62744, transparent 55%), radial-gradient(circle at 80% 60%, #ffffff22, transparent 50%), #1a1112; }
.m3::before { background: radial-gradient(circle at 60% 25%, #c9a46a55, transparent 55%), repeating-radial-gradient(circle at 20% 80%, #241d14 0 6px, #1b160f 6px 14px); }
.m4::before { background: linear-gradient(160deg, #10172a, #0b0d14), repeating-linear-gradient(90deg, transparent 0 46px, #4d7cff33 46px 48px); background-blend-mode: screen; }
.mode-no { position: absolute; top: 22px; left: 26px; font: 700 13px var(--mono); color: var(--accent-fg); }
.mode h3 { font-size: 22px; }
.mode p { color: #c3c7cf; font-size: 14px; }
.mode-tag { align-self: flex-start; font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); }

.cockpit { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.cockpit-art { position: relative; aspect-ratio: 1; max-width: 100%; }
.cockpit-art svg { width: 100%; height: 100%; }
.ck-ring { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 4 8; animation: spin 60s linear infinite; transform-origin: 200px 200px; }
.ck-ring2 { fill: rgba(225, 6, 0, .04); stroke: rgba(225, 6, 0, .25); }
@keyframes spin { to { transform: rotate(360deg); } }
.ck-wheel { fill: var(--card2); stroke: var(--fg); stroke-width: 2; }
.ck-hub { fill: var(--bg); stroke: var(--accent); stroke-width: 2; }
.ck-leds circle { fill: var(--accent); }
.ck-leds circle:nth-child(n+4) { fill: var(--hot); }
.cockpit-art text { font: 700 26px var(--mono); fill: var(--accent-fg); }
.ck-pin { position: absolute; font: 700 12px var(--mono); color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 6px 9px; box-shadow: 0 0 0 6px var(--accent-dim); }
.p1 { top: 30%; left: 10%; } .p2 { top: 66%; right: 18%; } .p3 { top: 18%; right: 14%; }
.specs { list-style: none; display: grid; gap: 4px; margin-top: 28px; }
.specs li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.specs li > b { font: 700 13px var(--mono); color: var(--accent-fg); padding-top: 3px; }
.specs p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* prices */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, .8fr)) minmax(0, 1.2fr); gap: 16px; }
.price, .calc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; }
.price.hot { border-color: rgba(225, 6, 0, .45); background: linear-gradient(180deg, rgba(225, 6, 0, .08), var(--card) 60%); }
.price-when { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.price-val { font-family: var(--display); font-size: 22px; font-weight: 700; }
.price-val b { font-size: clamp(54px, 6vw, 76px); letter-spacing: -0.04em; font-weight: 800; }
.price-val small { font: 500 14px var(--text); color: var(--muted); margin-left: 6px; }
.price-hours { font: 500 15px var(--mono); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; }
.seg button { border: 0; background: transparent; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--muted); transition: background .2s, color .2s; }
.seg button.on { background: var(--accent); color: var(--accent-ink); }
.seg button:disabled { opacity: .35; cursor: default; }
.range { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.range b { color: var(--fg); font-family: var(--mono); }
input[type=range] { accent-color: var(--accent); width: 100%; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.calc-total b { font: 800 32px var(--display); color: var(--accent-fg); }

/* booking */
.booking { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 30px; }
.bk-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; } /* steps 2 and 3 one under the other, like the rest */
/* align-content: start — in a row of two steps the shorter one must not stretch its buttons to the taller one's height */
.bk-step { display: grid; gap: 14px; min-width: 0; align-content: start; justify-items: start; }
.bk-step > .days, .bk-step > .slots, .bk-step > .fields, .bk-step > .bk-summary, .bk-step > .btn-wide, .bk-step > .bk-error, .bk-step > .consent { justify-self: stretch; }
.bk-label { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.bk-label span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--mono); background: var(--accent-dim); color: var(--accent-fg); }
.bk-label em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 14px; }
.bk-which { display: grid; gap: 10px; transition: opacity .25s; }
.bk-which.locked { opacity: .38; pointer-events: none; user-select: none; }
.bk-hint { margin: 0; min-height: 1.3em; font-size: 13px; color: var(--muted); }
.bk-hint.todo { color: var(--accent-fg); font-weight: 700; }
/* step by step: a locked step is dimmed and can't be clicked; a done step has its number lit */
.bk-step { transition: opacity .25s; }
.bk-step.locked { opacity: .38; pointer-events: none; user-select: none; }
.bk-step .bk-wait { display: none; font-size: 12px; font-weight: 500; color: var(--muted); }
.bk-step.locked .bk-wait { display: inline; }
.bk-step.locked .bk-wait::before { content: "· "; }
.bk-step.done .bk-label span { background: var(--accent); color: var(--accent-ink); }
.bk-sub { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.bk-sub small { font-weight: 500; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day { flex: 0 0 auto; width: 74px; border: 1px solid var(--line); background: var(--bg); border-radius: 14px; padding: 10px 0; display: grid; gap: 4px; justify-items: center; cursor: pointer; transition: border-color .2s; }
.day small { font-size: 11px; color: var(--muted); }
.day b { font: 700 18px var(--display); letter-spacing: -.02em; }
.day.we small { color: var(--hot); }
.day:hover { border-color: var(--muted); }
.day.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.day.on small { color: var(--accent-ink); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slots > p { grid-column: 1 / -1; margin: 0; }
.slot { border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 10px 6px; display: grid; gap: 2px; justify-items: center; cursor: pointer; font: 700 16px var(--mono); transition: border-color .2s; }
.slot small { font: 500 11px var(--text); color: var(--muted); }
.slot:hover { border-color: var(--accent); }
.slot.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.slot.on small { color: var(--accent-ink); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fields label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.fields label small { font-size: 12px; }
.fields .wide { grid-column: 1 / -1; }
.fields input { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 16px; color: var(--fg); min-width: 0; }
.fields input:focus { outline: none; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { accent-color: var(--accent); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.bk-summary { background: var(--bg); border: 1px dashed var(--line); border-radius: 14px; padding: 14px 16px; font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.bk-summary b { color: var(--accent-fg); }
.bk-error { color: #ff6b5e; font-weight: 600; min-height: 1.2em; }
.bk-done { text-align: center; padding: 40px 10px; display: grid; gap: 14px; justify-items: center; }
.bk-done .flag { font-size: 52px; }
.bk-done h3 { font-size: 26px; }
.bk-done p { color: var(--muted); max-width: 30em; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(225, 6, 0, .4); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 34px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 400 26px var(--mono); color: var(--accent-fg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* contacts */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.cinfo { display: grid; gap: 0; margin-top: 28px; }
.cinfo div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.cinfo dt { color: var(--muted); font-size: 14px; }
.cinfo dd { font-weight: 600; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cta-box { border-radius: 24px; padding: clamp(28px, 4vw, 48px); background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, .22), transparent 50%), repeating-linear-gradient(135deg, transparent 0 40px, rgba(0, 0, 0, .06) 40px 80px), var(--accent); color: var(--accent-ink); display: grid; gap: 26px; justify-items: start; }
.cta-big { font: 800 clamp(26px, 3.4vw, 40px)/1.1 var(--display); letter-spacing: -0.03em; }
.cta-box .btn-accent { background: var(--accent-ink); color: var(--accent-fg); }

.foot { border-top: 1px solid var(--line); padding: 30px 0 calc(30px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot-in .logo { color: var(--fg); margin-right: auto; }
.sticky-cta { display: none; }

/* reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* tablets */
@media (max-width: 1000px) {
  .hero-in, .cockpit, .contacts { grid-template-columns: minmax(0, 1fr); }
  .telemetry { max-width: 440px; transform: none; }
  .cards4, .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc { grid-column: 1 / -1; }
  .cockpit-art { max-width: 420px; }
}
/* phones */
@media (max-width: 760px) {
  .nav { position: fixed; inset: 0 0 auto; top: 0; padding: calc(84px + env(safe-area-inset-top, 0px)) 20px 28px; flex-direction: column; gap: 4px; background: rgba(10, 11, 13, .97); border-bottom: 1px solid var(--line); transform: translateY(-110%); transition: transform .3s; z-index: -1; }
  .nav.open { transform: none; }
  .nav a { font: 700 22px var(--display); color: var(--fg); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .top-in { gap: 12px; }
  .top-in .btn-sm, .top-phone { display: none; }
  .logo { margin-right: auto; }
  .burger { display: flex; }
  .hero { min-height: auto; padding-top: 110px; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  .facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards4, .modes, .prices, .fields { grid-template-columns: minmax(0, 1fr); }
  .mode { min-height: 240px; }
  .bk-row { grid-template-columns: minmax(0, 1fr); }
  .cinfo div { grid-template-columns: 100px 1fr; }
  .sticky-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 15; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .3s, opacity .3s; }
  .sticky-cta.hide { transform: translateY(140%); opacity: 0; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* privacy page */
.policy { max-width: 760px; padding-block: 40px 80px; display: grid; gap: 16px; }
.policy h1 { font-size: clamp(28px, 5vw, 42px); margin: 24px 0 8px; }
.policy h2 { font-size: 20px; margin-top: 16px; }
.policy p { color: #c5c9d1; }

/* --- Gudron additions: logo image, the hall photo, price packages, extras, competitions, certificates --- */
.logo img { display: block; height: 40px; width: auto; }
.logo-tag { display: block; font: 600 11px/1.25 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-left: 14px; border-left: 2px solid var(--accent); }
.foot .logo img { height: 22px; }
.hall { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.hall img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1066; object-fit: cover; }
.hall figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.hall figcaption span { font: 700 13px var(--mono); padding: 8px 12px; border-radius: 999px; background: rgba(10, 11, 13, .75); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .15); }
.hall figcaption span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.price-list { list-style: none; display: grid; gap: 0; margin: 6px 0 4px; }
.price-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.price-list span { color: var(--muted); font-size: 15px; }
.price-list b { font: 700 20px var(--display); }
.price-list em { font: 600 12px var(--mono); font-style: normal; color: var(--accent-fg); background: var(--accent-dim); padding: 3px 7px; border-radius: 999px; }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.extra { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border: 1px dashed var(--line); border-radius: var(--radius); }
.extra b { font: 800 20px var(--display); color: var(--accent-fg); white-space: nowrap; }
.extra span { color: var(--muted); font-size: 14px; }
.extra a { color: var(--fg); }
.races { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.race { position: relative; display: grid; gap: 8px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--card2), var(--card)); transition: border-color .2s, transform .2s; }
.race::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; z-index: -1; opacity: .12;
  background: conic-gradient(#fff 0 25%, transparent 0 50%, #fff 0 75%, transparent 0); background-size: 40px 40px; transform: rotate(12deg); }
.race:hover { border-color: rgba(225, 6, 0, .5); transform: translateY(-4px); }
.race-state { justify-self: start; font: 700 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.race-state.live { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.race-series { color: var(--accent-fg); font: 600 13px var(--mono); margin-top: 8px; }
.race h3 { font-size: 24px; }
.race-dates { font: 500 15px var(--mono); color: var(--muted); }
.race-go { margin-top: 10px; font-weight: 700; font-size: 14px; }
.gift { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.gift .sec-note { margin-top: 18px; }
.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cert { display: grid; gap: 6px; padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; }
.cert::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: repeating-linear-gradient(180deg, var(--fg) 0 6px, var(--bg) 6px 12px); opacity: .5; }
.cert span { color: var(--muted); font-size: 14px; }
.cert b { font: 800 24px var(--display); }
.cert.other { grid-column: span 3; display: flex; justify-content: space-between; align-items: center; }
.cert.other b { font-size: 16px; color: var(--accent-fg); }
@media (max-width: 1000px) { .gift { grid-template-columns: minmax(0, 1fr); } .extras { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert.other { grid-column: span 2; }
  .hall figcaption { left: 10px; right: 10px; bottom: 10px; gap: 6px; }
  .hall figcaption span { font-size: 11px; padding: 6px 9px; }
  .logo img { height: 32px; }
  .logo-tag { font-size: 9px; padding-left: 10px; letter-spacing: .06em; }
}
@media (max-width: 360px) { .logo-tag { display: none; } }

/* hall gallery: the big hall photo, a tall rally shot on the right, two more under the big one; click = full size */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: clamp(240px, 30vw, 420px) clamp(170px, 19vw, 270px); gap: 14px; }
.gallery .g { position: relative; margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--card); cursor: zoom-in; }
.gallery .g img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery .g:hover img { transform: scale(1.03); }
.gallery .g-main { grid-column: 1 / 3; grid-row: 1; }
.gallery .g-port { grid-column: 3; grid-row: 1 / 3; }
.gallery .g-port img { object-position: 50% 35%; }
.gallery figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.gallery figcaption span { font: 700 13px var(--mono); padding: 8px 12px; border-radius: 999px; background: rgba(10, 11, 13, .75); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .15); }
.gallery figcaption span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.lightbox { margin: auto; padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 6, 8, .92); }
.lightbox img { display: block; max-width: 96vw; max-height: 92vh; border-radius: 12px; }
.lb-x { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(10, 11, 13, .6); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 230px 150px 150px; gap: 10px; }
  .gallery .g-main { grid-column: 1 / 3; grid-row: 1; }
  .gallery .g-port { grid-column: 1; grid-row: 2 / 4; }
  .gallery figcaption { left: 10px; right: 10px; bottom: 10px; gap: 6px; }
  .gallery figcaption span { font-size: 11px; padding: 6px 9px; }
}

/* discipline cards with a game shot: the photo under the dark bottom gradient, so the text stays readable */
.mode .mode-bg { position: absolute; inset: 0; z-index: -1; }
.mode .mode-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; transition: transform .6s ease; }
.mode.has-photo::before { opacity: 0; }
.mode.has-photo::after { background: linear-gradient(180deg, rgba(10, 11, 13, .15) 0%, rgba(10, 11, 13, .35) 40%, rgba(10, 11, 13, .95) 100%); }
.mode.has-photo:hover .mode-bg img { transform: scale(1.05); }
.mode.has-photo .mode-no { background: rgba(10, 11, 13, .6); padding: 3px 7px; border-radius: 6px; }

/* games: a card per game, coloured by genre (a stripe and a soft glow), filter chips above */
.genres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.genres button { border: 1px solid var(--line); background: var(--card); color: var(--muted); border-radius: 999px; padding: 9px 16px; font: 600 14px var(--text); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.genres button b { color: var(--fg); margin-left: 4px; }
.genres button:hover { color: var(--fg); border-color: var(--muted); }
.genres button.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.genres button.on b { color: var(--accent-ink); }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.game { --g: #8c929e; position: relative; isolation: isolate; overflow: hidden; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--g) 22%, transparent), transparent 60%), var(--card);
  transition: transform .25s, border-color .25s; }
.game::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--g); }
.game:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--g) 60%, var(--line)); }
.game[hidden] { display: none; }
.g-ring { --g: #e10600; } .g-f1 { --g: #ff4a3d; } .g-rally { --g: #ffb627; } .g-drift { --g: #b05cff; }
.g-kart { --g: #3ddc84; } .g-fun { --g: #2fa8ff; } .g-drive { --g: #9aa3b2; }
.game-no { position: absolute; top: 18px; right: 20px; font: 700 13px var(--mono); color: var(--muted); }
.game-genre { align-self: flex-start; font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--g); padding: 6px 9px; border-radius: 999px; background: color-mix(in srgb, var(--g) 14%, transparent); }
.game h3 { font-size: 22px; line-height: 1.15; }
.game p { color: #c3c7cf; font-size: 14px; }
.game .game-bg { position: absolute; inset: 0; z-index: -1; }
.game .game-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; transition: transform .6s ease; }
.game.has-photo { background: #0a0b0d; }
.game.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 11, 13, .2), rgba(10, 11, 13, .55) 45%, rgba(10, 11, 13, .95)); }
.game.has-photo:hover .game-bg img { transform: scale(1.05); }
.game.has-photo .game-no { color: #fff; }
.games-more { margin-top: 18px; }
.games-more a { color: var(--accent-fg); font-weight: 700; text-decoration: none; }
.games-more a:hover { text-decoration: underline; }

/* a «wrap» section that gets the dark background (blocks alternate over the shown ones): stretch the background
   to the screen edges while the content keeps its width */
.sec.wrap.sec-dark { border: 0; box-shadow: 0 0 0 100vmax var(--bg2); clip-path: inset(0 -100vmax); }

/* competition page */
.race-page .nav { position: static; transform: none; flex-direction: row; padding: 0; background: none; border: 0; z-index: auto; margin-left: auto; }
.race-page .nav a { font: 600 14px var(--text); color: var(--muted); padding: 0; border: 0; }
.race-page .top-in .btn-sm { display: inline-flex; }
.race-main { padding-top: calc(110px + env(safe-area-inset-top, 0px)); padding-bottom: 60px; display: grid; gap: 40px; }
.race-hero { display: grid; gap: 18px; justify-items: start; }
.race-hero h1 { font-size: clamp(30px, 5vw, 56px); letter-spacing: -0.02em; }
.race-hero .kicker { margin: 0; gap: 12px; }
.race-state.soon, .race-state.done { color: var(--muted); }
.race-state.live { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.race-facts { display: flex; flex-wrap: wrap; gap: 10px; }
.race-facts div { display: grid; gap: 4px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.race-facts small { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.race-facts b { font-weight: 400; font-size: 16px; }
.race-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.race-body h2 { font-size: 26px; margin-bottom: 14px; }
.race-body h2 small { font: 400 14px var(--text); color: var(--muted); margin-left: 8px; }
.race-about p { color: #c5c9d1; margin-bottom: 12px; }
.race-about .ext { color: var(--accent-fg); }
.race-table .table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.standings { width: 100%; border-collapse: collapse; font-size: 15px; }
.standings th { text-align: left; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.standings td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.standings tr:last-child td { border-bottom: 0; }
.standings .r { text-align: right; }
.standings .pl { width: 44px; font-size: 18px; text-align: center; color: var(--muted); }
.standings .pilot small { display: block; color: var(--muted); font-size: 12px; }
.standings .time { font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.standings .gap { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.standings tr.top1 td { background: linear-gradient(90deg, rgba(225, 6, 0, .18), transparent 70%); }
.standings tr.top1 .time { color: var(--accent-fg); }
.race-lead { font-size: 14px; color: #d9dce2; }
.race-lead b { font-weight: 400; color: var(--accent-fg); }
@media (max-width: 900px) { .race-body { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .race-page .logo-tag { display: none; } .race-page .nav a { font-size: 13px; } }

/* booking page: the form, with prices / how it works / contacts beside it */
.book-page .top-phone { display: inline; margin-left: 18px; }
.book-hero .lead { margin-top: 0; }
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.book-side { display: grid; gap: 14px; position: sticky; top: 96px; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; }
.side-card h2 { font-size: 18px; }
.side-prices { width: 100%; border-collapse: collapse; font-size: 15px; }
.side-prices th { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: right; padding: 0 0 8px; }
.side-prices td { padding: 8px 0; border-top: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.side-prices td:first-child { text-align: left; color: var(--muted); }
.side-note { color: var(--muted); font-size: 14px; }
.side-note a { color: var(--accent-fg); }
.steps { padding-left: 20px; display: grid; gap: 8px; color: #c5c9d1; font-size: 14px; }
.steps b { color: var(--fg); font-weight: 400; }
.side-tel { font-size: 22px; text-decoration: none; color: var(--fg); }
.side-card .socials { margin-top: 0; }
@media (max-width: 1000px) { .book-layout { grid-template-columns: minmax(0, 1fr); } .book-side { position: static; } }
@media (max-width: 760px) { .book-page .top-phone { display: none; } }

/* booking button under the calculator total */
#c-book { margin-top: 4px; }

/* the kart picture is almost square: keep the kart, not the logo under it, in the card */
.game.g-kart .game-bg img { object-position: 50% 25%; }
.game.g-drift .game-bg img { object-position: 50% 62%; } /* square cover: show the cars, not the logo */
.game.g-rally .game-bg img { object-position: 28% 50%; } /* wide cover: keep the car */

/* hero: a waving chequered flag behind the telemetry — big, faint, fading towards the headline, swaying slowly */
.hero-flag { position: absolute; top: 4%; right: 4%; width: min(62vw, 880px); height: auto; opacity: .3; pointer-events: none;
  transform: rotate(-8deg); transform-origin: 0 50%;
  mask-image: linear-gradient(105deg, transparent 2%, #000 38%, #000 70%, transparent 100%), linear-gradient(180deg, #000 60%, transparent 100%);
  mask-composite: intersect; -webkit-mask-image: linear-gradient(105deg, transparent 2%, #000 38%, #000 70%, transparent 100%); }
.hero-flag .flag-pole { fill: #8c929e; }
.hero-flag .flag-cloth { transform-origin: 0 180px; animation: flag-wave 6s ease-in-out infinite alternate; } /* the sway; the waves themselves are in site.js */
@keyframes flag-wave { 0% { transform: skewY(-2.5deg) scaleX(1); } 50% { transform: skewY(2deg) scaleX(.98); } 100% { transform: skewY(-1.5deg) scaleX(1.015); } }
@media (max-width: 1000px) { .hero-flag { width: 95vw; top: 2%; right: -22%; opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .hero-flag .flag-cloth { animation: none; } }

/* game cards are links now */
a.game { color: inherit; text-decoration: none; }
.game-more { margin-top: 4px; font-size: 13px; color: var(--accent-fg); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.game:hover .game-more, .game:focus-visible .game-more { opacity: 1; transform: none; }
@media (hover: none) { .game-more { opacity: 1; transform: none; } }

/* game page */
.game-main { padding-top: 0; gap: 0; }
.game-hero { --g: #8c929e; position: relative; isolation: isolate; overflow: hidden; padding: calc(130px + env(safe-area-inset-top, 0px)) 0 56px;
  background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--g) 25%, transparent), transparent 60%), var(--bg); }
.game-hero-bg { position: absolute; inset: 0; z-index: -2; }
.game-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(14px) saturate(1.1); transform: scale(1.1); opacity: .55; }
.game-hero.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 11, 13, .95) 0%, rgba(10, 11, 13, .75) 50%, rgba(10, 11, 13, .55) 100%), linear-gradient(180deg, transparent 60%, var(--bg)); }
.game-hero { display: grid; }
.game-hero-in { display: grid; gap: 18px; justify-items: start; max-width: 1200px; }
.game-hero-in h1 { font-size: clamp(34px, 5.5vw, 68px); letter-spacing: -0.02em; max-width: 14em; }
.game-hero-in .lead { margin: 0; max-width: 32em; }
.game-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.game-hero .game-genre { --g: inherit; }
.chip-level { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line); color: #d9dce2; }
.chip-level.lv-beginner { color: #3ddc84; border-color: rgba(61, 220, 132, .4); }
.chip-level.lv-medium { color: #ffb627; border-color: rgba(255, 182, 39, .4); }
.chip-level.lv-hard { color: var(--accent-fg); border-color: rgba(225, 6, 0, .5); }
@media (min-width: 1001px) {
  .game-hero.has-photo { grid-template-columns: 1fr; }
  .game-hero.has-photo .game-hero-in { padding-right: 520px; }
  .game-cover-wrap { position: absolute; left: 0; right: 0; bottom: 56px; pointer-events: none; display: flex; justify-content: flex-end; }
}
.game-cover { display: block; width: min(460px, 100%); pointer-events: auto; }
.game-cover img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); transform: rotate(2deg); }
@media (max-width: 1000px) { .game-cover-wrap { margin-top: 28px; } .game-cover img { transform: none; } }
.game-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; padding-block: 40px; }
.game-body h2 { font-size: 26px; margin-bottom: 14px; }
.game-about p { color: #c5c9d1; margin-bottom: 12px; max-width: 42em; }
.game-feats { margin-top: 28px; }
.game-feats ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.game-feats li { position: relative; padding: 14px 16px 14px 44px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.game-feats li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: conic-gradient(#fff 0 25%, #0a0b0d 0 50%, #fff 0 75%, #0a0b0d 0); background-size: 7px 7px; border-radius: 3px; }
.game-side { display: grid; gap: 14px; position: sticky; top: 96px; }
.multi { font-size: 17px; } .multi b { font-weight: 400; }
.side-price { font-size: 16px; color: var(--muted); } .side-price b { font: 400 30px var(--display); color: var(--fg); }
.game-others { padding-bottom: 60px; }
.game-others h2 { font-size: 26px; margin-bottom: 16px; }
@media (max-width: 1000px) { .game-body { grid-template-columns: minmax(0, 1fr); } .game-side { position: static; } }

/* game cards: the genre goes to the bottom-right corner on a solid dark plate, so it doesn't melt into the cover;
   the bottom row is kept free for it (and «Подробнее →» on the left) */
.games .game { padding-bottom: 58px; }
.games .game .game-genre { position: absolute; right: 16px; bottom: 16px; align-self: auto; z-index: 1;
  background: rgba(10, 11, 13, .82); border: 1px solid color-mix(in srgb, var(--g) 55%, transparent); backdrop-filter: blur(6px); }
.games .game .game-more { position: absolute; left: 22px; bottom: 21px; margin: 0; }
