:root {
  color-scheme: dark;
  --max: 1440px;
  --ink: #fff7ed;
  --soft: rgba(255, 247, 237, .78);
  --muted: #c8b8d9;
  --panel: rgba(20, 9, 32, .86);
  --panel-2: rgba(43, 17, 64, .82);
  --line: rgba(255, 214, 102, .28);
  --gold: #ffd166;
  --gold-2: #ff9f1c;
  --orange: #ff6b35;
  --pink: #ff4fd8;
  --violet: #7c3aed;
  --cyan: #28e7b7;
  --accent: #ff6b35;
  --accent-dark: #7f1d1d;
  --shadow: 0 24px 70px rgba(0, 0, 0, .48);
  --r: 18px;
  --r-sm: 12px;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  overflow-x: hidden;
  background: #09030f;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(9, 3, 15, .38), rgba(9, 3, 15, .9) 68%, #09030f),
    url("assets/wildfoxworld-hero.png") center top / cover no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 79, 216, .26), transparent 28%),
    radial-gradient(circle at 84% 14%, rgba(40, 231, 183, .22), transparent 26%),
    linear-gradient(90deg, rgba(0, 0, 0, .58), transparent 30%, transparent 70%, rgba(0, 0, 0, .58));
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1; }

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 78%);
}

.shell {
  width: calc(100% - 32px);
  max-width: var(--max);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: .7rem;
  left: .7rem;
  z-index: 80;
  padding: .55rem .75rem;
  border-radius: var(--r-sm);
  background: var(--gold);
  color: #241004;
  font-weight: 900;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

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

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 209, 102, .2);
  background: rgba(10, 3, 17, .78);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.stuck {
  background: rgba(10, 3, 17, .95);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .38);
}

.header-shell {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 0 26px rgba(255, 107, 53, .4);
}

.brand-text {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--ink);
  text-transform: uppercase;
}

.brand-text span { color: var(--gold); }

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .35rem;
}

.nav-actions a {
  display: none;
  padding: .62rem .85rem;
  border-radius: var(--r-sm);
  color: var(--soft);
  font-size: .9rem;
  font-weight: 900;
}

.nav-actions a:hover { background: rgba(255, 255, 255, .08); color: var(--ink); }

.nav-actions .play-link {
  display: inline-flex;
  color: #220d05;
  background: linear-gradient(180deg, #ffe8a3, var(--gold) 44%, var(--gold-2));
  box-shadow: 0 14px 28px rgba(255, 159, 28, .28);
}

/* hero/game */
.casino-hero {
  padding-block: 1.2rem 1rem;
}

.casino-hero > *,
.hero-panel,
.game-card,
.machine,
.info-panel,
.lobby-showcase,
.play-section {
  min-width: 0;
}

.hero-panel {
  min-height: 560px;
  padding: 1rem;
  border: 1px solid rgba(255, 209, 102, .24);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(17, 5, 30, .88), rgba(17, 5, 30, .42) 58%, rgba(17, 5, 30, .78)),
    url("assets/wildfoxworld-hero.png") center / cover no-repeat;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(255, 209, 102, .32);
  border-radius: 22px;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  min-height: 520px;
  padding: 1rem;
  display: grid;
  gap: .8rem;
  align-content: end;
  justify-items: start;
}

.age-pill {
  width: fit-content;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .65rem;
  border: 1px solid rgba(255, 209, 102, .34);
  border-radius: 999px;
  background: rgba(20, 9, 32, .64);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.age-pill span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 26px;
  border-radius: 999px;
  background: var(--gold);
  color: #220d05;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 2.55rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .28), 0 0 32px rgba(255, 79, 216, .42);
  overflow-wrap: anywhere;
}

.lede {
  max-width: 35rem;
  margin: 0;
  color: var(--soft);
  font-size: 1rem;
  font-weight: 600;
  overflow-wrap: break-word;
}

.quick-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: .45rem;
  width: 100%;
}

.quick-stats span {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .7rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  color: var(--ink);
  font-weight: 900;
}

