/* Monarch Online Casino — imperial black-and-gold luxe, art-deco. Chips only, no real money. */

:root {
  --purple-deep: #0A0A0A;
  --purple: #0E6B4F;
  --purple-soft: #14855F;
  --velvet: #0D0D0D;
  --velvet-2: #141414;
  --gold: #D4AF37;
  --gold-bright: #F2D479;
  --gold-deep: #A6831F;
  --cream: #F3EEDD;
  --card: #171717;
  --emerald: #0E6B4F;
  --emerald-soft: #0A4D38;
  --line: rgba(212, 175, 55, 0.26);
  --line-soft: rgba(212, 175, 55, 0.12);
  --font-display: "Cinzel", "Georgia", serif;
  --font-body: "Outfit", "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(1100px 620px at 78% -8%, rgba(212, 175, 55, 0.14), transparent 62%),
    radial-gradient(900px 560px at 8% 108%, rgba(14, 107, 79, 0.22), transparent 60%),
    linear-gradient(180deg, #000 0%, var(--velvet) 50%, #000 100%);
  color: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: 0.2px;
}

/* faint art-deco chevron stripe over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image:
    repeating-linear-gradient(45deg, rgba(212, 175, 55, 0.03) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, rgba(212, 175, 55, 0.03) 0 1px, transparent 1px 22px);
  background-size: 44px 44px;
}
body > * { position: relative; z-index: 1; }

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

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

/* deco eyebrow with flanking rules */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(14, 10, 26, 0.82);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}
.brand:hover { color: var(--cream); }
.brand .crest { width: 42px; height: 42px; flex: none; }
.brand .brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand .brand-name b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--cream);
}
.brand .brand-name small {
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 3px;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 500;
  font-size: 0.92rem;
}
.nav-link { color: var(--cream); letter-spacing: 0.6px; }
.nav-link:hover { color: var(--gold-bright); }

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

/* chip wallet pill */
.wallet {
  display: flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-deep) 100%);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px 6px 8px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--gold-bright);
  white-space: nowrap;
}
.chip {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: none;
  background:
    radial-gradient(circle at 50% 50%, var(--emerald) 0 32%, var(--gold) 33% 40%, #000 41%);
  box-shadow: inset 0 0 0 3px var(--gold), 0 0 8px rgba(212, 175, 55, 0.45);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: transform 0.15s ease, box-shadow 0.18s ease, filter 0.18s ease;
  text-transform: uppercase;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 48%, var(--gold-deep) 100%);
  color: var(--velvet);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.btn-gold:hover { filter: brightness(1.06); box-shadow: 0 6px 26px rgba(212, 175, 55, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
}
.btn-outline:hover { background: rgba(212, 175, 55, 0.1); }
.btn-lg { font-size: 1rem; padding: 16px 40px; }
.btn-md { font-size: 0.84rem; padding: 12px 26px; }
.btn-sm { font-size: 0.74rem; padding: 9px 18px; letter-spacing: 1.4px; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: none; filter: none; }

/* deco gold-corner frame, reusable */
.deco-frame { position: relative; }
.deco-frame::before, .deco-frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--gold);
  pointer-events: none;
}
.deco-frame::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.deco-frame::after { bottom: 10px; right: 10px; border-left: none; border-top: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.46;
  mask-image: linear-gradient(180deg, #000 55%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.hero .wrap {
  position: relative;
  text-align: center;
  padding: 78px 22px 70px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.4vw, 4.9rem);
  line-height: 1.08;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 18px 0 0;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
  animation: rise 0.7s ease both;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 0 38px rgba(212, 175, 55, 0.5);
}
.hero .sub {
  margin: 20px auto 0;
  max-width: 660px;
  font-size: 1.16rem;
  font-weight: 300;
  color: var(--cream);
  opacity: 0.9;
  animation: rise 0.7s 0.08s ease both;
}
.hero .sub strong { color: var(--gold-bright); font-weight: 500; }
.hero .cta-row {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  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: 300;
  letter-spacing: 0.6px;
  color: rgba(245, 239, 224, 0.62);
  animation: rise 0.7s 0.22s ease both;
}

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

