/* Nova — Social Casino Games. Cosmic-aurora, airy modern minimal. Credits only, no real money. */

:root {
  --indigo-deep: #1E1447;
  --navy: #0B1026;
  --navy-2: #121a36;
  --violet: #7C5CE6;
  --violet-soft: #9B82F0;
  --cyan: #38E0E0;
  --cyan-soft: #7AF0F0;
  --gold: #F2C66B;
  --star: #EAF2FF;
  --ink: #C9D4EC;
  --surface: rgba(124, 92, 230, 0.07);
  --surface-2: rgba(18, 26, 54, 0.66);
  --card: #141B38;
  --line: rgba(122, 240, 240, 0.20);
  --line-soft: rgba(122, 240, 240, 0.10);
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 680px at 82% -10%, rgba(124, 92, 230, 0.40), transparent 60%),
    radial-gradient(1000px 600px at 6% 6%, rgba(56, 224, 224, 0.16), transparent 58%),
    radial-gradient(900px 560px at 50% 116%, rgba(124, 92, 230, 0.14), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--indigo-deep) 52%, var(--navy) 100%);
  color: var(--star);
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: 0.1px;
  line-height: 1.55;
}

/* faint starfield over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  background-image:
    radial-gradient(1px 1px at 12% 28%, rgba(234, 242, 255, 0.7), transparent),
    radial-gradient(1px 1px at 64% 14%, rgba(234, 242, 255, 0.6), transparent),
    radial-gradient(1.4px 1.4px at 38% 62%, rgba(122, 240, 240, 0.6), transparent),
    radial-gradient(1px 1px at 82% 48%, rgba(234, 242, 255, 0.5), transparent),
    radial-gradient(1px 1px at 24% 84%, rgba(234, 242, 255, 0.6), transparent),
    radial-gradient(1.2px 1.2px at 90% 78%, rgba(155, 130, 240, 0.6), transparent),
    radial-gradient(1px 1px at 52% 92%, rgba(234, 242, 255, 0.5), transparent);
  background-size: 100% 100%;
}
body > * { position: relative; z-index: 1; }

a { color: var(--cyan); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--cyan-soft); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }

/* eyebrow with a soft star dot */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 16, 38, 0.72);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--star);
}
.brand:hover { color: var(--star); }
.brand .crest { width: 40px; height: 40px; flex: none; }
.brand .brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand .brand-name b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.34rem;
  letter-spacing: 0.5px;
  color: var(--star);
}
.brand .brand-name small {
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 2.6px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-top: 3px;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 500;
  font-size: 0.9rem;
}
.nav-link { color: var(--ink); letter-spacing: 0.3px; }
.nav-link:hover { color: var(--cyan-soft); }

.badge-18 {
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.72rem;
  flex: none;
  letter-spacing: 0;
}

/* credit wallet pill */
.wallet {
  display: flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(180deg, rgba(124, 92, 230, 0.30) 0%, rgba(18, 26, 54, 0.7) 100%);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px 6px 8px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--cyan-soft);
  white-space: nowrap;
}
.cred-coin {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: none;
  background:
    radial-gradient(circle at 38% 34%, var(--cyan-soft) 0 28%, var(--violet) 30% 62%, var(--indigo-deep) 64%);
  box-shadow: inset 0 0 0 2px var(--cyan), 0 0 9px rgba(56, 224, 224, 0.55);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.6px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--cyan-soft) 0%, var(--cyan) 46%, var(--violet) 140%);
  color: var(--navy);
  box-shadow: 0 6px 22px rgba(56, 224, 224, 0.32);
}
.btn-gold:hover { filter: brightness(1.05); box-shadow: 0 8px 30px rgba(56, 224, 224, 0.5); }
.btn-outline {
  background: rgba(122, 240, 240, 0.04);
  border: 1px solid var(--cyan);
  color: var(--cyan-soft);
}
.btn-outline:hover { background: rgba(56, 224, 224, 0.12); }
.btn-lg { font-size: 1rem; padding: 15px 36px; }
.btn-md { font-size: 0.84rem; padding: 11px 24px; }
.btn-sm { font-size: 0.76rem; padding: 9px 18px; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: none; filter: none; }

