:root {
  color-scheme: dark;
  --bg: #08070d;
  --bg-soft: #111018;
  --panel: rgba(20, 18, 30, 0.86);
  --panel-solid: #171521;
  --text: #fff8e9;
  --muted: #c9c2d7;
  --muted-2: #928aa8;
  --gold: #f4c75d;
  --gold-2: #fff1ad;
  --emerald: #18d58a;
  --ruby: #ff3766;
  --cyan: #55d8ff;
  --violet: #9c6dff;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 18%, rgba(24, 213, 138, 0.12), transparent 30rem),
    radial-gradient(circle at 88% 10%, rgba(255, 55, 102, 0.12), transparent 28rem),
    linear-gradient(180deg, #08070d 0%, #100d17 45%, #07060b 100%);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

body.age-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 0.65rem 0.9rem;
  background: var(--gold);
  color: #17100a;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin: 0.75rem auto 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 7, 13, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  border: 1px solid rgba(244, 199, 93, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(244, 199, 93, 0.95), rgba(255, 55, 102, 0.72)),
    #1c1220;
  color: #150d09;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 0 28px rgba(244, 199, 93, 0.24);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  padding: 0 0.8rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  border-color: rgba(244, 199, 93, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.25rem auto;
  background: currentColor;
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.button--primary {
  background: linear-gradient(135deg, var(--gold), #ff8d4d 48%, var(--ruby));
  color: #1b0d08;
  box-shadow: 0 14px 32px rgba(255, 55, 102, 0.25);
}

.button--outline {
  border-color: rgba(244, 199, 93, 0.36);
  background: rgba(255, 255, 255, 0.06);
}

.button--soft {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 5.3rem);
  margin-top: -4.3rem;
  padding: 8.4rem 1rem 4.5rem;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(8, 7, 13, 0.94) 0%, rgba(8, 7, 13, 0.8) 32%, rgba(8, 7, 13, 0.34) 70%, rgba(8, 7, 13, 0.72) 100%),
    linear-gradient(180deg, rgba(8, 7, 13, 0.1) 0%, rgba(8, 7, 13, 0.95) 98%),
    url("../images/hero-social-casino-nz.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  animation: heroPulse 16s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9rem;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero__content {
  width: min(100% - 1rem, var(--max));
  margin: 0 auto;
  padding-top: 2.4rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4rem, 12vw, 9.8rem);
  line-height: 0.83;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(244, 199, 93, 0.2);
}

.hero__lead {
  width: min(42rem, 100%);
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
}

.hero__actions,
.game-actions,
.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button.is-ready {
  border-color: rgba(244, 199, 93, 0.82);
  box-shadow: 0 0 26px rgba(244, 199, 93, 0.28);
  animation: readyPulse 1s ease-in-out infinite alternate;
}

.hero__actions {
  margin-top: 1.55rem;
}

.disclaimer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  width: min(48rem, 100%);
  margin-top: 1.8rem;
}

.disclaimer-grid span {
  min-height: 4.2rem;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  border: 1px solid rgba(244, 199, 93, 0.24);
  border-radius: 8px;
  background: rgba(8, 7, 13, 0.64);
  color: var(--gold-2);
  font-weight: 950;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.notice-band {
  width: min(100% - 2rem, var(--max));
  margin: -1.2rem auto 0;
  padding: 1rem;
  border: 1px solid rgba(24, 213, 138, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(24, 213, 138, 0.14), rgba(85, 216, 255, 0.08));
  color: var(--muted);
}

.notice-band strong {
  color: var(--text);
}

.intro-section,
.games-section,
.responsible-strip,
.policy-shell {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.intro-section,
.games-section {
  padding: 5.3rem 0 0;
}

.section-heading {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 1.4rem;
}

.section-heading--center {
  justify-items: center;
  text-align: center;
}

.section-heading h2,
.responsible-strip h2,
.policy-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-row article {
  min-height: 12.4rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1.1rem;
  border-radius: 8px;
  background: rgba(244, 199, 93, 0.14);
  color: var(--gold);
  font-weight: 950;
}

.feature-row h3,
.game-content h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
}

.feature-row p,
.game-copy,
.responsible-strip p,
.policy-hero p,
.policy-card p,
.policy-card li,
.site-footer p {
  color: var(--muted);
}

.feature-row p,
.game-copy {
  margin: 0;
}

.game-panel {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.22fr);
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    var(--panel-solid);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.game-panel:nth-of-type(even) {
  grid-template-columns: minmax(0, 1.22fr) minmax(18rem, 0.78fr);
}

.game-panel:nth-of-type(even) .game-cover {
  order: 2;
}

.game-cover {
  position: relative;
  min-height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #120f19;
}

.game-cover img {
  width: 100%;
  height: 100%;
  min-height: 34rem;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.game-panel:hover .game-cover img {
  transform: scale(1.04);
  filter: saturate(1.18) contrast(1.08);
}

.game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 7, 13, 0.72));
  pointer-events: none;
}

