:root {
  --bg: #fff6cf;
  --bg-soft: #fffdf2;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --text: #231a4f;
  --muted: #695b87;
  --line: rgba(88, 60, 170, 0.18);
  --brand: #ff4f9a;
  --brand-2: #20c8c0;
  --danger: #ff4b64;
  --gold: #ffb018;
  --green: #73d22c;
  --shadow: 0 18px 0 rgba(35, 26, 79, 0.08), 0 28px 70px rgba(255, 79, 154, 0.14);
  --radius: 24px;
  --radius-sm: 16px;
  --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 10% 12%, rgba(255, 79, 154, 0.28), transparent 22%),
    radial-gradient(circle at 88% 8%, rgba(32, 200, 192, 0.28), transparent 24%),
    radial-gradient(circle at 80% 62%, rgba(115, 210, 44, 0.18), transparent 20%),
    linear-gradient(180deg, #fff2b8 0%, #ffe2f1 42%, #dffbff 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(255, 255, 255, 0.78);
  border-bottom: 2px solid rgba(255, 79, 154, 0.22);
  box-shadow: 0 10px 0 rgba(35, 26, 79, 0.04);
}

.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: var(--brand);
}

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

.site-nav a,
.text-link {
  color: #4d3d75;
  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: #ffffff;
  background: linear-gradient(135deg, var(--brand), #ff8b2b);
  box-shadow: 0 8px 0 rgba(35, 26, 79, 0.1);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  border: 2px solid var(--line);
}

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

.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), #ffb018);
  color: #24134f;
  font-weight: 700;
  box-shadow: 0 8px 0 rgba(35, 26, 79, 0.15), 0 18px 34px rgba(255, 79, 154, 0.22);
  cursor: pointer;
}

.button--ghost {
  border-color: rgba(35, 26, 79, 0.16);
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 6px 0 rgba(35, 26, 79, 0.08);
}

.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: #24134f;
  color: #fff1a4;
  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: #ffffff;
}

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

.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;
  border: 2px solid rgba(255, 79, 154, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 196, 0.92));
}

.showcase-card--alt {
  transform: translateX(-84px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(212, 250, 255, 0.92));
  border-color: rgba(32, 200, 192, 0.3);
}

.showcase-card__eyebrow {
  color: var(--brand);
  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: #fff2a6;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.provider {
  color: #6c5b80;
  font-size: 0.82rem;
}

.accent-danger .tag {
  background: #ffe4ea;
  color: #c9163c;
}

.accent-gold .tag {
  background: #fff0b8;
  color: #8d5c00;
}

.feature-strip {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
  padding: 32px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, #ffffff 0%, #fff1a8 44%, #c9fbff 100%);
  border: 2px solid rgba(35, 26, 79, 0.12);
  box-shadow: var(--shadow);
}

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

.feature-list article {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(35, 26, 79, 0.1);
}

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

.panel {
  padding: 28px;
}

.panel--warm {
  background:
    radial-gradient(circle at top right, rgba(255, 176, 24, 0.28), transparent 34%),
    #ffffff;
}

.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: #ffffff;
}

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

.prose {
  max-width: 880px;
}

.prose ul {
  margin: 10px 0 24px;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.03rem;
}

.prose li + li {
  margin-top: 8px;
}

.site-footer {
  padding: 16px 0 98px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.64) 18%, rgba(255, 246, 207, 0.92));
}

.footer-grid {
  grid-template-columns: 1.25fr 0.8fr 0.95fr;
  padding: 28px 0;
  border-top: 2px solid rgba(35, 26, 79, 0.12);
}

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

.footer-links a {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: #3a286c;
  font-size: 1.05rem;
}

.footer-links a:hover {
  color: var(--brand);
}

.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: 2px solid rgba(35, 26, 79, 0.12);
  background: #ffffff;
  box-shadow: 0 8px 0 rgba(35, 26, 79, 0.08), 0 18px 36px rgba(35, 26, 79, 0.08);
  transition: 0.25s ease;
}

.responsible-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 79, 154, 0.34);
  background: #fffaf0;
}

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

.compliance-box {
  padding: 22px 24px;
  margin-top: 8px;
  background: #ffffff;
  border: 2px solid rgba(35, 26, 79, 0.12);
}

.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(35, 26, 79, 0.62);
  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: #ffffff;
  border: 2px solid rgba(35, 26, 79, 0.16);
  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(255, 255, 255, 0.97);
  border: 2px solid rgba(35, 26, 79, 0.14);
  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: #ffffff;
    border: 2px solid var(--line);
    box-shadow: var(--shadow);
  }

  .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;
  }

}