/* soft glowing frame, reusable */
.deco-frame { position: relative; }
.deco-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--line);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, #000 50%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent);
}
.hero .wrap {
  position: relative;
  text-align: center;
  padding: 84px 22px 72px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin: 16px 0 0;
  text-shadow: 0 6px 44px rgba(11, 16, 38, 0.7);
  animation: rise 0.7s ease both;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--cyan-soft), var(--violet-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 42px rgba(56, 224, 224, 0.3);
}
.hero .sub {
  margin: 20px auto 0;
  max-width: 640px;
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--ink);
  animation: rise 0.7s 0.08s ease both;
}
.hero .sub strong { color: var(--cyan-soft); font-weight: 600; }
.hero .cta-row {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: rise 0.7s 0.16s ease both;
}
.hero .disclaimer-inline {
  margin-top: 22px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: rgba(201, 212, 236, 0.6);
  animation: rise 0.7s 0.22s ease both;
}

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

/* ---------- sections ---------- */
.section { padding: 60px 0; }
.section-head {
  text-align: center;
  margin-bottom: 36px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  letter-spacing: -0.3px;
  margin-top: 12px;
}
.section-head p { margin-top: 8px; font-weight: 400; color: var(--ink); }

/* slot lobby grid (FEATURED FIRST — soft tier leads with slots) */
.lobby {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.game-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line-soft);
  box-shadow: 0 14px 36px rgba(7, 11, 28, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(7, 11, 28, 0.6), 0 0 0 1px var(--cyan);
  border-color: var(--cyan);
}
.game-card .cover {
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  background-color: var(--indigo-deep);
}
.game-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 18px;
}
.game-card .meta h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.24rem;
  letter-spacing: -0.2px;
}
.game-card .meta p { font-size: 0.78rem; font-weight: 400; color: rgba(201, 212, 236, 0.62); margin-top: 2px; }

/* table-games band (below slots — soft tier) */
.tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.table-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line-soft);
  background: var(--card);
  box-shadow: 0 16px 40px rgba(7, 11, 28, 0.5);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.table-card:hover { transform: translateY(-6px); box-shadow: 0 26px 56px rgba(7, 11, 28, 0.6), 0 0 0 1px var(--cyan); border-color: var(--cyan); }
.table-card .art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.table-card .art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 38, 0.06) 0%, rgba(11, 16, 38, 0.5) 52%, rgba(11, 16, 38, 0.92) 100%);
}
.table-card .body {
  position: relative;
  padding: 24px 26px 26px;
}
.table-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.3px;
}
.table-card p { font-weight: 400; color: var(--ink); margin: 6px 0 16px; font-size: 0.92rem; }

/* category chips row */
.cats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}
.cat {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--ink);
  transition: all 0.18s ease;
}
.cat:hover, .cat.is-active { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }

/* feature trio */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}
.feature .ico { font-size: 1.7rem; }
.feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 12px 0 8px;
  font-size: 1.22rem;
  letter-spacing: -0.2px;
}
.feature p { font-size: 0.92rem; color: var(--ink); font-weight: 400; line-height: 1.65; }

/* daily-bonus band */
.bonus-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.bonus {
  background:
    radial-gradient(540px 280px at 110% 40%, rgba(124, 92, 230, 0.22), transparent 64%),
    linear-gradient(180deg, var(--card), var(--navy-2));
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 32px 30px;
  text-align: center;
}
.bonus .ico { font-size: 1.9rem; }
.bonus h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin: 8px 0; letter-spacing: -0.2px; }
.bonus p { font-weight: 400; color: var(--ink); margin-bottom: 18px; line-height: 1.6; }
#daily-state { font-size: 0.84rem; font-weight: 500; color: var(--cyan-soft); margin-top: 12px; min-height: 1.2em; }

