:root {
  --ink: #070807;
  --paper: #f4f0e6;
  --acid: #dfff37;
  --muted: #aaa99f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Arial, Helvetica, sans-serif; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }

main { min-height: 100vh; overflow: hidden; background: radial-gradient(circle at 75% 11%, #25320f 0, #0b0d08 22%, var(--ink) 50%); }
.site-header { height: 88px; padding: 0 clamp(22px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ffffff1a; position: relative; z-index: 10; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 1000; font-size: 22px; letter-spacing: -1.5px; }
.brand > span:last-child > span { color: var(--acid); margin-left: 4px; }
.brand-mark { width: 41px; height: 41px; display: grid; place-items: center; background: var(--acid); color: var(--ink); transform: skew(-8deg) rotate(-3deg); font-size: 28px; font-style: italic; border-radius: 4px; box-shadow: 4px 4px 0 #ffffff; }
.live-pill { border: 1px solid #ffffff2b; border-radius: 99px; padding: 10px 16px; font-size: 11px; letter-spacing: 2px; font-weight: 800; }
.live-pill i { display: inline-block; width: 7px; height: 7px; background: var(--acid); border-radius: 50%; margin-right: 7px; box-shadow: 0 0 10px var(--acid); }

.hero { min-height: 540px; max-width: 1500px; margin: auto; padding: 64px clamp(22px, 7vw, 106px) 58px; display: grid; grid-template-columns: 1fr; align-items: center; position: relative; }
.hero-copy { position: relative; z-index: 3; padding-bottom: 25px; max-width: 780px; }
.eyebrow { margin: 0 0 20px; font-size: 11px; letter-spacing: 3px; font-weight: 900; color: #dad9ce; }
.eyebrow span { display: inline-block; height: 3px; width: 24px; background: var(--acid); margin: 0 10px 3px 0; }
h1 { margin: 0; font-size: clamp(72px, 9vw, 144px); line-height: .77; letter-spacing: clamp(-8px, -.6vw, -3px); font-weight: 1000; transform: scaleX(.87); transform-origin: left; white-space: nowrap; }
h1 em { color: var(--acid); font-style: italic; text-shadow: 7px 7px 0 #314000; }
.intro { max-width: 460px; color: #b9b9b1; line-height: 1.65; font-size: 16px; margin: 38px 0 30px; }
.jump-link { font-weight: 900; font-size: 12px; letter-spacing: 1.7px; display: inline-flex; align-items: center; gap: 15px; border-bottom: 2px solid var(--acid); padding-bottom: 8px; }
.jump-link b { color: var(--acid); font-size: 18px; }

.games-section { background: var(--paper); color: var(--ink); padding: 78px clamp(22px, 5vw, 76px) 90px; }
.section-heading { max-width: 1370px; margin: 0 auto 34px; display: flex; justify-content: space-between; align-items: end; }
.section-heading .eyebrow { color: #5d5c55; margin-bottom: 12px; }
h2 { margin: 0; font-size: clamp(42px, 5vw, 72px); letter-spacing: -4px; line-height: .9; font-weight: 1000; }
.section-heading > p { color: #77766e; font-size: 14px; }
.game-grid { max-width: 1370px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.game-card { appearance: none; border: 0; padding: 0; color: white; background: #111; aspect-ratio: .76; position: relative; overflow: hidden; cursor: pointer; text-align: left; isolation: isolate; box-shadow: 0 10px 0 var(--accent); transition: transform .25s ease, box-shadow .25s ease; }
.game-card:hover, .game-card:focus-visible { transform: translateY(-9px); box-shadow: 0 19px 0 var(--accent); outline: none; }
.game-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-card:hover img { transform: scale(1.035); }
.card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, #05050566 56%, #050505 100%); z-index: 1; }
.card-number { position: absolute; z-index: 2; top: 19px; right: 20px; font-size: 12px; font-weight: 900; border: 1px solid #ffffff88; border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; }
.card-content { position: absolute; z-index: 3; left: 28px; right: 25px; bottom: 25px; display: flex; flex-direction: column; }
.card-content small { color: var(--accent); font-size: 10px; letter-spacing: 2px; font-weight: 900; margin-bottom: 7px; }
.card-content strong { font-size: clamp(27px, 2.8vw, 45px); letter-spacing: -2.5px; line-height: .95; font-style: italic; font-weight: 1000; }
.card-content > span { color: #c8c8c3; font-size: 12px; margin: 10px 0 18px; line-height: 1.4; }
.card-content b { border-top: 1px solid #ffffff33; padding-top: 15px; font-size: 10px; letter-spacing: 2px; display: flex; justify-content: space-between; }
.card-content b i { color: var(--accent); font-size: 19px; font-style: normal; line-height: .5; }

footer { min-height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; padding: 30px clamp(22px, 5vw, 76px); color: #77776f; font-size: 10px; letter-spacing: 2px; }
footer > span { text-align: right; }
.footer-brand { color: var(--paper); width: fit-content; }

.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: #000c; backdrop-filter: blur(10px); }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(560px, 100%); background: var(--paper); color: var(--ink); border-top: 10px solid var(--acid); padding: 46px; position: relative; box-shadow: 15px 15px 0 #dfff3740; }
.modal .eyebrow { color: #5d5c55; }
.modal h2 { font-size: clamp(43px, 8vw, 68px); }
.modal > p:not(.eyebrow) { color: #66655d; line-height: 1.6; margin: 22px 0 28px; }
.modal-close { position: absolute; top: 12px; right: 18px; border: 0; background: transparent; font-size: 33px; cursor: pointer; }
.modal-action { border: 0; background: var(--ink); color: var(--paper); padding: 15px 20px; font-size: 11px; letter-spacing: 2px; font-weight: 900; cursor: pointer; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; padding-top: 58px; text-align: center; }
  .hero-copy { z-index: 4; }
  .hero .eyebrow { display: none; }
  h1 { transform-origin: center; font-size: clamp(72px, 22vw, 112px); }
  .intro { margin-left: auto; margin-right: auto; }
  .game-grid { grid-template-columns: 1fr; max-width: 560px; gap: 32px; }
  .game-card { aspect-ratio: .9; }
  .card-content strong { font-size: 45px; }
  .section-heading { display: block; text-align: center; }
  .section-heading > p { margin-top: 18px; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  footer > span { text-align: center; }
}

@media (max-width: 520px) {
  .site-header { height: 74px; }
  .live-pill { display: none; }
  .hero { min-height: 560px; padding-bottom: 38px; }
  .intro { font-size: 14px; margin-top: 30px; }
  .games-section { padding-top: 60px; }
  h2 { letter-spacing: -2.5px; }
  .game-card { aspect-ratio: .77; }
  .card-content { left: 22px; right: 22px; bottom: 21px; }
  .modal { padding: 38px 26px 30px; }
}

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