:root {
  --bg-top: #3534bf;
  --bg-mid: #19186f;
  --bg-bottom: #020207;
  --text: #f7f7fb;
  --muted: rgba(247, 247, 251, .72);
  --gold: #c7a15b;
  --gold-soft: #e2c889;
  --line: rgba(255,255,255,.13);
  --panel: rgba(6, 6, 22, .42);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 7%, rgba(92, 86, 255, .28), transparent 30%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 50%, var(--bg-bottom) 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: .01em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 50% at 50% 100%, rgba(0,0,0,.42), transparent 70%),
    linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,.018) 50%, transparent 50.1%);
  z-index: 0;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

a { color: inherit; }
.site-header,
.site-footer,
main { position: relative; z-index: 1; }

.site-header {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: 28px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img {
  width: min(240px, 38vw);
  height: auto;
  display: block;
}
.contact-link,
.eyebrow,
.meta-kicker,
.footer-coming {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
}
.contact-link {
  text-decoration: none;
  color: rgba(255,255,255,.78);
  transition: color .2s ease;
}
.contact-link:hover { color: #fff; }

.section-pad { width: min(1240px, calc(100% - 44px)); margin: 0 auto; }
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 48px;
  padding-bottom: 76px;
  text-align: center;
}
.hero-copy { max-width: 830px; }
.eyebrow { color: rgba(255,255,255,.68); margin: 0 0 16px; }
h1, h2, p { margin-top: 0; }
h1 {
  margin-bottom: 16px;
  font-size: clamp(3rem, 7.4vw, 7rem);
  line-height: .92;
  letter-spacing: -.045em;
  font-weight: 800;
}
.lead {
  max-width: 710px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.65vw, 1.2rem);
  line-height: 1.75;
}

.game-card {
  width: min(100%, 1020px);
  margin-top: 56px;
}
.game-card-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  background: var(--panel);
  box-shadow: 0 34px 90px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.03) inset;
}
.game-card-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.3));
  pointer-events: none;
}
.game-card-frame img { width: 100%; height: auto; display: block; }
.game-meta { padding-top: 20px; display: grid; gap: 7px; text-align: center; }
.meta-kicker { color: rgba(255,255,255,.45); }
.game-meta strong { font-size: clamp(1.1rem, 2vw, 1.7rem); letter-spacing: .08em; }
.platforms { color: rgba(255,255,255,.68); font-size: .92rem; }

.scroll-cue {
  margin-top: 48px;
  color: rgba(255,255,255,.42);
  display: grid;
  justify-items: center;
  gap: 11px;
  font-size: .62rem;
  letter-spacing: .25em;
}
.scroll-cue i {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, rgba(255,255,255,.65), transparent);
}

.about {
  padding-top: 145px;
  padding-bottom: 150px;
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 9vw, 130px);
  align-items: start;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5.4vw, 5rem);
  line-height: 1.0;
  letter-spacing: -.045em;
  font-weight: 750;
}
.about-copy {
  padding-top: 8px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}
.about-copy p { margin-bottom: 24px; max-width: 640px; }
.about-copy em { color: var(--text); font-style: normal; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 10px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-decoration: none;
  background: rgba(255,255,255,.04);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.38); }
.button span { font-size: 1.05rem; line-height: 1; }

.footer-stage {
  min-height: 64vh;
  display: grid;
  place-items: center;
  padding: 90px 22px 125px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: radial-gradient(circle at 50% 30%, rgba(46,43,170,.22), transparent 42%);
}
.footer-stage-inner { width: min(850px, 100%); }
.footer-logo {
  width: min(600px, 88vw);
  margin: 0 auto 42px;
  display: block;
}
.footer-coming { margin-bottom: 28px; color: rgba(255,255,255,.48); }
.footer-links { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.84); font-size: clamp(.98rem, 1.7vw, 1.17rem); }
/*
.footer-links a { color: rgba(255,255,255,.84); text-decoration: none; font-size: clamp(.98rem, 1.7vw, 1.17rem); }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
*/

.site-footer {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  padding: 20px 0 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.34);
  font-size: .72rem;
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }

