:root {
  --ink: #fff8e8;
  --ink-soft: #e9dfc9;
  --muted: #bdb6a6;
  --gold: #efc86a;
  --gold-bright: #ffe7a2;
  --gold-deep: #a87520;
  --green: #052f24;
  --green-deep: #021c16;
  --green-light: #0a4b38;
  --wine: #240d19;
  --surface: rgba(7, 42, 32, .76);
  --surface-strong: #082e24;
  --line: rgba(239, 200, 106, .27);
  --line-strong: rgba(239, 200, 106, .58);
  --shadow: 0 28px 80px rgba(0, 0, 0, .35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--green-deep);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 3%, rgba(150, 121, 41, .18), transparent 27rem),
    radial-gradient(circle at 92% 12%, rgba(20, 111, 81, .32), transparent 34rem),
    linear-gradient(155deg, #073c2d 0%, var(--green-deep) 35%, #160b14 100%);
  line-height: 1.6;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .32;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 50;
  padding: .75rem 1rem;
  color: #211507;
  background: var(--gold-bright);
  border-radius: .55rem;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(239, 200, 106, .18);
  background: rgba(2, 28, 22, .8);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2.5rem, 1440px);
  min-height: 76px;
  margin-inline: auto;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand img {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}
.brand span {
  font: 700 1.25rem/1 Georgia, "Times New Roman", serif;
  letter-spacing: .035em;
}
.site-header nav { display: flex; align-items: center; gap: clamp(.9rem, 2.4vw, 2.2rem); }
.site-header nav a {
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 650;
  transition: color .2s ease;
}
.site-header nav a:hover { color: var(--gold-bright); }
.language {
  min-width: 3.2rem;
  padding: .5rem .8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(255,255,255,.035);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.language:hover { border-color: var(--gold-bright); background: rgba(239, 200, 106, .1); transform: translateY(-1px); }

.hero {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  width: min(100% - 2.5rem, 1440px);
  margin-inline: auto;
  padding: clamp(4.5rem, 9vw, 8.5rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(239, 200, 106, .13);
  border-radius: 50%;
  content: "";
}
.hero::before { top: 1.5rem; left: -14rem; }
.hero::after { right: -13rem; bottom: 2rem; }
.hero-copy { max-width: 940px; margin-inline: auto; text-align: center; }
.eyebrow {
  margin: 0 0 .85rem;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .31em;
  text-transform: uppercase;
}
h1, h2, h3, .game-index, .hero-facts dt {
  font-family: Georgia, "Times New Roman", serif;
  text-wrap: balance;
}
.hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(3.15rem, 7.9vw, 7.6rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .92;
}
.hero h1 span,
.hero h1 em { color: var(--gold-bright); font-style: normal; }
.lead {
  max-width: 720px;
  margin: 1.7rem auto 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 50px;
  padding: .78rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  color: #251608;
  background: linear-gradient(135deg, #ffe8a2, #dca944);
  box-shadow: 0 12px 35px rgba(202, 151, 42, .22);
}
.button.quiet { border-color: var(--line-strong); color: var(--ink); background: rgba(5, 47, 36, .45); }
.button.quiet:hover { border-color: var(--gold-bright); }
.hero-facts {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 2.6rem auto 0;
  padding: 0;
  border-block: 1px solid var(--line);
}
.hero-facts div { min-width: clamp(8rem, 16vw, 13rem); padding: 1rem 1.4rem; }
.hero-facts div + div { border-left: 1px solid var(--line); }
.hero-facts dt { color: var(--gold-bright); font-size: 1.65rem; line-height: 1.1; }
.hero-facts dd { margin: .3rem 0 0; color: var(--muted); font-size: .76rem; }
.hero-art {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(.35rem, 1vw, .75rem);
  border: 1px solid var(--line-strong);
  border-radius: clamp(1rem, 2.5vw, 2rem);
  background: rgba(1, 18, 14, .72);
  box-shadow: var(--shadow);
}
.hero-art::before {
  position: absolute;
  inset: 3% 4%;
  z-index: -1;
  background: rgba(239, 200, 106, .16);
  filter: blur(45px);
  content: "";
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: clamp(.75rem, 2vw, 1.4rem);
}
.hero-art figcaption {
  position: absolute;
  right: 1.6rem;
  bottom: 1.3rem;
  padding: .45rem .75rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(0,0,0,.58);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .72rem;
}

.intro-band {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.3rem max(1.25rem, calc((100vw - 1280px) / 2));
  border-block: 1px solid var(--line);
  background: rgba(0, 20, 15, .38);
}
.intro-band p { margin: 0; color: var(--ink-soft); font: 600 clamp(.78rem, 1.5vw, .93rem) Georgia, serif; letter-spacing: .12em; text-transform: uppercase; }
.intro-band p:last-child { text-align: right; }
.intro-band div { display: flex; gap: .65rem; color: var(--gold); }
.intro-band div span:nth-child(2), .intro-band div span:nth-child(3) { color: #d99a91; }

.section { width: min(100% - 2.5rem, 1280px); margin-inline: auto; padding-block: clamp(5rem, 10vw, 9rem); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .7fr); column-gap: 3rem; align-items: end; margin-bottom: 3rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2,
.experience h2,
.finale h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}
.section-heading > p:last-child { margin: 0; color: var(--muted); }
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.25rem, 2.4vw, 2rem);
}
.game-card {
  --card-accent: var(--gold);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: linear-gradient(160deg, rgba(10, 64, 47, .82), rgba(2, 25, 20, .96));
  box-shadow: 0 18px 50px rgba(0,0,0,.2);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.game-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--card-accent) 72%, transparent); box-shadow: 0 26px 65px rgba(0,0,0,.35); }
