:root {
  --night: #07121c;
  --pitch: #0b2014;
  --pitch-2: #10301d;
  --wall: #0c2a1b;
  --grass: #2fbf5b;
  --gold: #ffc83d;
  --gold-2: #f2a81d;
  --gold-deep: #9a6310;
  --brass: #c98a2e;
  --led-green: #8dffa8;
  --led-amber: #ffbe3b;
  --paper: #f4e9cc;
  --paper-2: #e6d5ab;
  --ink: #1d140a;
  --text: #e9f0e6;
  --muted: #a9b8ad;
  --wood: #6a3d1c;
  --wood-2: #8a5328;
  --discord: #5865f2;
  --frame: 0 0 0 4px #000, 0 0 0 8px var(--gold), 0 0 0 12px #000;
  --radius: 6px;
  --wrap: 1180px;
  --font: Play, var(--noto, system-ui), system-ui, sans-serif;
  --desk: #1a0d06;
  --top: 76px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--text); font: 400 17px/1.6 var(--font); overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
strong { color: var(--gold); font-weight: 700; }
h1, h2, h3 { margin: 0; font-weight: 700; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; padding: 8px 14px; background: var(--gold); color: var(--ink); font-weight: 700; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- LED plaque (the trailer's plaque, with the game's ball and star) ---------- */
.plaque {
  --led: var(--led-green);
  --ball: 36px; --star: 36px;
  display: flex; align-items: center; gap: 12px;
  width: fit-content; max-width: 100%;
  margin: 0 auto;
  padding: 8px 12px;
  position: relative;
  border-radius: 3px;
  background: linear-gradient(180deg, #ffd864 0%, #f4b935 45%, #d99a1f 100%);
  box-shadow: 0 0 0 3px #000, inset 0 3px 0 rgba(255, 255, 255, .5), inset 0 -4px 0 rgba(120, 70, 0, .35), 0 10px 0 -2px rgba(0, 0, 0, .35);
}
.plaque::before, .plaque::after { content: ""; position: absolute; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3c4 0 1.5px, #b07a1c 2px, #5e3b07 3.5px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); }
.plaque::before { left: 5px; }
.plaque::after { right: 5px; }
.plaque--amber { --led: var(--led-amber); }
.plaque--hero { --ball: 44px; --star: 44px; padding: 10px 16px; gap: 14px; }
.plaque--hero .plaque__ball, .plaque--hero .plaque__star { image-rendering: pixelated; }
.plaque__ball {
  flex: none; width: var(--ball); height: var(--ball);
  background: url("/img/ui/ball-spin.png") 0 0 / calc(var(--ball) * 12) var(--ball) no-repeat;
  image-rendering: pixelated;
  animation: spin 1.1s steps(12) infinite;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .45));
}
.plaque__star { flex: none; width: var(--star); height: var(--star); filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .45)); animation: twinkle 2.6s ease-in-out infinite; }
.plaque__led {
  display: block;
  padding: 8px 18px 7px;
  background-color: #050806;
  background-image: radial-gradient(circle at center, rgba(255, 255, 255, .07) 1px, transparent 1.4px), linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 40%);
  background-size: 4px 4px, 100% 100%;
  border: 3px solid #000;
  border-radius: 2px;
  box-shadow: inset 0 0 0 2px #39433a, inset 0 0 0 3px #111, inset 0 8px 18px rgba(0, 0, 0, .85), 0 0 0 2px #8b8f86;
  text-align: center;
}
.led__glow { display: block; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--led) 80%, transparent)) drop-shadow(0 0 14px color-mix(in srgb, var(--led) 40%, transparent)); }
.led__text {
  display: block;
  color: var(--led);
  font: 900 clamp(19px, 2.3vw, 30px)/1.05 Doto, "Courier New", monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-wrap: balance;
}
.plaque--hero .led__text { font-size: clamp(24px, 3.2vw, 42px); }
/* Scripts the Doto font doesn't cover: the text font, cut into LED dots. */
.script-dots .led__text {
  font-family: var(--font); font-weight: 700; letter-spacing: .03em; line-height: 1.15;
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 46%, transparent 54%) 0 0 / 3px 3px;
  mask: radial-gradient(circle at 50% 50%, #000 46%, transparent 54%) 0 0 / 3px 3px;
}
.script-dots .plaque .led__text { font-size: clamp(21px, 2.5vw, 32px); }
.script-dots .plaque--hero .led__text { font-size: clamp(26px, 3.4vw, 46px); -webkit-mask-size: 4px 4px; mask-size: 4px 4px; }
.led__play { display: inline-block; width: 0; height: 0; margin: 0 .45em .06em 0; border-style: solid; border-width: .42em 0 .42em .72em; border-color: transparent transparent transparent currentColor; vertical-align: middle; }

