/* =====================================================
   RAINBOWGOLDSPIN.COM — Global Stylesheet
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg-base:        #06080F;
  --bg-card:        #0D1220;
  --bg-elevated:    #131929;
  --bg-glass:       rgba(13, 18, 32, 0.85);
  --border:         rgba(245, 166, 35, 0.15);
  --border-bright:  rgba(245, 166, 35, 0.4);

  --gold:           #F5A623;
  --gold-light:     #FFD700;
  --gold-pale:      #FFF3CC;
  --gold-dark:      #C77D0A;
  --emerald:        #10B981;
  --emerald-dark:   #059669;
  --coral:          #FF6B35;
  --coral-dark:     #E0521A;
  --sky:            #38BDF8;
  --rose:           #FB7185;

  --text-primary:   #F0F4FF;
  --text-secondary: #8B9CC8;
  --text-muted:     #4A5578;

  --rainbow: linear-gradient(135deg, #FF6B6B 0%, #FFD93D 25%, #6BCB77 50%, #4D96FF 75%, #FF9A3C 100%);
  --gold-gradient: linear-gradient(135deg, #F5A623 0%, #FFD700 50%, #F5A623 100%);
  --gold-shine: linear-gradient(90deg, #C77D0A 0%, #FFD700 40%, #F5A623 60%, #FFD700 80%, #C77D0A 100%);

  --shadow-gold:    0 0 30px rgba(245, 166, 35, 0.25);
  --shadow-card:    0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow:    0 0 60px rgba(245, 166, 35, 0.15);

  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --radius-full:    9999px;

  --transition:     0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, textarea, select { font-family: inherit; outline: none; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* =====================================================
   OVERLAY MODALS (Age Gate & Cookie)
   ===================================================== */

.overlay-backdrop {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(6, 8, 15, 0.96);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 1; transition: opacity var(--transition-slow);
}
.overlay-backdrop.hidden { opacity: 0; pointer-events: none; }

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 480px; width: 100%;
  text-align: center;
  box-shadow: var(--shadow-glow), 0 32px 80px rgba(0,0,0,0.8);
  animation: modalIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalIn {
  from { transform: scale(0.85) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0);      opacity: 1; }
}

.modal-logo {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 24px;
}
.modal-logo .logo-icon { width: 48px; height: 48px; }
.modal-logo .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 900;
  background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.modal-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-full);
  padding: 6px 14px; font-size: 12px; font-weight: 600;
  color: var(--gold); letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 16px;
}

.modal-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 900;
  color: var(--text-primary); margin-bottom: 12px; line-height: 1.2;
}
.modal-box p {
  color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin-bottom: 24px;
}

.age-checkbox-wrap {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(245, 166, 35, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px; margin-bottom: 20px; text-align: left;
  cursor: pointer; transition: border-color var(--transition);
}
.age-checkbox-wrap:hover { border-color: var(--border-bright); }
.age-checkbox-wrap input[type="checkbox"] { display: none; }
.custom-checkbox {
  width: 20px; height: 20px; border-radius: 5px;
  border: 2px solid var(--gold-dark);
  background: transparent; flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.custom-checkbox svg { display: none; }
.age-checkbox-wrap input:checked ~ .custom-checkbox {
  background: var(--gold); border-color: var(--gold);
}
.age-checkbox-wrap input:checked ~ .custom-checkbox svg { display: block; }
.age-checkbox-wrap span { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.age-checkbox-wrap span strong { color: var(--text-primary); }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold-gradient);
  color: #0A0600; font-weight: 700; font-size: 15px;
  padding: 14px 32px; border-radius: var(--radius-full);
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.35);
  width: 100%;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245, 166, 35, 0.5); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.4; pointer-events: none; }

.modal-disclaimer {
  margin-top: 16px; font-size: 11px; color: var(--text-muted); line-height: 1.5;
}
.modal-disclaimer a { color: var(--gold-dark); transition: color var(--transition); }
.modal-disclaimer a:hover { color: var(--gold); }

