@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Exo+2:wght@400;500;600;700;800&display=swap");

:root {
  --bg-main: #070d19;
  --bg-odd: #0a1324;
  --bg-even: #0e1a30;
  --panel: #111f39;
  --panel-2: #0b1629;
  --panel-soft: #142543;
  --text-main: #edf2ff;
  --text-soft: #b6c1da;
  --text-dim: #8a97b5;
  --line: rgba(112, 132, 177, 0.35);
  --gold: #c79a47;
  --gold-light: #e6c688;
  --gold-soft: rgba(199, 154, 71, 0.35);
  --teal: #0c6f75;
  --danger: #d14f48;
  --radius: 18px;
  --shadow: 0 20px 36px rgba(0, 0, 0, 0.35);
  --font-ui: "Exo 2", "Segoe UI", sans-serif;
  --font-display: "Chakra Petch", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  color: var(--text-main);
  background:
    radial-gradient(circle at 15% -10%, rgba(62, 91, 155, 0.22), transparent 45%),
    radial-gradient(circle at 80% -15%, rgba(199, 154, 71, 0.18), transparent 40%),
    var(--bg-main);
  font-family: var(--font-ui);
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  color: #f4dfb3;
  letter-spacing: 0.02em;
}

a {
  color: #9fc2ff;
  text-underline-offset: 3px;
}

a:hover {
  color: #d8e6ff;
}

.age-strip {
  padding: 9px 14px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffeec9;
  background: linear-gradient(90deg, #131d33, #253652 48%, #131d33);
  border-bottom: 1px solid var(--gold-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 35;
  background: linear-gradient(90deg, rgba(7, 13, 25, 0.95), rgba(12, 21, 39, 0.95));
  border-bottom: 1px solid var(--gold-soft);
  backdrop-filter: blur(8px);
}

.header-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-block {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.brand {
  display: block;
  text-decoration: none;
  color: #f6deaa;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--gold-soft);
  border-radius: 10px;
  padding: 8px 12px;
  color: #f4dfb3;
  background: transparent;
  font-weight: 700;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.main-nav a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  color: #d4def4;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.main-nav a:hover {
  border-color: var(--gold-soft);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.main-nav a[aria-current="page"] {
  color: #ffe9bc;
  border-color: var(--gold-soft);
  background: rgba(199, 154, 71, 0.17);
}

main {
  width: 100%;
  max-width: none;
  margin: 0;
}

main > section {
  margin: 0;
  padding: 58px 0;
}

main > section:nth-of-type(odd) {
  background: var(--bg-odd);
}

main > section:nth-of-type(even) {
  background: var(--bg-even);
}

.section-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.slot-dashboard > .section-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

main > section.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 11, 22, 0.76), rgba(11, 19, 36, 0.68)),
    url("../images/hero.jpg") center / cover no-repeat;
}

figure img {
  width: 100%;
  border-radius: 10px;
}

.card .btn {
  margin-top: 15px
}

.hero::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 154, 71, 0.23), rgba(199, 154, 71, 0));
}

.hero > * {
  position: relative;
  z-index: 1;
}

.kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8d2ed;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.08;
}

.hero p {
  margin: 0;
  max-width: 74ch;
  color: var(--text-soft);
  margin-top: 15px
}

.hero-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 16px;
}

.hero-panel {
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 16px;
  background: linear-gradient(165deg, #111c31, #0b1528);
  box-shadow: var(--shadow);
}

.hero-panel h3 {
  margin: 0 0 8px;
}

.feature-list {
  margin: 0;
  padding-left: 17px;
  color: #d1dbf1;
}

.feature-list li {
  margin: 4px 0;
}

.metric-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.metric {
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(112, 132, 177, 0.35);
  background: rgba(255, 255, 255, 0.02);
}

.metric strong {
  display: block;
  color: #fff1d0;
}

.metric span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9fadd0;
}

.section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.7vw, 2rem);
}

.section h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.section-intro {
  margin: 0 0 12px;
  color: var(--text-soft);
}

.grid-2,
.grid-3,
.game-grid,
.achievement-grid,
.contact-layout,
.footer-columns,
.footer-top,
.footer-meta,
.bet-line,
.slot-dashboard,
.slot-reels,
.paytable,
.slot-legend {
  display: grid;
  gap: 14px;
}

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

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

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

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

.card,
.game-card,
.achievement,
.faq-item,
.notice,
.policy-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: linear-gradient(170deg, rgba(26, 38, 67, 0.78), rgba(18, 29, 52, 0.65));
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.24);
}

