:root {
  --bg: #0a0d16;
  --bg2: #111626;
  --line: rgba(255, 255, 255, .09);
  --text: #eef1f8;
  --muted: #a3abc2;
  --orange: #ff5a1f;
  --radius: 18px;
  --max: 1240px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.02em; margin: 0; }
.muted { color: var(--muted); }

/* header */
.top {
  position: fixed; inset: 0 0 auto; z-index: 20; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(10, 13, 22, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; color: var(--muted); }
.brand .logo { height: 30px; width: auto; color: #fff; }
.top nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); font-size: 15px; font-weight: 600; }
.top nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.top nav a:not(.btn):hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05);
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }
.btn.primary { background: var(--accent, var(--orange)); border-color: transparent; color: #0a0d16; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.small { min-height: 36px; padding: 0 16px; font-size: 14px; background: var(--orange); border-color: transparent; color: #fff; }
.btn.big { min-height: 58px; padding: 0 32px; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent, var(--orange)); }
.eyebrow span { color: var(--muted); margin-right: 6px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: #d5dbea; margin: 18px 0 0; }

/* intro */
.intro { position: relative; min-height: min(100svh, 940px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 120px clamp(20px, 5vw, 64px) 40px; }
.intro-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,13,22,.94) 0%, rgba(10,13,22,.72) 45%, rgba(10,13,22,.15) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(10,13,22,0) 40%); }
.intro-copy, .stats { position: relative; z-index: 1; max-width: var(--max); width: 100%; margin: 0 auto; }
.intro-copy { padding-bottom: 8px; }
.intro-copy > * { max-width: 640px; }
.intro h1 { font-size: clamp(42px, 6.6vw, 88px); font-weight: 900; max-width: 900px; }
.stats { list-style: none; padding: 26px 0 0; margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); }
.stats strong { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; letter-spacing: -.02em; color: #fff; }
.stats span { font-size: 14px; color: var(--muted); }

/* grid */
.grid-wrap { padding: 40px clamp(20px, 5vw, 64px) 72px; }
.grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.card { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; text-decoration: none; background: var(--bg2); outline: 2px solid transparent; transition: transform .2s, outline-color .2s; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,7,12,.92) 0%, rgba(5,7,12,.1) 60%); }
.card:hover { transform: translateY(-3px); outline-color: var(--accent); }
.card:hover img { transform: scale(1.05); }
.card-num { position: absolute; top: 10px; left: 12px; z-index: 1; font-size: 12px; font-weight: 900; background: rgba(0,0,0,.55); padding: 3px 8px; border-radius: 99px; }
.card-text { position: absolute; left: 14px; right: 12px; bottom: 11px; z-index: 1; display: flex; flex-direction: column; }
.card-text strong { font-size: 17px; line-height: 1.15; }
.card-text small { font-size: 12.5px; color: var(--muted); }

/* game sections */
.game { position: relative; padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 64px); border-top: 1px solid var(--line); overflow: hidden; }
.game::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 25% 40%, color-mix(in srgb, var(--tint) 55%, transparent), transparent 70%); opacity: .8; pointer-events: none; }
.game.flip::before { background: radial-gradient(ellipse 70% 60% at 75% 40%, color-mix(in srgb, var(--tint) 55%, transparent), transparent 70%); }
.game-inner { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.game.flip .game-media { order: 2; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 1px var(--line); }
.video video { width: 100%; height: 100%; object-fit: cover; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.shot { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--bg2); aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px var(--line); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.shot:hover img { transform: scale(1.06); }
.game-copy { padding-top: 4px; }
.game-logo img { max-height: 120px; max-width: 360px; width: auto; filter: drop-shadow(0 8px 24px rgba(0,0,0,.5)); }
.game-title { font-size: clamp(40px, 5vw, 64px); font-weight: 900; }
.tagline { margin: 12px 0 0; font-weight: 800; font-size: 18px; color: var(--accent); }
.pitch { color: var(--muted); margin: 14px 0 0; }
.badges { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: #fff; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.features { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.features li { position: relative; padding-left: 24px; font-size: 15.5px; color: #d5dbea; }
.features li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 32px; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; }

/* offer + contact */
.offer, .contact { padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 64px); border-top: 1px solid var(--line); }
.offer h2, .contact h2 { max-width: var(--max); margin: 0 auto; font-size: clamp(34px, 4.4vw, 56px); font-weight: 900; }
.offer-grid { max-width: var(--max); margin: 36px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.offer-grid > div { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.offer-grid h3 { font-size: 20px; margin-bottom: 10px; }
.offer-grid p { margin: 0; color: var(--muted); font-size: 15.5px; }
.contact { text-align: center; background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(255,90,31,.18), transparent 70%); }
.contact p { color: var(--muted); font-size: 19px; margin: 16px auto 30px; max-width: 560px; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 26px clamp(20px, 5vw, 64px); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer a { text-decoration: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 4vw; background: rgba(5,7,12,.92); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 12px; box-shadow: 0 30px 90px rgba(0,0,0,.7); }
.lb-close { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }

/* responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .game-inner { grid-template-columns: 1fr; }
  .game.flip .game-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .top nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand span { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-text strong { font-size: 15px; }
  .video { aspect-ratio: 9 / 16; width: min(100%, calc(62svh * 9 / 16)); margin: 0 auto; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .actions .btn { flex: 1 1 auto; }
  .game-logo img { max-width: 100%; max-height: 96px; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro-bg { display: none; }
}