/* Cookie Banner */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: var(--bg-card);
  border-top: 1px solid var(--border-bright);
  padding: 20px 24px;
  transform: translateY(0); transition: transform var(--transition-slow);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.5);
}
#cookie-banner.hidden { transform: translateY(100%); }
.cookie-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 260px; font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.cookie-text a { color: var(--gold); transition: color var(--transition); }
.cookie-text a:hover { color: var(--gold-light); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--gold-gradient);
  color: #0A0600; font-weight: 700; font-size: 13px;
  padding: 10px 24px; border-radius: var(--radius-full);
  transition: all var(--transition);
}
.btn-cookie-accept:hover { box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4); }
.btn-cookie-decline {
  background: transparent; border: 1px solid var(--border-bright);
  color: var(--text-secondary); font-size: 13px;
  padding: 10px 20px; border-radius: var(--radius-full);
  transition: all var(--transition);
}
.btn-cookie-decline:hover { border-color: var(--gold-dark); color: var(--text-primary); }

/* =====================================================
   HEADER / NAV
   ===================================================== */

#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 32px; height: 72px;
  display: flex; align-items: center;
  transition: all var(--transition-slow);
}
#site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: 1280px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
}

.site-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.site-logo .logo-icon { width: 36px; height: 36px; }
.site-logo .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 900;
  background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.header-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.header-nav a {
  padding: 8px 14px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: all var(--transition); white-space: nowrap;
}
.header-nav a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.header-nav a.active { color: var(--gold); }

.header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.btn-contact {
  background: transparent; border: 1px solid var(--border-bright);
  color: var(--gold); font-weight: 600; font-size: 14px;
  padding: 9px 22px; border-radius: var(--radius-full);
  transition: all var(--transition);
}
.btn-contact:hover {
  background: rgba(245, 166, 35, 0.1);
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.2);
}
.btn-play-now {
  background: var(--gold-gradient);
  color: #0A0600; font-weight: 700; font-size: 14px;
  padding: 9px 22px; border-radius: var(--radius-full);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.3);
}
.btn-play-now:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(245, 166, 35, 0.5); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; padding: 6px; z-index: 10;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text-primary);
  border-radius: 2px; transition: all var(--transition);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none; position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0; z-index: 999;
  background: var(--bg-base); padding: 24px 32px;
  flex-direction: column; gap: 8px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 16px; border-radius: var(--radius-md);
  font-size: 16px; font-weight: 500; color: var(--text-secondary);
  transition: all var(--transition); border: 1px solid transparent;
}
.mobile-menu a:hover { color: var(--text-primary); border-color: var(--border); background: var(--bg-elevated); }
.mobile-menu .btn-contact, .mobile-menu .btn-play-now {
  text-align: center; margin-top: 8px;
}

/* =====================================================
   FOOTER
   ===================================================== */

#site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 32px 32px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }

.footer-top {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.footer-brand {}
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; max-width: 260px; }
.footer-address {
  font-style: normal; font-size: 13px; color: var(--text-muted);
  line-height: 1.7; margin-top: 12px; max-width: 260px;
  border-top: 1px solid var(--border); padding-top: 12px;
}
.footer-brand .age-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(251, 113, 133, 0.1); border: 1px solid rgba(251, 113, 133, 0.3);
  border-radius: var(--radius-full); padding: 5px 12px;
  font-size: 11px; font-weight: 700; color: #FB7185; letter-spacing: 0.1em;
  margin-top: 16px;
}

.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--text-secondary);
  padding: 5px 0; transition: color var(--transition);
}
.footer-col a:hover { color: var(--text-primary); }

.footer-disclaimer {
  margin-top: 40px;
  background: rgba(255, 107, 53, 0.06);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: var(--radius-lg); padding: 24px;
}
.footer-disclaimer h5 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 10px;
}
.footer-disclaimer p { font-size: 12px; color: var(--text-muted); line-height: 1.7; }
.footer-disclaimer a { color: var(--coral-dark); transition: color var(--transition); }
.footer-disclaimer a:hover { color: var(--coral); }

.footer-bottom {
  margin-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); }
.footer-bottom .rainbow-strip {
  height: 3px; width: 120px; border-radius: var(--radius-full);
  background: var(--rainbow);
}

/* =====================================================
   PAGE WRAPPER & SECTIONS
   ===================================================== */

.page-wrap { padding-top: 72px; }

.section { padding: 80px 32px; }
.section-sm { padding: 48px 32px; }
.container { max-width: 1280px; margin: 0 auto; }
.container-sm { max-width: 860px; margin: 0 auto; }
.container-md { max-width: 1080px; margin: 0 auto; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-full);
  padding: 6px 16px; font-size: 12px; font-weight: 600;
  color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 20px;
}
.section-label .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