/* ---------- Buttons (the game's chunky buttons) ---------- */
.btn {
  --face: var(--gold); --face-2: var(--gold-2); --ink-btn: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--face) 0%, var(--face-2) 100%);
  color: var(--ink-btn);
  font: 700 17px/1.1 var(--font); text-decoration: none; text-transform: uppercase; letter-spacing: .03em;
  box-shadow: 0 0 0 3px #000, inset 0 2px 0 rgba(255, 255, 255, .5), 0 6px 0 0 #000, 0 6px 0 3px #000;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  white-space: nowrap;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 0 0 3px #000, inset 0 2px 0 rgba(255, 255, 255, .5), 0 8px 0 0 #000, 0 8px 0 3px #000; }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 3px #000, inset 0 2px 0 rgba(255, 255, 255, .35), 0 1px 0 0 #000, 0 1px 0 3px #000; }
.btn--discord { --face: var(--discord); --face-2: #4752c4; --ink-btn: #fff; }
.btn--discord span, .btn--discord svg { filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .45)); }
.btn--lg { padding: 16px 26px; font-size: 19px; }
.btn--sm, .btn--icon { padding: 9px 14px; font-size: 15px; box-shadow: 0 0 0 2px #000, inset 0 2px 0 rgba(255, 255, 255, .45), 0 4px 0 0 #000, 0 4px 0 2px #000; }
.btn--icon { padding: 9px 10px; }
.btn--sm svg, .btn--icon svg { width: 20px; height: 20px; }
.btn--sm:hover, .btn--icon:hover { box-shadow: 0 0 0 2px #000, inset 0 2px 0 rgba(255, 255, 255, .45), 0 5px 0 0 #000, 0 5px 0 2px #000; }

/* ---------- Header: the game window's top bar, with its tabs ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 40; }
.top__bar {
  position: relative;
  display: flex; align-items: flex-end; gap: 24px;
  height: var(--top);
  padding: 0 max(16px, calc((100% - var(--wrap)) / 2));
  background:
    linear-gradient(180deg, rgba(8, 18, 26, .2), rgba(8, 18, 26, .72)),
    url("/img/ui/locker_wall.png") 0 -36px / 80px auto repeat-x,
    #101e29;
  image-rendering: pixelated;
  box-shadow: inset 0 2px 0 rgba(255, 210, 110, .35), 0 3px 0 #000, 0 7px 0 var(--brass), 0 8px 0 #f0c063, 0 11px 0 #000, 0 18px 24px rgba(0, 0, 0, .45);
}
.top__logo { align-self: flex-start; margin-top: 8px; flex: none; position: relative; z-index: 2; }
.top__logo img { width: 148px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .6)); transition: transform .2s ease; }
.top__logo:hover img { transform: scale(1.04) rotate(-1deg); }
.tabs { display: flex; align-items: flex-end; gap: 6px; margin-left: 8px; }
.tab {
  display: inline-flex; align-items: center; gap: 9px;
  height: 46px; padding: 2px 18px 0;
  border: 8px solid transparent;
  border-image: url("/img/ui/tab_off.png") 8 fill / 8px stretch;
  image-rendering: pixelated;
  color: #f4c95d; text-decoration: none;
  font: 700 15px/1 var(--font); text-transform: uppercase; letter-spacing: .05em;
  text-shadow: 0 2px 0 #000;
  margin-bottom: -1px;
  transition: height .15s ease, color .15s ease;
}
.tab__icon { display: grid; place-items: center; width: 28px; height: 28px; flex: none; }
.tab__icon img { max-width: 28px; max-height: 26px; width: auto; height: auto; image-rendering: pixelated; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6)); }
.tab:hover { border-image-source: url("/img/ui/tab_hover.png"); color: #fff; }
.tab { box-shadow: inset 0 1px 0 rgba(255, 230, 160, .18), inset 0 -3px 0 rgba(0, 0, 0, .35); }
.tab[aria-current="true"] { height: 54px; border-image-source: url("/img/ui/tab_on.png"); color: #fff6d8; box-shadow: 0 0 14px rgba(244, 201, 93, .35), inset 0 1px 0 rgba(255, 240, 190, .3); }
.tab[aria-current="true"] .tab__icon img { filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6)) drop-shadow(0 0 6px rgba(255, 210, 110, .6)); }
.chip {
  display: grid; place-items: center; height: 42px; min-width: 46px; padding: 0 10px;
  border: 8px solid transparent; border-image: url("/img/ui/tab_off.png") 8 fill / 8px stretch; image-rendering: pixelated;
  color: #f4c95d; text-decoration: none;
}
.chip:hover { border-image-source: url("/img/ui/tab_hover.png"); color: #fff; }
.chip svg { width: 22px; height: 22px; fill: currentColor; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6)); }
.top__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; align-self: center; }

/* language menu: a paper panel, like the game's sheets */
.lang { position: relative; }
.lang summary {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px;
  list-style: none; cursor: pointer;
  border: 8px solid transparent; border-image: url("/img/ui/tab_off.png") 8 fill / 8px stretch; image-rendering: pixelated;
  color: #f4c95d; font: 700 14px/1 var(--font); letter-spacing: .08em; text-shadow: 0 2px 0 #000;
}
.lang__code { white-space: nowrap; }
.lang summary:hover, .lang[open] summary { border-image-source: url("/img/ui/tab_hover.png"); color: #fff; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; border: 5px solid transparent; border-top-color: var(--gold); margin-top: 5px; }
.lang[open] summary::after { border-top-color: transparent; border-bottom-color: var(--gold); margin: -5px 0 0; }
.lang__globe { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--gold); background: linear-gradient(90deg, transparent 6px, var(--gold) 6px 8px, transparent 8px), linear-gradient(transparent 5px, var(--gold) 5px 7px, transparent 7px); }
.lang__list {
  position: absolute; right: 0; top: calc(100% + 12px);
  display: grid; grid-template-columns: repeat(2, minmax(170px, 1fr)); gap: 2px 8px;
  width: max-content; max-height: min(70vh, 560px); overflow: auto;
  margin: 0; padding: 14px; list-style: none;
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
  border-radius: 6px;
  box-shadow: 0 0 0 3px #000, 0 0 0 8px var(--wood), 0 0 0 11px #000, 0 24px 40px rgba(0, 0, 0, .6);
}
.lang__list a { display: block; padding: 7px 10px; border-radius: 4px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.2; }
.lang__list a:hover { background: rgba(106, 61, 28, .15); }
.lang__list a[aria-current] { background: #234d22; color: #fff; font-weight: 700; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; min-height: calc(100svh - 150px); padding: calc(var(--top) + 64px) 16px 0; overflow: hidden; }
.hero__bg { position: absolute; inset: -12px; z-index: -2; background: var(--wall) url("/img/hero-desk.webp") 50% 62% / cover no-repeat; animation: sway 26s ease-in-out infinite alternate;
  /* fundo recua: mais escuro, menos saturado e um leve desfoque de profundidade, para não disputar com o conteúdo */
  filter: brightness(.62) saturate(.8) blur(1.5px); }
@media (min-aspect-ratio: 16 / 9) { .hero__bg { background-position: 50% 70%; } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 50% 58% at 50% 42%, rgba(6, 14, 12, .6), transparent 72%),
    linear-gradient(180deg, rgba(7, 18, 28, .35) 0%, transparent 14%, transparent 70%, rgba(26, 13, 6, .7) 92%, var(--desk) 100%);
}
/* Hero: logo with a light sweep and sparks, the sign, then one line and the two buttons, each with room to breathe. */
.hero__content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 860px; margin-block: auto; }
.hero__brand { position: relative; width: clamp(260px, min(36vw, 40vh), 600px); max-width: 78vw; }
.hero__logo { position: relative; margin: 0; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .6)); animation: float 6s ease-in-out infinite; }
.hero__logo img { width: 100%; }
.hero__logo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%) -150% 0 / 250% 100% no-repeat;
  -webkit-mask: url("/img/logo.webp") center / 100% 100% no-repeat; mask: url("/img/logo.webp") center / 100% 100% no-repeat;
  animation: shine 8s 1.5s ease-in-out infinite;
}
.spark { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; background: url("/img/ui/spark.png") center / contain no-repeat; image-rendering: pixelated; opacity: 0; animation: sparkle 3.4s ease-in-out infinite; pointer-events: none; }
/* the sign hangs from the crest: logo and plaque read as one piece */
.hero .plaque { position: relative; z-index: 2; margin-top: -22px; padding-block: 6px; animation: pop .7s .2s both cubic-bezier(.2, 1.6, .4, 1); }
.hero .plaque--hero .plaque__ball, .hero .plaque--hero .plaque__star { margin: -10px 0; }
.hero .plaque--hero .led__text { font-size: clamp(20px, 2.2vw, 30px); }
.hero__action { margin-top: clamp(40px, 6vh, 110px); padding: 22px 36px 20px; border-radius: 8px; background: radial-gradient(ellipse at center, rgba(5, 10, 8, .8), rgba(5, 10, 8, .55) 60%, transparent 100%); }
.hero__tagline { margin: 0 0 22px; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15; text-transform: uppercase; letter-spacing: .04em; color: #fff; text-shadow: 0 3px 0 #000, 0 0 24px rgba(0, 0, 0, .7); text-wrap: balance; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.hero__platforms { margin: 22px 0 0; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: #c8d4cb; text-shadow: 0 1px 0 #000, 0 0 8px #000, 0 0 14px #000; }

/* the game strip: the real proportion of the pitch, no stands to the sides */
.strip { position: relative; width: min(1180px, 100%); margin: 64px 0 0; }
.strip__tag {
  position: absolute; left: 22px; top: -17px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  background: #c8102e; color: #fff; font: 700 13px/1 var(--font); letter-spacing: .1em; text-transform: uppercase;
  border-radius: 3px; box-shadow: 0 0 0 3px #000;
}
.strip__tag i { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: blink 1.2s steps(2) infinite; }
.strip__screen { overflow: hidden; border-radius: 4px; box-shadow: var(--frame), 0 30px 60px rgba(0, 0, 0, .6); background: #0f3a1d; aspect-ratio: 2560 / 516; }
.strip__screen video { width: 100%; height: 100%; object-fit: cover; }
.strip figcaption { margin: 16px auto 0; text-align: center; color: #c9b79b; font-size: 14px; letter-spacing: .02em; text-shadow: 0 2px 0 #000; }
@media (min-width: 900px) { .strip figcaption { white-space: nowrap; } }

/* ---------- The desk goes on: trailer and modes sit on the desk's wood ---------- */
.surface {
  position: relative;
  background:
    linear-gradient(180deg, var(--desk) 0, rgba(26, 13, 6, .55) 220px, rgba(18, 9, 4, .62) 70%, rgba(12, 7, 4, .9) calc(100% - 80px), #0b0805 100%),
    radial-gradient(ellipse 80% 60% at 50% 40%, transparent 40%, rgba(0, 0, 0, .45)),
    url("/img/ui/wood.png") 0 0 / 320px auto repeat;
  image-rendering: pixelated;
}

/* ---------- Trailer ---------- */
.trailer { padding: 100px 16px 40px; }
.tv {
  width: min(1100px, 100%); margin: 0 auto; padding: clamp(10px, 1.6vw, 18px);
  background: linear-gradient(180deg, var(--wood-2), var(--wood)); border-radius: 10px;
  box-shadow: 0 0 0 4px #000, inset 0 3px 0 rgba(255, 255, 255, .18), inset 0 -4px 0 rgba(0, 0, 0, .3), 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 120px rgba(47, 191, 91, .12);
}
.tv__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; box-shadow: 0 0 0 4px #000, 0 0 0 7px var(--gold), 0 0 0 10px #000; background: #000; }
.tv__screen video { width: 100%; height: 100%; object-fit: cover; }
.tv__play {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  border: 0; padding: 0 0 11%; cursor: pointer; font: inherit;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .45));
}
.tv__play[hidden] { display: none; }
.tv__play .plaque { transition: transform .18s ease; }
.tv__play:hover .plaque, .tv__play:focus-visible .plaque { transform: scale(1.06); }
.tv__play:hover .led__glow { filter: drop-shadow(0 0 6px var(--led)) drop-shadow(0 0 22px color-mix(in srgb, var(--led) 60%, transparent)); }

/* ---------- Modes ---------- */
.modes { padding: 70px 0 60px; }
.intro { max-width: 860px; margin: 0 auto 70px; text-align: center; font-size: clamp(19px, 2vw, 23px); line-height: 1.55; color: #e5ede2; text-wrap: pretty; }
.modes > .wrap > .plaque { margin-bottom: 40px; }
.modes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.mode {
  background: linear-gradient(180deg, var(--paper), var(--paper-2)); color: var(--ink);
  border-radius: 8px; padding: 16px; margin: 13px;
  box-shadow: 0 0 0 4px #000, 0 0 0 10px var(--wood), 0 0 0 13px #000, 0 30px 50px -10px rgba(0, 0, 0, .6);
}
.mode strong { color: #8a2f00; }
.mode .frame { box-shadow: 0 0 0 3px #000; border-radius: 4px; }
.mode .frame img { width: 514px; max-width: 100%; margin-inline: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.mode__body { padding: 20px 8px 6px; }
.mode__body h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; color: #234d22; margin-bottom: 10px; line-height: 1.2; }
.mode__body p { margin: 0; }

/* ---------- Features ---------- */
.features {
  position: relative; padding: 90px 0 80px;
  background:
    linear-gradient(180deg, #0b0805 0, transparent 140px, transparent calc(100% - 120px), var(--night) 100%),
    repeating-linear-gradient(90deg, var(--pitch) 0 110px, var(--pitch-2) 110px 220px);
}
.features::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(50% - 2px), rgba(255, 255, 255, .06) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)),
    radial-gradient(circle at 50% 50%, transparent 158px, rgba(255, 255, 255, .06) 159px 162px, transparent 163px);
}
.features > .wrap > .plaque { margin-bottom: 70px; }
.feature { position: relative; display: grid; grid-template-columns: 684px 1fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.feature--flip { grid-template-columns: 1fr 684px; }
.feature--flip .feature__media { order: 2; }
.frame { margin: 0; overflow: hidden; border-radius: 4px; box-shadow: var(--frame), 0 30px 60px -12px rgba(0, 0, 0, .7); background: #000; }
.feature .frame { margin: 12px; width: fit-content; }
.frame img, .frame video { width: 100%; }
.feature .frame img { width: 660px; max-width: 100%; }
.feature .frame--video video { width: 660px; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature__num {
  display: inline-block; margin-bottom: 14px; padding: 4px 10px;
  background: #060a07; color: var(--led-amber); font: 900 22px/1 Doto, monospace;
  box-shadow: 0 0 0 2px #000, 0 0 0 4px var(--gold); text-shadow: 0 0 8px rgba(255, 190, 59, .6); border-radius: 2px;
}
.feature h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; text-transform: uppercase; letter-spacing: .02em; color: #fff; text-shadow: 0 3px 0 #000; margin-bottom: 16px; }
.feature p { margin: 0 0 12px; color: #d6e2d5; }
.feature strong, .tile strong, .desk strong { color: #fff; }
.balls + p { margin-top: 18px; }
.balls { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.balls li { position: relative; padding-left: 30px; color: #d6e2d5; }
.balls li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; background: url("/img/ui/ball.png") center / 18px no-repeat; image-rendering: pixelated; }
.mode .balls li { color: var(--ink); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 110px; }
.tile .frame { margin: 12px 12px 26px; }
.tile .frame img { width: 546px; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.tile h3 { font-size: 24px; line-height: 1.15; text-transform: uppercase; color: #fff; text-shadow: 0 3px 0 #000; margin-bottom: 10px; }
.tile p { margin: 0; color: #d6e2d5; }

/* ---------- Desk ---------- */
.desk { padding: 100px 0; background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(98, 60, 160, .22), transparent 70%); }
.desk > .wrap > .plaque { margin-bottom: 44px; }
.monitor {
  position: relative; max-width: 1100px; margin: 0 auto; padding: 14px 14px 30px;
  background: linear-gradient(180deg, #2b3440, #1a2029); border-radius: 12px;
  box-shadow: 0 0 0 4px #000, inset 0 2px 0 rgba(255, 255, 255, .12), 0 40px 70px -16px rgba(0, 0, 0, .8);
}
.monitor::after { content: ""; position: absolute; left: 50%; bottom: 11px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--grass); box-shadow: 0 0 8px var(--grass); }
.monitor img { border-radius: 3px; box-shadow: 0 0 0 3px #000; }
.desk__list { max-width: 980px; margin: 44px auto 0; }
.desk__list .balls { grid-template-columns: 1fr 1fr; gap: 14px 40px; }

/* ---------- Final call ---------- */
.cta { position: relative; isolation: isolate; padding: 120px 16px 130px; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: -1; background: url("/img/desk-wide.webp") center 70% / cover no-repeat; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night) 0%, rgba(7, 18, 28, .35) 35%, rgba(7, 18, 28, .55) 70%, var(--night) 100%); }
.cta__content { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 760px; margin: 0 auto; }
.cta .led__text { font-size: clamp(24px, 2.7vw, 36px); }
.cta .cta__content { max-width: 1000px; padding: 36px clamp(18px, 4vw, 48px) 40px; background: rgba(5, 13, 20, .72); border-radius: 12px; box-shadow: 0 0 0 3px #000, 0 0 0 6px rgba(255, 200, 61, .35), 0 30px 60px rgba(0, 0, 0, .5); backdrop-filter: blur(3px); }
.cta__logo { width: min(300px, 64vw); margin-bottom: 18px; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .6)); }
.cta__content > p { margin: 26px 0 28px; font-size: 19px; text-shadow: 0 2px 6px rgba(0, 0, 0, .9); text-wrap: balance; }
.cta__content > p.cta__small { margin: 28px 0 0; font-size: 15px; color: #c9d6cb; }

/* ---------- Footer ---------- */
.foot { padding: 34px 0 40px; background: #050d14; box-shadow: 0 -3px 0 #000, 0 -7px 0 var(--brass), 0 -10px 0 #000; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot__logo img { width: 140px; }
.foot__links { display: flex; gap: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.foot__links a { color: var(--muted); text-decoration: none; }
.foot__links a:hover { color: var(--gold); }
.foot__langs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #1b2a35; font-size: 14px; }
.foot__langs a { color: #8fa197; text-decoration: none; }
.foot__langs a:hover { color: var(--gold); }
.foot__langs [aria-current] { color: var(--gold); font-weight: 700; }
.foot__legal { margin-top: 18px; font-size: 13px; color: #7d8c83; }

/* ---------- Mobile wishlist dock ---------- */
.dock { display: none; }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; padding: 40px 16px; background: radial-gradient(ellipse at 50% 120%, rgba(47, 191, 91, .3), transparent 60%), var(--night); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes spin { to { background-position: calc(var(--ball) * -12) 0; } }
@keyframes twinkle { 50% { transform: scale(1.12) rotate(8deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes sway { to { transform: translateY(-8px); } }
@keyframes shine { 0%, 55% { background-position: -150% 0; } 85%, 100% { background-position: 250% 0; } }
@keyframes sparkle { 0%, 70%, 100% { opacity: 0; transform: scale(.4); } 80% { opacity: 1; transform: scale(1); } 90% { opacity: .2; transform: scale(.7) rotate(45deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@keyframes blink { 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tab { padding: 2px 12px 0; font-size: 14px; }
  .tab__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 980px) {
  .modes__grid, .feature, .feature--flip, .tiles { grid-template-columns: 1fr; }
  .feature { gap: 26px; margin-bottom: 72px; }
  .feature--flip .feature__media { order: 0; }
  .feature .frame { width: auto; }
  .feature .frame img, .feature .frame--video video { width: 100%; }
  .tiles { margin-top: 72px; gap: 56px; }
}
@media (max-width: 760px) {
  :root { --top: 62px; }
  .tabs { position: absolute; left: 0; right: 0; top: calc(var(--top) + 11px); display: flex; gap: 4px; margin: 0; padding: 4px 8px 0; overflow-x: auto; scrollbar-width: none; background: #0c1720; box-shadow: 0 3px 0 #000; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs { -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
  .tab { flex: 1 0 auto; justify-content: center; height: 42px; padding: 0 8px; gap: 6px; font-size: 12px; letter-spacing: .03em; }
  .tab__label { position: static; width: auto; height: auto; clip-path: none; white-space: nowrap; }
  .tab__icon { width: 22px; height: 22px; }
  .tab__icon img { max-width: 22px; max-height: 20px; }
  .tab[aria-current="true"] { height: 42px; }
  html { scroll-padding-top: calc(var(--top) + 70px); }
  .hero { padding-top: calc(var(--top) + 76px); }
  .top__bar { gap: 10px; padding: 0 12px; }
  .top__logo { margin-top: 6px; }
  .top__logo img { width: 104px; }
  .top__actions { gap: 10px; }
  .btn--sm span { display: none; }
  .lang summary { padding: 0 4px; gap: 6px; font-size: 13px; letter-spacing: .04em; }
  .btn--sm { padding: 9px 10px; }
  .lang__list { position: fixed; left: 12px; right: 12px; top: calc(var(--top) + 14px); width: auto; grid-template-columns: 1fr 1fr; }
  .dock {
    display: block; position: fixed; inset: auto 0 0; z-index: 30; pointer-events: none;
    padding: 22px 16px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(7, 18, 28, 0), rgba(7, 18, 28, .96) 40%);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .dock.on { transform: none; }
  .dock .btn { width: 100%; pointer-events: auto; }
  .foot { padding-bottom: 100px; }
  .strip { width: calc(100% + 32px); margin-inline: -16px; }
  .strip__screen { aspect-ratio: 1180 / 516; border-radius: 0; box-shadow: 0 4px 0 #000, 0 -4px 0 #000, 0 8px 0 var(--gold), 0 -8px 0 var(--gold); }
  .strip__tag { position: relative; left: 16px; top: 0; margin-bottom: 18px; }
  .strip figcaption { padding: 0 16px; }
  .desk__list .balls { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero__bg { background-position: 40% 62%; }
  .hero__cta { flex-direction: column; width: 100%; gap: 16px; }
  .hero__cta .btn { width: 100%; white-space: normal; }
  .btn--lg { font-size: 17px; padding: 14px 18px; }
  .plaque { --ball: 30px; --star: 30px; gap: 7px; padding: 6px 8px; }
  .plaque--hero { --ball: 33px; --star: 33px; gap: 8px; padding: 7px 9px; }
  .plaque--hero .plaque__ball, .plaque--hero .plaque__star { image-rendering: auto; }
  .hero .plaque { margin-top: -14px; }
  .hero .plaque--hero .plaque__ball, .hero .plaque--hero .plaque__star { margin: -6px 0; }
  .hero__action { margin-top: 44px; padding: 18px 0 0; background: none; width: 100%; }
  .hero__tagline { margin: 0 0 22px; }
  .strip { margin-top: 44px; }
  .plaque__led { padding: 5px 10px 4px; }
  .led__text { font-size: 18px; }
  .plaque--hero .led__text { font-size: 21px; }
  .cta .led__text { font-size: 18px; white-space: nowrap; }
  .cta .cta__content { padding: 28px 14px 32px; }
  .mode { margin: 10px; padding: 12px; }
  .feature .frame { margin: 12px 12px 0; }
  .trailer { padding-top: 80px; }
  .features { padding: 70px 0; }
  .features > .wrap > .plaque { margin-bottom: 46px; }
  .monitor { padding: 8px 8px 22px; }
}
@media (max-width: 600px) {
  .tv__play .plaque--hero { --ball: 30px; --star: 30px; gap: 6px; padding: 5px 7px; }
  .tv__play .led__text { font-size: 15px; white-space: nowrap; }
  .tv__play .plaque__led { padding: 4px 8px 3px; }
  .strip { margin-top: 28px; }
}
@media (max-width: 400px) {
  .btn--lg { font-size: 15px; letter-spacing: .01em; padding-inline: 14px; }
}