.game-cover__badge,
.game-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(244, 199, 93, 0.32);
  border-radius: 8px;
  background: rgba(8, 7, 13, 0.7);
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.game-cover__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
}

.game-content {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(0.2rem, 1.2vw, 1rem);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.showcase-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    var(--panel-solid);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.showcase-card:hover {
  border-color: rgba(244, 199, 93, 0.35);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), 0 0 34px rgba(244, 199, 93, 0.08);
}

.showcase-card__image {
  position: relative;
  display: block;
  min-height: 19rem;
  overflow: hidden;
  color: var(--text);
}

.showcase-card__image img {
  width: 100%;
  height: 21rem;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
}

.showcase-card:hover .showcase-card__image img {
  transform: scale(1.05);
  filter: saturate(1.16) contrast(1.05);
}

.showcase-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 7, 13, 0.72));
}

.showcase-card__body {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1.1rem;
}

.showcase-card h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 0.95;
}

.showcase-card p {
  margin: 0;
  color: var(--muted);
}

.mini-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.mini-list li {
  position: relative;
  padding-left: 1.1rem;
}

.mini-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(244, 199, 93, 0.42);
}

.game-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.game-title-row h3 {
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  line-height: 0.95;
}

.game-tag {
  flex: 0 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.stats-grid div {
  min-height: 4.7rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.stats-grid span,
.stats-grid small {
  display: block;
}

.stats-grid span {
  color: var(--gold-2);
  font-size: 1.5rem;
  font-weight: 950;
  line-height: 1.1;
}

.stats-grid small {
  color: var(--muted-2);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.slot-machine {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  min-height: 14rem;
  padding: 0.7rem;
  border: 1px solid rgba(244, 199, 93, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.24)),
    #090811;
  box-shadow: inset 0 0 38px rgba(0, 0, 0, 0.48);
}

.slot-machine--deluxe {
  min-height: 23rem;
  padding: 1rem;
  border-color: rgba(244, 199, 93, 0.3);
  background:
    radial-gradient(circle at center, rgba(244, 199, 93, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 17%, transparent 82%, rgba(0, 0, 0, 0.28)),
    #080710;
}

.payline {
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  z-index: 3;
  height: 0.28rem;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), #ffffff, var(--gold), transparent);
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(244, 199, 93, 0.7));
  transform-origin: center;
}

.payline--top {
  top: 24%;
}

.payline--center {
  top: 50%;
}

.payline--bottom {
  top: 76%;
}

.payline--diag-a {
  top: 50%;
  transform: rotate(15deg);
}

.payline--diag-b {
  top: 50%;
  transform: rotate(-15deg);
}

.payline.is-active {
  opacity: 1;
  animation: lineSweep 0.9s ease both;
}

.slot-reel {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 0.45rem;
  min-width: 0;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.slot-symbol,
.memory-face,
.choice-button {
  user-select: none;
}

.slot-symbol {
  display: grid;
  place-items: center;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), transparent 35%),
    linear-gradient(145deg, rgba(244, 199, 93, 0.14), rgba(24, 213, 138, 0.07));
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.slot-symbol.is-center {
  border-color: rgba(244, 199, 93, 0.52);
  box-shadow: 0 0 24px rgba(244, 199, 93, 0.18);
}

.slot-symbol.is-wild {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.36), transparent 42%),
    linear-gradient(145deg, rgba(156, 109, 255, 0.32), rgba(244, 199, 93, 0.18));
}

