/* ===========================
   RoyalNaijaClub - Main Styles
   Social Entertainment Platform
   =========================== */

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

:root {
  --gold: #FFD700;
  --gold-light: #FFE94D;
  --gold-dark: #B8860B;
  --royal-purple: #1A0533;
  --royal-purple-mid: #2D0B5C;
  --royal-purple-light: #4A1080;
  --deep-black: #0A0010;
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,215,0,0.2);
  --text-primary: #fff;
  --text-secondary: rgba(255,255,255,0.7);
  --text-muted: rgba(255,255,255,0.45);
  --green-win: #00E676;
  --red-lose: #FF1744;
  --accent-cyan: #00E5FF;
  --border-radius: 16px;
  --shadow-gold: 0 0 30px rgba(255,215,0,0.3);
  --shadow-purple: 0 8px 32px rgba(26,5,51,0.8);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--deep-black);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-animated {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 20% 20%, #2D0B5C 0%, transparent 50%),
              radial-gradient(ellipse at 80% 80%, #1A0533 0%, transparent 50%),
              radial-gradient(ellipse at 50% 50%, #0A0010 0%, #050008 100%);
  overflow: hidden;
}
.bg-animated::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(255,215,0,0.08) 1px, transparent 0);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}
.bg-animated::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,215,0,0.06) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: floatOrb 15s ease-in-out infinite alternate;
}
@keyframes gridMove { 0%{background-position:0 0} 100%{background-position:50px 50px} }
@keyframes floatOrb {
  0%{transform:translate(0,0) scale(1)}
  100%{transform:translate(100vw,100vh) scale(1.5)}
}

/* Floating gold particles */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  animation: particleFloat linear infinite;
  opacity: 0;
}
@keyframes particleFloat {
  0%{transform:translateY(100vh) rotate(0deg); opacity:0}
  10%{opacity:1}
  90%{opacity:0.6}
  100%{transform:translateY(-10px) rotate(720deg); opacity:0}
}

/* ===== SITE WRAPPER ===== */
.site-wrapper { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }

/* ===== AGE GATE POPUP ===== */
#age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5,0,15,0.97);
  backdrop-filter: blur(20px);
}
.age-gate-box {
  background: linear-gradient(135deg, #1A0533 0%, #2D0B5C 50%, #1A0533 100%);
  border: 2px solid var(--gold);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  max-width: 460px;
  width: 90%;
  box-shadow: 0 0 80px rgba(255,215,0,0.3), 0 0 160px rgba(255,215,0,0.1);
  animation: gateAppear 0.5s ease;
}
@keyframes gateAppear { from{opacity:0;transform:scale(0.8) translateY(30px)} to{opacity:1;transform:scale(1) translateY(0)} }
.age-gate-logo {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,215,0,0.5);
  margin-bottom: 8px;
}
.age-gate-crown { font-size: 50px; margin-bottom: 16px; display: block; }
.age-gate-title {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.age-gate-text { color: var(--text-secondary); font-size: 14px; margin-bottom: 30px; line-height: 1.6; }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  font-size: 18px;
  font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(255,215,0,0.6);
}
.age-gate-buttons { display: flex; gap: 12px; justify-content: center; margin-top: 10px; }
.btn-age-yes {
  flex: 1;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: #000;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255,215,0,0.4);
}
.btn-age-yes:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,215,0,0.6); }
.btn-age-no {
  flex: 1;
  padding: 14px 20px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-age-no:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); }
.age-disclaimer { font-size: 11px; color: var(--text-muted); margin-top: 16px; }