h1.display {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 6vw, 76px); font-weight: 900;
  line-height: 1.1; letter-spacing: -0.02em;
}
h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px); font-weight: 900;
  line-height: 1.15; letter-spacing: -0.01em;
}
h3.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 700; margin-bottom: 8px;
}

.text-gold { background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-rainbow { background: var(--rainbow); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.lead { font-size: 18px; color: var(--text-secondary); line-height: 1.7; max-width: 580px; }

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 32px 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(245, 166, 35, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 80% 10%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
}
.hero-orbs {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.15; animation: floatOrb 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: var(--gold); top: -100px; right: -100px; animation-delay: 0s; }
.orb-2 { width: 350px; height: 350px; background: var(--emerald); bottom: 0; left: -50px; animation-delay: 3s; }
.orb-3 { width: 250px; height: 250px; background: var(--coral); top: 40%; left: 35%; animation-delay: 6s; }
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; max-width: 1280px; margin: 0 auto; width: 100%;
}
.hero-content {}
.hero-content .section-label { margin-bottom: 24px; }
.hero-content h1 { margin-bottom: 24px; }
.hero-content .lead { margin-bottom: 36px; }

.hero-cta-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 48px;
}
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-gradient);
  color: #0A0600; font-weight: 700; font-size: 16px;
  padding: 16px 36px; border-radius: var(--radius-full);
  transition: all var(--transition);
  box-shadow: 0 6px 30px rgba(245, 166, 35, 0.4);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(245, 166, 35, 0.55); }
.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--border-bright);
  color: var(--text-primary); font-weight: 600; font-size: 16px;
  padding: 16px 36px; border-radius: var(--radius-full);
  transition: all var(--transition);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.05); border-color: var(--gold-dark); }

.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.stat-item {}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700;
  background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 13px; color: var(--text-muted); }

