/* ============================================
   BestGamesPlayUKHub - Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,300;0,400;0,600;0,700;0,900;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary: #e8a020;
  --primary-dark: #c4841a;
  --primary-light: #f5c260;
  --primary-glow: rgba(232, 160, 32, 0.35);

  --accent: #e84040;
  --accent-dark: #b02828;
  --accent-light: #ff6b6b;

  --green: #28c76f;
  --green-dark: #1da355;

  --bg-dark: #0a0c12;
  --bg-card: #111420;
  --bg-card2: #161b28;
  --bg-card3: #1d2336;
  --bg-surface: #232940;

  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(232, 160, 32, 0.3);

  --text-primary: #f0f2f8;
  --text-secondary: #9aa3bb;
  --text-muted: #5c6380;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-card: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 30px rgba(232, 160, 32, 0.25);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.6);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s 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: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }
input, select, textarea { font-family: inherit; outline: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Exo 2', sans-serif;
  line-height: 1.18;
  font-weight: 700;
}
.hero-title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
.section-sub { font-size: 1.05rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-title { margin-bottom: 14px; }

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #fff5d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Exo 2', sans-serif;
  letter-spacing: 0.4px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 18px rgba(232, 160, 32, 0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 160, 32, 0.6);
  filter: brightness(1.08);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.07);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.btn-danger {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
}
.btn-lg { padding: 16px 38px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.badge-gold {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.badge-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: rgba(232, 160, 32, 0.08);
}

/* ---------- Card ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 18px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 12, 18, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Exo 2', sans-serif;
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: -0.3px;
}
.nav-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(232,160,32,0.4);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-coins {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 160, 32, 0.12);
  border: 1px solid rgba(232, 160, 32, 0.25);
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
  border-radius: 6px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10,12,18,0.98);
  z-index: 950;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 14px 40px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--primary); background: rgba(232,160,32,0.08); }
.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  padding: 6px 12px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(232,160,32,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(232,64,64,0.07) 0%, transparent 55%),
    linear-gradient(160deg, #0d0f18 0%, #0a0c12 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 40%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-badge { margin-bottom: 22px; }
.hero-title { margin-bottom: 22px; }
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stat-value {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}
.hero-visual {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: spin linear infinite;
}
.hero-ring:nth-child(1) {
  width: 340px; height: 340px;
  border-color: rgba(232,160,32,0.15);
  animation-duration: 20s;
}
.hero-ring:nth-child(2) {
  width: 440px; height: 440px;
  border-color: rgba(232,64,64,0.1);
  animation-duration: 30s;
  animation-direction: reverse;
}
.hero-ring:nth-child(3) {
  width: 500px; height: 500px;
  border-color: rgba(255,255,255,0.05);
  animation-duration: 45s;
}
.hero-center-card {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--bg-card2), var(--bg-card3));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  box-shadow: var(--shadow-glow), 0 0 80px rgba(232,160,32,0.15);
  animation: float 4s ease-in-out infinite;
  position: relative;
  z-index: 5;
}
.hero-floating-chip {
  position: absolute;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
  z-index: 4;
}
.hero-floating-chip:nth-child(5) { top: 60px; right: 80px; animation-delay: -1s; color: var(--primary); }
.hero-floating-chip:nth-child(6) { bottom: 80px; left: 40px; animation-delay: -2.2s; color: var(--green); }
.hero-floating-chip:nth-child(7) { top: 140px; left: 30px; animation-delay: -0.7s; color: var(--accent-light); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ============================================
   GAMES SECTION
   ============================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 28px;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.game-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--shadow-glow);
}
.game-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.game-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,12,18,0.8) 100%);
}
.game-thumb-slots { background: linear-gradient(135deg, #1a1028, #2a1a10); }
.game-thumb-blackjack { background: linear-gradient(135deg, #0d1f12, #0d1a22); }
.game-thumb-roulette { background: linear-gradient(135deg, #1a100d, #1a1510); }
.game-info { padding: 22px 24px 24px; }
.game-info h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.game-info p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; }
.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.game-tag {
  font-size: 0.75rem;
  color: var(--primary);
  background: rgba(232,160,32,0.1);
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 600;
}
.game-players {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.game-card .btn { width: 100%; justify-content: center; }

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover { border-color: var(--border-glow); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.feature-icon-gold { background: rgba(232,160,32,0.15); }
.feature-icon-red { background: rgba(232,64,64,0.12); }
.feature-icon-green { background: rgba(40,199,111,0.12); }
.feature-icon-blue { background: rgba(32,120,232,0.12); }
.feature-card h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.65; }

/* ============================================
   LEADERBOARD SECTION
   ============================================ */
