:root {
  --bg: #0b0c10;
  --panel: #111319;
  --text: #e6e8ee;
  --muted: #9aa3b2;
  --primary: #e53935;
  --accent: #ffd166;
  --border: #1c2030;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,12,16,0.9);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand img { display: block; }
.nav { display: flex; gap: 12px; align-items: center; }
.nav-link { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.nav-link:hover { background: var(--panel); }

.btn { appearance: none; border: 1px solid var(--border); background: var(--panel); color: var(--text); padding: 10px 14px; border-radius: 10px; cursor: pointer; }
.btn:hover { border-color: #2a3148; }
.btn-primary { background: var(--primary); border-color: #c62828; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-accent { background: var(--accent); color: #1a1a1a; border-color: #e6c257; }
.btn-lg { padding: 14px 18px; font-weight: 700; }

.section { padding: 64px 0; }
.section-play { padding-top: 24px; }
.grid-2 { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: start; }

.game-wrapper { }
.game-aspect { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
#gameFrame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#gameFrame { overflow: hidden; }
.game-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.55)); pointer-events: none; }
.overlay-inner { text-align: center; padding: 24px; }
.overlay-inner h1 { margin: 0 0 8px; font-size: 28px; }
.controls { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.game-controls { display: flex; gap: 12px; justify-content: center; margin-top: 12px; }
.fallback { text-align: center; color: var(--muted); font-size: 14px; }

.video-wrapper { }
.video-aspect { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.trailer-copy h2 { margin-top: 0; }
.bullets { padding-left: 18px; }
.bullets li { margin: 8px 0; }
.specs h3 { margin-bottom: 8px; }

.faq-list details { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; margin: 10px 0; padding: 12px 14px; }
.faq-list summary { cursor: pointer; font-weight: 600; }
.testimonials { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.testimonials li { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.testimonials blockquote { margin: 0; font-style: italic; }
.cite { margin-top: 6px; color: var(--muted); font-size: 14px; }

.download-cta { margin-top: 24px; }
.hint { color: var(--muted); font-size: 14px; margin-top: 8px; }

.site-footer { padding: 24px 0 48px; border-top: 1px solid var(--border); color: var(--muted); }

@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-inner { height: 56px; }
  .nav { gap: 8px; }
  .nav-link { padding: 6px 8px; }
  .section { padding: 48px 0; }
  .section-play { padding-top: 12px; }
  .game-aspect { border-radius: 8px; }
  .video-aspect { border-radius: 8px; }
  .game-controls { position: sticky; bottom: 0; background: rgba(11,12,16,0.9); -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px); padding: 8px; border: 1px solid var(--border); border-radius: 12px; }
}

/* Full-bleed playable area on very small screens */
@media (max-width: 420px) {
  .container { padding: 0 8px; }
  .game-aspect { aspect-ratio: auto; height: calc(100vh - 56px - 80px); }
  #gameFrame { height: 100%; }
}