.slot-symbol.is-winning {
  border-color: var(--gold-2);
  transform: scale(1.04);
  box-shadow: 0 0 28px rgba(244, 199, 93, 0.32), inset 0 0 24px rgba(244, 199, 93, 0.12);
  animation: tileWin 0.78s ease-in-out infinite alternate;
}

.slot-reel.is-spinning .slot-symbol {
  animation: reelFlash 0.16s linear infinite;
  filter: blur(0.5px);
}

.slot-glyph {
  display: block;
  color: var(--symbol-color, var(--gold-2));
  font-size: clamp(1.35rem, 4vw, 2.4rem);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 0 16px rgba(244, 199, 93, 0.22);
}

.slot-label {
  display: block;
  width: 100%;
  color: var(--muted);
  font-size: clamp(0.56rem, 1.2vw, 0.72rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.slot-symbol[data-symbol="ruby"],
.memory-card[data-symbol="Ruby"] .memory-front {
  background: linear-gradient(145deg, rgba(255, 55, 102, 0.34), rgba(244, 199, 93, 0.12));
}

.slot-symbol[data-symbol="fern"],
.memory-card[data-symbol="Fern"] .memory-front {
  background: linear-gradient(145deg, rgba(24, 213, 138, 0.28), rgba(85, 216, 255, 0.1));
}

.slot-symbol[data-symbol="paua"],
.memory-card[data-symbol="Paua"] .memory-front {
  background: linear-gradient(145deg, rgba(85, 216, 255, 0.3), rgba(156, 109, 255, 0.16));
}

.slot-symbol[data-symbol="kiwi"],
.memory-card[data-symbol="Kiwi"] .memory-front {
  background: linear-gradient(145deg, rgba(244, 199, 93, 0.28), rgba(138, 92, 44, 0.18));
}

.result-line {
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--muted);
  font-weight: 800;
}

.result-line.is-bright {
  animation: resultGlow 0.72s ease both;
}

.memory-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.58rem;
  min-height: 25rem;
  padding: 0.7rem;
  border: 1px solid rgba(244, 199, 93, 0.2);
  border-radius: 8px;
  background: #090811;
}

.memory-board--deluxe {
  min-height: 32rem;
  background:
    radial-gradient(circle at center, rgba(24, 213, 138, 0.08), transparent 44%),
    #07070d;
}

.memory-board[data-cards="20"] {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.memory-card {
  position: relative;
  min-height: 5.4rem;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  perspective: 800px;
}

.memory-card:disabled {
  cursor: default;
}

.memory-inner {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  transform-style: preserve-3d;
  transition: transform 0.48s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.memory-card.is-flipped .memory-inner,
.memory-card.is-matched .memory-inner,
.memory-board.is-peeking .memory-inner {
  transform: rotateY(180deg);
}

.memory-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  backface-visibility: hidden;
  overflow: hidden;
}

.memory-back {
  border: 1px solid rgba(244, 199, 93, 0.24);
  background:
    linear-gradient(135deg, rgba(244, 199, 93, 0.18), rgba(255, 55, 102, 0.1)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 8px, transparent 8px 16px),
    #16111f;
}

.memory-back::before {
  content: "GN";
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(244, 199, 93, 0.4);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 950;
}

.memory-front {
  transform: rotateY(180deg);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
}

.memory-card.is-matched .memory-front {
  border-color: rgba(24, 213, 138, 0.62);
  box-shadow: inset 0 0 26px rgba(24, 213, 138, 0.14), 0 0 22px rgba(24, 213, 138, 0.13);
}

.memory-card.is-wrong {
  animation: cardShake 0.38s ease;
}

.memory-symbol {
  display: grid;
  gap: 0.25rem;
  text-align: center;
}

.memory-symbol strong {
  color: var(--gold-2);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1;
}

.memory-symbol span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wheel-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 24rem;
  border: 1px solid rgba(244, 199, 93, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(244, 199, 93, 0.1), transparent 35%),
    #090811;
  overflow: hidden;
}