.leaderboard-section {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card2) 100%);
  border-radius: var(--radius-xl);
  padding: 52px;
  border: 1px solid var(--border);
}
.leaderboard-list { max-width: 560px; margin: 0 auto; }
.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid transparent;
}
.leaderboard-item:hover { background: rgba(255,255,255,0.04); border-color: var(--border); }
.lb-rank {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  width: 28px;
  text-align: center;
}
.lb-rank.gold { color: var(--primary); }
.lb-rank.silver { color: #b0b8c8; }
.lb-rank.bronze { color: #cd7f32; }
.lb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.lb-name { flex: 1; font-weight: 600; font-size: 0.92rem; }
.lb-score {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding-top: 60px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h5 {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-block;
}
.footer-col a:hover { color: var(--primary); transform: translateX(3px); }
.footer-disclaimer {
  background: rgba(232,64,64,0.06);
  border: 1px solid rgba(232,64,64,0.18);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 32px 0;
}
.footer-disclaimer p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 10px;
}
.footer-disclaimer p:last-child { margin-bottom: 0; }
.footer-disclaimer strong { color: var(--text-primary); }
.footer-disclaimer a { color: var(--primary); text-decoration: underline; }
.footer-disclaimer a:hover { color: var(--primary-light); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(232,64,64,0.15);
  border: 1px solid rgba(232,64,64,0.3);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-light);
  font-family: 'Exo 2', sans-serif;
}

/* ============================================
   AGE VERIFICATION MODAL
   ============================================ */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,6,10,0.96);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.age-overlay.visible {
  display: flex;
}
.age-modal {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7);
  animation: modalIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.8) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.age-icon {
  font-size: 4rem;
  margin-bottom: 22px;
  display: block;
}
.age-modal h2 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 12px;
}
.age-modal p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}
.age-check-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.age-check-wrap:hover { border-color: var(--primary); background: rgba(232,160,32,0.04); }
.age-check-wrap input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
}
.age-check-wrap label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  cursor: pointer;
}
.age-confirm-btn {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  box-shadow: 0 6px 24px rgba(232,160,32,0.4);
  transition: var(--transition);
  opacity: 0.45;
  pointer-events: none;
}
.age-confirm-btn.active {
  opacity: 1;
  pointer-events: all;
}
.age-confirm-btn.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(232,160,32,0.55);
}
.age-decline-btn {
  margin-top: 12px;
  background: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 8px;
  display: block;
  width: 100%;
  transition: var(--transition);
}
.age-decline-btn:hover { color: var(--text-secondary); }

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 680px;
  width: calc(100% - 48px);
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  animation: slideUp 0.5s cubic-bezier(0.4,0,0.2,1);
}
@keyframes slideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(30px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-text { flex: 1; font-size: 0.84rem; color: var(--text-secondary); line-height: 1.6; }
.cookie-text a { color: var(--primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner.hidden { display: none; }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(232,160,32,0.08) 0%, transparent 70%);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.page-hero p { font-size: 1rem; color: var(--text-secondary); max-width: 540px; margin: 0 auto; }

/* ============================================
   PROSE CONTENT (legal pages)
   ============================================ */
.prose-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.prose-content h2 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text-primary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.prose-content h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 22px 0 8px;
  color: var(--primary);
}
.prose-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.75;
}
.prose-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}
.prose-content li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 6px;
}
.prose-content strong { color: var(--text-primary); }
.prose-content a { color: var(--primary); text-decoration: underline; }

/* ============================================
   GAME PAGE
   ============================================ */
