/* rushnova.games — social casino landing */
:root {
  --bg: #0a0a0f;
  --bg-elev: #12121a;
  --bg-card: #16161f;
  --border: rgba(212, 175, 55, 0.22);
  --gold: #d4af37;
  --gold-dim: #9a7b2a;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --text: #e8e6e1;
  --text-muted: #9a9690;
  --rose: #c4a08a;
  --alert-bg: #3a1a1a;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --radius: 12px;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--gold);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Top disclaimer bar */
.top-bar {
  background: #070709;
  border-bottom: 1px solid var(--border);
  font-size: 0.7rem;
  text-align: center;
  padding: 0.45rem 1rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.bottom-strip {
  background: #070709;
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  text-align: center;
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.top-bar strong {
  color: #fff;
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f0d78c, var(--gold) 50%, #8b6914);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}
.nav-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.nav-main a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(180deg, #e8c84a, var(--gold) 40%, #a88620);
  color: #0a0a0a;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 2px 12px var(--gold-glow);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--gold-glow);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition:
    border-color 0.15s,
    color 0.15s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 1.25rem 4rem;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  font-size: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: space-around;
  user-select: none;
}
.hero-bg span {
  padding: 1rem;
  animation: float 6s ease-in-out infinite;
}
.hero-bg span:nth-child(2n) {
  animation-delay: -2s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.pill {
  display: inline-block;
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  background: rgba(212, 175, 55, 0.06);
}
h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #fff;
}
h1 .gold {
  color: var(--gold);
  font-style: italic;
}
.hero p.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.lock-line {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

/* Stats */
.stats {
  max-width: var(--max);
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  text-align: center;
  padding: 1.25rem 0.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.stat:last-child {
  border-right: 0;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1.1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
@media (max-width: 700px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* Section */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.5rem;
}
h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin: 0 0 0.5rem;
  color: #fff;
}
.section-intro {
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
}

/* Game grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
}
.game-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.game-card.g1::before {
  background: linear-gradient(145deg, #1a2e1a, #0d1810);
}
.game-card.g2::before {
  background: linear-gradient(145deg, #1a2438, #0e1520);
}
.game-card.g3::before {
  background: linear-gradient(145deg, #2e2218, #15100c);
}
.game-card.g4::before {
  background: linear-gradient(145deg, #241a2e, #120d18);
}
.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.game-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.game-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: #fff;
}
.game-card p {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0 0 1.25rem;
  flex: 1;
}
.game-btns {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: default;
}
.btn-game-play {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(180deg, #e8c84a, var(--gold) 40%, #a88620);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  text-decoration: none;
  box-shadow: 0 2px 8px var(--gold-glow);
}
.btn-game-play:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  background: rgba(180, 100, 40, 0.12);
  border: 1px solid rgba(200, 120, 60, 0.25);
  border-radius: 8px;
  font-size: 0.8rem;
  color: #d4a574;
}

/* Responsible */
.responsible {
  background: linear-gradient(180deg, #1a1418 0%, #120e12 100%);
  border: 1px solid rgba(196, 160, 138, 0.2);
  border-radius: var(--radius);
  padding: 2.25rem 1.5rem;
  margin: 0 0 2.5rem;
}
.responsible h2 {
  color: var(--rose);
  font-size: 1.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.responsible .intro {
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 1.5rem;
}
.rp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 900px) {
  .rp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .rp-grid {
    grid-template-columns: 1fr;
  }
}
.rp-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(196, 160, 138, 0.15);
  border-radius: 10px;
  padding: 1.1rem;
  text-align: center;
}
.rp-box .ico {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.5rem;
}
.rp-box h4 {
  font-size: 0.85rem;
  margin: 0 0 0.4rem;
  color: #fff;
}
.rp-box p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}
.helplines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.helplines a {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  text-decoration: none;
}
.helplines a:hover {
  border-color: var(--gold);
  color: var(--gold);
  text-decoration: none;
}

/* Legal block */
.legal-block {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: var(--max);
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.legal-block h3 {
  font-size: 0.85rem;
  color: #fff;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: #060608;
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 1.5rem 2rem;
  font-size: 0.85rem;
}
@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-col p {
  color: var(--text-muted);
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 0.4rem;
}
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.badge-18 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--gold);
}
.badge-18 span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-family: var(--font-serif);
}

/* Modals / overlays */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s,
    visibility 0.25s;
}
.overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.age-card {
  max-width: 400px;
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.age-card h2 {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
}
.age-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}
.age-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.age-actions .btn-gold,
.age-actions .btn-ghost {
  min-width: 120px;
  justify-content: center;
}
.age-warn {
  font-size: 0.7rem;
  color: #c9a050;
  margin-top: 1rem;
  line-height: 1.4;
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  background: #0e0e12;
  border-top: 1px solid var(--border);
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  transform: translateY(100%);
  transition: transform 0.3s;
}
.cookie-bar.is-visible {
  transform: translateY(0);
}
.cookie-bar a {
  color: var(--gold);
}

/* Game modals */
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 1900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.88);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s,
    visibility 0.2s;
}
.game-modal[hidden] {
  display: none;
}
.game-modal.is-open {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.game-panel {
  width: 100%;
  max-width: 420px;
  background: #121216;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  max-height: calc(100vh - 1.5rem);
  display: flex;
  flex-direction: column;
}
.game-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.game-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #f0ede8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}
.close-x {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem;
}
.close-x:hover {
  color: #fff;
}
.disclaim-bar {
  background: var(--alert-bg);
  color: #e8b4b4;
  font-size: 0.65rem;
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.35;
}
.balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}
.balance-row span:first-child {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.balance-row .bal {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 700;
}
.game-body {
  padding: 1rem;
  overflow-y: auto;
  flex: 1;
}
.bet-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}
.bet-row .lbl {
  color: var(--text-muted);
  font-size: 0.8rem;
  min-width: 2rem;
}
.bet-chips {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.bet-chips button {
  min-width: 2.4rem;
  padding: 0.35rem 0.5rem;
  background: #1a1a22;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: var(--font-sans);
}
.bet-chips button.is-sel,
.bet-chips button:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.msg-toast {
  min-height: 1.2rem;
  font-size: 0.8rem;
  color: #8fd48f;
  text-align: center;
  margin: 0.4rem 0;
}

/* Slots */
.reels {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}
.reel {
  width: 4.2rem;
  height: 4.2rem;
  background: #1e1e28;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  line-height: 1;
}
.reel.spinning {
  animation: reel-s 0.1s steps(1) infinite;
}
@keyframes reel-s {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}
.spin-btn {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.9rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(180deg, #f0d060, #c9a030);
  color: #0a0a0a;
  box-shadow: 0 0 20px var(--gold-glow);
  font-family: var(--font-sans);
}
.spin-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.paytable {
  font-size: 0.65rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.75rem;
  padding-top: 0.5rem;
}
.paytable table {
  width: 100%;
  border-collapse: collapse;
}
.paytable td {
  padding: 0.2rem 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.paytable .mul {
  color: var(--gold);
  text-align: right;
  font-weight: 600;
}

/* Blackjack */
.bj-zones {
  text-align: center;
  margin: 0.5rem 0 1rem;
}
.bj-zones h4 {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin: 0 0 0.5rem;
}
.cards {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  min-height: 4.2rem;
}
.card-face {
  width: 2.6rem;
  height: 3.7rem;
  background: #fff;
  border-radius: 5px;
  color: #111;
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  user-select: none;
}
.card-face.red {
  color: #b01010;
}
.card-back {
  width: 2.6rem;
  height: 3.7rem;
  background: linear-gradient(135deg, #1a1a2e, #2e2a4a);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 5px 5px;
}
.bj-sc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}
.bj-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.bj-actions button {
  flex: 1;
  min-width: 4rem;
  padding: 0.6rem 0.5rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  border: none;
  font-size: 0.85rem;
}
.bj-actions .deal {
  background: #3a3a45;
  color: #888;
}
.bj-actions .deal:enabled {
  background: #3d4a35;
  color: #c8e0a8;
  cursor: pointer;
}
.bj-actions .hit {
  background: var(--gold);
  color: #0a0a0a;
}
.bj-actions .stand {
  background: #1a1a22;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Roulette */
.wheel-wrap {
  text-align: center;
  margin: 0.5rem 0 0.25rem;
}
#roulette-canvas,
.roulette-wheel-svg {
  max-width: 200px;
  height: auto;
  margin: 0 auto;
  display: block;
}
.hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0.5rem;
}
.group-bets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}
.group-bets button {
  font-size: 0.6rem;
  padding: 0.3rem 0.35rem;
  background: #1a1a22;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ddd;
  border-radius: 5px;
  cursor: pointer;
  flex: 1 1 calc(33% - 0.3rem);
  min-width: 0;
}
.group-bets button.is-sel {
  border-color: var(--gold);
  color: var(--gold);
}
.num-grid {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0.4rem 0 0.5rem;
  max-height: 140px;
  overflow-y: auto;
}
.num-row {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.num-grid button {
  width: 1.6rem;
  height: 1.5rem;
  font-size: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
  color: #fff;
  font-weight: 600;
}
.num-grid button.red {
  background: #6b1515;
}
.num-grid button.black,
.num-grid button.zero {
  background: #1a1a1a;
}
.num-grid button.green,
.num-grid button.zero {
  background: #104010;
}
.num-grid button.zero {
  min-width: 2.4rem;
}
.num-grid button.is-sel {
  box-shadow: 0 0 0 2px var(--gold);
  z-index: 1;
}
.wheel-rot {
  transform-origin: 50% 50%;
  will-change: transform;
}
.roulette-spin {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.65rem;
  font-weight: 800;
  background: var(--gold);
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-sans);
}

/* Video poker */
.vp-title {
  text-align: center;
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.05rem;
  margin: 0.25rem 0 0.5rem;
}
.vp-hold {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  min-height: 4.2rem;
  margin: 0.4rem 0;
}
.hold-btn {
  width: 2.4rem;
  font-size: 0.5rem;
  color: #888;
  text-align: center;
}
.hold-btn button {
  display: block;
  width: 100%;
  margin-top: 0.2rem;
  font-size: 0.5rem;
  padding: 0.15rem;
  border-radius: 3px;
  border: 1px solid #444;
  background: #222;
  color: #fff;
  cursor: pointer;
}
.hold-btn button.is-hold {
  background: #2a3a1a;
  border-color: var(--gold);
  color: var(--gold);
}
.vp-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.4rem;
}
.vp-actions button {
  flex: 1;
  padding: 0.6rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  border: none;
}
.vp-deal {
  background: var(--gold);
  color: #0a0a0a;
}
.vp-draw {
  background: #252530;
  color: #888;
  border: 1px solid #444;
}
.vp-draw:enabled {
  color: #fff;
  border-color: var(--gold);
  cursor: pointer;
}
.paygrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 0.5rem;
  font-size: 0.6rem;
  margin-top: 0.5rem;
  color: var(--text-muted);
}
.paygrid b {
  color: var(--gold);
  float: right;
}

/* Page content (inner pages) */
.page-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
.page-wrap h1 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}
.page-wrap .sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.page-wrap h2 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--gold);
}
.page-wrap p,
.page-wrap li {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.page-wrap ul {
  padding-left: 1.25rem;
}
.page-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}