.quick-stats strong {
  color: var(--gold);
  margin-right: .25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.primary-action,
.secondary-action {
  min-height: 46px;
  padding: .75rem 1rem;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.primary-action {
  color: #241004;
  background: linear-gradient(180deg, #ffe8a3, var(--gold-2));
  box-shadow: 0 14px 28px rgba(255, 159, 28, .28);
}

.secondary-action {
  border: 1px solid rgba(255, 209, 102, .36);
  background: rgba(255, 255, 255, .08);
  color: var(--ink);
}

.world-ticker {
  margin-block: .5rem 1.5rem;
  border-block: 1px solid rgba(255, 209, 102, .22);
  background: rgba(8, 2, 15, .78);
  overflow: hidden;
}

.ticker-track {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  overflow: hidden;
  color: var(--soft);
  font-weight: 800;
}

.ticker-track span {
  flex: 0 0 auto;
}

.ticker-track strong {
  display: inline-flex;
  margin-right: .4rem;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: var(--gold);
  color: #241004;
  font-size: .82rem;
}

.lobby-showcase,
.play-section {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r);
  background:
    linear-gradient(180deg, rgba(49, 19, 74, .78), rgba(15, 5, 25, .88));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.lobby-layout,
.play-layout {
  display: grid;
  gap: .9rem;
}

.lobby-grid {
  display: grid;
  gap: .75rem;
}

.lobby-card,
.feed-panel {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .075);
}

.lobby-card {
  position: relative;
  min-height: 230px;
  padding: 1rem;
  display: grid;
  align-content: end;
  overflow: hidden;
}

.lobby-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 20%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 48%);
  pointer-events: none;
}

.lobby-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 28px color-mix(in srgb, var(--accent) 28%, transparent);
}

.tag {
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 1;
  padding: .28rem .5rem;
  border-radius: 999px;
  background: var(--gold);
  color: #241004;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lobby-icon {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  margin-bottom: .6rem;
}

.lobby-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 .35rem;
  font-family: var(--display);
  font-size: 2rem;
  text-transform: uppercase;
  color: white;
}

.lobby-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 .8rem;
  color: var(--muted);
  font-weight: 600;
}

.lobby-card a {
  position: relative;
  z-index: 1;
  width: fit-content;
  min-height: 40px;
  padding: .58rem .8rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 209, 102, .24);
  color: var(--gold);
  font-weight: 900;
}

.feed-panel {
  padding: 1rem;
}

.feed-panel h3 {
  margin: 0 0 .8rem;
  font-family: var(--display);
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--gold);
}

.feed-panel p {
  margin: 0;
  padding: .75rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--muted);
  font-weight: 600;
}

.feed-panel p:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.feed-panel strong {
  color: white;
}

.game-card,
.info-panel,
.content-band {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r);
  background:
    linear-gradient(180deg, rgba(49, 19, 74, .82), rgba(15, 5, 25, .9));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.game-card {
  overflow: hidden;
}

.jackpot-strip {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .2rem .65rem;
  padding: .75rem .9rem;
  background:
    linear-gradient(90deg, rgba(255, 79, 216, .25), rgba(255, 159, 28, .2)),
    rgba(0, 0, 0, .25);
  border-bottom: 1px solid rgba(255, 209, 102, .22);
}

.jackpot-strip span,
.jackpot-strip em {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
  font-style: normal;
}

.jackpot-strip strong {
  grid-row: span 2;
  justify-self: end;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(255, 209, 102, .45);
}

.game-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: .45rem;
  padding: .75rem;
}

.game-tabs button {
  min-width: 0;
  min-height: 66px;
  padding: .55rem .35rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .07);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: .18rem;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.game-tabs button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .1);
}

.game-tabs button.active {
  border-color: var(--accent);
  background:
    radial-gradient(circle at 50% 0, color-mix(in srgb, var(--accent) 28%, transparent), transparent 72%),
    rgba(255, 255, 255, .09);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 34%, transparent);
}

.game-tabs button:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.game-tabs span {
  font-size: 1.55rem;
  line-height: 1;
}

.game-tabs strong {
  width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  font-size: .8rem;
  font-weight: 900;
}

.machine {
  margin: 0 .75rem .75rem;
  padding: .85rem;
  border-radius: var(--r);
  border: 1px solid rgba(255, 209, 102, .26);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent-dark) 35%, rgba(32, 9, 46, .92)), rgba(9, 3, 15, .92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 0 34px color-mix(in srgb, var(--accent) 22%, transparent);
}

.machine-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}

.marquee {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent);
}

.machine-top p {
  margin: .1rem 0 0;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 700;
}

.freespins {
  flex: 0 0 auto;
  padding: .38rem .55rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pink), var(--violet));
  color: white;
  font-size: .78rem;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(255, 79, 216, .38);
}

.meter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .55rem;
  margin-bottom: .75rem;
}

.meter-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .09);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 52%, transparent);
}

.meter-copy {
  min-width: 0;
  display: grid;
  gap: .25rem;
}

.meter-copy > span,
.meter-val {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.meter-bar {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .42);
}

.meter-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--pink));
  box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 60%, transparent);
  transition: width .35s ease;
}