.wheel-stage--deluxe {
  min-height: 33rem;
  background:
    radial-gradient(circle at center, rgba(85, 216, 255, 0.13), transparent 36%),
    radial-gradient(circle at 30% 80%, rgba(244, 199, 93, 0.11), transparent 30%),
    #07070d;
}

.wheel-stage--deluxe .wheel-pointer {
  top: calc(50% - 16.1rem);
}

.harbour-wheel {
  position: relative;
  width: min(19.5rem, 78vw);
  aspect-ratio: 1;
  border: 0.85rem solid #211526;
  border-radius: 50%;
  background: conic-gradient(
    #18d58a 0deg 45deg,
    #ff3766 45deg 90deg,
    #55d8ff 90deg 135deg,
    #f4c75d 135deg 180deg,
    #9c6dff 180deg 225deg,
    #1eb3a5 225deg 270deg,
    #fd8d4d 270deg 315deg,
    #2e62ff 315deg 360deg
  );
  box-shadow:
    inset 0 0 0 0.42rem rgba(0, 0, 0, 0.28),
    inset 0 0 3rem rgba(0, 0, 0, 0.36),
    0 0 4rem rgba(85, 216, 255, 0.13);
  transition: transform 4.6s cubic-bezier(0.12, 0.78, 0.1, 1);
}

.harbour-wheel--deluxe {
  width: min(27rem, 78vw);
  border-width: 1rem;
}

.harbour-wheel--deluxe .wheel-label {
  transform: rotate(var(--angle)) translateY(-10.5rem) rotate(calc(-1 * var(--angle)));
}