/* ---------- sections ---------- */
.section { padding: 62px 0; }
.section-head {
  text-align: center;
  margin-bottom: 36px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3rem);
  letter-spacing: 0.5px;
  margin-top: 12px;
}
.section-head p { margin-top: 8px; font-weight: 300; opacity: 0.78; }

/* table-games band (above the fold — strong tier leads here) */
.tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.table-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.table-card:hover { transform: translateY(-6px); box-shadow: 0 26px 56px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--gold); }
.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(14, 10, 26, 0.1) 0%, rgba(14, 10, 26, 0.55) 55%, rgba(14, 10, 26, 0.94) 100%);
}
.table-card .body {
  position: relative;
  padding: 26px 28px 28px;
}
.table-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: 0.5px;
}
.table-card p { font-weight: 300; opacity: 0.85; margin: 6px 0 16px; font-size: 0.94rem; }

/* slot lobby grid (below tables) */
.lobby {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.game-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.game-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--gold); }
.game-card .cover {
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  background-color: var(--purple-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.36rem;
  letter-spacing: 0.4px;
}
.game-card .meta p { font-size: 0.78rem; font-weight: 300; color: rgba(245, 239, 224, 0.6); margin-top: 2px; }

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

/* feature trio */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.feature {
  background: rgba(26, 17, 48, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  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.34rem;
  letter-spacing: 0.3px;
}
.feature p { font-size: 0.92rem; opacity: 0.8; font-weight: 300; line-height: 1.6; }

/* daily-bonus band */
.bonus-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.bonus {
  background:
    radial-gradient(500px 260px at 110% 50%, rgba(212, 175, 55, 0.12), transparent 65%),
    linear-gradient(180deg, var(--card), var(--velvet-2));
  border: 1px solid var(--line);
  border-radius: 4px;
  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.6rem; margin: 8px 0; }
.bonus p { font-weight: 300; opacity: 0.85; margin-bottom: 18px; line-height: 1.55; }
#daily-state { font-size: 0.84rem; font-weight: 500; color: var(--gold-bright); margin-top: 12px; min-height: 1.2em; }

/* ---------- compliance footer ---------- */
.compliance {
  background: var(--velvet);
  border-top: 1px solid var(--line);
  padding: 44px 0 30px;
  font-size: 0.86rem;
}
.compliance .legal-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(212, 175, 55, 0.07);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 28px;
  font-weight: 300;
}
.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.15rem;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: var(--gold);
}
.compliance p { opacity: 0.72; line-height: 1.6; font-weight: 300; }
.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);
  opacity: 0.5;
  font-weight: 300;
}

/* ---------- 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.6px; }
.game-head h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3rem);
  letter-spacing: 0.5px;
}

.felt {
  background:
    radial-gradient(700px 300px at 50% -10%, rgba(212, 175, 55, 0.14), transparent 70%),
    linear-gradient(180deg, var(--purple) 0%, var(--purple-deep) 100%);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(16px, 3vw, 32px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* ----- slot machine ----- */
.reels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(6px, 1.2vw, 12px);
  background: var(--velvet);
  border-radius: 6px;
  padding: clamp(8px, 1.6vw, 16px);
  border: 1px solid var(--line);
}
.reel {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--velvet-2), var(--velvet) 50%, var(--velvet-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 10px rgba(0, 0, 0, 0.55)); }
.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(--gold), 0 0 22px rgba(212, 175, 55, 0.5); }
}