/* Hero Visual */
.hero-visual {
  display: flex; align-items: center; justify-content: center; position: relative;
}
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl); padding: 32px;
  box-shadow: var(--shadow-glow), var(--shadow-card);
  width: 100%; max-width: 420px; position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,166,35,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.hc-header span { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.hc-balance {
  text-align: center; padding: 24px; background: rgba(245,166,35,0.06);
  border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 20px;
}
.hc-balance .balance-label { font-size: 12px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.hc-balance .balance-val {
  font-family: 'Space Grotesk', sans-serif; font-size: 40px; font-weight: 700;
  background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hc-balance .balance-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.hc-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.hc-game-thumb {
  aspect-ratio: 1; border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-size: 11px; color: var(--text-secondary); font-weight: 500;
  border: 1px solid var(--border); cursor: pointer;
  transition: all var(--transition);
}
.hc-game-thumb:hover { border-color: var(--gold-dark); background: rgba(245,166,35,0.06); }
.hc-game-thumb .thumb-icon { font-size: 24px; }
.hc-game-thumb.slots { background: rgba(255, 107, 53, 0.08); }
.hc-game-thumb.roulette { background: rgba(16, 185, 129, 0.08); }
.hc-game-thumb.blackjack { background: rgba(56, 189, 248, 0.08); }
.hc-btn {
  width: 100%; padding: 13px; border-radius: var(--radius-full);
  background: var(--gold-gradient); color: #0A0600;
  font-weight: 700; font-size: 14px; transition: all var(--transition);
}
.hc-btn:hover { box-shadow: var(--shadow-gold); transform: translateY(-1px); }

/* Rainbow strip animation */
.rainbow-bar {
  height: 4px; border-radius: var(--radius-full);
  background: var(--rainbow);
  background-size: 200% 100%;
  animation: rainbowShift 3s linear infinite;
}
@keyframes rainbowShift {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* =====================================================
   GAMES SECTION
   ===================================================== */

.games-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}
.game-thumb {
  height: 200px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.game-thumb-slots { background: linear-gradient(135deg, #1a0a00 0%, #2d1500 100%); }
.game-thumb-roulette { background: linear-gradient(135deg, #001a0a 0%, #002d15 100%); }
.game-thumb-blackjack { background: linear-gradient(135deg, #00101a 0%, #00152d 100%); }
.game-thumb-icon { font-size: 72px; animation: iconFloat 3s ease-in-out infinite; }
@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}
.game-thumb .game-glow {
  position: absolute; width: 150px; height: 150px; border-radius: 50%;
  filter: blur(40px); opacity: 0.3;
}
.game-thumb-slots .game-glow { background: var(--coral); }
.game-thumb-roulette .game-glow { background: var(--emerald); }
.game-thumb-blackjack .game-glow { background: var(--sky); }

.game-info { padding: 24px; }
.game-tag {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 10px; border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.tag-slots { background: rgba(255,107,53,0.15); color: var(--coral); }
.tag-roulette { background: rgba(16,185,129,0.15); color: var(--emerald); }
.tag-blackjack { background: rgba(56,189,248,0.15); color: var(--sky); }
.game-info h3 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.game-info p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.game-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.game-meta span { font-size: 12px; color: var(--text-muted); }
.game-meta .active-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald); box-shadow: 0 0 8px var(--emerald);
  animation: pulse 2s infinite;
}
.btn-game {
  display: block; width: 100%; text-align: center; padding: 12px;
  border-radius: var(--radius-full); font-weight: 600; font-size: 14px;
  transition: all var(--transition);
}
.btn-game-slots { background: rgba(255,107,53,0.15); color: var(--coral); border: 1px solid rgba(255,107,53,0.3); }
.btn-game-slots:hover { background: rgba(255,107,53,0.25); box-shadow: 0 4px 20px rgba(255,107,53,0.2); }
.btn-game-roulette { background: rgba(16,185,129,0.15); color: var(--emerald); border: 1px solid rgba(16,185,129,0.3); }
.btn-game-roulette:hover { background: rgba(16,185,129,0.25); box-shadow: 0 4px 20px rgba(16,185,129,0.2); }
.btn-game-blackjack { background: rgba(56,189,248,0.15); color: var(--sky); border: 1px solid rgba(56,189,248,0.3); }
.btn-game-blackjack:hover { background: rgba(56,189,248,0.25); box-shadow: 0 4px 20px rgba(56,189,248,0.2); }

/* =====================================================
   FEATURES / BENEFITS
   ===================================================== */

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all var(--transition);
}
.feature-card:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.fi-gold { background: rgba(245,166,35,0.12); }
.fi-emerald { background: rgba(16,185,129,0.12); }
.fi-coral { background: rgba(255,107,53,0.12); }
.fi-sky { background: rgba(56,189,248,0.12); }
.fi-rose { background: rgba(251,113,133,0.12); }
.fi-rainbow { background: rgba(99,179,237,0.12); }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* =====================================================
   COMMUNITY SECTION
   ===================================================== */

.community-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.community-content .section-label { margin-bottom: 20px; }
.community-content h2 { margin-bottom: 20px; }
.community-content p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.community-visual { position: relative; }
.leaderboard-preview {
  background: var(--bg-elevated);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.lb-header {
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.lb-header span { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.lb-header .live-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--emerald); letter-spacing: 0.08em;
}
.lb-header .live-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald); animation: pulse 2s infinite;
}
.lb-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background var(--transition);
}
.lb-row:hover { background: rgba(245,166,35,0.04); }
.lb-rank { font-size: 13px; font-weight: 700; color: var(--text-muted); width: 20px; text-align: center; }
.lb-rank.gold { color: var(--gold); }
.lb-rank.silver { color: #C0C0C0; }
.lb-rank.bronze { color: #CD7F32; }
.lb-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.lb-name { flex: 1; font-size: 14px; font-weight: 500; }
.lb-score { font-size: 14px; font-weight: 700; color: var(--gold); }

/* =====================================================
   INNER PAGE HERO
   ===================================================== */

.inner-hero {
  padding: 120px 32px 64px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,166,35,0.07) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}
.inner-hero .container { position: relative; z-index: 1; }
.inner-hero .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted); margin-bottom: 20px;
}
.inner-hero .breadcrumb a { color: var(--gold); transition: color var(--transition); }
.inner-hero .breadcrumb a:hover { color: var(--gold-light); }
.inner-hero .breadcrumb span { color: var(--text-muted); }
.inner-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px, 4vw, 54px); font-weight: 900; margin-bottom: 16px; }
.inner-hero p { font-size: 18px; color: var(--text-secondary); max-width: 600px; line-height: 1.7; }

/* =====================================================
   CONTENT PAGES
   ===================================================== */

.content-section { padding: 64px 32px; }
.content-block { max-width: 800px; margin: 0 auto; }
.content-block h2 {
  font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700;
  margin: 40px 0 16px; color: var(--text-primary);
}
.content-block h2:first-child { margin-top: 0; }
.content-block p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.content-block ul { margin: 16px 0; padding-left: 0; }
.content-block ul li {
  font-size: 15px; color: var(--text-secondary); line-height: 1.7;
  padding: 6px 0 6px 24px; position: relative;
}
.content-block ul li::before {
  content: ''; position: absolute; left: 6px; top: 14px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.content-block a { color: var(--gold); transition: color var(--transition); }
.content-block a:hover { color: var(--gold-light); }
.content-block .highlight-box {
  background: rgba(245,166,35,0.06); border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg); padding: 24px; margin: 24px 0;
}
.content-block .highlight-box p { color: var(--text-primary); margin: 0; }

/* Info cards */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 32px 0; }
.info-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: all var(--transition);
}
.info-card:hover { border-color: var(--border-bright); }
.info-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--gold); }
.info-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* Steps */
.steps-list { margin: 32px 0; }
.step-item {
  display: flex; gap: 20px; padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.step-item:last-child { border-bottom: none; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-gradient); color: #0A0600;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.step-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* FAQ */
.faq-list { margin-top: 32px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: 12px; overflow: hidden; transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--border-bright); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; transition: background var(--transition);
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-question span { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(245,166,35,0.1); border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--gold); flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px; max-height: 0; overflow: hidden;
  transition: all var(--transition-slow);
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px;
}
.contact-item {
  display: flex; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-item-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  background: rgba(245,166,35,0.1);
}
.contact-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.contact-item p { font-size: 13px; color: var(--text-secondary); margin: 0; }
.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 16px;
  color: var(--text-primary); font-size: 14px; transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold-dark); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  width: 100%; padding: 14px; border-radius: var(--radius-full);
  background: var(--gold-gradient); color: #0A0600;
  font-weight: 700; font-size: 15px; transition: all var(--transition);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

