:root {
  --bg: #11131f;
  --bg-alt: #1a1a2e;
  --bg-deep: #16213e;
  --card: #1a1a3e;
  --card-strong: #13132a;
  --text: #ffffff;
  --muted: #b6bdd8;
  --yellow: #fde047;
  --green: #4ade80;
  --magenta: #f0abfc;
  --shadow-yellow: 4px 4px 0 #fde047;
  --shadow-green: 4px 4px 0 #4ade80;
  --shadow-magenta: 4px 4px 0 #f0abfc;
  --border-yellow: 2px solid #fde047;
  --border-green: 2px solid #4ade80;
  --border-magenta: 2px solid #f0abfc;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "VT323", monospace;
  font-size: 22px;
  line-height: 1.4;
  background:
    radial-gradient(circle at top, rgba(240, 171, 252, 0.12), transparent 26%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-deep) 55%, #0d1020 100%);
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
.pixel-heading {
  margin: 0 0 18px;
  font-family: "Press Start 2P", monospace;
  line-height: 1.5;
  text-transform: uppercase;
}

p {
  margin: 0 0 18px;
}

ul {
  margin: 0;
  padding-left: 24px;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.brand-mark-sm {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 50%;
  image-rendering: pixelated;
}

.brand-mark-sm--center {
  display: block;
  margin: 0 auto 16px;
}

.brand-mark-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(17, 19, 31, 0.96);
  border-bottom: var(--border-yellow);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.compliance-banner {
  width: 100%;
  text-align: center;
  padding: 8px 16px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  background: #16213e;
  border-bottom: 2px solid var(--yellow);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  padding: 16px 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark img {
  width: 56px;
  height: 56px;
  image-rendering: pixelated;
  flex: 0 0 auto;
}

.brand-mark__eyebrow {
  display: block;
  color: var(--yellow);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  margin-bottom: 6px;
}

.brand-mark__title {
  display: block;
  font-family: "Press Start 2P", monospace;
  font-size: 14px;
}

.site-nav-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
}

.site-nav a {
  padding: 8px 0;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--yellow);
  border-color: var(--yellow);
}

.mobile-nav-toggle {
  display: none;
  border: var(--border-green);
  background: var(--card);
  color: var(--text);
  padding: 10px 12px;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  box-shadow: var(--shadow-green);
}

.header-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pixel-button,
.pixel-button-alt,
.pixel-button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  padding: 14px 18px;
  min-height: 48px;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.pixel-button {
  background: var(--yellow);
  color: #111;
  box-shadow: var(--shadow-yellow);
}

.pixel-button-alt {
  background: var(--green);
  color: #111;
  box-shadow: var(--shadow-green);
}

.pixel-button-ghost {
  background: transparent;
  color: var(--text);
  border: var(--border-magenta);
  box-shadow: var(--shadow-magenta);
}

.pixel-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: var(--border-green);
  background: rgba(74, 222, 128, 0.12);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
}

.section {
  padding: 72px 0;
}

.section--compact {
  padding: 52px 0;
}

.section-title {
  margin-bottom: 18px;
  font-size: clamp(1.15rem, 3vw, 1.85rem);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 26px;
}

.hero {
  position: relative;
  padding: 92px 0 84px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.28;
  animation: pixelShift 12s linear infinite;
}

.hero::after,
.scanlines::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02) 0,
    rgba(255, 255, 255, 0.02) 2px,
    rgba(0, 0, 0, 0.2) 2px,
    rgba(0, 0, 0, 0.2) 4px
  );
  opacity: 0.38;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__title {
  font-size: clamp(1.6rem, 5vw, 3rem);
  text-shadow: 4px 4px 0 rgba(240, 171, 252, 0.35);
}

.hero__subtitle {
  margin: 0 auto 18px;
  max-width: 760px;
  color: var(--yellow);
  font-family: "Press Start 2P", monospace;
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  line-height: 1.8;
}

