:root {
  --bg: #07111f;
  --bg-soft: #0f1d31;
  --panel: rgba(15, 29, 49, 0.82);
  --panel-strong: #13243c;
  --text: #eef4ff;
  --muted: #9fb0c8;
  --line: rgba(255, 255, 255, 0.08);
  --brand: #ff8f3d;
  --brand-2: #2ed3c6;
  --danger: #ff6d77;
  --gold: #f7c85a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius: 28px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100% - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(46, 211, 198, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 143, 61, 0.2), transparent 26%),
    linear-gradient(180deg, #07111f 0%, #0a1527 100%);
  min-width: 320px;
}

body.is-locked {
  overflow: hidden;
}

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

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

main {
  display: block;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 54px;
  height: auto;
}

.brand--dynamic {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.brand__domain,
.brand__zone {
  font-weight: 800;
  letter-spacing: -0.05em;
  font-size: 1.55rem;
}

.brand__domain {
  color: var(--text);
}

.brand__zone {
  color: #ffb25f;
}

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

.site-nav a,
.text-link {
  color: var(--muted);
  transition: 0.25s ease;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a.is-active,
.text-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero,
.page-hero {
  padding: 64px 0 28px;
}

.hero-grid,
.two-col,
.game-hero,
.footer-grid,
.game-notes,
.feature-strip {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  min-height: calc(100svh - 122px);
}

.hero-copy h1,
.page-hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-copy p,
.page-hero p,
.panel p,
.prose p,
.footer-copy,
.compliance-box p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.03rem;
}

.hero-actions,
.card-actions,
.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--brand), #ffb25f);
  color: #101928;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(255, 143, 61, 0.22);
  cursor: pointer;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: none;
}

.button--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.pill,
.tag,
.provider {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
}

.pill {
  padding: 8px 14px;
  background: rgba(46, 211, 198, 0.14);
  color: #91f1e9;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero-points,
.stack-links,
.footer-links {
  display: grid;
  gap: 12px;
}

.hero-points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-points li,
.stack-links a,
.panel,
.game-card,
.showcase-card,
.iframe-shell,
.compliance-box {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-points li,
.stack-links a {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 18px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
}

.orb--one {
  width: 220px;
  height: 220px;
  left: 4%;
  top: 9%;
  background: rgba(46, 211, 198, 0.22);
}

.orb--two {
  width: 260px;
  height: 260px;
  right: 5%;
  bottom: 2%;
  background: rgba(255, 143, 61, 0.22);
}

.showcase-card,
.panel,
.game-card,
.iframe-shell,
.compliance-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
}

.showcase-card {
  width: min(100%, 420px);
  padding: 28px;
}

.showcase-card--alt {
  transform: translateX(-84px);
  background: rgba(19, 36, 60, 0.88);
}

.showcase-card__eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.showcase-card h2,
.section-heading h2,
.feature-strip h2,
.panel h2,
.prose h1,
.prose h2,
.game-card h2,
.game-card h3 {
  margin: 12px 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section {
  padding: 28px 0 82px;
}

.section--dark {
  padding-top: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

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

.game-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.game-card__body {
  padding: 22px;
}

.game-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.tag {
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.provider {
  color: var(--muted);
  font-size: 0.82rem;
}

.accent-danger .tag {
  background: rgba(255, 109, 119, 0.14);
  color: #ffb0b5;
}

.accent-gold .tag {
  background: rgba(247, 200, 90, 0.16);
  color: #ffe39d;
}

.feature-strip {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(19, 36, 60, 0.94), rgba(9, 23, 38, 0.96));
  border: 1px solid var(--line);
}

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

.feature-list article {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

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

.panel {
  padding: 28px;
}

.panel--warm {
  background:
    radial-gradient(circle at top right, rgba(247, 200, 90, 0.18), transparent 32%),
    rgba(19, 36, 60, 0.88);
}

.stack-links a {
  color: var(--text);
}

.page-hero--compact {
  padding-bottom: 6px;
}

.page-hero--game .game-hero {
  grid-template-columns: 1fr 320px;
  align-items: center;
}

.hero-art {
  justify-self: end;
  width: min(100%, 320px);
}

.iframe-shell {
  padding: 14px;
}

.iframe-shell iframe {
  width: 100%;
  min-height: 72svh;
  border: 0;
  border-radius: 22px;
  background: #02060d;
}

.game-notes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.prose {
  max-width: 880px;
}

.site-footer {
  padding: 16px 0 98px;
}

.footer-grid {
  grid-template-columns: 1.25fr 0.8fr 0.95fr;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer-grid h3 {
  margin: 0 0 14px;
}

.footer-links a {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: var(--text);
  font-size: 1.05rem;
}

.footer-links a:hover {
  color: #ffb25f;
}

.brand--footer img {
  width: 50px;
}

.responsible-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.responsible-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 58px;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition: 0.25s ease;
}

.responsible-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 178, 95, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.responsible-link img {
  width: auto;
  max-width: 136px;
  max-height: 28px;
}

.compliance-box {
  padding: 22px 24px;
  margin-top: 8px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 9, 16, 0.78);
  backdrop-filter: blur(12px);
}

.age-gate[hidden],
.cookie-banner[hidden] {
  display: none !important;
}

.age-gate__dialog {
  width: min(100%, 520px);
  padding: 30px;
  border-radius: 30px;
  background: #0d1a2b;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 25;
}

.cookie-banner__inner {
  width: min(100%, 760px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(13, 26, 43, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@media (max-width: 1024px) {
  .hero-grid,
  .feature-strip,
  .footer-grid,
  .page-hero--game .game-hero,
  .two-col,
  .game-notes {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-stage {
    min-height: auto;
    justify-items: stretch;
  }

  .showcase-card--alt {
    transform: none;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav {
    position: absolute;
    top: 82px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 24px;
    background: #0d1a2b;
    border: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 360px) {
  .button,
  .button--small {
    width: 100%;
  }

  .header-row {
    gap: 12px;
  }

  .brand img {
    width: 48px;
  }

  .brand__domain,
  .brand__zone {
    font-size: 1.2rem;
  }

  .brand__tag {
    font-size: 0.48rem;
    letter-spacing: 0.16em;
  }
}