.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: rgba(14, 10, 26, 0.6);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 12px;
}
.bet-box .label { font-size: 0.68rem; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; opacity: 0.65; }
.bet-box button, .pill-btn {
  width: 34px; height: 34px;
  border-radius: 3px;
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--purple);
  color: var(--cream);
  font-weight: 600;
  font-size: 1.1rem;
}
.bet-box button:hover, .pill-btn:hover { background: var(--purple-soft); }
#bet-value { font-weight: 600; min-width: 84px; text-align: center; color: var(--gold-bright); 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.6px;
  color: var(--gold-bright);
  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: rgba(26, 17, 48, 0.65);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 26px;
}
.info-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
}
.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(--gold); font-size: 0.74rem; letter-spacing: 1.4px; 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; opacity: 0.68; font-weight: 300; line-height: 1.6; }
.info-card ul { padding-left: 20px; }
.info-card li { line-height: 1.7; font-weight: 300; opacity: 0.88; }

/* ----- 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: 2px; text-transform: uppercase; color: var(--gold); 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(--gold-bright); min-height: 1.3em; }

.card-face {
  width: 88px; height: 124px;
  border-radius: 7px;
  background: var(--cream);
  color: #1a1a1a;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  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: #b3122a; }
.card-face.black { color: #16161a; }
.card-face.back {
  background:
    repeating-linear-gradient(45deg, var(--purple) 0 9px, var(--purple-deep) 9px 18px);
  border: 2px solid var(--gold);
  color: var(--gold-bright);
}
.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(--gold-bright);
  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 .chips-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px dashed var(--gold);
  background: radial-gradient(circle at 50% 50%, var(--purple-soft) 0 60%, var(--purple-deep) 61%);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.chip-btn:hover { transform: translateY(-3px); }
.chip-btn.is-active { box-shadow: 0 0 0 3px var(--gold), 0 0 16px rgba(212, 175, 55, 0.5); }
.bet-readout { font-weight: 600; color: var(--gold-bright); }
.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(--gold-deep);
  background:
    /* green single-zero wedge on top + alternating pockets beneath — full 37-segment wheel */
    conic-gradient(from 0deg, #16a34a 0deg 9.7297deg, transparent 9.7297deg 360deg),
    repeating-conic-gradient(from 9.7297deg, #1a1a1a 0deg 9.7297deg, #b3122a 9.7297deg 19.4595deg);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6), 0 14px 40px rgba(0, 0, 0, 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(--gold-bright), var(--gold) 50%, var(--gold-deep));
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.6);
}
.wheel-ptr {
  width: 0; height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 18px solid var(--gold);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 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(--cream); }
.rl-result .num.red { background: #b3122a; }
.rl-result .num.black { background: #1a1a1a; }
.rl-result .num.green { background: #16a34a; }

.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);
  border-radius: 3px;
  padding: 8px 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  background: var(--velvet-2);
  color: var(--cream);
  position: relative;
  transition: filter 0.14s ease;
  user-select: none;
}
.rl-cell:hover { filter: brightness(1.3); }
.rl-cell.red { background: #7a1020; }
.rl-cell.black { background: #18181d; }
.rl-cell.green { background: #14532d; 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(--gold);
  color: var(--velvet);
  font-size: 0.66rem;
  font-weight: 700;
  display: grid; place-items: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 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(--gold-bright), var(--gold));
  color: var(--velvet);
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: 999px;
  padding: 12px 26px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 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.4rem; letter-spacing: 0.5px; margin-bottom: 6px; }
.legal-page .updated { opacity: 0.6; font-weight: 300; font-size: 0.85rem; margin-bottom: 28px; }
.legal-page h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 28px 0 8px; letter-spacing: 0.3px; }
.legal-page p, .legal-page li { line-height: 1.7; font-weight: 300; opacity: 0.9; 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(8, 6, 16, 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(--velvet-2));
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 42px 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 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: 2rem; letter-spacing: 0.5px; }
.age-card p { font-weight: 300; opacity: 0.86; line-height: 1.6; 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; opacity: 0.6; font-weight: 300; }

/* ---------- language switcher ---------- */
.lang-switch { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; font-weight: 500; font-size: 0.8rem; letter-spacing: 1px; }
.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(--gold-bright); opacity: 1; border-bottom: 1px solid var(--gold); }

/* ---------- 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; }
}
