/* Fern Fortune — NZ social casino */
:root {
  --bg-deep: #061210;
  --bg-panel: #0f2420;
  --bg-elevated: #163028;
  --fern: #45e89a;
  --fern-dim: #2db872;
  --gold: #e8b923;
  --gold-soft: #ffd966;
  --coral: #ff7eb3;
  --sky: #5ec8ff;
  --violet: #b794ff;
  --amber: #ffb347;
  --teal: #3ee8d6;
  --text: #f2faf5;
  --text-muted: #a8c4b8;
  --border: rgba(69, 232, 154, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --gradient-brand: linear-gradient(120deg, var(--fern) 0%, var(--teal) 45%, var(--gold-soft) 100%);
  --gradient-heading: linear-gradient(95deg, var(--fern) 0%, var(--sky) 40%, var(--gold-soft) 85%);
  --radius: clamp(12px, 1.2vw, 18px);
  --header-h: 4.25rem;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: var(--fern);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--gold-soft);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  inset-block-start: 0;
  z-index: 300;
  padding: 0.75rem 1rem;
  background: var(--fern);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}

.skip-link:focus {
  inset-inline-start: 0.75rem;
  inset-block-start: 0.75rem;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.container--wide {
  width: min(1240px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease-out), box-shadow 0.35s;
}

.site-header.is-scrolled {
  background: rgba(7, 20, 16, 0.96);
  box-shadow: 0 1px 0 var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand__mark {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a.btn--primary,
.site-nav a.btn--primary:hover {
  color: #000;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset-block-start: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(7, 20, 16, 0.97);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out), opacity 0.35s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
}

.btn--primary {
  background: var(--fern);
  color: #000;
  box-shadow: none;
}

.btn--primary:hover {
  transform: translateY(-1px);
  background: var(--fern-dim);
  color: #000;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: calc(var(--header-h) + 3rem) 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 18, 16, 0.93) 0%, rgba(6, 18, 16, 0.78) 42%, rgba(6, 18, 16, 0.5) 100%),
    url("images/hero-bg.webp") center / cover no-repeat;
  z-index: 0;
}

.hero__ferns {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath fill='%233dd68c' fill-opacity='.08' d='M60 10c-8 32-32 40-32 64 0 16 14 28 32 28s32-12 32-28c0-24-24-32-32-64z'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(61, 214, 140, 0.1);
  border: 1px solid var(--border);
  color: var(--fern);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-block-end: 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem);
  line-height: 1.08;
  margin: 0 0 1.25rem;
  font-weight: 500;
}

.hero__title em {
  font-style: italic;
  color: var(--fern);
}

.hero__lead {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 0.5vw + 1rem, 1.2rem);
  max-width: 38ch;
  margin: 0 0 1.75rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-end: 2rem;
}

.badge {
  font-size: 0.8125rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.hero__badges .badge:nth-child(1) {
  background: rgba(69, 232, 154, 0.15);
  border-color: rgba(69, 232, 154, 0.45);
  color: var(--fern);
}

.hero__badges .badge:nth-child(2) {
  background: rgba(94, 200, 255, 0.12);
  border-color: rgba(94, 200, 255, 0.4);
  color: var(--sky);
}

.hero__badges .badge:nth-child(3) {
  background: rgba(255, 217, 102, 0.12);
  border-color: rgba(255, 217, 102, 0.45);
  color: var(--gold-soft);
}

.hero__panel {
  background: var(--bg-panel);
  border: 1px solid rgba(94, 200, 255, 0.2);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(69, 232, 154, 0.12);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

.hero__panel h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-block-start: 1.25rem;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--fern);
}

.hero__stat:nth-child(2) strong {
  color: var(--gold-soft);
}

.hero__stat span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.section--alt {
  background: rgba(15, 36, 28, 0.55);
}

.section__head {
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
  margin-block-end: clamp(2rem, 4vw, 3rem);
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.5vw + 1rem, 2.75rem);
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.section__head h2 em {
  font-style: italic;
  color: var(--fern);
}

.section__head p {
  margin: 0;
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Game cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.game-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(69, 232, 154, 0.55);
  box-shadow: var(--shadow), 0 0 0 1px rgba(94, 200, 255, 0.15);
  color: inherit;
}

.games-grid .game-card:nth-child(6n + 1):hover {
  border-color: rgba(69, 232, 154, 0.55);
}

.games-grid .game-card:nth-child(6n + 2):hover {
  border-color: rgba(255, 217, 102, 0.5);
}

.games-grid .game-card:nth-child(6n + 3):hover {
  border-color: rgba(255, 126, 179, 0.5);
}

.games-grid .game-card:nth-child(6n + 4):hover {
  border-color: rgba(94, 200, 255, 0.5);
}

.games-grid .game-card:nth-child(6n + 5):hover {
  border-color: rgba(183, 148, 255, 0.5);
}

.games-grid .game-card:nth-child(6n + 6):hover {
  border-color: rgba(62, 232, 214, 0.5);
}

.game-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.game-card:hover .game-card__media img {
  transform: scale(1.05);
}

.game-card__tag {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  background: var(--fern);
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #041008;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.game-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-card__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-block-end: 0.35rem;
}

.game-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.game-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  flex: 1;
}

