@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/epilogue-600-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: "Epilogue";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/epilogue-600-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: "Epilogue";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/epilogue-700-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: "Epilogue";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/epilogue-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;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/figtree-400-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: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/figtree-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: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/figtree-600-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: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/figtree-600-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: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/figtree-700-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: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/figtree-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;
}

:root {
  --ink: #1c2430;
  --muted: #5a6574;
  --line: #d5dee7;
  --bg: #f4f7fa;
  --surface: #ffffff;
  --sky: #3f7f9a;
  --sky-deep: #2f647a;
  --blush: #c9786c;
  --cloud: #e7f0f5;
  --sand: #f3ebe3;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 28px rgba(28, 36, 48, 0.07);
  --max: 1120px;
  --font-display: "Epilogue", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--sky-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blush);
}

h1,
h2,
h3,
.brand {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin: 0 0 0.7rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 0 0 0.7rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.45rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-rail {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.header-rail .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  min-height: 1.85rem;
}

.header-rail a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.05;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px 10px 14px 14px;
  background: var(--sky);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
}

.brand-mark::before {
  width: 58%;
  height: 28%;
  left: 12%;
  top: 38%;
}

.brand-mark::after {
  width: 38%;
  height: 22%;
  right: 10%;
  top: 28%;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-text small {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.25rem;
  background: var(--cloud);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.8rem;
  border-radius: 9px;
}

.nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--sky-deep);
  box-shadow: 0 1px 0 rgba(28, 36, 48, 0.06);
}

.nav a:hover {
  color: var(--sky-deep);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  background: var(--sky);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-cta:hover {
  background: var(--sky-deep);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  cursor: pointer;
  grid-column: 3;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--sky);
  color: #fff;
}

.btn-primary:hover {
  background: var(--sky-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--sky);
  color: var(--sky-deep);
}

.btn-on-media {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-on-media:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-blush {
  background: var(--blush);
  color: #fff;
}

.btn-blush:hover {
  background: #b5665b;
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(54vh, 480px);
  display: grid;
  align-items: center;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(244, 247, 250, 0.92) 0%, rgba(244, 247, 250, 0.72) 42%, rgba(244, 247, 250, 0.2) 70%, rgba(244, 247, 250, 0.08) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 1rem 2rem;
  padding: 2rem 0;
}

.hero-copy {
  max-width: 30rem;
  animation: rise 0.65s ease both;
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin: 0 0 0.6rem;
}

.hero-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28rem;
  margin: 0;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.hero-btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--line);
  color: var(--ink);
}

.hero-btn-ghost:hover {
  border-color: var(--sky);
  color: var(--sky-deep);
  background: #fff;
}

.hero-figure {
  display: grid;
  place-items: center;
  animation: floatCloud 4.8s ease-in-out infinite;
}

.hero-figure img {
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(47, 100, 122, 0.18));
}

@keyframes floatCloud {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3.2rem 0;
}

.section-surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.accent {
  color: var(--sky);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Games grid — compact horizontal cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.game-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  min-height: 112px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.game-card:hover {
  border-color: var(--sky);
  transform: translateY(-2px);
}

.game-card img {
  width: 112px;
  height: 100%;
  min-height: 112px;
  max-height: 128px;
  object-fit: cover;
  background: var(--cloud);
}

.game-card-body {
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}

.game-card h3 {
  color: var(--ink);
  font-size: 1.05rem;
  margin: 0;
}

.game-card p {
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card .play-link {
  margin-top: 0.35rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--sky-deep);
  text-decoration: none;
}

/* Featured play — stacked stage */
.featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.featured-top {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.featured-frame {
  background: var(--cloud);
  height: min(62vh, 520px);
  min-height: 420px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.featured-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  display: block;
  background: var(--cloud);
  overflow: hidden;
}

.featured-side {
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  background: var(--sand);
}

.featured .disclaimer {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--bg);
}

.disclaimer {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--sand);
  color: var(--ink);
  font-size: 0.95rem;
}

.disclaimer p {
  margin: 0 0 0.55rem;
  color: var(--ink);
}

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

.disclaimer-links a {
  font-weight: 700;
}

/* About — editorial band */
.about-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
}

