:root {
  --sky: #edf8ff;
  --ink: #0d2734;
  --mist: #4f6f80;
  --edge: #c1d9e8;
  --panel: rgba(255, 255, 255, 0.75);
  --accent: #1f9ec7;
  --accent-2: #5ac8d8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, #ffffff 0, transparent 48%),
    radial-gradient(circle at 88% 15%, #d2f1ff 0, transparent 36%),
    linear-gradient(180deg, #d8f0ff 0%, var(--sky) 100%);
}

body.freeze {
  overflow: hidden;
}

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

.header-shell {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.7rem;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  margin: 0.9rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--edge);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  background: var(--panel);
}

.brandline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
}

.brandline img {
  width: 40px;
  height: 40px;
}

.burger {
  margin-left: auto;
  border: 1px solid var(--edge);
  background: #ffffffcc;
  width: 42px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
}

.burger span {
  height: 2px;
  background: #26607d;
}

.navlinks {
  grid-column: 1 / -1;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
}

.navlinks.on {
  display: flex;
}

.navlinks a {
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}

.navlinks a:hover,
.navlinks a:focus-visible {
  background: #dbf2ff;
}

.canvas {
  width: min(1560px, 100%);
  margin: 0 auto;
  padding: 0 0.9rem 1.3rem;
}

.hero-wrap {
  display: grid;
  gap: 0.95rem;
}

.hero-copy,
.hero-glass {
  border: 1px solid var(--edge);
  border-radius: 22px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.78);
}

.badge {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #2f8eb0;
  font-weight: 700;
}

h1,
h2 {
  font-family: "Manrope", sans-serif;
}

h1 {
  margin: 0.6rem 0;
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  line-height: 1.08;
}

.primary {
  display: inline-block;
  margin-top: 0.75rem;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  background: linear-gradient(95deg, var(--accent), var(--accent-2));
  color: #083043;
  font-weight: 700;
}

.hero-glass dl {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.hero-glass dt {
  font-weight: 700;
}

.hero-glass dd {
  margin: 0;
  color: var(--mist);
}

.float-cards {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.float-cards article {
  border: 1px solid var(--edge);
  border-radius: 16px;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.8);
}

.float-cards p {
  margin-bottom: 0;
  color: var(--mist);
}

.game-block {
  margin-top: 1rem;
  border: 1px solid var(--edge);
  border-radius: 20px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
}

.frame-panel {
  margin-top: 0.6rem;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid #a8cfdf;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.frame-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.plainmain {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 1rem;
}

.legalpanel {
  border: 1px solid var(--edge);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.legalpanel h2 {
  margin-top: 1.1rem;
}

.footer-strip {
  margin: 1.2rem 1rem 1rem;
  border: 1px solid var(--edge);
  border-radius: 14px;
  padding: 0.9rem;
  color: var(--mist);
  background: rgba(255, 255, 255, 0.72);
}

.rg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.rg-links a {
  color: #227da4;
}

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  place-items: center;
  background: rgba(14, 35, 47, 0.56);
  padding: 1rem;
}

.age-modal.visible {
  display: grid;
}

.age-window {
  width: min(420px, 100%);
  border: 1px solid #8dc1d8;
  border-radius: 18px;
  padding: 1.1rem;
  background: #f3fbff;
}

.chip {
  margin: 0;
  color: #2689af;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.age-choice {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.65rem;
}

.age-choice button {
  flex: 1;
  border: 1px solid #99c9de;
  background: #ffffff;
  color: #20556d;
  border-radius: 10px;
  padding: 0.66rem;
  font-weight: 700;
}

@media (min-width: 920px) {
  .header-shell {
    margin-inline: 1.2rem;
    grid-template-columns: auto 1fr;
  }

  .burger {
    display: none;
  }

  .navlinks {
    display: flex;
    grid-column: auto;
    flex-direction: row;
    justify-content: flex-end;
  }

  .hero-wrap {
    grid-template-columns: 1.1fr 0.9fr;
  }

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