.game-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.game-card__tags li {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(69, 232, 154, 0.12);
  border: 1px solid rgba(69, 232, 154, 0.25);
  color: var(--fern);
}

.game-card__tags li:nth-child(2) {
  background: rgba(94, 200, 255, 0.1);
  border-color: rgba(94, 200, 255, 0.28);
  color: var(--sky);
}

.game-card__cta {
  font-weight: 600;
  color: var(--fern);
  font-size: 0.9375rem;
}

/* Features / about */
.features-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-block-start: 3px solid var(--fern);
}

.features-grid .feature-card:nth-child(1) {
  border-block-start-color: var(--fern);
}

.features-grid .feature-card:nth-child(2) {
  border-block-start-color: var(--sky);
}

.features-grid .feature-card:nth-child(3) {
  border-block-start-color: var(--gold-soft);
}

.features-grid .feature-card:nth-child(4) {
  border-block-start-color: var(--coral);
}

.features-grid .feature-card:nth-child(5) {
  border-block-start-color: var(--violet);
}

.features-grid .feature-card:nth-child(6) {
  border-block-start-color: var(--teal);
}

.feature-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--fern);
  margin-block-end: 0.75rem;
}

.features-grid .feature-card:nth-child(2) svg {
  color: var(--sky);
}

.features-grid .feature-card:nth-child(3) svg {
  color: var(--gold-soft);
}

.features-grid .feature-card:nth-child(4) svg {
  color: var(--coral);
}

.features-grid .feature-card:nth-child(5) svg {
  color: var(--violet);
}

.features-grid .feature-card:nth-child(6) svg {
  color: var(--teal);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Reviews */
.reviews-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  margin: 0;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.reviews-grid .review-card:nth-child(2) {
  border-color: rgba(94, 200, 255, 0.25);
}

.reviews-grid .review-card:nth-child(3) {
  border-color: rgba(255, 126, 179, 0.22);
}

.reviews-grid .review-card:nth-child(4) {
  border-color: rgba(255, 217, 102, 0.22);
}

.reviews-grid .review-card:nth-child(5) {
  border-color: rgba(183, 148, 255, 0.22);
}

.reviews-grid .review-card:nth-child(6) {
  border-color: rgba(62, 232, 214, 0.22);
}

.reviews-grid .review-card:nth-child(7) {
  border-color: rgba(69, 232, 154, 0.28);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-block-end: 0.65rem;
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-block-end: 0.75rem;
  color: var(--gold-soft);
}

.review-stars svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.review-stars svg.is-empty {
  color: var(--text-muted);
  opacity: 0.35;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--fern);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #041008;
  font-size: 0.875rem;
}

.reviews-grid .review-card:nth-child(3) .review-card__avatar {
  background: var(--sky);
}

.reviews-grid .review-card:nth-child(4) .review-card__avatar {
  background: var(--gold-soft);
}

.reviews-grid .review-card:nth-child(5) .review-card__avatar {
  background: var(--coral);
}

.reviews-grid .review-card:nth-child(6) .review-card__avatar {
  background: var(--teal);
}

.reviews-grid .review-card:nth-child(7) .review-card__avatar {
  background: var(--violet);
}

