:root {
  --bg: #060913;
  --bg-deep: #03060d;
  --panel: rgba(8, 13, 28, 0.84);
  --panel-strong: rgba(4, 7, 16, 0.94);
  --text: #f6f8ff;
  --muted: #b8c4d8;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #2ee6a6;
  --accent-2: #ffcf33;
  --accent-3: #ff4f6d;
  --container: min(1180px, calc(100vw - 2rem));
  --radius: 8px;
  --shadow: 0 30px 90px rgba(0, 0, 0, .45);
  --transition: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(46, 230, 166, .16), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(255, 79, 109, .14), transparent 22%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  overflow-x: hidden;
}

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

.page-shell { position: relative; overflow: clip; }
.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .2;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000, transparent 90%);
}

.section { width: var(--container); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: var(--container);
  margin: 0 auto;
  padding: .9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(3, 6, 13, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 52px rgba(0,0,0,.32);
}

.brand {
  display: inline-grid;
  gap: .12rem;
  min-width: max-content;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(.72rem, 1.4vw, 1rem);
  line-height: 1.25;
  text-transform: uppercase;
}
.brand span { color: var(--accent); }
.brand strong { color: var(--accent-2); font-weight: 400; }
.brand-image {
  display: inline-flex;
  align-items: center;
  width: clamp(130px, 16vw, 210px);
  min-width: 0;
}
.brand-image img {
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .38));
}

.site-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; color: var(--muted); }
.site-nav a { transition: color var(--transition); }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.language-switcher { display: inline-flex; gap: .25rem; padding: .24rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.lang-button { border: 0; color: var(--muted); background: transparent; padding: .48rem .62rem; border-radius: 6px; cursor: pointer; }
.lang-button.is-active { background: var(--text); color: #02040a; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .78rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--accent);
  color: #02110d;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 16px 42px rgba(46,230,166,.18);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-small { min-height: 40px; padding: .62rem .85rem; font-size: .82rem; }
.button-ghost { background: rgba(255,255,255,.05); color: var(--text); border-color: var(--line); box-shadow: none; }

.hero {
  position: relative;
  min-height: auto;
  padding: clamp(3rem, 6vw, 5.5rem) 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1.25rem;
}
.hero-background {
  position: absolute;
  inset: 0;
  left: calc((100vw - min(1180px, calc(100vw - 2rem))) / -2);
  right: calc((100vw - min(1180px, calc(100vw - 2rem))) / -2);
  z-index: -1;
}
.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: .9;
  filter: saturate(1.08) contrast(1.03);
}
.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,6,13,.96), rgba(3,6,13,.74) 42%, rgba(3,6,13,.24)), linear-gradient(180deg, rgba(3,6,13,.12), transparent 44%, var(--bg-deep));
}
.hero-copy, .video-hub, .store-strip, .about-panel, .feature-card, .gameplay-card, .gallery-panel, .newsletter-panel, .final-cta-panel, .site-footer, .press-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.hero-copy {
  width: 100%;
  min-height: clamp(430px, 58vh, 620px);
  display: grid;
  align-content: end;
  justify-items: start;
  padding: clamp(1.2rem, 3vw, 2.2rem);
}
.eyebrow {
  margin: 0 0 .8rem;
  color: var(--accent-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 1rem;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(2.2rem, 6vw, 5.4rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 26px rgba(46,230,166,.26);
}
.hero-logo-title {
  width: min(720px, 100%);
  margin-bottom: 1rem;
}
.hero-logo-title img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 42px rgba(0, 0, 0, .5));
}
h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.02; letter-spacing: 0; }
h3 { font-size: 1.2rem; }
.hero-claim { color: var(--accent); font-size: clamp(1.4rem, 3vw, 2.8rem); font-weight: 800; line-height: 1.08; margin-bottom: .8rem; }
.hero-text, .section-heading p, .about-panel p, .feature-card p, .gameplay-card p, .newsletter-panel p, .site-footer p { color: var(--muted); line-height: 1.65; }
.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: .75rem; margin-top: 1.2rem; }
.partner-strip { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; color: var(--muted); font-size: .9rem; }
.partner-strip span { border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem .65rem; background: rgba(255,255,255,.04); }