.hero__copy {
  margin: 0 auto 28px;
  max-width: 760px;
  color: var(--muted);
  font-size: 28px;
}

.hero__cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.microcopy {
  color: var(--muted);
  font-size: 20px;
  letter-spacing: 0.03em;
}

.panel,
.card,
.legal-panel,
.feature-card,
.review-card,
.game-card,
.faq-item,
.contact-card,
.stats-card {
  background: rgba(26, 26, 62, 0.95);
  padding: 24px;
  border: var(--border-yellow);
  box-shadow: var(--shadow-yellow);
}

.card--green,
.feature-card:nth-child(3n + 2),
.stats-card--green {
  border: var(--border-green);
  box-shadow: var(--shadow-green);
}

.card--magenta,
.feature-card:nth-child(3n),
.review-card:nth-child(2n) {
  border: var(--border-magenta);
  box-shadow: var(--shadow-magenta);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.feature-grid,
.review-grid,
.stats-grid,
.legal-grid,
.about-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stats-grid,
.about-grid,
.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.gallery-card {
  overflow: hidden;
}

.slider {
  position: relative;
}

.slider__viewport {
  position: relative;
  min-height: 320px;
}

.slider__slide {
  display: none;
}

.slider__slide.is-active {
  display: block;
}

.slider__frame {
  border: var(--border-magenta);
  background: rgba(10, 10, 18, 0.8);
  padding: 10px;
}

.slider__frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.slider__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

.slider__arrows {
  display: flex;
  gap: 12px;
}

.slider__arrow {
  width: 52px;
  height: 52px;
  border: var(--border-yellow);
  background: rgba(253, 224, 71, 0.1);
  color: var(--yellow);
  font-family: "Press Start 2P", monospace;
  font-size: 18px;
  box-shadow: var(--shadow-yellow);
}

.slider__dots {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.slider__dot {
  width: 18px;
  height: 18px;
  border: none;
  background: rgba(253, 224, 71, 0.28);
}

.slider__dot.is-active {
  background: var(--yellow);
  box-shadow: 0 0 0 2px #111;
}

.feature-card h3,
.review-card h3,
.stats-card h3,
.game-card h3,
.faq-item h3,
.contact-card h3,
.legal-panel h3 {
  font-size: 0.85rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
}

.list-check {
  list-style: square;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 24px;
}

.screenshot-grid img,
.demo-thumb,
.promo-shot {
  width: 100%;
  border: var(--border-yellow);
  background: rgba(7, 7, 12, 0.75);
  padding: 8px;
  box-shadow: var(--shadow-yellow);
  aspect-ratio: 16 / 9;
}

.cta-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.cta-banner img {
  height: 78px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: none;
  background: transparent;
  color: inherit;
  padding: 20px 22px;
  text-align: left;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
}

.faq-item__body {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-item.is-open .faq-item__body {
  display: block;
}

.faq-item__indicator {
  color: var(--yellow);
}

.site-footer {
  margin-top: 56px;
  padding: 42px 0 110px;
  background: rgba(8, 9, 16, 0.92);
  border-top: var(--border-magenta);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 18px;
}

.footer-nav a {
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--yellow);
}

.footer-legal {
  color: var(--muted);
  font-size: 20px;
}

.page-hero {
  padding: 68px 0 30px;
}

.page-hero__title {
  font-size: clamp(1.3rem, 4vw, 2.2rem);
}

.frame-embed {
  background: rgba(8, 8, 14, 0.92);
  padding: 12px;
  border: var(--border-green);
  box-shadow: var(--shadow-green);
}

.frame-embed iframe {
  width: 100%;
  min-height: 620px;
  border: none;
  display: block;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: var(--yellow);
}

.field-input,
.field-textarea {
  width: 100%;
  border: var(--border-green);
  background: rgba(8, 9, 16, 0.96);
  color: var(--text);
  padding: 14px 16px;
  box-shadow: var(--shadow-green);
}

.field-textarea {
  min-height: 180px;
  resize: vertical;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10020;
  max-width: 360px;
  padding: 18px;
  border: var(--border-magenta);
  background: rgba(26, 26, 62, 0.98);
  box-shadow: var(--shadow-magenta);
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
}

.utility-banner,
.age-gate,
.auth-modal {
  position: fixed;
  z-index: 9998;
}

.utility-banner {
  inset: auto 0 0 0;
}

.cookie-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-top: var(--border-yellow);
  background: rgba(26, 26, 46, 0.98);
}

.cookie-banner__text {
  font-size: 20px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.age-gate {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(9, 10, 20, 0.97);
  z-index: 10010;
}

.age-gate__panel {
  width: min(100%, 520px);
  padding: 28px;
  text-align: center;
  border: var(--border-yellow);
  background: #0d0d1a;
  box-shadow: var(--shadow-yellow);
}

.age-gate__panel img {
  width: 92px;
  height: 92px;
  margin: 0 auto 24px;
  image-rendering: pixelated;
}

.age-gate__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.auth-modal {
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
}

.auth-modal.is-open {
  display: flex;
}

.auth-modal__card {
  width: min(100%, 520px);
  padding: 24px;
  border: var(--border-yellow);
  background: var(--bg-alt);
  box-shadow: var(--shadow-yellow);
}

.auth-modal__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.auth-modal__close {
  border: none;
  background: transparent;
  color: var(--text);
  font-family: "Press Start 2P", monospace;
  font-size: 16px;
}

.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  border: var(--border-green);
  background: transparent;
  color: var(--text);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
}

.auth-tab.is-active {
  background: rgba(74, 222, 128, 0.15);
}

.auth-error {
  min-height: 26px;
  color: #ff9cb1;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
}

.auth-switch {
  margin-top: 16px;
  color: var(--muted);
  font-size: 20px;
}

.auth-switch button {
  border: none;
  background: transparent;
  color: var(--yellow);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
}

.disclaimer-strip {
  margin-top: 18px;
  color: var(--muted);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  line-height: 1.9;
}

.notice-box {
  padding: 18px;
  border: var(--border-magenta);
  background: rgba(240, 171, 252, 0.08);
  box-shadow: var(--shadow-magenta);
}

.coin-balance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: var(--border-yellow);
  background: rgba(253, 224, 71, 0.1);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
}