.game-page {
  min-height: 100vh;
  padding: 100px 0 60px;
}
.game-area {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 28px;
}
.game-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--bg-card2);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.hud-stat { text-align: center; }
.hud-stat-value {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
}
.hud-stat-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.6px; }
.hud-divider { width: 1px; height: 40px; background: var(--border); }
.msg-box {
  background: rgba(232,160,32,0.08);
  border: 1px solid rgba(232,160,32,0.2);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  text-align: center;
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-light);
  margin: 16px 0;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.msg-box.win { background: rgba(40,199,111,0.1); border-color: rgba(40,199,111,0.25); color: var(--green); }
.msg-box.lose { background: rgba(232,64,64,0.1); border-color: rgba(232,64,64,0.2); color: var(--accent-light); }
.game-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 24px;
  transition: var(--transition);
}
.back-link:hover { color: var(--primary); }

/* ============================================
   SLOTS GAME
   ============================================ */
.slots-machine {
  max-width: 500px;
  margin: 0 auto;
}
.slots-display {
  background: var(--bg-dark);
  border: 3px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.slots-display::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 64px;
  transform: translateY(-50%);
  background: rgba(232,160,32,0.06);
  border-top: 1px solid rgba(232,160,32,0.2);
  border-bottom: 1px solid rgba(232,160,32,0.2);
  pointer-events: none;
}
.slot-reel {
  width: 80px;
  height: 80px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: all 0.1s;
  position: relative;
  overflow: hidden;
}
.slot-reel.spinning {
  animation: reelSpin 0.15s linear infinite;
}
@keyframes reelSpin {
  0% { transform: translateY(0); }
  25% { transform: translateY(-4px); }
  75% { transform: translateY(4px); }
  100% { transform: translateY(0); }
}
.slots-paytable {
  background: var(--bg-card2);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 22px;
  font-size: 0.82rem;
}
.slots-paytable h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.pay-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-secondary);
}
.pay-row:last-child { border-bottom: none; }
.pay-row span:last-child { color: var(--primary); font-weight: 600; }
.bet-control {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}
.bet-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.bet-btn:hover { background: rgba(232,160,32,0.15); border-color: var(--primary); color: var(--primary); }
.bet-amount {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 80px;
  text-align: center;
}

/* ============================================
   BLACKJACK GAME
   ============================================ */