.game-card[data-theme="purple"] { --card-accent: #ba7cff; }
.game-card[data-theme="blue"] { --card-accent: #55c8f4; }
.game-card[data-theme="amber"] { --card-accent: #ffbd55; }
.game-card[data-theme="bronze"] { --card-accent: #c99155; }
.game-card[data-theme="red"] { --card-accent: #ff7180; }
.game-poster {
  position: relative;
  margin: .7rem .7rem 0;
  overflow: hidden;
  border: 1px solid rgba(239, 200, 106, .22);
  border-radius: .95rem;
  background: #031e17;
}
.game-poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
}
.game-index {
  position: absolute;
  top: .85rem;
  right: .85rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(0,0,0,.58);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: .8rem;
}
.game-copy { position: relative; min-height: 12.5rem; margin-top: .7rem; padding: 1.35rem 1.4rem 1.5rem; border-top: 1px solid var(--line); }
.game-copy::before { position: absolute; top: -1px; left: 1.4rem; width: 3.8rem; height: 2px; background: var(--card-accent); content: ""; }
.game-kicker { margin: 0 0 .35rem; color: var(--card-accent); font-size: .66rem; font-weight: 850; letter-spacing: .19em; text-transform: uppercase; }
.game-copy h3 { margin: 0; font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.15; }
.game-copy p:last-child { margin: .65rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }

.experience {
  display: grid;
  grid-template-columns: minmax(280px, .83fr) minmax(320px, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}
.experience-visual { position: relative; justify-self: center; width: min(100%, 510px); padding: .6rem; border: 1px solid var(--line-strong); border-radius: 2rem; background: #041d17; box-shadow: var(--shadow); }
.experience-visual::after { position: absolute; inset: 5% -5%; z-index: -1; border-radius: inherit; background: rgba(8, 92, 65, .28); filter: blur(38px); content: ""; }
.experience-visual img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center top; border-radius: 1.5rem; }
.poster-number { position: absolute; top: 1.4rem; left: 1.5rem; z-index: 2; padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-bright); background: rgba(1, 20, 15, .78); font-size: .67rem; font-weight: 800; letter-spacing: .15em; }
.lead-small { margin: 1.4rem 0 0; color: var(--ink-soft); font-size: clamp(1rem, 1.7vw, 1.18rem); }
.feature-list { display: grid; gap: 1.05rem; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 3.1rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.feature-list li > span { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold); font: 700 1.2rem Georgia, serif; }
.feature-list strong { font-family: Georgia, serif; font-size: 1.15rem; }
.feature-list p { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }

.finale {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .7fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  margin-bottom: clamp(3rem, 8vw, 7rem);
  padding-inline: clamp(1.5rem, 5vw, 5rem);
  border: 1px solid var(--line);
  border-radius: 2.2rem;
  background:
    radial-gradient(circle at 90% 20%, rgba(34, 132, 92, .28), transparent 28rem),
    linear-gradient(135deg, rgba(8, 65, 47, .88), rgba(28, 9, 21, .92));
  box-shadow: var(--shadow);
}
.finale-copy > p:not(.eyebrow) { max-width: 38rem; color: var(--ink-soft); font-size: 1.05rem; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; color: var(--gold-bright); font-weight: 800; border-bottom: 1px solid var(--line-strong); }
.finale-art { align-self: center; max-width: 450px; padding-block: 3rem; }
.finale-art img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center top; border: 1px solid var(--line); border-radius: 1.4rem; box-shadow: 0 15px 55px rgba(0,0,0,.35); }

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem max(1.25rem, calc((100vw - 1440px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(1, 18, 14, .58);
  font-size: .8rem;
}
.footer-brand { display: flex; align-items: center; gap: .75rem; }
.footer-brand img { width: 42px; height: 42px; border-radius: 12px; }
.footer-brand div { display: grid; }
.footer-brand strong { color: var(--ink); font: 700 1rem Georgia, serif; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.footer-links a:hover { color: var(--gold-bright); }
footer > p { margin: 0; white-space: nowrap; }

.legal { width: min(100% - 2.5rem, 1120px); margin-inline: auto; padding: clamp(4rem, 8vw, 7rem) 0 clamp(6rem, 11vw, 10rem); }
.legal-header { max-width: 800px; }
.back-link { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 3.5rem; color: var(--muted); font-size: .84rem; font-weight: 700; }
.back-link:hover { color: var(--gold-bright); }
.legal h1 { margin: 0; font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -.055em; line-height: .95; }
.legal-intro { max-width: 700px; margin: 1.4rem 0 0; color: var(--ink-soft); font-size: clamp(1.03rem, 2vw, 1.3rem); }
.updated { margin: 1.2rem 0 0; color: var(--muted); font-size: .78rem; }
.legal-layout { display: grid; grid-template-columns: 275px minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; margin-top: clamp(3.5rem, 7vw, 6rem); }
.legal-summary { position: sticky; top: 7rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: 1.2rem; background: rgba(5, 48, 36, .56); }
.summary-label, .contact-card > span { margin: 0; color: var(--gold); font-size: .62rem; font-weight: 850; letter-spacing: .2em; }
.legal-summary ul { display: grid; gap: .9rem; margin: 1.1rem 0 1.4rem; padding: 0; list-style: none; }
.legal-summary li { display: grid; grid-template-columns: 1.35rem 1fr; gap: .55rem; color: var(--ink-soft); font-size: .79rem; }
.legal-summary li > span:first-child { color: var(--gold); }
.contact-card { display: grid; gap: .4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.contact-card a { overflow-wrap: anywhere; color: var(--ink); font-size: .8rem; font-weight: 750; }
.contact-card a:hover { color: var(--gold-bright); }
.legal-content { counter-reset: legal-section; }
.legal-content article { position: relative; padding: 0 0 2.4rem 4rem; counter-increment: legal-section; }
.legal-content article + article { padding-top: 2.4rem; border-top: 1px solid var(--line); }
.legal-content article::before { position: absolute; top: 0; left: 0; color: var(--gold-deep); font: 700 1rem Georgia, serif; content: "0" counter(legal-section); }
.legal-content article + article::before { top: 2.4rem; }
.legal-content h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
.legal-content p { margin: .8rem 0 0; color: var(--muted); }
.legal-content a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: .2em; }

:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 4px; }
::selection { color: #1d1205; background: var(--gold-bright); }

@media (max-width: 980px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .experience { gap: 3rem; }
  .finale { grid-template-columns: 1fr 340px; }
}

@media (max-width: 760px) {
  .header-inner { width: min(100% - 1.5rem, 1440px); min-height: 68px; }
  .brand img { width: 40px; height: 40px; border-radius: 12px; }
  .brand span { font-size: 1.08rem; }
  .site-header nav a[href*="experience"] { display: none; }
  .site-header nav { gap: .9rem; }
  .hero, .section, .legal { width: min(100% - 1.5rem, 1280px); }
  .hero { padding-top: 3.6rem; }
  .hero-facts { width: 100%; }
  .hero-facts div { min-width: 0; padding: .9rem .35rem; }
  .hero-facts dd { font-size: .67rem; line-height: 1.25; }
  .hero-art figcaption { display: none; }
  .intro-band { grid-template-columns: 1fr auto; }
  .intro-band p:last-child { display: none; }
  .experience { grid-template-columns: 1fr; }
  .experience-copy { order: -1; }
  .experience-visual { max-width: 500px; }
  .finale { grid-template-columns: 1fr; padding-bottom: 0; }
  .finale-art { justify-self: center; width: min(100%, 390px); padding-block: 0 1.5rem; }
  footer { grid-template-columns: 1fr auto; }
  footer > p { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-summary { position: static; }
}

@media (max-width: 560px) {
  .site-header nav a { display: none; }
  .game-grid { grid-template-columns: 1fr; }
  .game-copy { min-height: auto; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .intro-band { gap: .8rem; }
  .intro-band div { gap: .4rem; }
  .finale { border-radius: 1.4rem; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .legal-content article { padding-left: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