.review-card blockquote {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.review-card cite {
  display: block;
  margin-block-start: 0.75rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  font-size: 0.875rem;
}

/* Mission */
.section--mission {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section--mission::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(6, 18, 16, 0.92) 0%, rgba(6, 18, 16, 0.82) 50%, rgba(6, 18, 16, 0.88) 100%),
    url("images/mission-bg.webp") center / cover no-repeat;
}

.section--mission .mission {
  position: relative;
  z-index: 1;
}

.mission {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .mission {
    grid-template-columns: 1fr 1fr;
  }
}

.mission__visual {
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 217, 102, 0.35);
  background:
    linear-gradient(145deg, rgba(6, 18, 16, 0.72), rgba(6, 18, 16, 0.85)),
    url("images/mission-bg.webp") center / cover no-repeat;
  min-height: min(320px, 50vw);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
}

.mission__visual p {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.4;
  color: var(--gold-soft);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

/* Game page */
.game-page {
  padding-block: calc(var(--header-h) + 1.75rem) 4rem;
}

.game-page__head {
  margin-block-end: 1.5rem;
}

.game-page__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.game-page__head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.5vw + 0.75rem, 2.25rem);
  font-weight: 500;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.game-page__meta {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.game-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .game-layout {
    grid-template-columns: 1.4fr 0.6fr;
    align-items: start;
  }
}

.game-frame-wrap {
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

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

.game-sidebar {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.game-sidebar img {
  border-radius: calc(var(--radius) - 4px);
  margin-block-end: 1rem;
}

.game-sidebar ul {
  padding-inline-start: 1.1rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* About page */
.about-hero {
  position: relative;
  padding-block: calc(var(--header-h) + 3rem) 3.5rem;
  overflow: hidden;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 18, 16, 0.9) 0%, rgba(6, 18, 16, 0.72) 55%, rgba(6, 18, 16, 0.85) 100%),
    url("images/about-auckland.webp") center / cover no-repeat;
  z-index: 0;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-hero__eyebrow {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(69, 232, 154, 0.12);
  border: 1px solid rgba(69, 232, 154, 0.35);
  color: var(--fern);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-block-end: 1rem;
}

.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 0 0 1rem;
  max-width: 16ch;
}

.about-hero h1 em {
  font-style: italic;
  color: var(--fern);
}

.about-hero__lead {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 0.5vw + 1rem, 1.15rem);
  max-width: 52ch;
  margin: 0;
}

.about-split {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

@media (min-width: 900px) {
  .about-split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .about-split--reverse .about-split__media {
    order: 2;
  }
}

.about-split__media {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about-split__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2vw, 2.15rem);
  margin: 0 0 1rem;
}

.about-split__content h2 em {
  font-style: italic;
  color: var(--fern);
}

.about-split__content p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.about-split__content p:last-of-type {
  margin-bottom: 1.25rem;
}

.about-pillars {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.about-pillars__head {
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
  margin-block-end: 2.5rem;
}

.about-pillars__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.5vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.about-pillars__head p {
  margin: 0;
  color: var(--text-muted);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-block-start: 2rem;
}

.about-stats__item {
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(69, 232, 154, 0.08);
  border: 1px solid var(--border);
}

.about-stats__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-soft);
  margin-bottom: 0.25rem;
}

.about-stats__item span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.about-responsible {
  padding-block: clamp(3rem, 6vw, 4rem);
}

.about-responsible__panel {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 126, 179, 0.25);
  background: var(--bg-elevated);
}