/* Responsible gaming */
.rg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; }
.rg-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; text-align: center;
}
.rg-card .rg-icon { font-size: 36px; margin-bottom: 12px; }
.rg-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.rg-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin: 0; }
.crisis-box {
  background: rgba(251,113,133,0.06); border: 1px solid rgba(251,113,133,0.2);
  border-radius: var(--radius-lg); padding: 24px; margin: 24px 0;
}
.crisis-box h4 { font-size: 15px; font-weight: 700; color: var(--rose); margin-bottom: 12px; }
.crisis-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px; color: var(--text-secondary); transition: color var(--transition);
}
.crisis-link:last-child { border-bottom: none; padding-bottom: 0; }
.crisis-link:hover { color: var(--rose); }
.crisis-link .cl-domain { margin-left: auto; font-size: 12px; color: var(--text-muted); }

/* =====================================================
   GAME PAGES
   ===================================================== */

.game-page {
  padding-top: 72px; min-height: 100vh;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,166,35,0.05) 0%, transparent 60%);
}
.game-page-header {
  padding: 32px 32px 0;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1000px; margin: 0 auto;
}
.game-page-header .back-link {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-secondary); transition: color var(--transition);
}
.game-page-header .back-link:hover { color: var(--text-primary); }
.game-balance-display {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border-bright);
  border-radius: var(--radius-full); padding: 8px 20px;
}
.game-balance-display .coin-icon { font-size: 18px; }
.game-balance-display .bal-val {
  font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700;
  background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.game-balance-display .bal-label { font-size: 12px; color: var(--text-muted); }

.game-container {
  max-width: 900px; margin: 32px auto; padding: 0 32px 80px;
}
.game-title-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 32px;
}
.game-title-row h1 { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 900; }

/* SLOTS */
.slots-machine {
  background: var(--bg-card); border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-glow);
  text-align: center;
}
.slots-reels { display: flex; gap: 12px; justify-content: center; margin-bottom: 32px; }
.reel-window {
  width: 120px; height: 120px;
  background: var(--bg-elevated); border: 2px solid var(--border-bright);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.reel-symbol {
  font-size: 56px; line-height: 1;
  transition: all 0.1s;
  user-select: none;
}
.reel-window.spinning .reel-symbol { animation: reelSpin 0.1s linear infinite; }
@keyframes reelSpin {
  0% { transform: translateY(-100%) scale(0.8); opacity: 0; }
  50% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(100%) scale(0.8); opacity: 0; }
}
.reel-window.win-highlight {
  border-color: var(--gold); box-shadow: 0 0 30px rgba(245,166,35,0.5);
  animation: winPulse 0.5s ease-in-out 3;
}
@keyframes winPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(245,166,35,0.5); }
  50% { box-shadow: 0 0 60px rgba(245,166,35,0.9), inset 0 0 20px rgba(245,166,35,0.1); }
}

