/* =============================================
   ROYAL MELA GAMES — Main Stylesheet
   Social Casino India · For Entertainment Only
   ============================================= */

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

/* ── CSS Variables ── */
:root {
  --gold:        #f59e0b;
  --gold-light:  #fbbf24;
  --gold-dark:   #d97706;
  --purple:      #7c3aed;
  --purple-dark: #4c1d95;
  --purple-mid:  #6d28d9;
  --navy:        #0f0a1e;
  --navy-2:      #1a0f2e;
  --navy-3:      #1e1b4b;
  --crimson:     #9f1239;
  --white:       #ffffff;
  --text-light:  #e2e8f0;
  --text-muted:  #94a3b8;
  --success:     #22c55e;
  --danger:      #ef4444;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-gold: 0 0 30px rgba(245,158,11,0.3);
  --shadow-purple:0 0 30px rgba(124,58,237,0.4);
  --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  background-color: var(--navy);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Background Pattern ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(124,58,237,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(159,18,57,0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(245,158,11,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Mandala BG Pattern ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='38' fill='none' stroke='rgba(245,158,11,0.04)' stroke-width='1'/%3E%3Ccircle cx='40' cy='40' r='28' fill='none' stroke='rgba(124,58,237,0.04)' stroke-width='1'/%3E%3Cline x1='2' y1='40' x2='78' y2='40' stroke='rgba(245,158,11,0.03)' stroke-width='1'/%3E%3Cline x1='40' y1='2' x2='40' y2='78' stroke='rgba(245,158,11,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ── Main Content Wrapper ── */
.main-content { position: relative; z-index: 1; }

/* ── Age Verification Popup ── */
#age-gate {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 25, 0.97);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.age-gate-box {
  background: linear-gradient(135deg, #1a0f2e 0%, #0f0a1e 50%, #1a0f2e 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 80px rgba(245,158,11,0.3), 0 0 160px rgba(124,58,237,0.2);
  animation: popupIn 0.5s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  overflow: hidden;
}

.age-gate-box::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, var(--gold), var(--purple), var(--crimson), var(--gold));
  border-radius: var(--radius-lg);
  z-index: -1;
  animation: borderRotate 4s linear infinite;
  background-size: 300% 300%;
}

@keyframes borderRotate {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes popupIn {
  from { opacity: 0; transform: scale(0.6) translateY(40px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.age-gate-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.age-gate-badge {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(245,158,11,0.6);
  animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 30px rgba(245,158,11,0.6); }
  50%       { box-shadow: 0 0 60px rgba(245,158,11,0.9); }
}

.age-gate-box h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(245,158,11,0.5);
}

.age-gate-box p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.age-gate-box .social-notice {
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #c4b5fd;
}

.age-gate-buttons { display: flex; gap: 1rem; }

.btn-age-yes {
  flex: 1;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  border-radius: 8px;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(245,158,11,0.4);
}

.btn-age-yes:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(245,158,11,0.7); }

.btn-age-no {
  flex: 1;
  padding: 0.85rem 1.5rem;
  background: transparent;
  border: 2px solid rgba(148,163,184,0.4);
  border-radius: 8px;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.btn-age-no:hover { border-color: var(--danger); color: var(--danger); }

/* ── Navigation ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background: rgba(10, 5, 25, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(245,158,11,0.2);
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 5, 25, 0.98);
  border-bottom-color: rgba(245,158,11,0.4);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.5rem;
}

.nav-logo img { height: 48px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-light);
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-menu a:hover { color: var(--gold); }
.nav-menu a:hover::after { left: 10%; right: 10%; }
.nav-menu a.active { color: var(--gold); }

.nav-badge-18 {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 900;
  font-family: 'Cinzel', serif;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 1px;
}

.nav-play-btn {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  box-shadow: 0 0 20px rgba(124,58,237,0.4);
  transition: var(--transition) !important;
}

.nav-play-btn:hover { box-shadow: 0 0 30px rgba(124,58,237,0.7) !important; transform: translateY(-2px); }
.nav-play-btn::after { display: none !important; }

/* Mobile burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero Section ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 1.5rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(124,58,237,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(159,18,57,0.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(245,158,11,0.1) 0%, transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, #0d0820 50%, var(--navy) 100%);
}

/* Mandala decorative rings */
.hero-mandala {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.1);
  animation: rotateSlow 30s linear infinite;
}

.hero-mandala:nth-child(1) { width: 600px; height: 600px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.hero-mandala:nth-child(2) { width: 450px; height: 450px; top: 50%; left: 50%; transform: translate(-50%,-50%); border-color: rgba(124,58,237,0.1); animation-direction: reverse; animation-duration: 20s; }
.hero-mandala:nth-child(3) { width: 300px; height: 300px; top: 50%; left: 50%; transform: translate(-50%,-50%); border-color: rgba(245,158,11,0.15); animation-duration: 15s; }

@keyframes rotateSlow { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 100px;
  padding: 0.4rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-badge::before { content: '♦'; color: var(--gold); }

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 30%, #fff 50%, #f59e0b 70%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(245,158,11,0.4));
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-subtitle span { color: var(--gold); font-weight: 600; }

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  border-radius: 100px;
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 30px rgba(245,158,11,0.5), 0 4px 15px rgba(0,0,0,0.3);
  letter-spacing: 1px;
}

.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 50px rgba(245,158,11,0.8), 0 8px 25px rgba(0,0,0,0.4); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: transparent;
  border: 2px solid rgba(245,158,11,0.5);
  border-radius: 100px;
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
}

.btn-secondary:hover { background: rgba(245,158,11,0.1); border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 0 30px rgba(245,158,11,0.3); }

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  text-shadow: 0 0 20px rgba(245,158,11,0.4);
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── Section Common ── */
.section {
  padding: 5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.section-title span { color: var(--gold); }

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── Container ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* ── Games Grid ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.game-card {
  background: linear-gradient(135deg, rgba(30,27,75,0.8) 0%, rgba(15,10,30,0.9) 100%);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  group: true;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245,158,11,0.6);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(245,158,11,0.2);
}

.game-card-preview {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.game-card-preview-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  transition: transform 0.5s ease;
}

.game-card:hover .game-card-preview-img { transform: scale(1.1); }

.game-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.game-card-body { padding: 1.5rem; }

.game-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.game-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.game-card-meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.game-tag {
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  color: #c4b5fd;
  letter-spacing: 0.5px;
}

.btn-play {
  display: block;
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border: none;
  border-radius: 8px;
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(124,58,237,0.3);
}

.btn-play:hover { box-shadow: 0 0 35px rgba(124,58,237,0.6); transform: translateY(-2px); }

/* ── Features Section ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: linear-gradient(135deg, rgba(30,27,75,0.6) 0%, rgba(15,10,30,0.8) 100%);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover { border-color: rgba(245,158,11,0.4); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.feature-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ── Responsible Section ── */
.responsible-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.responsible-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.responsible-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.responsible-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.responsible-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.responsible-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--success), #16a34a);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.regulators-box {
  background: linear-gradient(135deg, rgba(30,27,75,0.6) 0%, rgba(15,10,30,0.8) 100%);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.regulators-box h4 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-align: center;
}

.regulators-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.regulator-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: var(--transition);
}