.card p,
.game-card p,
.achievement p,
.faq-item p,
.policy-block p,
.notice p {
  color: var(--text-soft);
}

.card:hover,
.game-card:hover,
.achievement:hover,
.faq-item:hover {
  border-color: rgba(199, 154, 71, 0.55);
}

.game-card {
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(199, 154, 71, 0));
}

.game-meta {
  color: #9fb0d8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.notice {
  border-left: 5px solid var(--gold);
}

.button-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  color: #1d1305;
  border-color: rgba(199, 154, 71, 0.65);
  background: linear-gradient(145deg, #f1d8ab, #d0a458 60%, #b9843f);
}

.btn-secondary {
  color: #edf3ff;
  border-color: #2a3d62;
  background: linear-gradient(145deg, #1e2e4d, #12203a);
}

.btn-ghost {
  color: #d9e3f9;
  border-color: #5b6f98;
  background: rgba(255, 255, 255, 0.04);
}

.wallet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--gold-soft);
  color: #ffefcd;
  background: rgba(199, 154, 71, 0.16);
  font-weight: 800;
}

label {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  color: #d8e2fa;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 6px;
  margin-bottom: 10px;
  padding: 10px 11px;
  border-radius: 9px;
  border: 1px solid #4c5f86;
  background: rgba(5, 12, 24, 0.6);
  color: #f0f4ff;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 154, 71, 0.2);
}

input[type="checkbox"] {
  width: auto;
  margin: 2px 8px 0 0;
}

.form-status {
  margin-top: 10px;
  min-height: 1.2em;
  font-weight: 700;
}

.result {
  min-height: 2.2em;
  margin-top: 12px;
  font-weight: 700;
  color: #fff4da;
}

.history-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  border-top: 1px dashed rgba(110, 129, 173, 0.5);
}

.history-list li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(110, 129, 173, 0.35);
  color: #d5def2;
  font-size: 0.9rem;
}

.small {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.contact-layout {
  grid-template-columns: 2fr 1fr;
}

.timeline {
  margin: 0;
  padding-left: 18px;
}

.timeline li {
  margin: 8px 0;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  background: var(--bg-even);
}

.footer-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.footer-shell {
  width: 100%;
  border-radius: 0;
  border-top: 1px solid var(--gold-soft);
  background:
    radial-gradient(circle at 90% 0%, rgba(199, 154, 71, 0.2), transparent 35%),
    linear-gradient(170deg, #0f1930, #091223 70%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item {
  margin-bottom: 15px;
}

.footer-top {
  grid-template-columns: 1.1fr 1.6fr;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 24px;
  border-bottom: 1px solid rgba(112, 132, 177, 0.26);
}

.footer-brand h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.footer-brand p {
  margin: 0 0 10px;
  color: var(--text-soft);
}

.footer-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--gold-soft);
  color: #ffedc4;
  background: rgba(199, 154, 71, 0.15);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.footer-col h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.footer-col p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer-col ul {
  margin: 0;
  padding-left: 16px;
  color: var(--text-soft);
}

.footer-col li {
  margin: 5px 0;
}

.footer-col a {
  color: #c4d6ff;
  text-decoration: none;
}

.footer-col a:hover {
  color: #ffecc4;
}

.footer-meta {
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 16px 24px 20px;
  gap: 6px;
}

.footer-meta p {
  margin: 0;
  color: var(--text-soft);
}

/* Game visuals inspired by premium slot machines */
.game-page {
  padding: 0;
  background: radial-gradient(circle at 50% -20%, rgba(199, 154, 71, 0.18), transparent 48%);
}

main.game-page > section.slot-dashboard {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 11, 22, 0.62), rgba(11, 19, 36, 0.54)),
    url("../img/main.jpg") center / cover no-repeat;
}

main.game-page > section.slot-dashboard.slot-dashboard--kiwi {
  background:
    linear-gradient(135deg, rgba(6, 11, 22, 0.62), rgba(11, 19, 36, 0.54)),
    url("../img/kiwi.jpg") center / cover no-repeat;
}

main.game-page > section.slot-dashboard.slot-dashboard--aotearoa {
  background:
    linear-gradient(135deg, rgba(6, 11, 22, 0.62), rgba(11, 19, 36, 0.54)),
    url("../img/aotearoa.jpg") center / cover no-repeat;
}