@media (max-width: 800px) {
  .site-header { padding-top: 20px; }
  .hero { min-height: auto; padding-top: 58px; padding-bottom: 90px; }
  .game-card { margin-top: 42px; }
  .about { padding-top: 95px; padding-bottom: 100px; }
  .about-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-stage { min-height: 50vh; padding-top: 75px; padding-bottom: 90px; }
  .footer-logo { margin-bottom: 30px; }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .section-pad { width: min(100% - 30px, 1240px); }
  .brand img { width: 180px; }
  .contact-link { font-size: .61rem; letter-spacing: .14em; }
  .hero { padding-top: 36px; }
  h1 { font-size: clamp(2.9rem, 14vw, 4.6rem); }
  .lead { line-height: 1.65; }
  .game-card-frame { border-radius: 15px; }
  .platforms { font-size: .82rem; }
  .footer-links { gap: 16px; flex-direction: column; }
  .site-footer { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

/* Mobile overflow hardening */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img, svg, video, canvas {
  max-width: 100%;
}

.brand,
.game-card,
.game-card-frame,
.game-meta,
.about-grid,
.about-copy,
.footer-stage-inner,
.footer-links,
.site-footer {
  min-width: 0;
}

@media (max-width: 560px) {
  body {
    -webkit-text-size-adjust: 100%;
  }

  .site-header,
  .section-pad,
  .site-footer {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  .site-header {
    padding-top: max(16px, env(safe-area-inset-top));
    padding-left: 0;
    padding-right: 0;
    gap: 12px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand img {
    width: min(164px, 52vw);
    height: auto;
  }

  .contact-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero {
    width: calc(100% - 28px);
    padding-top: 34px;
    padding-bottom: 64px;
  }

  .hero-copy,
  .lead {
    width: 100%;
    max-width: 100%;
  }

  .eyebrow {
    font-size: .58rem;
    letter-spacing: .16em;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  h1 {
    width: 100%;
    font-size: clamp(2.65rem, 12vw, 3.8rem);
    line-height: .95;
    letter-spacing: -.055em;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: .96rem;
    line-height: 1.55;
    padding: 0 4px;
  }

  .game-card {
    width: 100%;
    margin-top: 32px;
  }

  .game-card-frame {
    width: 100%;
    border-radius: 12px;
  }

  .game-card-frame img {
    width: 100%;
    height: auto;
  }

  .game-meta {
    width: 100%;
    padding-top: 15px;
    gap: 6px;
  }

  .meta-kicker {
    font-size: .55rem;
    line-height: 1.45;
    letter-spacing: .14em;
  }

  .game-meta strong {
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: .045em;
    overflow-wrap: anywhere;
  }

  .platforms {
    font-size: .76rem;
    line-height: 1.45;
  }

  .scroll-cue {
    margin-top: 30px;
    font-size: .52rem;
    letter-spacing: .18em;
  }

  .about {
    width: 100%;
    padding: 74px 0 78px;
  }

  .about-grid {
    width: calc(100% - 28px);
    margin: 0 auto;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3.3rem);
    line-height: 1.03;
  }

  .about-copy {
    padding-top: 0;
    font-size: .98rem;
    line-height: 1.7;
  }

  .about-copy p {
    margin-bottom: 20px;
  }

  .button {
    max-width: 100%;
    padding: 13px 16px;
    font-size: .68rem;
    letter-spacing: .12em;
  }

  .footer-stage {
    min-height: 42vh;
    padding: 62px 14px max(72px, env(safe-area-inset-bottom));
  }

  .footer-stage-inner {
    width: 100%;
  }

  .footer-logo {
    width: min(82vw, 340px);
    margin-bottom: 26px;
  }

  .footer-coming {
    font-size: .56rem;
    line-height: 1.5;
    letter-spacing: .15em;
    margin-bottom: 22px;
  }

  .footer-links {
    width: 100%;
    align-items: center;
    gap: 12px;
  }

  .footer-links a {
    max-width: 100%;
    font-size: .92rem;
    overflow-wrap: anywhere;
  }

  .site-footer {
    padding: 18px 0 max(26px, env(safe-area-inset-bottom));
    gap: 8px;
    font-size: .64rem;
  }
}

/* iOS Safari / narrow-screen layout: keep every section inside the visual viewport. */
@media screen and (max-width: 600px) {
  html {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overscroll-behavior-x: none;
  }

  body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-overflow-scrolling: touch;
  }

  main,
  header,
  footer,
  section,
  div {
    max-width: 100%;
    min-width: 0;
  }

  main {
    width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  .site-header,
  .section-pad,
  .site-footer {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    max-width: 70%;
    flex: 1 1 auto;
  }

  .brand img {
    display: block;
    width: min(150px, 44vw);
    max-width: 100%;
    height: auto;
  }

  .contact-link {
    min-width: 0;
    max-width: 30%;
    flex: 0 1 auto;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: .11em;
    white-space: normal;
    text-align: right;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    padding: 32px 14px 62px;
  }

  .hero-copy,
  .lead,
  .game-card,
  .game-card-frame,
  .game-meta {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-copy {
    overflow-wrap: anywhere;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 9px;
    line-height: 1.45;
    letter-spacing: .12em;
    overflow-wrap: anywhere;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(42px, 13vw, 58px);
    line-height: .92;
    letter-spacing: -.055em;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .lead {
    padding: 0;
    font-size: 15px;
    line-height: 1.58;
    overflow-wrap: anywhere;
  }

  .game-card {
    margin-top: 30px;
  }

  .game-card-frame {
    border-radius: 11px;
    overflow: hidden;
  }

  .game-card-frame img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .meta-kicker,
  .game-meta strong,
  .platforms {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .meta-kicker {
    font-size: 8px;
    line-height: 1.4;
    letter-spacing: .11em;
  }

  .game-meta strong {
    font-size: 16px;
    line-height: 1.18;
    letter-spacing: .035em;
  }

  .platforms {
    font-size: 12px;
    line-height: 1.45;
  }

  .scroll-cue {
    max-width: 100%;
    margin-top: 27px;
    font-size: 8px;
    line-height: 1.4;
    letter-spacing: .14em;
  }

  .about {
    width: 100%;
    max-width: 100%;
    padding: 72px 14px 78px;
    overflow: hidden;
  }

  .about-grid {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.03;
    overflow-wrap: anywhere;
  }

  .about-copy {
    width: 100%;
    max-width: 100%;
    padding: 0;
    font-size: 15px;
    line-height: 1.68;
    overflow-wrap: anywhere;
  }

  .about-copy p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .button {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 12px 14px;
    font-size: 10px;
    letter-spacing: .09em;
  }

  .footer-stage {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 62px 14px max(72px, env(safe-area-inset-bottom));
    overflow: hidden;
  }

  .footer-stage-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .footer-logo {
    display: block;
    width: min(300px, 82vw);
    max-width: 100%;
    height: auto;
    margin: 0 auto 26px;
  }

  .footer-coming {
    max-width: 100%;
    font-size: 8px;
    line-height: 1.5;
    letter-spacing: .12em;
    overflow-wrap: anywhere;
  }

  .footer-links {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-links a {
    display: block;
    max-width: 100%;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .site-footer {
    width: 100%;
    max-width: 100%;
    padding: 18px 14px max(26px, env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    overflow: hidden;
  }
}