.meter-val {
  color: var(--gold);
  min-width: 52px;
  text-align: right;
}

.grid-wrap {
  position: relative;
  padding: 8px;
  border-radius: var(--r);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 209, 102, .32), rgba(255, 79, 216, .16)),
    #05020a;
  box-shadow:
    inset 0 10px 24px rgba(0, 0, 0, .62),
    0 0 0 1px rgba(255, 209, 102, .28);
}

.grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, 1fr);
  min-width: 0;
  gap: 6px;
  aspect-ratio: 1 / .9;
}

.cell {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .96), rgba(255, 238, 194, .9) 45%, rgba(89, 33, 21, .58) 100%),
    linear-gradient(180deg, #fff5dc, #e5b96a);
  box-shadow:
    inset 0 2px 5px rgba(255, 255, 255, .8),
    inset 0 -8px 16px rgba(86, 30, 13, .32),
    0 2px 0 rgba(0, 0, 0, .28);
  font-size: 2.9rem;
  line-height: 1;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}

.cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255, 209, 102, .3) 48% 52%, transparent 53%),
    linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 22%, transparent 76%, rgba(0, 0, 0, .24));
  pointer-events: none;
}

.cell span {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .32));
}

.cell.spinning span {
  animation: reelBlur .055s linear infinite;
}

@keyframes reelBlur {
  0% { transform: translateY(-18px) scale(.98); opacity: .58; }
  100% { transform: translateY(18px) scale(.98); opacity: .58; }
}

.cell.win {
  z-index: 3;
  transform: scale(1.04);
  box-shadow:
    inset 0 0 0 3px var(--gold),
    0 0 30px color-mix(in srgb, var(--accent) 65%, transparent);
  animation: cellPop .55s ease;
}

.cell.win span { animation: symbolBounce .52s ease; }
.cell.dim { opacity: .36; }

@keyframes cellPop {
  0%, 100% { transform: scale(1.04); }
  50% { transform: scale(1.1); }
}

@keyframes symbolBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18) rotate(-3deg); }
}

.lines {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  pointer-events: none;
  z-index: 5;
}

.lines path {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  filter: drop-shadow(0 0 8px currentColor);
  transition: opacity .2s ease;
}

.lines path.guide {
  stroke-width: 2;
  opacity: .13;
  filter: none;
}

.lines path.show {
  opacity: .95;
  animation: lineGlow .8s ease-in-out infinite;
}

@keyframes lineGlow {
  50% { opacity: .55; }
}

.winbar {
  min-height: 52px;
  margin: .75rem 0;
  padding: .72rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .34);
  color: var(--soft);
  text-align: center;
  font-weight: 900;
}

.winbar.big {
  color: var(--gold);
  border-color: var(--gold);
  background:
    radial-gradient(circle at 50% 0, rgba(255, 209, 102, .22), transparent 70%),
    rgba(0, 0, 0, .38);
  box-shadow: 0 0 28px color-mix(in srgb, var(--accent) 46%, transparent);
  animation: bannerPulse 1s ease-in-out infinite;
}

@keyframes bannerPulse {
  50% { box-shadow: 0 0 46px color-mix(in srgb, var(--accent) 65%, transparent); }
}

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

.stat,
.bet {
  min-width: 0;
  min-height: 68px;
  padding: .6rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .1rem;
}

.stat span,
.bet span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stat strong {
  color: white;
  font-size: 1.2rem;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat.win strong {
  color: var(--gold);
  text-shadow: 0 0 16px rgba(255, 209, 102, .38);
}

.bet-ctrl {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: .35rem;
}

.bet-ctrl button {
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, rgba(255,255,255,.16));
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 24%, rgba(255,255,255,.06));
  color: white;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 900;
}

.bet-ctrl strong {
  min-width: 0;
  color: var(--gold);
  text-align: center;
  font-size: 1.3rem;
  font-weight: 900;
}

.spin-btn {
  grid-column: 1 / -1;
  min-height: 72px;
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
  color: #241004;
  background:
    radial-gradient(circle at 50% 12%, #fff2bd, transparent 32%),
    linear-gradient(180deg, #ffe08a, var(--gold-2) 62%, #b84a0d);
  box-shadow:
    0 18px 34px rgba(255, 159, 28, .36),
    inset 0 2px 0 rgba(255, 255, 255, .72),
    inset 0 -8px 14px rgba(88, 30, 0, .32);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  transition: transform .12s ease, filter .2s ease;
}

.spin-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.spin-btn:active { transform: translateY(1px) scale(.99); }
.spin-btn:disabled { opacity: .55; cursor: not-allowed; filter: grayscale(.25); }

.spin-label {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spin-sub {
  font-size: .78rem;
  font-weight: 900;
}

.machine-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  margin-top: .65rem;
}

.machine-foot span {
  grid-column: 1 / -1;
  color: var(--muted);
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
}

.mini-btn {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .08);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.mini-btn:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, rgba(255,255,255,.08));
}