.harbour-wheel::before {
  content: "";
  position: absolute;
  inset: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.wheel-label {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 4.1rem;
  height: 2rem;
  margin: -1rem 0 0 -2.05rem;
  transform: rotate(var(--angle)) translateY(-7.4rem) rotate(calc(-1 * var(--angle)));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: white;
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}

.wheel-pointer {
  position: absolute;
  top: calc(50% - 11.8rem);
  left: 50%;
  z-index: 3;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 0.8rem solid transparent;
  border-right: 0.8rem solid transparent;
  border-top: 1.45rem solid var(--gold-2);
  filter: drop-shadow(0 0 12px rgba(244, 199, 93, 0.45));
}

.wheel-core {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 7rem;
  height: 7rem;
  border: 0.5rem solid #231829;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(145deg, var(--gold), #fd8d4d);
  color: #190c08;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 0 2.6rem rgba(244, 199, 93, 0.18);
}

.wheel-stage.is-spinning .wheel-core {
  animation: corePulse 0.5s ease-in-out infinite alternate;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

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

.choice-button {
  min-height: 3rem;
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  color: var(--text);
  cursor: pointer;
  font-weight: 950;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.choice-button:hover,
.choice-button:focus-visible,
.choice-button.is-selected {
  transform: translateY(-1px);
  border-color: var(--signal-color);
  box-shadow: 0 0 22px color-mix(in srgb, var(--signal-color) 28%, transparent);
}

.choice-button::before {
  content: "";
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--signal-color);
  box-shadow: 0 0 12px var(--signal-color);
  vertical-align: middle;
}

.game-page {
  background:
    radial-gradient(circle at 10% 10%, rgba(244, 199, 93, 0.12), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(85, 216, 255, 0.11), transparent 30rem),
    linear-gradient(180deg, #08070d, #0d0a12 45%, #07060b);
}

.play-hero {
  position: relative;
  min-height: 30rem;
  margin-top: -4.3rem;
  padding: 8rem 1rem 4rem;
  overflow: hidden;
}

.play-hero::before,
.play-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.play-hero::before {
  background-image:
    linear-gradient(90deg, rgba(8, 7, 13, 0.94), rgba(8, 7, 13, 0.62), rgba(8, 7, 13, 0.88)),
    var(--play-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: heroPulse 18s ease-in-out infinite alternate;
}

.play-hero::after {
  background: linear-gradient(180deg, transparent 48%, var(--bg) 100%);
}

.play-hero--kiwi {
  --play-bg: url("../images/kiwi-reels-arena.png");
}

.play-hero--fern {
  --play-bg: url("../images/fern-flip-arena.png");
}

.play-hero--wheel {
  --play-bg: url("../images/harbour-wheel-arena.png");
}

.play-hero__content {
  width: min(100% - 1rem, var(--max));
  margin: 0 auto;
}

.play-hero h1 {
  width: min(10ch, 100%);
  margin: 0;
  font-size: clamp(4rem, 12vw, 8.8rem);
  line-height: 0.84;
}

.play-hero p:not(.eyebrow) {
  width: min(43rem, 100%);
  color: var(--muted);
  font-size: clamp(1.03rem, 2vw, 1.24rem);
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  margin-bottom: 1.15rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(244, 199, 93, 0.28);
  border-radius: 8px;
  background: rgba(8, 7, 13, 0.58);
  color: var(--gold-2);
  font-weight: 900;
  text-decoration: none;
}

.disclaimer-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 9rem));
}

.play-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, 0.35fr) minmax(0, 1fr);
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin: -2rem auto 4rem;
  padding: 1rem;
  border: 1px solid rgba(244, 199, 93, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(18, 15, 25, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.fx-canvas {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.rules-panel,
.play-table {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.24);
}

.rules-panel {
  align-self: start;
  padding: 1rem;
}

.rules-panel h2,
.play-table h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 0.96;
}

.rules-panel p {
  color: var(--muted);
}

.play-table {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.stats-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.meter {
  display: grid;
  gap: 0.45rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.meter--small {
  min-width: min(24rem, 100%);
  padding: 0.65rem;
}

.meter__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.meter__top strong {
  color: var(--gold-2);
}

.meter__track {
  height: 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.meter__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--emerald), var(--cyan), var(--gold), var(--ruby));
  box-shadow: 0 0 20px rgba(244, 199, 93, 0.24);
  transition: width 0.35s ease;
}

.win-log {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.win-log span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0 0.6rem;
  border: 1px solid rgba(244, 199, 93, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.win-log--stack {
  align-content: start;
}

.table-toolbar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.8rem;
}

.segmented-control {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: min(20rem, 100%);
  padding: 0.25rem;
  border: 1px solid rgba(244, 199, 93, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.segmented-control button {
  min-height: 2.75rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 950;
}

.segmented-control button.is-selected {
  background: linear-gradient(135deg, rgba(244, 199, 93, 0.92), rgba(255, 55, 102, 0.74));
  color: #1b0d08;
}

.wheel-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 0.88fr) minmax(17rem, 0.62fr);
  gap: 1rem;
}

.wheel-side {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.responsible-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr auto;
  align-items: center;
  gap: 1.4rem;
  margin-top: 5.3rem;
  margin-bottom: 4rem;
  padding: 1.3rem;
  border: 1px solid rgba(85, 216, 255, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(85, 216, 255, 0.14), rgba(156, 109, 255, 0.1));
}

.responsible-strip p {
  margin: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 2.6rem;
  border-top: 1px solid var(--line);
}

.brand--footer {
  margin-bottom: 0.85rem;
}

.site-footer p {
  max-width: 43rem;
  margin: 0;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-content: start;
  gap: 0.55rem 1rem;
}

.footer-nav a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(8, 7, 13, 0.72), rgba(8, 7, 13, 0.94)),
    url("../images/hero-social-casino-nz.png") center / cover;
}

.age-gate[hidden] {
  display: none;
}

.age-gate__panel {
  width: min(35rem, 100%);
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid rgba(244, 199, 93, 0.28);
  border-radius: var(--radius);
  background: rgba(12, 10, 18, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.age-gate__panel h2 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 3.5rem);
  line-height: 0.96;
}

.age-gate__panel p {
  color: var(--muted);
}