.bet-controls {
  display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.bet-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-elevated); border: 1px solid var(--border-bright);
  color: var(--text-primary); font-size: 18px; font-weight: 700;
  transition: all var(--transition);
}
.bet-btn:hover { border-color: var(--gold-dark); background: rgba(245,166,35,0.1); }
.bet-display {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 8px 24px;
  font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700;
  color: var(--gold); min-width: 100px; text-align: center;
}
.bet-label { font-size: 13px; color: var(--text-muted); }

.spin-btn {
  width: 100%; max-width: 280px; padding: 18px; border-radius: var(--radius-full);
  background: var(--gold-gradient); color: #0A0600;
  font-weight: 700; font-size: 18px; transition: all var(--transition);
  box-shadow: 0 6px 30px rgba(245,166,35,0.4);
  margin-bottom: 24px;
}
.spin-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(245,166,35,0.6); }
.spin-btn:disabled { opacity: 0.5; pointer-events: none; }

.slots-result {
  min-height: 32px; font-size: 18px; font-weight: 700; color: var(--gold);
  transition: all var(--transition);
}
.slots-result.win { color: var(--emerald); animation: resultPop 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.slots-result.lose { color: var(--text-muted); }
@keyframes resultPop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.paytable {
  margin-top: 32px; border-top: 1px solid var(--border); padding-top: 24px;
}
.paytable h4 { font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.paytable-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pay-item {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 8px; text-align: center;
}
.pay-sym { font-size: 24px; margin-bottom: 4px; }
.pay-mult { font-size: 12px; font-weight: 700; color: var(--gold); }

/* ROULETTE */
.roulette-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start;
}
.roulette-wheel-wrap {
  background: var(--bg-card); border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl); padding: 32px; text-align: center;
  box-shadow: var(--shadow-glow);
}
.wheel-canvas-wrap {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; position: relative;
}
.wheel-canvas-wrap canvas { border-radius: 50%; }
.wheel-pointer {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 12px solid transparent; border-right: 12px solid transparent;
  border-top: 24px solid var(--gold);
  filter: drop-shadow(0 2px 8px rgba(245,166,35,0.5));
}
.roulette-result-display {
  font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700;
  min-height: 48px; color: var(--gold); margin-bottom: 16px;
}
.btn-spin-roulette {
  width: 100%; padding: 16px; border-radius: var(--radius-full);
  background: var(--gold-gradient); color: #0A0600;
  font-weight: 700; font-size: 16px; transition: all var(--transition);
}
.btn-spin-roulette:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-spin-roulette:disabled { opacity: 0.5; pointer-events: none; }

