@font-face {
  font-family: "Oxanium";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/oxanium-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Oxanium";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/oxanium-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/atkinson-400-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/atkinson-400-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/atkinson-700-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/atkinson-700-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* @mike 18.09.2026: tokens live here, don't fork a second :root in games.css
   Tom tried it, contrast fell off WCAG on the coral buttons */
:root {
  color-scheme: dark;
  --bg: #07080c;
  --bg-2: #10141c;
  --bg-3: #171d28;
  --ink: #eef3f8;
  --ink-dim: #b4c0ce;
  --line: #2c3648;
  --mint: #3dffc8;
  --mint-dim: #1aa37e;
  --coral: #ff5a3c;
  --coral-dim: #c63a22;
  --focus: #ffe08a;
  --radius: 4px;
  --header-h: 72px;
  --shadow: 6px 6px 0 #3dffc8;
  --font-display: "Oxanium", "Segoe UI", sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.nav-open,
html.age-locked {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

#particles-js canvas {
  display: block;
  width: 100%;
  height: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--mint);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

a:hover {
  color: #9affe4;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--focus);
  color: #111;
  padding: 8px 12px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.wrap,
.app-wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}
h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
}
h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

.site-header,
.main-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 8, 12, 0.94);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.headerInner {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo,
.gd-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.logo img,
.gd-logo img {
  width: 40px;
  height: 40px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--mint);
  background: transparent;
  color: var(--mint);
  cursor: pointer;
  border-radius: var(--radius);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

.nav-close {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--mint);
  background: transparent;
  color: var(--mint);
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: var(--radius);
}

.site-nav ul,
.gd-nav ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a,
.gd-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.site-nav a:hover,
.gd-nav a:hover,
.site-nav a[aria-current="page"],
.gd-nav a[aria-current="page"] {
  border-color: var(--mint);
  color: var(--mint);
}

.nav-overlay {
  display: none;
}

.hero,
.hero-section {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

/* @alex: hero-baner spelling is leftover from Marcia's 12.09 branch, class is hooked in HTML, leave it */
.hero-media,
.hero-baner,
.media-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-media img,
.hero-baner img,
.media-frame img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center;
}

.media-static img {
  width: 100%;
  border: 1px solid var(--line);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(7, 8, 12, 0.25) 0%,
    rgba(7, 8, 12, 0.88) 78%
  );
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 56px;
  max-width: 38rem;
  justify-self: start;
  margin-left: max(16px, calc((100% - 1120px) / 2));
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-dim);
}

.btn,
.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #c63a22;
  background: #c63a22;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 #3dffc8;
  transition: all 0.22s ease;
}

.btn:hover,
.card-btn:hover {
  color: #fff;
  background: #9e2e1a;
  border-color: #9e2e1a;
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 #3dffc8;
}

.btn-ghost {
  background: transparent;
  color: var(--mint);
  border-color: var(--mint);
  box-shadow: none;
}

.btn-ghost:hover {
  color: var(--bg);
  background: var(--mint);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 50rem;
  width: 100%;
  margin-bottom: 32px;
}

.feature-grid,
.featureGrid,
.quote-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gd-gameGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gd-gameCard {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: var(--radius);
}

.gd-gameCard img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 12px;
  border: 1px solid var(--line);
}

.gd-playWrap {
  position: relative;
  width: 100%;
  height: min(72vh, 740px);
  min-height: 420px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--mint);
}

.gd-playFrame {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  border: 0;
  background: #000;
}

.pricin-card,
.card-fix-2026 {
  /* leftover names from the Apr pricing spike / Jun card hotfix, still referenced */
  border-color: var(--line);
}

.card,
.gd-gameCard,
.board-card {
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.card:hover,
.gd-gameCard:hover,
.board-card:hover {
  transform: translateY(-6px);
  border-color: var(--mint);
  box-shadow: 0 12px 28px rgba(61, 255, 200, 0.14);
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: var(--radius);
}

.card svg {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}

.card h3 {
  color: var(--mint);
}

.catalogue-panel {
  border: 1px dashed var(--mint-dim);
  padding: 28px;
  background: var(--bg-2);
}

.leaderboard {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.leaderboard .media-frame img {
  height: 100%;
  transform: none;
}

.leaderboard .wrap {
  position: relative;
  z-index: 2;
}

.board-card {
  background: rgba(16, 20, 28, 0.92);
  border: 1px solid var(--mint);
  padding: 24px;
  max-width: 560px;
}

.board-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.board-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
}

.initials {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--bg-3);
  border: 1px solid var(--mint);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--mint);
}