.mini-note {
  margin-bottom: 0;
  font-size: 0.84rem;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: min(46rem, calc(100% - 2rem));
  padding: 0.9rem;
  border: 1px solid rgba(244, 199, 93, 0.25);
  border-radius: var(--radius);
  background: rgba(12, 10, 18, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-banner div {
  display: flex;
  gap: 0.55rem;
}

.policy-shell {
  padding: 4rem 0;
}

.policy-hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 2rem;
}

.policy-hero--accent {
  border-bottom: 1px solid rgba(85, 216, 255, 0.22);
}

.policy-card {
  padding: clamp(1.2rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.policy-card h2 {
  margin: 2rem 0 0.6rem;
  color: var(--gold-2);
  font-size: 1.35rem;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p,
.policy-card ul {
  margin-top: 0;
}

.policy-card a {
  color: var(--gold-2);
  font-weight: 800;
}

.policy-card code {
  color: var(--gold-2);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

th,
td {
  padding: 0.8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.07);
}

tr:last-child td {
  border-bottom: 0;
}

@keyframes heroPulse {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.07);
  }
}

@keyframes reelFlash {
  from {
    transform: translateY(-5%);
  }
  to {
    transform: translateY(5%);
  }
}

@keyframes resultGlow {
  0% {
    border-color: rgba(244, 199, 93, 0.2);
    box-shadow: none;
  }
  50% {
    border-color: rgba(244, 199, 93, 0.78);
    box-shadow: 0 0 28px rgba(244, 199, 93, 0.2);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }
}

@keyframes cardShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

@keyframes corePulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@keyframes readyPulse {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-1px);
  }
}

@keyframes lineSweep {
  0% {
    opacity: 0;
    clip-path: inset(0 50% 0 50%);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes tileWin {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.25);
  }
}

@media (max-width: 920px) {
  .site-header {
    width: min(100% - 1rem, var(--max));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 4.8rem 0 auto;
    display: grid;
    gap: 0.5rem;
    width: min(100% - 1rem, var(--max));
    margin: 0 auto;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 7, 13, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-135%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

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

  .site-nav a {
    justify-content: center;
  }

  .disclaimer-grid,
  .feature-row,
  .game-panel,
  .game-panel:nth-of-type(even),
  .responsible-strip,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .game-panel:nth-of-type(even) .game-cover {
    order: 0;
  }

  .game-cover img {
    min-height: 18rem;
    max-height: 28rem;
  }

  .responsible-strip {
    align-items: start;
  }

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

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 7.8rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 18vw, 5.8rem);
  }

  .disclaimer-grid,
  .stats-grid,
  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slot-machine {
    gap: 0.35rem;
    min-height: 12rem;
    padding: 0.45rem;
  }

  .slot-reel {
    gap: 0.32rem;
    padding: 0.32rem;
  }

  .memory-board {
    min-height: 20rem;
    gap: 0.4rem;
    padding: 0.45rem;
  }

  .memory-card {
    min-height: 4.4rem;
  }

  .wheel-stage {
    min-height: 21rem;
  }

  .wheel-label {
    transform: rotate(var(--angle)) translateY(-6.55rem) rotate(calc(-1 * var(--angle)));
  }

  .wheel-pointer {
    top: calc(50% - 10.4rem);
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-banner div,
  .cookie-banner .button {
    width: 100%;
  }
}

@media (max-width: 920px) {
  .showcase-grid,
  .play-shell,
  .wheel-layout {
    grid-template-columns: 1fr;
  }

  .showcase-card {
    transform: none !important;
  }

  .play-hero {
    margin-top: -4.8rem;
    padding-top: 8rem;
  }

  .disclaimer-grid--compact,
  .stats-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-toolbar {
    display: grid;
  }

  .rules-panel {
    order: 2;
  }
}

@media (max-width: 640px) {
  .showcase-card__image,
  .showcase-card__image img {
    min-height: 15rem;
    height: 17rem;
  }

  .play-hero h1 {
    font-size: clamp(3.2rem, 16vw, 5.5rem);
  }

  .play-shell {
    width: min(100% - 0.75rem, var(--max));
    padding: 0.55rem;
  }

  .slot-machine--deluxe {
    min-height: 15rem;
  }

  .memory-board[data-cards="20"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wheel-stage--deluxe {
    min-height: 24rem;
  }

  .wheel-stage--deluxe .wheel-pointer {
    top: calc(50% - 11.2rem);
  }

  .harbour-wheel--deluxe {
    width: min(20rem, 76vw);
  }

  .harbour-wheel--deluxe .wheel-label {
    width: 3.4rem;
    font-size: 0.56rem;
    transform: rotate(var(--angle)) translateY(-7.85rem) rotate(calc(-1 * var(--angle)));
  }

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

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