.accent-text-yellow {
  color: var(--yellow);
}

.accent-text-green {
  color: var(--green);
}

.accent-text-magenta {
  color: var(--magenta);
}

@keyframes pixelShift {
  from {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-12px, 8px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1080px) {
  .feature-grid,
  .review-grid,
  .stats-grid,
  .about-grid,
  .contact-grid,
  .game-grid,
  .site-footer__grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav-wrap {
    gap: 14px;
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    align-items: flex-start;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .site-nav-wrap {
    position: relative;
    flex-direction: column;
    align-items: flex-end;
  }

  .site-nav {
    display: none;
    width: min(100vw - 32px, 340px);
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    padding: 16px;
    justify-content: flex-start;
    background: rgba(17, 19, 31, 0.98);
    border: var(--border-yellow);
    box-shadow: var(--shadow-yellow);
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .header-auth {
    width: min(100vw - 32px, 340px);
    justify-content: flex-start;
  }

  .cta-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 20px;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding-top: 72px;
  }

  .cookie-banner,
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions,
  .age-gate__actions,
  .hero__cta-row {
    width: 100%;
  }

  .cookie-banner__actions > *,
  .age-gate__actions > *,
  .hero__cta-row > * {
    flex: 1 1 auto;
  }

  .review-grid,
  .stats-grid,
  .about-grid,
  .contact-grid,
  .feature-grid,
  .game-grid,
  .mini-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .slider__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .frame-embed iframe {
    min-height: 500px;
  }

  .toast {
    left: 16px;
    right: 16px;
    max-width: none;
  }
}