.about-band .split-media {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  animation: none;
  min-height: 100%;
}

.about-band .split-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  aspect-ratio: auto;
  object-fit: cover;
}

.about-copy {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.checklist li {
  display: grid;
  grid-template-columns: 0.55rem 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--ink);
  padding: 0.55rem 0.7rem;
  background: var(--bg);
  border-radius: 8px;
}

.checklist .dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--sky);
  margin-top: 0.45rem;
  border: 0;
}

.checklist .dot::after {
  display: none;
}

/* Steps — vertical timeline */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 720px;
  margin-inline: auto;
  border-left: 2px solid var(--line);
  padding-left: 1.25rem;
}

.step {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 0 1.5rem;
  box-shadow: none;
  position: relative;
}

.step::before {
  content: "";
  position: absolute;
  left: calc(-1.25rem - 5px);
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--sky);
}

.step-num {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.step p {
  margin: 0;
  font-size: 0.96rem;
}

.section-head.rail {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
  max-width: none;
  text-align: left;
  margin-bottom: 2rem;
}

.section-head.rail p {
  margin: 0;
  max-width: 28rem;
}

/* Safe play — partners first strip */
.safe {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: 0;
}

.safe-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem 1.7rem;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.safe-note {
  padding: 0.7rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  padding: 0.75rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
  transition: border-color 0.2s ease;
}

.partner:hover {
  border-color: var(--sky);
  transform: none;
  color: var(--ink);
}

.partner span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.2rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
  padding: 0.95rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  color: var(--sky-deep);
}

.faq-item p {
  margin-top: 0;
  padding-bottom: 0.95rem;
}

/* Forms */
.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(63, 127, 154, 0.35);
  border-color: var(--sky);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-msg {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--cloud);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}

.form-msg.is-visible {
  display: block;
  animation: rise 0.35s ease both;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
}

.contact-card {
  padding: 1.5rem;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-card li {
  color: var(--muted);
}

.contact-card strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

/* Page hero small */
.page-hero {
  padding: 3.2rem 0 1.5rem;
}

.page-hero p {
  max-width: 40rem;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul {
  color: var(--muted);
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

/* Footer */
.site-footer {
  background: #243140;
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 1.5rem;
  margin-top: 2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.8rem;
  margin-bottom: 2.2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.7rem;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 2px solid #fff;
  font-weight: 800;
  color: #fff;
  margin-right: 0.4rem;
}

/* Game shell pages */
.game-shell {
  padding: 1.5rem 0 2.5rem;
}

.game-shell .page-hero {
  padding-top: 0.4rem;
  padding-bottom: 0.85rem;
}

.game-stage {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: min(72vh, 640px);
  min-height: 480px;
}

.game-stage iframe {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  display: block;
  overflow: hidden;
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 520px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
  display: none;
}

.cookie-bar.is-visible {
  display: block;
  animation: rise 0.35s ease both;
}

.cookie-bar p {
  margin: 0 0 0.8rem;
  font-size: 0.92rem;
}

/* Responsive */
@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-cta {
    display: none;
  }

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

  .featured-top,
  .about-band,
  .safe-main,
  .section-head.rail,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .about-band .split-media {
    order: -1;
    max-height: 240px;
  }

  .about-band .split-media img {
    min-height: 220px;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: relative;
  }

  .header-rail {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--surface);
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 0.65rem 1rem 1rem;
    z-index: 40;
  }

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

  .nav a {
    padding: 0.7rem 0.55rem;
  }

  .nav a[aria-current="page"] {
    box-shadow: none;
  }

  .game-card {
    grid-template-columns: 88px 1fr;
    min-height: 88px;
  }

  .game-card img {
    width: 88px;
    min-height: 88px;
    max-height: 110px;
  }

  .form-row,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-shade {
    background: rgba(244, 247, 250, 0.78);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 1.6rem 0 1.35rem;
    gap: 0.5rem;
  }

  .hero-copy {
    max-width: 28rem;
  }

  .hero-copy > p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-figure {
    order: -1;
  }

  .hero-figure img {
    width: min(56vw, 200px);
  }

  .featured-frame,
  .game-stage {
    height: min(70vh, 480px);
    min-height: 360px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
