/* Styles for this game page only. Accent colour is set in :root below. */
:root {
  --bg: #080808;
  --bg2: #0e0e0e;
  --accent: #FF5A1F;
  --accent-rgb: 255,90,31;
  --white: #F0EDE8;
  --muted: rgba(240,237,232,0.5);
  --faint: rgba(240,237,232,0.3);
  --border: rgba(240,237,232,0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 200;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 48px;
  background: linear-gradient(to bottom, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0) 100%);
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 200; font-size: 22px; letter-spacing: 0.18em;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
}
.nav-logo-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
}
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300; font-size: 13px; letter-spacing: 0.25em;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-link:hover { color: var(--white); }
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300; font-size: 13px; letter-spacing: 0.25em;
  color: var(--white); text-decoration: none; white-space: nowrap;
  border: 0.5px solid rgba(240,237,232,0.25);
  padding: 9px 22px;
  transition: border-color 0.2s, color 0.2s;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 48px 110px; overflow: hidden;
}
.hero-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero-label {
  font-size: 12px; letter-spacing: 0.55em; color: var(--accent);
  margin-bottom: 32px; text-transform: uppercase;
}
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 100; font-size: clamp(88px, 16vw, 220px);
  letter-spacing: 0.06em; line-height: 0.9; color: var(--white);
  text-shadow: 0 0 80px rgba(240,237,232,0.08);
}
.hero-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(26px, 4vw, 56px); font-weight: 100;
  letter-spacing: 0.3em; margin-top: 8px; white-space: nowrap;
}
.hero-sub span:first-child { color: var(--accent); }
.hero-sub span + span { color: rgba(240,237,232,0.65); }
.hero-tagline {
  font-size: clamp(15px, 1.6vw, 18px); letter-spacing: 0.04em;
  color: var(--muted); margin-top: 36px; max-width: 520px; line-height: 1.7;
  text-wrap: pretty;
}
.hero-cta { margin-top: 52px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; }

.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 400; font-size: 14px; letter-spacing: 0.28em;
  color: #080808; background: var(--accent); text-decoration: none;
  padding: 16px 40px; display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-ghost {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300; font-size: 13px; letter-spacing: 0.28em;
  color: var(--muted); text-decoration: none; padding: 16px 28px;
  border: 0.5px solid rgba(240,237,232,0.15); display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(240,237,232,0.35); color: var(--white); }

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
}
.hero-scroll span { font-size: 10px; letter-spacing: 0.4em; color: var(--faint); }
.scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── SECTIONS ── */
section { padding: 120px 48px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-alt { background: var(--bg2); border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.section-label {
  font-size: 11px; letter-spacing: 0.55em; color: var(--accent);
  margin-bottom: 20px; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--accent); opacity: 0.6; }
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 100; font-size: clamp(48px, 7vw, 96px);
  letter-spacing: 0.04em; line-height: 0.95; color: var(--white);
}

/* ── ABOUT ── */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro-text p {
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.8;
  color: rgba(240,237,232,0.62); text-wrap: pretty; margin-top: 28px;
}
.intro-text p:first-of-type { margin-top: 32px; }
.intro-visual { display: flex; justify-content: center; align-items: center; }
.intro-visual svg { width: 100%; max-width: 380px; }
.shot {
  width: 100%; border: 0.5px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 60px rgba(var(--accent-rgb),0.08);
}
.shot img { width: 100%; height: auto; }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 72px; }
.feature-card {
  background: var(--bg2); border: 0.5px solid var(--border);
  padding: 44px 36px; transition: border-color 0.25s;
}
#features .feature-card { background: var(--bg); }
.feature-card:hover { border-color: rgba(var(--accent-rgb),0.4); }
.feature-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300; font-size: 11px; letter-spacing: 0.4em;
  color: var(--accent); margin-bottom: 18px; display: block;
}
.feature-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300; font-size: 25px; letter-spacing: 0.06em;
  color: var(--white); margin-bottom: 12px; text-transform: uppercase;
}
.feature-body { font-size: 14px; line-height: 1.75; color: var(--muted); }

/* ── DETAILS ── */
.details { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border: 0.5px solid var(--border); }
.detail { padding: 28px 28px 30px; border-right: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.detail:nth-child(4n) { border-right: none; }
.detail:nth-last-child(-n+4) { border-bottom: none; }
.detail dt { font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.detail dd {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300; font-size: 19px; letter-spacing: 0.04em; color: var(--white); line-height: 1.35;
}

/* ── CTA BAND ── */
.cta-band { text-align: center; padding: 140px 48px; position: relative; overflow: hidden; }
.cta-band-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(var(--accent-rgb),0.08) 0%, transparent 70%);
}
.cta-band .section-inner { position: relative; z-index: 2; }
.cta-band .section-label { justify-content: center; margin-bottom: 28px; }
.cta-band .section-label::before { display: none; }
.cta-band h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 100; font-size: clamp(48px, 8vw, 110px);
  letter-spacing: 0.06em; line-height: 1; color: var(--white);
}
.cta-band p { font-size: 16px; color: var(--muted); margin: 24px auto 48px; max-width: 420px; line-height: 1.7; }
.cta-band .btn-primary { font-size: 15px; padding: 18px 52px; }

/* ── FOOTER ── */
footer {
  border-top: 0.5px solid var(--border); padding: 40px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 200; font-size: 16px; letter-spacing: 0.2em; color: var(--faint);
}
.footer-credit { font-size: 12px; letter-spacing: 0.2em; color: var(--faint); }
.footer-credit a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-credit a:hover { color: var(--accent); }

/* ── FADE IN ── */
.js .fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .fade-up.visible, .js.reveal-all .fade-up { opacity: 1; transform: none; }
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade-up { opacity: 1; transform: none; transition: none; }
  .scroll-line { animation: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .details { grid-template-columns: 1fr 1fr; }
  .detail:nth-child(4n) { border-right: 0.5px solid var(--border); }
  .detail:nth-child(2n) { border-right: none; }
  .detail:nth-last-child(-n+4) { border-bottom: 0.5px solid var(--border); }
  .detail:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 768px) {
  nav { padding: 18px 16px; }
  .nav-logo { font-size: 17px; letter-spacing: 0.14em; gap: 10px; }
  .nav-link { display: none; }
  .nav-cta { padding: 8px 14px; font-size: 12px; letter-spacing: 0.18em; }
  section { padding: 80px 16px; }
  .hero { padding: 100px 16px 100px; }
  .hero-sub { letter-spacing: 0.2em; }
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .feature-card { padding: 36px 24px; }
  .details { margin-top: 48px; }
  .detail { padding: 22px 18px; }
  .cta-band { padding: 100px 16px; }
  footer { flex-direction: column; text-align: center; padding: 32px 16px; }
}

/* ── EXTRAS ── */
.features-grid.two { grid-template-columns: repeat(2, 1fr); }
.privacy-note { font-size: 14px !important; color: var(--faint) !important; }
.privacy-note a { color: var(--accent); text-decoration: none; border-bottom: 0.5px solid rgba(var(--accent-rgb),0.5); }
.privacy-note a:hover { border-bottom-color: var(--accent); }
@media (max-width: 768px) { .features-grid.two { grid-template-columns: 1fr; } }