.roulette-betting {
  background: var(--bg-card); border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl); padding: 28px;
}
.roulette-betting h3 { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.bet-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.bet-type-btn {
  padding: 10px 8px; border-radius: var(--radius-md); font-size: 13px; font-weight: 600;
  text-align: center; cursor: pointer; transition: all var(--transition);
  background: var(--bg-elevated); border: 1px solid var(--border);
  color: var(--text-secondary);
}
.bet-type-btn:hover { border-color: var(--border-bright); color: var(--text-primary); }
.bet-type-btn.selected { border-color: var(--gold-dark); background: rgba(245,166,35,0.1); color: var(--gold); }
.bet-type-btn.red-btn { border-color: rgba(251,113,133,0.3); color: var(--rose); }
.bet-type-btn.red-btn.selected { background: rgba(251,113,133,0.1); border-color: var(--rose); }
.bet-type-btn.black-btn { border-color: rgba(148,163,184,0.3); color: #94A3B8; }
.bet-type-btn.black-btn.selected { background: rgba(148,163,184,0.1); border-color: #94A3B8; }

.roulette-bet-amount { margin-bottom: 20px; }
.roulette-bet-amount label { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; display: block; }
.bet-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; cursor: pointer; transition: all var(--transition);
  border: 3px solid rgba(255,255,255,0.2);
}
.chip:hover { transform: scale(1.1); }
.chip.selected { transform: scale(1.15); box-shadow: 0 0 20px currentColor; }
.chip-10  { background: #3B82F6; color: white; }
.chip-50  { background: #10B981; color: white; }
.chip-100 { background: var(--coral); color: white; }
.chip-500 { background: var(--gold); color: #0A0600; }

.roulette-history { margin-top: 20px; }
.roulette-history h4 { font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.history-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.h-dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: white;
}
.h-dot.red { background: #DC2626; }
.h-dot.black { background: #374151; }
.h-dot.green { background: #059669; }

/* BLACKJACK */
.blackjack-table {
  background: var(--bg-card); border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl); padding: 40px;
  box-shadow: var(--shadow-glow); position: relative; overflow: hidden;
}
.blackjack-table::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(56,189,248,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.bj-section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 12px; text-align: center;
}
.bj-hand { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 120px; flex-wrap: wrap; margin-bottom: 8px; }
.card {
  width: 72px; height: 100px; border-radius: 8px;
  background: white; display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4); position: relative;
  transition: all var(--transition);
  animation: cardDeal 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes cardDeal {
  from { transform: scale(0) rotate(-15deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg); opacity: 1; }
}
.card.red { color: #DC2626; }
.card.black { color: #1F2937; }
.card.face-down {
  background: linear-gradient(135deg, #1E40AF 25%, #2563EB 25%, #2563EB 50%, #1E40AF 50%, #1E40AF 75%, #2563EB 75%);
  background-size: 12px 12px;
}
.card-corner {
  position: absolute; top: 6px; left: 8px;
  font-size: 13px; line-height: 1;
}
.card-corner.br { top: auto; left: auto; bottom: 6px; right: 8px; transform: rotate(180deg); }

.bj-score {
  text-align: center; font-size: 13px; color: var(--text-muted); margin-bottom: 20px;
}
.bj-score span { color: var(--gold); font-weight: 700; }
.bj-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

.bj-controls {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap; margin-top: 24px;
}
.bj-btn {
  padding: 12px 28px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 14px; transition: all var(--transition);
}
.bj-btn-deal { background: var(--gold-gradient); color: #0A0600; }
.bj-btn-deal:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.bj-btn-hit { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.4); color: var(--emerald); }
.bj-btn-hit:hover { background: rgba(16,185,129,0.25); }
.bj-btn-stand { background: rgba(255,107,53,0.15); border: 1px solid rgba(255,107,53,0.4); color: var(--coral); }
.bj-btn-stand:hover { background: rgba(255,107,53,0.25); }
.bj-btn-double { background: rgba(56,189,248,0.15); border: 1px solid rgba(56,189,248,0.4); color: var(--sky); }
.bj-btn-double:hover { background: rgba(56,189,248,0.25); }
.bj-btn:disabled { opacity: 0.3; pointer-events: none; }

.bj-message {
  text-align: center; min-height: 28px; font-size: 18px; font-weight: 700;
  margin: 16px 0;
}
.bj-message.win { color: var(--emerald); animation: resultPop 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.bj-message.lose { color: var(--rose); animation: resultPop 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.bj-message.push { color: var(--gold); }

.bj-bet-row {
  display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
}

/* Stats panel */
.game-stats-panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 24px; margin-top: 20px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.gs-item { text-align: center; }
.gs-val {
  font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700;
  background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.gs-label { font-size: 11px; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }

/* =====================================================
   MISC UTILITIES
   ===================================================== */

.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.text-center { text-align: center; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .roulette-layout { grid-template-columns: 1fr; }
  .game-stats-panel { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 48px; }
  #site-header { padding: 0 20px; }
  .header-nav, .header-right { display: none; }
  .hamburger { display: flex; }
  .section { padding: 56px 20px; }
  .content-section { padding: 40px 20px; }
  .inner-hero { padding: 100px 20px 48px; }
  .games-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .rg-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .community-grid { grid-template-columns: 1fr; }
  .slots-reels { gap: 8px; }
  .reel-window { width: 90px; height: 90px; }
  .reel-symbol { font-size: 42px; }
  .paytable-grid { grid-template-columns: repeat(5, 1fr); }
  .blackjack-table { padding: 24px 16px; }
  .modal-box { padding: 32px 24px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .game-stats-panel { grid-template-columns: repeat(2, 1fr); }
}