.regulator-item:hover { background: rgba(255,255,255,0.08); border-color: rgba(245,158,11,0.3); }

.regulator-item img {
  max-width: 100%;
  height: 40px;
  object-fit: contain;
  filter: grayscale(30%) brightness(0.9);
}

.regulator-item span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}

/* ── Divider ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.3), transparent);
  margin: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ── Footer ── */
footer {
  background: rgba(5, 3, 15, 0.95);
  border-top: 1px solid rgba(245,158,11,0.2);
  padding: 3rem 1.5rem 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand img { height: 50px; margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-disclaimer {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }

.footer-badges { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }

.badge-18 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 6px;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--navy);
}

/* ── Scroll to top ── */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(245,158,11,0.4);
  opacity: 0;
  pointer-events: none;
  font-size: 1.2rem;
  color: var(--navy);
  font-weight: 900;
  transform: translateY(10px);
}

#scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
#scroll-top:hover { transform: translateY(-4px); box-shadow: 0 0 35px rgba(245,158,11,0.7); }

/* ── Coins animation ── */
.floating-coins {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.coin {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fde68a, #f59e0b, #d97706);
  box-shadow: 0 0 8px rgba(245,158,11,0.5);
  animation: floatCoin linear infinite;
  opacity: 0;
}

@keyframes floatCoin {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.8; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ── Notification Toast ── */
.toast {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, rgba(30,27,75,0.95), rgba(15,10,30,0.98));
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  z-index: 5000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: slideIn 0.3s ease;
  max-width: 320px;
}

.toast.hide { animation: slideOut 0.3s ease forwards; }

@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(120%); opacity: 0; } }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .responsible-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10,5,25,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid rgba(245,158,11,0.2);
    align-items: stretch;
    gap: 0.25rem;
  }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .regulators-logos { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .age-gate-buttons { flex-direction: column; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}

/* ── Utility ── */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.hidden { display: none !important; }

/* ── Glow line ── */
.glow-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--purple), var(--gold), transparent);
  margin: 0;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.2) 0%, transparent 60%);
}

.page-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(245,158,11,0.3);
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { color: var(--text-muted); }