main.game-page > section.slot-dashboard.slot-dashboard--diamond {
  background:
    linear-gradient(135deg, rgba(6, 11, 22, 0.62), rgba(11, 19, 36, 0.54)),
    url("../img/diamond.jpg") center / cover no-repeat;
}

figure.inline-media {
  margin: 14px 0 0;
}

.inline-media-panel {
  margin-top: 16px;
}

.inline-media-frame {
  margin-top: 18px;
}

.inline-media-paytable {
  margin-top: 14px;
}

.image-slot {
  min-height: 176px;
  border-radius: 14px;
  border: 1px dashed rgba(199, 154, 71, 0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: #dbe6ff;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background:
    linear-gradient(150deg, rgba(18, 31, 54, 0.9), rgba(10, 18, 34, 0.88)),
    repeating-linear-gradient(
      -45deg,
      rgba(199, 154, 71, 0.12),
      rgba(199, 154, 71, 0.12) 11px,
      rgba(9, 16, 30, 0.18) 11px,
      rgba(9, 16, 30, 0.18) 22px
    );
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.22);
}

.image-note {
  margin: 8px 2px 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.stat-tile {
  border-radius: 22px;
  padding: 16px;
  border: 1px solid rgba(199, 154, 71, 0.4);
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-tile h3 {
  margin: 0;
  color: #ebf2ff;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.stat-tile p {
  margin: 6px 0 0;
  color: #fff2d3;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
}

.stat-balance {
  background: linear-gradient(160deg, #075364, #063546);
}

.stat-won {
  background: linear-gradient(160deg, #b88635, #8d6529);
}

.slot-stage {
  border-radius: 46px;
  border: 1px solid var(--gold-soft);
  padding: 28px 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 68, 110, 0.42), transparent 42%),
    linear-gradient(160deg, #141d36, #0a1224 78%);
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.42);
}

.slot-stage h1 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #d1a355;
}

.slot-jackpot {
  margin: 14px auto 22px;
  width: fit-content;
  min-width: 280px;
  text-align: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(199, 154, 71, 0.7);
  color: #fff8e9;
  font-weight: 800;
  font-size: 1.15rem;
  background: linear-gradient(145deg, #b78735, #9d712d);
  box-shadow: 0 0 22px rgba(199, 154, 71, 0.36);
}

.slot-frame {
  border: 5px solid #b88939;
  border-radius: 34px;
  padding: 28px 22px;
  background: rgba(5, 10, 21, 0.48);
}

.slot-reels {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

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

.slot-reels-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.slot-reels-9 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.slot-reel {
  min-height: 148px;
  border: 1px solid rgba(60, 76, 114, 0.85);
  border-radius: 18px;
  padding: 10px;
  background: linear-gradient(170deg, #1a2643, #131e36);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.28);
}

.slot-reel.spinning {
  animation: reelPulse 0.16s linear infinite;
}

.slot-reel.win {
  border-color: #e7c47d;
  box-shadow:
    inset 0 -8px 16px rgba(0, 0, 0, 0.28),
    0 0 0 3px rgba(231, 196, 125, 0.2),
    0 0 20px rgba(231, 196, 125, 0.28);
}

@keyframes reelPulse {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(3px);
    opacity: 0.72;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.symbol-wrap {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.symbol-image {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(1, 4, 10, 0.7));
}

.symbol-name {
  font-size: 0.72rem;
  color: #d6e2ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.bet-line {
  grid-template-columns: auto auto auto auto;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 22px 0;
}

.bet-label {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
}

.bet-adjust {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 3px solid #b88939;
  color: #f5e4bf;
  background: rgba(7, 12, 24, 0.72);
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
}

.bet-value {
  min-width: 70px;
  text-align: center;
  color: #d1a355;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.slot-spin-btn {
  width: 100%;
  border: 0;
  border-radius: 34px;
  padding: 18px 14px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(145deg, #be903e, #9a6f2d);
  box-shadow: 0 12px 26px rgba(177, 129, 53, 0.33);
  cursor: pointer;
}

.slot-spin-btn:hover {
  filter: brightness(1.06);
}

.paytable {
  margin-top: 20px;
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(170deg, rgba(23, 35, 61, 0.92), rgba(14, 24, 44, 0.88));
  border: 1px solid rgba(111, 129, 173, 0.4);
}

.paytable h2,
.paytable h3 {
  margin-bottom: 8px;
  text-align: center;
  color: #cca058;
  font-size: 1.5rem;
}

.paytable-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(5, 11, 23, 0.38);
  border: 1px solid rgba(111, 129, 173, 0.3);
}

.paytable-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.paytable-icons img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.paytable-multi {
  color: #f2c474;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
}

.wheel-stage {
  margin: 14px auto;
  width: 430px;
  max-width: 100%;
  position: relative;
}

.wheel-pointer {
  position: absolute;
  left: 50%;
  top: -8px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-top: 44px solid #f7f7f7;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
  z-index: 4;
}

.wheel {
  position: relative;
  width: 430px;
  height: 430px;
  max-width: 100%;
  max-height: 430px;
  --wheel-label-radius: 150px;
  border-radius: 50%;
  border: 10px solid #b88939;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
  transition: transform 3.35s cubic-bezier(0.14, 0.88, 0.24, 1);
  background: conic-gradient(
    #e84d3f 0deg 30deg,
    #2fa2ef 30deg 60deg,
    #31d173 60deg 90deg,
    #f0a90d 90deg 120deg,
    #9052cb 120deg 150deg,
    #26c5bf 150deg 180deg,
    #f33f9a 180deg 210deg,
    #ffd100 210deg 240deg,
    #e84d3f 240deg 270deg,
    #2fa2ef 270deg 300deg,
    #31d173 300deg 330deg,
    #f0a90d 330deg 360deg
  );
}

.wheel-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:
    translate(-50%, -50%)
    rotate(var(--angle))
    translate(0, calc(var(--wheel-label-radius) * -1))
    rotate(calc(var(--angle) * -1));
  transform-origin: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.wheel-label--jackpot {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.wheel::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 4px solid #b88939;
  background:
    url("assets/images/symbols/star.svg") center/44px 44px no-repeat,
    radial-gradient(circle at center, #f0d9ac, #b9893d);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.slot-legend {
  margin-top: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 20px;
  padding: 16px;
  background: linear-gradient(170deg, rgba(23, 35, 61, 0.9), rgba(14, 24, 44, 0.85));
  border: 1px solid rgba(111, 129, 173, 0.38);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.legend-color {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.game-disclaimer {
  margin-top: 18px;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(111, 129, 173, 0.3);
  background: rgba(9, 17, 33, 0.7);
  color: #c7d3ec;
  text-align: center;
}

.cookie-banner {
  position: fixed;
  right: 14px;
  bottom: 14px;
  width: min(420px, calc(100vw - 26px));
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(160deg, #152341, #0d172d);
  box-shadow: var(--shadow);
  z-index: 60;
}

.cookie-banner p {
  margin: 0 0 10px;
  color: var(--text-soft);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(6, 10, 19, 0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate-card {
  width: min(640px, 100%);
  border-radius: 18px;
  border: 1px solid var(--gold-soft);
  padding: 24px;
  background: linear-gradient(170deg, #13213d, #0b172c);
  box-shadow: var(--shadow);
}

.age-gate-card p {
  color: var(--text-soft);
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .game-grid,
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .slot-reels-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

}

@media (max-width: 780px) {
  .header-wrap {
    flex-wrap: wrap;
  }

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

  .main-nav {
    display: none;
    width: 100%;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

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

  main > section {
    margin: 0;
    padding: 42px 0;
  }

  .section-inner {
    padding: 0 16px;
  }

  .grid-2,
  .grid-3,
  .game-grid,
  .achievement-grid,
  .slot-dashboard,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .slot-stage {
    border-radius: 26px;
    padding: 20px 14px;
  }

  .slot-dashboard > .section-inner {
    grid-template-columns: 1fr;
  }

  .slot-frame {
    border-radius: 24px;
    padding: 16px 10px;
  }

  .slot-reels-3,
  .slot-reels-9 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .slot-reels-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .slot-reel {
    min-height: 112px;
  }

  .symbol-image {
    width: 56px;
    height: 56px;
  }

  .image-slot {
    min-height: 130px;
    font-size: 0.85rem;
  }

  .bet-line {
    grid-template-columns: auto auto auto;
    gap: 12px;
  }

  .bet-label {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.5rem;
  }

  .bet-adjust {
    width: 54px;
    height: 54px;
  }

  .bet-value {
    font-size: 1.7rem;
  }

  .slot-spin-btn {
    font-size: 1.7rem;
  }

  .wheel-stage {
    width: 300px;
  }

  .wheel {
    width: 300px;
    height: 300px;
    --wheel-label-radius: 105px;
  }

  .footer-top,
  .footer-meta {
    padding: 18px 14px;
  }
}