.info-panel {
  padding: .9rem;
  display: grid;
  gap: .9rem;
}

.kicker {
  margin-bottom: .35rem;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.paytable h2,
.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: white;
}

.paytable-sub {
  margin: .45rem 0 .8rem;
  color: var(--muted);
  font-weight: 700;
}

.paytable ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}

.paytable li {
  min-height: 48px;
  padding: .45rem .55rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, .24);
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: .5rem;
}

.paytable .sym {
  font-size: 1.55rem;
  text-align: center;
}

.paytable .pay {
  color: var(--gold);
  font-weight: 900;
}

.bonus-box {
  display: grid;
  gap: .55rem;
}

.bonus-box p {
  margin: 0;
  padding: .7rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .07);
  color: var(--soft);
  display: flex;
  gap: .55rem;
  align-items: center;
  font-weight: 700;
}

.bonus-box span {
  font-size: 1.45rem;
  text-align: center;
}

.bonus-box strong { color: var(--gold); margin-right: .25rem; }

/* content sections */
.content-band {
  margin-top: 1rem;
  padding: 1rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: 2.25rem;
}

.feature-grid,
.fair-grid,
.guide-grid {
  display: grid;
  gap: .7rem;
}

.feature-grid article,
.fair-grid article,
.guide-grid article {
  padding: .9rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .07);
}

.feature-grid strong,
.fair-grid strong {
  display: block;
  margin-bottom: .3rem;
  color: white;
  font-weight: 900;
}

.guide-grid h3 {
  margin: 0 0 .45rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.45rem;
  text-transform: uppercase;
}

.feature-grid p,
.fair-grid p,
.guide-grid p,
.section-head p,
.text-columns p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.text-columns {
  display: grid;
  gap: .7rem;
}

.text-columns p {
  padding: .9rem;
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .09);
}

.faq {
  display: grid;
  gap: .65rem;
}

details {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .07);
  overflow: hidden;
}

summary {
  padding: .9rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 900;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 209, 102, .16);
  color: var(--gold);
}

details[open] summary::after { content: "−"; }

details p {
  margin: 0;
  padding: 0 .9rem .9rem;
  color: var(--muted);
  font-weight: 600;
}

/* footer/cookie/legal */
.site-footer {
  margin-top: 1rem;
  padding: 1.4rem 0 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(4, 1, 8, .66);
}

.footer-shell {
  display: grid;
  gap: 1rem;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.foot-links a,
.link-btn {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 900;
}

.foot-links a:hover,
.link-btn:hover { color: var(--gold); }

.link-btn {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

.legal {
  width: min(100% - 24px, var(--max));
  margin: 1rem auto 0;
  color: var(--muted);
  text-align: center;
  font-size: .82rem;
}

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: .75rem;
}

.cookie[hidden] { display: none; }

.cookie-inner {
  width: min(100%, 920px);
  margin-inline: auto;
  padding: .85rem;
  border: 1px solid rgba(255, 209, 102, .42);
  border-radius: var(--r);
  background: rgba(15, 5, 25, .96);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
}

.cookie-emoji {
  font-size: 1.7rem;
}

.cookie-text strong {
  display: block;
  margin-bottom: .15rem;
}

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

.cookie-text a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}

.btn-decline,
.btn-accept {
  min-height: 42px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-weight: 900;
}

.btn-decline {
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: var(--ink);
}

.btn-accept {
  border: 0;
  background: linear-gradient(180deg, #ffe8a3, var(--gold-2));
  color: #241004;
}

.legal-page {
  padding-block: 1.4rem 3rem;
}

.legal-card {
  max-width: 880px;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r);
  background: rgba(15, 5, 25, .88);
  box-shadow: var(--shadow);
}

.legal-page .back {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--gold);
  font-weight: 900;
}

.legal-page h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 2.7rem;
  text-transform: uppercase;
}

.legal-page .updated {
  margin: .5rem 0 1.3rem;
  color: var(--muted);
}

.legal-page h2 {
  margin: 1.6rem 0 .45rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.5rem;
  text-transform: uppercase;
}

.legal-page p,
.legal-page li {
  color: var(--soft);
}

.legal-page ul {
  display: grid;
  gap: .35rem;
  padding-left: 1.2rem;
}