/* ===== HEADER / NAV ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,0,16,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,215,0,0.15);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 15px rgba(255,215,0,0.4);
}
.logo-text {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-sub { font-size: 10px; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; display: block; font-family: 'Inter', sans-serif; }

nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: rgba(255,215,0,0.08);
}
.nav-badge {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
  margin-left: 4px;
}
.btn-play-nav {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #000;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}
.btn-play-nav:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,215,0,0.5); }

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(10,0,16,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,215,0,0.15);
  padding: 20px;
  z-index: 99;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { display: block; padding: 12px 16px; font-size: 16px; }

/* ===== HERO SECTION ===== */
.hero {
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 40%, var(--gold-light) 70%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: #000;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 6px 30px rgba(255,215,0,0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(255,215,0,0.6); }
.btn-secondary {
  padding: 16px 36px;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--gold);
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
.btn-secondary:hover { background: rgba(255,215,0,0.08); transform: translateY(-3px); }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Cinzel', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ===== SECTION STYLES ===== */
section { padding: 80px 24px; }
.container { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.section-desc { color: var(--text-secondary); font-size: 16px; max-width: 560px; margin: 0 auto; line-height: 1.6; }

/* Gold divider */
.gold-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== GAME CARDS GRID ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s;
  position: relative;
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,215,0,0.5);
  box-shadow: 0 20px 60px rgba(255,215,0,0.15), 0 0 0 1px rgba(255,215,0,0.2);
}
.game-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.game-card:hover .game-card-img { transform: scale(1.05); }
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,0,16,0.9) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  align-self: flex-start;
  text-decoration: none;
}
.game-card-info { padding: 16px 20px 20px; }
.game-card-name {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.game-card-type {
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.game-card-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
}
.tag.hot { background: rgba(255,71,0,0.15); border-color: rgba(255,71,0,0.3); color: #FF6B35; }
.tag.new { background: rgba(0,229,118,0.1); border-color: rgba(0,229,118,0.3); color: var(--green-win); }
.tag.free { background: rgba(0,229,255,0.1); border-color: rgba(0,229,255,0.3); color: var(--accent-cyan); }

/* Game preview placeholder */
.game-preview-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 70px;
  position: relative;
  overflow: hidden;
}
.gp-1 { background: linear-gradient(135deg, #1A0533, #4A1080, #2D0B5C); }
.gp-2 { background: linear-gradient(135deg, #001a33, #004080, #001a33); }

/* ===== FEATURES SECTION ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s;
}
.feature-card:hover { border-color: rgba(255,215,0,0.4); transform: translateY(-4px); }
.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,215,0,0.05));
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.feature-title { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== BANNER SOCIAL ===== */
.social-banner {
  background: linear-gradient(135deg, var(--royal-purple-mid) 0%, var(--royal-purple-light) 50%, var(--royal-purple-mid) 100%);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.social-banner::before {
  content: '♛';
  position: absolute;
  font-size: 200px;
  color: rgba(255,215,0,0.03);
  top: -40px; right: -20px;
  pointer-events: none;
}
.social-banner-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}
.social-banner-text { color: var(--text-secondary); font-size: 16px; max-width: 500px; margin: 0 auto 30px; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
}
.testi-stars { color: var(--gold); font-size: 16px; margin-bottom: 12px; }
.testi-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #000;
  font-weight: 700;
}
.testi-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.testi-city { font-size: 12px; color: var(--text-muted); }

/* ===== RESPONSIBLE GAMING BANNER ===== */
.resp-banner {
  background: rgba(255,215,0,0.04);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.resp-icon { font-size: 40px; flex-shrink: 0; }
.resp-content flex { flex: 1; }
.resp-title { font-weight: 700; color: var(--gold); margin-bottom: 4px; font-size: 16px; }
.resp-text { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* ===== FOOTER ===== */
footer {
  background: rgba(5,0,12,0.95);
  border-top: 1px solid rgba(255,215,0,0.1);
  padding: 60px 24px 24px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo-text { font-size: 22px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-top: 12px; margin-bottom: 20px; }
.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-contact-item span:first-child { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-contact-item a:hover { color: var(--gold); }

/* Responsible gaming footer block */
.resp-gaming-block {
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  background: rgba(255,215,0,0.03);
}
.resp-gaming-block h3 {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.resp-gaming-block p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.resp-orgs { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.resp-org-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Regulators */
.regulators-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.reg-label { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}
.reg-badge img { height: 18px; width: auto; filter: grayscale(1) brightness(0.7); }

.age-warning {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; }
.footer-legal-links a:hover { color: var(--gold); }

/* ===== GAME PAGES ===== */
.game-page-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 24px 80px;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: gap 0.2s;
}
.back-btn:hover { gap: 12px; }
.game-title-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.game-title-bar h1 { font-family: 'Cinzel', serif; font-size: clamp(22px, 4vw, 36px); font-weight: 700; color: var(--gold); }
.game-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

/* Balance bar */
.balance-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.balance-item { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 80px; }
.balance-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.balance-value {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}
.balance-value.win-flash { color: var(--green-win); animation: flashWin 0.5s ease; }
@keyframes flashWin { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }
.balance-sep { width: 1px; height: 40px; background: rgba(255,215,0,0.15); }
.balance-coins-icon { font-size: 20px; }

/* Spin button */
.spin-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: #000;
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 30px rgba(255,215,0,0.4);
  letter-spacing: 1px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.spin-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(255,215,0,0.6); }
.spin-btn:active { transform: scale(0.98); }
.spin-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Win message */
.win-message {
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  margin-top: 16px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
}
.win-message.win { background: rgba(0,230,118,0.1); color: var(--green-win); border: 1px solid rgba(0,230,118,0.3); }
.win-message.lose { background: rgba(255,23,68,0.08); color: rgba(255,23,68,0.7); border: 1px solid rgba(255,23,68,0.2); }
.win-message.push { background: rgba(255,215,0,0.08); color: var(--gold); border: 1px solid rgba(255,215,0,0.2); }
.win-message.idle { background: transparent; color: var(--text-muted); border: 1px solid transparent; font-family: 'Inter'; font-size: 14px; font-weight: 400; }

/* ===== SLOT MACHINE ===== */
.slot-machine {
  background: linear-gradient(135deg, #1A0533 0%, #2D0B5C 50%, #1A0533 100%);
  border: 2px solid rgba(255,215,0,0.3);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 0 60px rgba(255,215,0,0.1), inset 0 0 60px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.slot-machine::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--gold), transparent, var(--gold));
  z-index: -1;
  opacity: 0.3;
}
.slot-title-inner {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(255,215,0,0.5);
}
.slot-subtitle { text-align: center; font-size: 12px; color: var(--text-muted); margin-bottom: 24px; }
.reels-container {
  display: flex;
  gap: 8px;
  background: rgba(0,0,0,0.5);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(255,215,0,0.15);
  justify-content: center;
  position: relative;
}
.reel-wrap { 
  flex: 1;
  max-width: 120px;
  height: 210px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,215,0,0.1);
  position: relative;
}
/* Winner line */
.winner-line {
  position: absolute;
  top: 50%;
  left: 8px; right: 8px;
  height: 70px;
  border: 2px solid rgba(255,215,0,0.4);
  border-radius: 8px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
}
.reel {
  display: flex;
  flex-direction: column;
  transition: transform 0.05s linear;
  will-change: transform;
}
.reel-symbol {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  flex-shrink: 0;
  user-select: none;
}
.reel-symbol.glow { filter: drop-shadow(0 0 12px rgba(255,215,0,0.8)); }

/* Paylines */
.paylines {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}
.payline {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
}
/* Bet controls */
.bet-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}
.bet-label { font-size: 13px; color: var(--text-muted); }
.bet-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.bet-btn:hover { background: rgba(255,215,0,0.2); }
.bet-display {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  min-width: 60px;
  text-align: center;
}
/* Auto spin */
.auto-btn {
  padding: 8px 18px;
  background: transparent;
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.auto-btn:hover, .auto-btn.active { background: rgba(255,215,0,0.1); color: var(--gold); border-color: rgba(255,215,0,0.4); }
.slot-spin-row { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.slot-spin-row .spin-btn { flex: 1; }
/* Paytable */
.paytable { margin-top: 20px; }
.paytable summary { font-size: 13px; color: var(--gold); cursor: pointer; padding: 8px 0; }
.paytable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.pt-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 6px 10px;
}
.pt-sym { font-size: 18px; }
.pt-mult { font-weight: 600; color: var(--gold); }

/* ===== CARD GAME ===== */
.card-game-area {
  background: radial-gradient(ellipse at center, #1a3c1a 0%, #0f2010 60%, #050808 100%);
  border: 2px solid rgba(0,230,118,0.2);
  border-radius: 24px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.card-game-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(0,100,0,0.04) 20px,
    rgba(0,100,0,0.04) 40px
  );
}
.card-game-inner { position: relative; z-index: 1; }
.card-title-inner {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 700;
  color: #00E676;
  margin-bottom: 4px;
}
.card-subtitle { text-align: center; font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 24px; }
.card-hands {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.hand-area { background: rgba(0,0,0,0.3); border-radius: 16px; padding: 16px; }
.hand-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}
.hand-label .hand-score {
  float: right;
  background: rgba(0,230,118,0.15);
  color: var(--green-win);
  border-radius: 6px;
  padding: 2px 8px;
  font-family: 'Cinzel', serif;
}
.cards-row { display: flex; gap: 8px; flex-wrap: wrap; min-height: 100px; align-items: center; }
/* Playing card */
.playing-card {
  width: 60px; height: 88px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  position: relative;
  flex-shrink: 0;
  animation: cardDeal 0.3s ease;
  color: #000;
}
@keyframes cardDeal { from{transform:scale(0) rotate(-15deg);opacity:0} to{transform:scale(1) rotate(0deg);opacity:1} }
.playing-card.red { color: #c00; }
.playing-card .card-rank { font-size: 14px; line-height: 1; }
.playing-card .card-suit { font-size: 18px; }
.playing-card.face-down {
  background: linear-gradient(135deg, #1a0533, #4a1080);
  border: 2px solid rgba(255,215,0,0.3);
}
.card-deck-icon { font-size: 28px; }
.playing-card.face-down .card-rank,
.playing-card.face-down .card-suit { display: none; }

.card-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}
.card-btn {
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.btn-hit { background: linear-gradient(135deg, #007a30, #00E676); color: #000; }
.btn-hit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,230,118,0.4); }
.btn-stand { background: linear-gradient(135deg, #7a0000, #ff1744); color: #fff; }
.btn-stand:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,23,68,0.4); }
.btn-double { background: linear-gradient(135deg, #7a5800, var(--gold)); color: #000; }
.btn-double:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,215,0,0.4); }
.btn-deal { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #000; font-size: 16px; width: 100%; margin-top: 8px; padding: 14px; }
.btn-deal:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,215,0,0.4); }
.card-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

/* ===== PAGE SPECIFIC ===== */
.page-hero {
  padding: 60px 24px 40px;
  text-align: center;
}
.page-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 12px;
}
.page-hero-sub { font-size: 16px; color: var(--text-secondary); }
.content-block {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 20px;
}
.content-block h2 {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,215,0,0.1);
}
.content-block h3 { font-size: 16px; color: var(--text-primary); margin: 16px 0 8px; }
.content-block p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.content-block ul, .content-block ol { padding-left: 20px; }
.content-block li { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 6px; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: rgba(255,215,0,0.4);
  background: rgba(255,255,255,0.06);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { padding: 14px 30px; font-size: 15px; font-weight: 700; }

/* Map placeholder */
.map-placeholder {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: 12px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
}
.map-placeholder .map-icon { font-size: 40px; }

/* Toast notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: rgba(30,10,50,0.97);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-primary);
  max-width: 300px;
  animation: toastIn 0.3s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
@keyframes toastIn { from{opacity:0;transform:translateX(50px)} to{opacity:1;transform:translateX(0)} }
.toast.win { border-color: rgba(0,230,118,0.4); }
.toast.lose { border-color: rgba(255,23,68,0.3); }

/* ===== CONFETTI ===== */
.confetti-piece {
  position: fixed;
  width: 8px; height: 8px;
  z-index: 8000;
  pointer-events: none;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  0%{transform:translateY(-10px) rotate(0deg);opacity:1}
  100%{transform:translateY(100vh) rotate(720deg);opacity:0}
}

/* ===== SPIN ANIMATION ===== */
@keyframes spinReel {
  from{background-position:0 0}
  to{background-position:0 2000px}
}

/* ===== GLOW ANIMATION ===== */
.glow-pulse { animation: glowPulse 2s ease-in-out infinite; }
@keyframes glowPulse {
  0%,100%{box-shadow:0 0 20px rgba(255,215,0,0.3)}
  50%{box-shadow:0 0 40px rgba(255,215,0,0.7), 0 0 80px rgba(255,215,0,0.3)}
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 50px 20px 40px; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .slot-machine, .card-game-area { padding: 20px 16px; }
  .reels-container { gap: 6px; padding: 12px; }
  .reel-wrap { max-width: 90px; }
  .reel-symbol { font-size: 34px; }
  .paytable-grid { grid-template-columns: repeat(2,1fr); }
  section { padding: 50px 20px; }
  .balance-bar { gap: 8px; }
  .balance-value { font-size: 18px; }
}
@media (max-width: 480px) {
  .age-gate-box { padding: 36px 24px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 300px; justify-content: center; }
  .reels-container { padding: 10px; gap: 4px; }
  .reel-wrap { max-width: 75px; }
  .reel-symbol { font-size: 28px; height: 60px; }
  .reel-wrap { height: 180px; }
  .winner-line { height: 60px; }
  .card-controls { gap: 8px; }
  .card-btn { padding: 10px 16px; font-size: 14px; }
  .playing-card { width: 52px; height: 76px; }
}