.bj-table {
  background: radial-gradient(ellipse at center, #1a3a20 0%, #0d2010 100%);
  border: 3px solid rgba(40,80,40,0.5);
  border-radius: var(--radius-xl);
  padding: 32px;
  min-height: 360px;
  position: relative;
}
.bj-zone { margin-bottom: 24px; }
.bj-zone h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}
.bj-cards {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 90px;
  align-items: flex-start;
}
.playing-card {
  width: 64px;
  height: 90px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 2px 4px 12px rgba(0,0,0,0.5);
  position: relative;
  animation: cardDeal 0.3s cubic-bezier(0.34,1.56,0.64,1);
  flex-shrink: 0;
}
@keyframes cardDeal {
  from { opacity: 0; transform: scale(0.5) rotate(-10deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}
.playing-card.red { color: #d02020; }
.playing-card.black { color: #1a1a1a; }
.playing-card.face-down {
  background: linear-gradient(135deg, #1a3a8a, #0f2060);
  color: transparent;
}
.playing-card.face-down::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
}
.card-rank { font-size: 1.1rem; line-height: 1; }
.card-suit { font-size: 1.2rem; line-height: 1; }
.bj-score {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}
.bj-divider {
  text-align: center;
  padding: 8px;
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================
   ROULETTE GAME
   ============================================ */
.roulette-container { max-width: 580px; margin: 0 auto; }
.roulette-wheel-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}
.roulette-canvas-wrap {
  position: relative;
  width: 240px;
  height: 240px;
}
#rouletteCanvas {
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(232,160,32,0.3), 0 0 80px rgba(0,0,0,0.5);
}
.roulette-pointer {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  z-index: 5;
}
.roulette-bets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.roulette-bet-btn {
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Exo 2', sans-serif;
  border: 1px solid var(--border);
  background: var(--bg-card2);
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}
.roulette-bet-btn:hover, .roulette-bet-btn.selected {
  border-color: var(--primary);
  background: rgba(232,160,32,0.12);
  color: var(--primary);
}
.roulette-bet-btn.red-bet { border-color: rgba(232,64,64,0.3); color: var(--accent-light); }
.roulette-bet-btn.red-bet:hover, .roulette-bet-btn.red-bet.selected {
  background: rgba(232,64,64,0.12); border-color: var(--accent);
}
.roulette-bet-btn.black-bet { border-color: rgba(255,255,255,0.12); color: var(--text-primary); }
.roulette-bet-btn.black-bet:hover, .roulette-bet-btn.black-bet.selected {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.25);
}
.roulette-last-results { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.last-result-label { font-size: 0.78rem; color: var(--text-muted); margin-right: 4px; }
.result-chip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
}
.result-chip.r { background: var(--accent); color: #fff; }
.result-chip.b { background: #333; color: #fff; border: 1px solid #555; }
.result-chip.g { background: var(--green-dark); color: #fff; }

/* ============================================
   COMMUNITY PAGE
   ============================================ */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.community-card:hover { border-color: var(--border-glow); transform: translateY(-3px); }
.community-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.community-card h4 { font-family: 'Exo 2', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.community-card p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.community-card-meta { font-size: 0.76rem; color: var(--text-muted); }

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  transition: var(--transition);
}
.step-card:hover { border-color: var(--border-glow); transform: translateY(-4px); }
.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Exo 2', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(232,160,32,0.4);
}
.step-card h4 { font-family: 'Exo 2', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.65; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--border-glow); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  background: var(--bg-card);
  transition: var(--transition);
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-question h4 { font-family: 'Exo 2', sans-serif; font-size: 0.95rem; font-weight: 600; }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(232,160,32,0.1);
  border: 1px solid rgba(232,160,32,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(232,160,32,0.2); }
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  background: var(--bg-card);
}
.faq-item.open .faq-answer { display: block; }

/* ============================================
   HELP CENTER
   ============================================ */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.help-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  text-align: center;
}
.help-card:hover { border-color: var(--border-glow); transform: translateY(-3px); }
.help-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.help-card h4 { font-family: 'Exo 2', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.help-card p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================
   GUIDELINES PAGE
   ============================================ */
.guidelines-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.guideline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  border-left: 3px solid var(--primary);
  transition: var(--transition);
}
.guideline-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.guideline-card h4 { font-family: 'Exo 2', sans-serif; font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.guideline-card p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.65; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-bottom: 56px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}
.value-card:hover { border-color: var(--border-glow); transform: translateY(-3px); }
.value-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.value-card h4 { font-family: 'Exo 2', sans-serif; font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================
   RESPONSIBLE GAMING
   ============================================ */
.rg-warning-box {
  background: rgba(232,64,64,0.07);
  border: 1px solid rgba(232,64,64,0.22);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 40px;
  text-align: center;
}
.rg-warning-box h3 { font-family: 'Exo 2', sans-serif; font-size: 1.2rem; margin-bottom: 10px; color: var(--accent-light); }
.rg-warning-box p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
.rg-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.rg-resource {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
}
.rg-resource:hover { border-color: var(--border-glow); }
.rg-resource h4 { font-family: 'Exo 2', sans-serif; font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.rg-resource p { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.6; }
.rg-resource a {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  transition: var(--transition);
}
.rg-resource a:hover { color: var(--primary-light); }

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 60px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .leaderboard-section { padding: 32px 24px; }
  .hero { padding-top: 100px; }
  .hero-stats { gap: 20px; }
  .age-modal { padding: 36px 24px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .game-area { padding: 20px 16px; }
  .roulette-bets { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .btn-lg { padding: 14px 26px; }
  .bj-table { padding: 20px 14px; }
  .slots-display { gap: 6px; padding: 24px 12px; }
  .slot-reel { width: 68px; height: 68px; font-size: 2rem; }
}