/* ---------- compliance footer ---------- */
.compliance {
  background: var(--navy);
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 30px;
  font-size: 0.86rem;
}
.compliance .legal-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 28px;
  font-weight: 400;
  color: var(--ink);
}
.compliance .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}
.compliance h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0;
  margin-bottom: 12px;
  color: var(--cyan);
}
.compliance p { color: rgba(201, 212, 236, 0.74); line-height: 1.65; font-weight: 400; }
.compliance ul { list-style: none; display: grid; gap: 9px; font-weight: 400; }
.compliance .copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: rgba(201, 212, 236, 0.5);
  font-weight: 400;
}

/* ---------- game page shell (shared by slots + table games) ---------- */
.game-shell { padding: 36px 0 72px; }
.game-head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.game-head .back { font-weight: 500; font-size: 0.88rem; letter-spacing: 0.3px; }
.game-head h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  letter-spacing: -0.4px;
}

.felt {
  background:
    radial-gradient(720px 320px at 50% -12%, rgba(56, 224, 224, 0.14), transparent 70%),
    linear-gradient(180deg, var(--indigo-deep) 0%, var(--navy-2) 100%);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: clamp(16px, 3vw, 32px);
  box-shadow: 0 24px 60px rgba(7, 11, 28, 0.5);
}

/* ----- slot machine ----- */
.reels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(6px, 1.2vw, 12px);
  background: var(--navy);
  border-radius: 16px;
  padding: clamp(8px, 1.6vw, 16px);
  border: 1px solid var(--line-soft);
}
.reel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--navy-2), var(--navy) 50%, var(--navy-2));
  aspect-ratio: 1 / 3;
}
.reel .strip { position: absolute; left: 0; right: 0; top: 0; display: grid; will-change: transform; }
.reel .cell { height: var(--cell, 90px); display: grid; place-items: center; padding: 8%; }
.reel .cell img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(7, 11, 28, 0.6)); }
.reel.win-flash { animation: reel-glow 0.9s ease 2; }
@keyframes reel-glow {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: inset 0 0 0 2px var(--cyan), 0 0 22px rgba(56, 224, 224, 0.55); }
}

.controls {
  margin-top: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}
.bet-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 8px 12px;
}
.bet-box .label { font-size: 0.68rem; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink); }
.bet-box button, .pill-btn {
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line-soft);
  cursor: pointer;
  background: rgba(124, 92, 230, 0.28);
  color: var(--star);
  font-weight: 600;
  font-size: 1.1rem;
}
.bet-box button:hover, .pill-btn:hover { background: rgba(124, 92, 230, 0.5); }
#bet-value { font-weight: 600; min-width: 84px; text-align: center; color: var(--cyan-soft); font-size: 1.05rem; }
.win-line {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  letter-spacing: 0;
  color: var(--cyan-soft);
  min-height: 1.5em;
}
.win-line.pop { animation: pop 0.5s ease; }
@keyframes pop {
  0% { transform: scale(0.7); opacity: 0; }
  60% { transform: scale(1.14); }
  100% { transform: scale(1); opacity: 1; }
}

/* paytable / rules card */
.info-card {
  margin-top: 32px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 24px 26px;
}
.info-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.34rem;
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}
.info-card table { width: 100%; border-collapse: collapse; font-weight: 400; }
.info-card td, .info-card th {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  font-size: 0.92rem;
}
.info-card th { color: var(--cyan); font-size: 0.74rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.info-card img { width: 42px; height: 42px; object-fit: contain; }
.info-card .note { margin-top: 14px; font-size: 0.8rem; color: rgba(201, 212, 236, 0.66); font-weight: 400; line-height: 1.65; }
.info-card ul { padding-left: 20px; }
.info-card li { line-height: 1.7; font-weight: 400; color: var(--ink); }

/* ----- blackjack ----- */
.bj-table { display: grid; gap: 22px; }
.bj-seat { text-align: center; }
.bj-seat .seat-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px;
}
.hand { display: flex; justify-content: center; gap: 10px; min-height: 132px; flex-wrap: wrap; }
.bj-score { margin-top: 10px; font-weight: 600; font-size: 1rem; color: var(--cyan-soft); min-height: 1.3em; }