.legal-page .callout {
  padding: .9rem;
  border: 1px solid rgba(255, 209, 102, .28);
  border-radius: var(--r-sm);
  background: rgba(255, 209, 102, .08);
}

.legal-page .callout strong,
.legal-page a.inline { color: var(--gold); }

@media (min-width: 520px) {
  .quick-stats { grid-template-columns: repeat(3, 1fr); }
  .game-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cell { font-size: 3.35rem; }
  .machine { padding: 1rem; }
  .controls { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .spin-btn { grid-column: 1 / -1; }
  .machine-foot { grid-template-columns: auto auto 1fr; align-items: center; }
  .machine-foot span { grid-column: auto; text-align: right; }
}

@media (max-width: 519px) {
  .shell {
    width: calc(100vw - 24px);
    max-width: none;
    margin-left: 12px;
    margin-right: 12px;
  }

  .hero-panel {
    width: 100%;
    margin-inline: 0;
  }

  .game-card,
  .info-panel,
  .content-band,
  .lobby-showcase,
  .play-section {
    width: 100%;
    margin-inline: 0;
  }

  .hero-copy {
    min-height: 500px;
    padding: .9rem;
    max-width: 286px;
  }

  .lede,
  .section-head p {
    max-width: 286px;
  }

  .section-head {
    max-width: 286px;
  }

  .section-head h2,
  .paytable h2 {
    font-size: 1.9rem;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 760px) {
  .shell { width: calc(100% - 40px); max-width: var(--max); }
  .nav-actions a { display: inline-flex; }
  .casino-hero { padding-block: 2rem 1.2rem; }
  .hero-panel { min-height: 620px; padding: 1.4rem; }
  .hero-copy { align-self: stretch; align-content: center; justify-items: start; }
  .hero-copy h1 { font-size: 3.8rem; }
  .lede { max-width: 38rem; }
  .lobby-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lobby-layout { grid-template-columns: minmax(0, 1fr); }
  .play-layout { grid-template-columns: minmax(430px, 1.2fr) minmax(280px, .8fr); align-items: start; }
  .info-panel { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
  .text-columns { grid-template-columns: repeat(2, 1fr); }
  .fair-grid { grid-template-columns: repeat(3, 1fr); }
  .faq { grid-template-columns: repeat(2, 1fr); }
  .footer-shell { grid-template-columns: auto 1fr; align-items: center; }
  .foot-links { justify-content: flex-end; }
  .cookie-inner { grid-template-columns: auto 1fr auto; align-items: center; }
  .cookie-actions { grid-column: auto; grid-template-columns: auto auto; }
}

@media (min-width: 1080px) {
  body::before { background-position: center center; }
  .header-shell { min-height: 78px; }
  .brand-mark { width: 46px; height: 46px; flex-basis: 46px; }
  .brand-text { max-width: none; font-size: 1.8rem; }
  .hero-panel { min-height: 680px; }
  .hero-copy { max-width: 680px; min-height: 620px; }
  .hero-copy h1 { font-size: 5rem; }
  .lobby-layout { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
  .play-layout { grid-template-columns: minmax(560px, 1.08fr) minmax(330px, .62fr); }
  .game-card { align-self: center; }
  .info-panel { align-self: start; }
  .cell { font-size: 4rem; }
  .grid { aspect-ratio: 1 / .82; }
  .controls { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .spin-btn { grid-column: 1 / -1; min-height: 76px; flex-direction: row; gap: .8rem; }
  .content-band { padding: 1.35rem; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 390px) {
  .shell { width: calc(100% - 24px); max-width: var(--max); }
  .brand-text { max-width: 155px; font-size: 1.34rem; }
  .nav-actions .play-link { padding-inline: .65rem; }
  .hero-copy h1 { font-size: 2.15rem; }
  .lede { max-width: 19.5rem; }
  .game-tabs { gap: .35rem; padding: .55rem; }
  .game-tabs { grid-template-columns: 1fr; }
  .game-tabs button { min-height: 60px; }
  .game-tabs strong { font-size: .72rem; }
  .machine { margin-inline: .55rem; padding: .65rem; }
  .marquee { font-size: 1.55rem; }
  .grid-wrap { padding: 6px; }
  .grid { gap: 4px; }
  .cell { font-size: 2.15rem; border-radius: 10px; }
  .stat strong { font-size: 1.05rem; }
  .spin-label { font-size: 1.75rem; }
  .jackpot-strip strong { font-size: 1.35rem; }
  .cookie-actions { grid-template-columns: 1fr; }
}

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