@media (min-width: 800px) {
  .about-responsible__panel {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.about-responsible__panel h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
}

.about-responsible__panel p {
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.about-responsible__panel ul {
  margin: 0;
  padding-inline-start: 1.2rem;
  color: var(--text-muted);
}

.about-cta {
  padding-block: 3rem 4.5rem;
  text-align: center;
}

.about-cta__box {
  padding: 2rem 1.5rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(94, 200, 255, 0.25);
  background: var(--bg-panel);
}

.about-cta__box h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
}

.about-cta__box p {
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 auto 1.25rem;
}

/* Legal / content pages */
.prose h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.prose h2 {
  font-family: var(--font-display);
  margin-block-start: 2rem;
  font-size: clamp(1.15rem, 1.5vw + 0.75rem, 1.35rem);
}

.prose--legal h2 {
  margin-block-start: 2.25rem;
  padding-block-end: 0.35rem;
  border-bottom: 1px solid var(--border);
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose--legal p,
.prose--legal li {
  line-height: 1.7;
}

.prose--legal ol {
  padding-inline-start: 1.35rem;
  color: var(--text-muted);
}

.prose--legal ol li + li {
  margin-block-start: 0.5rem;
}

.page-shell {
  padding-block: calc(var(--header-h) + 2rem) 4rem;
}

/* Contact form */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  color: var(--text);
  font: inherit;
}

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

.contact-info {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* Footer */
.site-footer {
  border-block-start: 1px solid var(--border);
  background: #050e0b;
  padding-block: 3rem 2rem;
  margin-block-start: 2rem;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  margin-block-end: 2rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h2,
.site-footer h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--fern);
}

.footer-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 1.25rem 1.35rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-block-end: 1.5rem;
}

.footer-disclaimer p {
  margin: 0 0 0.65rem;
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-disclaimer strong {
  color: var(--text);
  font-weight: 600;
}

.footer-badges {
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "age help"
    "note note";
  align-items: start;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-badges__age {
  grid-area: age;
  align-self: center;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--gold-soft);
  white-space: nowrap;
}

.footer-badges__note {
  grid-area: note;
  margin: 0;
  padding-block-start: 0.85rem;
  border-block-start: 1px solid var(--border);
  text-align: center;
  width: 100%;
}

.footer-help-links {
  grid-area: help;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  width: 100%;
  min-width: 0;
  align-items: stretch;
}

.footer-help-links li {
  display: flex;
  min-width: 0;
  min-height: 100%;
}

.footer-help-links__pill {
  display: grid;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 0.25rem;
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 4.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  box-sizing: border-box;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, border-color 0.2s;
  text-align: start;
}

@media (max-width: 900px) {
  .footer-badges {
    grid-template-columns: 1fr;
    grid-template-areas:
      "age"
      "help"
      "note";
  }

  .footer-badges__age {
    justify-self: start;
  }

  .footer-help-links {
    grid-template-columns: 1fr;
  }

  .footer-help-links__pill {
    min-height: 0;
    height: auto;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .footer-help-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-help-links li:last-child {
    grid-column: 1 / -1;
  }
}

.footer-help-links__pill span {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
}

.footer-help-links__pill:hover {
  transform: translateY(-2px);
  color: inherit;
}

.footer-help-links__pill--helpline,
.footer-help-links__pill--pgf,
.footer-help-links__pill--sga {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.footer-help-links__pill--helpline {
  background: rgba(69, 232, 154, 0.14);
  border-color: rgba(69, 232, 154, 0.45);
  color: var(--fern);
}

.footer-help-links__pill--helpline:hover {
  border-color: var(--fern);
}

.footer-help-links__pill--pgf {
  background: rgba(94, 200, 255, 0.12);
  border-color: rgba(94, 200, 255, 0.4);
  color: var(--sky);
}

.footer-help-links__pill--pgf:hover {
  border-color: var(--sky);
}

.footer-help-links__pill--sga {
  background: rgba(255, 217, 102, 0.12);
  border-color: rgba(255, 217, 102, 0.45);
  color: var(--gold-soft);
}

.footer-help-links__pill--sga:hover {
  border-color: var(--gold-soft);
}

.footer-copy {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 10, 8, 0.92);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal {
  width: min(440px, 100%);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.modal h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.modal p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0 0 1.25rem;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.modal__fine {
  margin-block-start: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.modal[hidden],
.modal-overlay[hidden] {
  display: none !important;
}

.cookie-bar {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 150;
  width: 100%;
  background: var(--bg-elevated);
  border-block-start: 1px solid var(--border);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
  padding-block: 1rem;
}

.cookie-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-bar__text {
  flex: 1 1 16rem;
  max-width: 52rem;
}

.cookie-bar__text p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.cookie-bar__title {
  color: var(--text);
  font-size: 0.875rem;
  margin-bottom: 0.35rem !important;
}

.cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-bar[hidden] {
  display: none !important;
}