.card-face {
  width: 88px; height: 124px;
  border-radius: 12px;
  background: var(--star);
  color: #16203a;
  border: 1px solid rgba(11, 16, 38, 0.16);
  box-shadow: 0 8px 22px rgba(7, 11, 28, 0.5);
  position: relative;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  animation: deal 0.32s ease both;
}
@keyframes deal {
  from { opacity: 0; transform: translateY(-22px) rotate(-5deg); }
  to { opacity: 1; transform: none; }
}
.card-face .rank-tl, .card-face .rank-br {
  position: absolute; font-size: 0.95rem; line-height: 1; font-weight: 700;
  display: grid; justify-items: center;
}
.card-face .rank-tl { top: 7px; left: 8px; }
.card-face .rank-br { bottom: 7px; right: 8px; transform: rotate(180deg); }
.card-face .pip { font-size: 2.4rem; }
.card-face.red { color: #d6336c; }
.card-face.black { color: #16203a; }
.card-face.back {
  background:
    repeating-linear-gradient(45deg, var(--violet) 0 9px, var(--indigo-deep) 9px 18px);
  border: 2px solid var(--cyan);
  color: var(--cyan-soft);
}
.card-face.back .pip { font-size: 1.8rem; }

.bj-actions, .rl-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.bj-msg, .rl-msg {
  text-align: center;
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  color: var(--cyan-soft);
  min-height: 1.4em;
}
.bj-msg.pop, .rl-msg.pop { animation: pop 0.5s ease; }

.bet-row {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.bet-row .credits-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.credit-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px dashed var(--cyan);
  background: radial-gradient(circle at 50% 50%, var(--violet) 0 60%, var(--indigo-deep) 61%);
  color: var(--star);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.credit-btn:hover { transform: translateY(-3px); }
.credit-btn.is-active { box-shadow: 0 0 0 3px var(--cyan), 0 0 16px rgba(56, 224, 224, 0.55); }
.bet-readout { font-weight: 600; color: var(--cyan-soft); }
.bet-readout b { font-family: var(--font-display); font-size: 1.25rem; }

/* ----- roulette ----- */
.rl-stage {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  align-items: start;
}
.wheel-wrap { display: grid; place-items: center; gap: 16px; }
.wheel {
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 8px solid var(--violet);
  background:
    /* cyan single-zero wedge on top + alternating pockets beneath — full 37-segment wheel */
    conic-gradient(from 0deg, #38E0E0 0deg 9.7297deg, transparent 9.7297deg 360deg),
    repeating-conic-gradient(from 9.7297deg, #1E1447 0deg 9.7297deg, #7C5CE6 9.7297deg 19.4595deg);
  box-shadow: inset 0 0 30px rgba(7, 11, 28, 0.6), 0 14px 40px rgba(7, 11, 28, 0.5);
  position: relative;
  transition: transform 4s cubic-bezier(0.18, 0.7, 0.16, 1);
}
.wheel::after {
  content: "";
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--cyan-soft), var(--cyan) 50%, var(--violet));
  box-shadow: 0 0 18px rgba(56, 224, 224, 0.6);
}
.wheel-ptr {
  width: 0; height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 18px solid var(--cyan);
  filter: drop-shadow(0 2px 4px rgba(7, 11, 28, 0.6));
}
.rl-result {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  min-height: 1.3em;
  text-align: center;
}
.rl-result .num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--navy); }
.rl-result .num.red { background: var(--violet); color: var(--star); }
.rl-result .num.black { background: var(--indigo-deep); color: var(--star); }
.rl-result .num.green { background: var(--cyan); }

.rl-board { display: grid; gap: 10px; }
.rl-grid {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 4px;
}
.rl-cell {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 8px 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  background: var(--navy-2);
  color: var(--star);
  position: relative;
  transition: filter 0.14s ease;
  user-select: none;
}
.rl-cell:hover { filter: brightness(1.3); }
.rl-cell.red { background: rgba(124, 92, 230, 0.55); }
.rl-cell.black { background: var(--indigo-deep); }
.rl-cell.green { background: rgba(56, 224, 224, 0.4); grid-row: span 1; }
.rl-cell.zero { grid-column: 1; grid-row: 1 / span 1; }
.rl-outside { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.rl-cell .stake {
  position: absolute;
  top: -7px; right: -7px;
  min-width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy);
  font-size: 0.66rem;
  font-weight: 700;
  display: grid; place-items: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(7, 11, 28, 0.5);
}
.rl-cell.is-won { animation: reel-glow 0.9s ease 2; }

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(140%);
  background: linear-gradient(180deg, var(--cyan-soft), var(--cyan));
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.2px;
  border-radius: 999px;
  padding: 12px 26px;
  box-shadow: 0 14px 34px rgba(7, 11, 28, 0.45);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  z-index: 90;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* legal pages */
.legal-page { padding: 48px 0 80px; max-width: 820px; }
.legal-page h1 { font-family: var(--font-display); font-weight: 700; font-size: 2.3rem; letter-spacing: -0.4px; margin-bottom: 6px; }
.legal-page .updated { color: rgba(201, 212, 236, 0.6); font-weight: 400; font-size: 0.85rem; margin-bottom: 28px; }
.legal-page h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.34rem; margin: 28px 0 8px; letter-spacing: -0.2px; }
.legal-page p, .legal-page li { line-height: 1.75; font-weight: 400; color: var(--ink); margin-bottom: 10px; }
.legal-page ul { padding-left: 22px; }