.video-hub {
  width: 100%;
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: .9rem;
}
.video-player-panel { display: grid; gap: .85rem; }
.player-frame { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #02040a; aspect-ratio: 16 / 10; }
.player-frame img,
.player-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.player-frame img { object-fit: cover; object-position: center; }
.is-hidden { display: none !important; }
.player-caption {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: .85rem;
  align-items: start;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
}
.player-caption h2 {
  margin-bottom: .25rem;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.12;
}
.player-caption p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: .35rem .55rem;
  border-radius: var(--radius);
  background: var(--accent-3);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.video-list { display: grid; gap: .65rem; }
.video-thumb {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: .7rem;
  text-align: left;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius: var(--radius);
  padding: .7rem;
  cursor: pointer;
}
.video-thumb span { color: var(--muted); }
.video-thumb .video-thumb-art { color: var(--accent-2); font-weight: 800; }
.video-thumb strong, .video-thumb small { display: block; }
.video-thumb strong { color: var(--text); }
.video-thumb small { color: var(--muted); margin-top: .2rem; }
.video-thumb.is-active { border-color: var(--accent); background: rgba(46,230,166,.11); }

.store-strip { margin-top: 1rem; padding: 1rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.store-strip p { margin: 0; font-weight: 800; }
.store-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.store-links a,
.store-links > span {
  display: grid;
  gap: .2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .55rem .8rem;
  color: var(--muted);
  background: rgba(255,255,255,.04);
}
.store-links a {
  color: var(--text);
}
.store-links a:hover,
.store-links a:focus-visible {
  border-color: var(--accent);
}
.store-links small {
  font-size: .78rem;
  color: var(--muted);
}

.intro, .features, .gameplay, .gallery, .press, .newsletter, .final-cta { padding: clamp(3rem, 7vw, 6rem) 0 0; }
.section-heading { max-width: 860px; margin-bottom: 1.4rem; }
.about-layout, .feature-grid, .gameplay-grid, .press-grid { display: grid; gap: 1rem; }
.about-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gameplay-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.press-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-panel, .feature-card, .gameplay-card, .newsletter-panel, .final-cta-panel { padding: 1.2rem; }
.panel-kicker, .feature-card span { color: var(--accent-2); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.gameplay-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 1rem; background: #02040a; }
.gallery-panel { padding: 1rem; }
.gallery-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #02040a;
}
.gallery-stage img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 6, 13, .72);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}
.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  border-color: var(--accent);
}
.gallery-arrow span { font-size: 2rem; line-height: 1; }
.gallery-prev { left: .8rem; }
.gallery-next { right: .8rem; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(7, minmax(92px, 1fr));
  gap: .65rem;
  margin-top: .75rem;
  overflow-x: auto;
  padding-bottom: .2rem;
}
.gallery-thumb {
  min-width: 92px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #02040a;
  overflow: hidden;
  cursor: pointer;
  opacity: .72;
}
.gallery-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(46, 230, 166, .18);
}
.press-card { min-height: 98px; display: grid; place-items: center; padding: 1rem; font-weight: 800; color: var(--text); text-align: center; }
.newsletter-panel { display: grid; grid-template-columns: 1fr minmax(300px, .75fr); gap: 1rem; align-items: center; }
.newsletter-form { display: grid; gap: .7rem; }
.newsletter-form input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.06); color: var(--text); padding: 0 1rem; }
.newsletter-feedback { min-height: 1.5rem; margin: .5rem 0 0; }
.newsletter-feedback.is-success { color: var(--accent); }
.newsletter-feedback.is-error { color: var(--accent-3); }
.final-cta-panel { text-align: center; display: grid; justify-items: center; }
.site-footer { margin-top: clamp(2rem, 5vw, 4rem); margin-bottom: 1rem; padding: 1rem; text-align: center; }
.site-footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; align-items: start; }
  .video-hub { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-nav { order: 3; width: 100%; justify-content: flex-start; }
  .header-actions { width: 100%; justify-content: space-between; }
  .brand-image { width: min(220px, 58vw); }
  .hero { padding-top: 2rem; min-height: auto; }
  .hero-copy { min-height: clamp(380px, 64vh, 560px); }
  .player-caption { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2rem, 12vw, 3.7rem); }
  .hero-actions, .about-layout, .feature-grid, .gameplay-grid, .press-grid, .newsletter-panel { grid-template-columns: 1fr; }
  .store-strip { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .site-nav a { transition: none; }
}
