:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #11191d;
  color: #f9f4e9;
  --background: #11191d;
  --muted: #becaca;
  --gold: #ffc86c;
  --line: #304043;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a:focus-visible, video:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.shell { width: min(100% - 3rem, 1120px); margin-inline: auto; }
.skip-link { position: absolute; top: 0.5rem; left: 0.5rem; z-index: 4; padding: 0.75rem; background: var(--background); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.header-inner { min-height: 76px; padding-block: 0.7rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 800; font-size: 1.1rem; text-decoration: none; }
.brand img { border: 1px solid #f4c77848; border-radius: 9px; }
.site-header nav, .footer-inner nav { display: flex; flex-wrap: wrap; gap: 0.25rem clamp(0.75rem, 3vw, 2rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-weight: 650; font-size: 0.94rem; }
nav a:hover { color: var(--gold); }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #10191f; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0 0 0 39%; z-index: -1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 48%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #10191f, transparent 43%), linear-gradient(0deg, #10191f 0%, transparent 33%); }
.hero-inner { display: flex; align-items: center; min-height: clamp(510px, 57vw, 620px); padding-block: 4.5rem; }
.hero-copy { max-width: 510px; }
.eyebrow { margin-bottom: 1.1rem; color: #b2d3ce; text-transform: uppercase; letter-spacing: 0.13em; font-weight: 800; font-size: 0.8rem; }
h1, h2, h3 { font-weight: 850; }
h1 { font-size: clamp(4.2rem, 8vw, 7.4rem); line-height: 0.9; letter-spacing: -0.075em; }
h1 span { color: var(--gold); }
.hero-description { max-width: 350px; margin-top: 1.5rem; color: #d8e3df; font-size: clamp(1.05rem, 2vw, 1.24rem); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.85rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.62rem; min-height: 52px; padding: 0.85rem 1.05rem; border: 1px solid transparent; border-radius: 9px; font-size: 0.96rem; font-weight: 800; text-decoration: none; }
.button-primary { color: #1e1b17; background: var(--gold); }
.button-primary:hover { background: #ffdf9c; }
.button-secondary { color: #f9f4e9; border-color: #92a5a577; background: #11191dc9; }
.button-secondary:hover { border-color: var(--gold); }
.play-mark { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid currentColor; }

.gameplay { padding-block: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2.25rem, 5.4vw, 3.65rem); line-height: 1.05; letter-spacing: -0.05em; }
.gameplay-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.7rem; }
.gameplay-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #172326; }
.preview { position: relative; display: grid; justify-items: center; align-content: start; overflow: hidden; aspect-ratio: 16 / 11; padding: 13% 9% 0; border-bottom: 1px solid var(--line); }
.preview:focus-visible { outline-offset: -4px; }
.preview-bid { background: radial-gradient(ellipse at 50% 105%, #367b80, #203b44 63%, #16272e); }
.preview-reveal { background: radial-gradient(ellipse at 50% 105%, #a3703e, #503f37 63%, #2e282a); }
.preview-sell { background: radial-gradient(ellipse at 50% 105%, #457f67, #2a4a40 63%, #1c302c); }
.preview img { width: min(100%, 218px); height: auto; border: 5px solid #11191d; border-radius: 16px; box-shadow: 0 12px 29px #03060882; transition: transform 180ms ease; }
.preview:hover img { transform: translateY(-5px); }
.card-copy { padding: 1.2rem 1.3rem 1.5rem; }
h3 { font-size: clamp(1.18rem, 2.4vw, 1.55rem); line-height: 1.2; letter-spacing: -0.025em; }
.card-copy p { margin-top: 0.5rem; color: var(--muted); line-height: 1.55; }

.trailer { display: grid; grid-template-columns: 1fr minmax(170px, 241px); align-items: center; gap: 2rem; padding: clamp(1.5rem, 6vw, 4.5rem); margin-bottom: clamp(2.8rem, 7vw, 5.5rem); border: 1px solid #495349; border-radius: 16px; background: radial-gradient(ellipse at 88% 55%, #3e4030, #212b28 60%, #1a292a); }
.trailer p { max-width: 340px; margin-top: 0.8rem; color: #d2ddda; font-size: 1.1rem; line-height: 1.55; }
.trailer video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; margin-inline: auto; border: 1px solid #778378; border-radius: 12px; background: #10191f; box-shadow: 0 10px 22px #0b11117c; }
footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 1.1rem; }
.footer-name { font-weight: 800; }

@media (max-width: 800px) {
  .hero-art { left: 29%; }
  .hero-art::after { background: linear-gradient(90deg, #10191f, #10191f2b 76%), linear-gradient(0deg, #10191f, transparent 38%); }
  .gameplay-grid { gap: 0.85rem; }
  .card-copy { padding: 1rem; }
}

@media (max-width: 620px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 64px; gap: 0.25rem 0.65rem; }
  .brand { font-size: 0.98rem; gap: 0.5rem; }
  .brand img { width: 34px; height: 34px; }
  .site-header nav { gap: 0.75rem; }
  .site-header nav a { font-size: 0.84rem; }
  .hero-art { inset: 0 0 auto; height: min(86vw, 390px); }
  .hero-art img { object-position: center 50%; }
  .hero-art::after { background: linear-gradient(0deg, #10191f, #10191f80 45%, transparent 81%); }
  .hero-inner { min-height: auto; padding-top: clamp(145px, 48vw, 280px); padding-bottom: 2.1rem; }
  .hero-copy { max-width: 100%; }
  h1 { font-size: clamp(3.9rem, 14vw, 6.2rem); }
  .eyebrow { margin-bottom: 0.75rem; }
  .hero-description { margin-top: 1.2rem; }
  .hero-actions { margin-top: 1.25rem; }
  .gameplay-grid { grid-template-columns: 1fr; }
  .preview { aspect-ratio: 17 / 10; padding-top: 10%; }
  .trailer { grid-template-columns: 1fr; gap: 1.3rem; }
  .trailer video { max-width: 215px; }
}

@media (prefers-reduced-motion: reduce) {
  .preview img { transition: none; }
}