.nick {
  margin: 0;
  font-weight: 700;
}

.score {
  margin: 0;
  font-family: var(--font-display);
  color: var(--coral);
}

.bar {
  height: 8px;
  background: #243040;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 6px;
}

.bar > span {
  display: block;
  height: 100%;
  background: var(--mint);
}

.quote-grid blockquote {
  margin: 0 0 12px;
  color: var(--ink-dim);
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.stars svg {
  width: 16px;
  height: 16px;
  margin: 0;
}

.quote-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 700;
  font-size: 1.0625rem;
  font-family: var(--font-body);
  line-height: 1.65;
}

.quote-meta img {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
}

.notice,
.secton-dark {
  background: var(--bg-3);
}

.notice a {
  color: var(--focus);
}

.signup,
.mw-signup {
  background: var(--bg-2);
}

.signup-form,
.contact-form {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  border-radius: var(--radius);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  background: #05060a;
  padding: 48px 0 120px;
  border-top: 2px solid var(--mint);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer h2 {
  font-size: 1rem;
  color: var(--mint);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.hq {
  font-style: normal;
  white-space: pre-line;
  color: var(--ink);
  line-height: 1.45;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 10px;
  border: 1px solid var(--coral);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}

.badge:hover {
  background: var(--coral);
  color: #fff;
}

.copy {
  margin-top: 28px;
  color: var(--ink-dim);
  font-size: 0.92rem;
}

.page-hero {
  padding: 48px 0 8px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.map-frame {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--mint);
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.faq details {
  border: 1px solid var(--line);
  background: var(--bg-2);
  margin-bottom: 8px;
  padding: 4px 16px;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
  transition: color 0.22s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--mint);
}

.faq-panel {
  overflow: hidden;
}

.faq details[open] .faq-panel {
  animation: faqOpen 0.38s ease;
}

.faq-panel p {
  margin: 0 0 1rem;
}

@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-doc h2 {
  margin-top: 1.6em;
}

.legal-doc ol,
.legal-doc ul {
  padding-left: 1.2em;
}

code {
  font-family: ui-monospace, Consolas, monospace;
  color: var(--mint);
}

.age-gate,
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
}

.age-gate[hidden],
.modal[hidden] {
  display: none;
}

.age-gate-backdrop,
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 8, 0.86);
}

.age-panel,
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--mint);
  padding: 28px;
  box-shadow: var(--shadow);
}

#age-title,
#success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

.cookie-bar,
.ui-cookieBar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: #121820;
  border-top: 2px solid var(--mint);
  color: var(--ink);
  padding: 16px;
  transform: translateY(0);
  opacity: 1;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.cookie-bar.is-hiding,
.ui-cookieBar.is-hiding {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

html.cookies-ok .cookie-bar,
html.cookies-ok .ui-cookieBar {
  display: none;
}

html.age-ok .age-gate {
  display: none;
}

.cookie-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-bar p {
  margin: 0;
  max-width: 48rem;
  color: var(--ink);
}

.cookie-bar a {
  color: var(--focus);
}

.faq summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .feature-grid,
  .featureGrid,
  .quote-grid,
  .benefit-grid,
  .footer-grid,
  .split,
  .gd-gameGrid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 55;
  }

  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav,
  .gd-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 88vw);
    background: #0d1218;
    border-left: 1px solid var(--mint);
    padding: 88px 20px 24px;
    z-index: 60;
    transform: translateX(100%);
    opacity: 0.6;
    transition:
      transform 0.32s ease,
      opacity 0.32s ease;
  }

  .site-nav ul,
  .gd-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  html.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  html.nav-open .site-nav,
  html.nav-open .gd-nav {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .gd-gameGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .gd-playWrap {
    height: min(78vh, 640px);
    min-height: 240px;
  }

  .gd-playFrame {
    height: 100%;
    min-height: 240px;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-copy {
    padding-top: 64px;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .gd-playWrap {
    height: min(85dvh, 720px);
    min-height: 280px;
    border-left: 0;
    border-right: 0;
  }

  .gd-playFrame {
    height: 100%;
    min-height: 280px;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .gd-playWrap {
    height: calc(100dvh - 120px);
    min-height: 180px;
  }

  .gd-playFrame {
    height: 100%;
    min-height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