/* ---------- age gate ---------- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 9, 22, 0.92);
  backdrop-filter: blur(8px);
}
.age-gate[hidden] { display: none; }
.age-card {
  max-width: 460px;
  width: 100%;
  text-align: center;
  background: linear-gradient(180deg, var(--card), var(--navy-2));
  border: 1px solid var(--cyan);
  border-radius: 22px;
  padding: 42px 34px;
  box-shadow: 0 30px 80px rgba(7, 11, 28, 0.7);
}
.age-card .crest { width: 60px; height: 60px; margin: 0 auto 16px; }
.age-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.3px; }
.age-card p { font-weight: 400; color: var(--ink); line-height: 1.65; margin: 14px 0 24px; }
.age-card .age-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.age-card .fine { margin-top: 20px; font-size: 0.74rem; color: rgba(201, 212, 236, 0.6); font-weight: 400; }

/* ---------- language switcher ---------- */
.lang-switch { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; font-weight: 500; font-size: 0.8rem; letter-spacing: 0.6px; }
.lang-switch a, .lang-switch .current { display: inline-block; padding: 8px 10px; }
.lang-switch a { opacity: 0.6; }
.lang-switch a:hover { opacity: 1; }
.lang-switch .current { color: var(--cyan-soft); opacity: 1; border-bottom: 1px solid var(--cyan); }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .nav { gap: 12px; font-size: 0.85rem; }
  .nav .nav-link { display: none; }
  .tables { grid-template-columns: 1fr; }
  .bonus-band { grid-template-columns: 1fr; }
  .compliance .grid { grid-template-columns: 1fr; }
  .controls { grid-template-columns: 1fr; justify-items: center; }
  .reel .cell { height: var(--cell, 62px); }
  .rl-stage { grid-template-columns: 1fr; }
  .wheel-wrap { justify-self: center; }
}
