/* ===================================
   PlayPeacock2026 - Main Stylesheet
   India Social Casino
   =================================== */

/* Google Fonts - embedded base64 alternative using system fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Rajdhani:wght@400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #ff9f43;
  --primary-dark: #ee5a24;
  --secondary: #ffd32a;
  --accent: #00d2d3;
  --accent2: #54a0ff;
  --purple: #5f27cd;
  --purple-light: #341f97;
  --dark: #0a0015;
  --dark2: #130025;
  --dark3: #1a0035;
  --card-bg: rgba(26, 0, 68, 0.85);
  --border-gold: #ffd700;
  --text-light: #f0e6ff;
  --text-muted: #9b8ec0;
  --success: #27ae60;
  --danger: #e74c3c;
  --shadow-glow: 0 0 20px rgba(255,159,67,0.4);
  --shadow-purple: 0 0 30px rgba(95,39,205,0.5);
  --font-main: 'Poppins', 'Segoe UI', sans-serif;
  --font-display: 'Rajdhani', 'Arial Black', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--dark);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(95,39,205,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255,159,67,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(0,210,211,0.08) 0%, transparent 40%);
}

/* ===== PARTICLE BACKGROUND ===== */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 15px rgba(255,159,67,0.4); }
  50% { box-shadow: 0 0 35px rgba(255,159,67,0.8), 0 0 60px rgba(255,159,67,0.3); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes spin-reel {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

@keyframes bounce-in {
  0% { transform: scale(0.3) rotate(-5deg); opacity: 0; }
  50% { transform: scale(1.1) rotate(2deg); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes slide-down {
  0% { transform: translateY(-30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes slide-up {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes rotate-coin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

@keyframes win-flash {
  0%, 100% { background: rgba(39,174,96,0.2); }
  50% { background: rgba(39,174,96,0.6); box-shadow: 0 0 30px rgba(39,174,96,0.8); }
}

@keyframes peacock-dance {
  0%, 100% { transform: rotate(-5deg) scale(1); }
  25% { transform: rotate(5deg) scale(1.05); }
  50% { transform: rotate(-3deg) scale(1); }
  75% { transform: rotate(3deg) scale(1.02); }
}

@keyframes neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.6; }
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ===== AGE VERIFICATION POPUP ===== */
#age-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 0, 20, 0.97);
  backdrop-filter: blur(8px);
  animation: fade-in 0.3s ease;
}

.age-popup-box {
  background: linear-gradient(135deg, #0f003d 0%, #1a0550 50%, #0a002a 100%);
  border: 2px solid var(--border-gold);
  border-radius: 24px;
  padding: 40px;
  max-width: 520px;
  width: 92%;
  text-align: center;
  box-shadow: 0 0 60px rgba(255,215,0,0.3), 0 0 120px rgba(95,39,205,0.3);
  animation: bounce-in 0.6s ease;
  position: relative;
  /* Remove overflow:hidden so buttons are never clipped */
}

/* Decorative glow behind box — pointer-events none so it never blocks clicks */
.age-popup-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,215,0,0.05) 0%, transparent 60%);
  animation: rotate-coin 8s linear infinite;
  pointer-events: none;   /* ← KEY FIX: never block clicks */
  z-index: 0;
}

/* All direct children sit above the ::before overlay */
.age-popup-box > * {
  position: relative;
  z-index: 1;
}

.age-popup-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  animation: peacock-dance 3s ease-in-out infinite;
}

.age-popup-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--border-gold);
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(255,215,0,0.6);
}

.age-popup-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 1.8rem;
  font-weight: 900;
  color: white;
  margin: 12px auto;
  box-shadow: var(--shadow-glow);
  animation: glow-pulse 2s ease infinite;
}

.age-popup-text {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
  opacity: 0.9;
}

.age-popup-text strong {
  color: var(--secondary);
}

.age-btn-yes {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--success), #1e8449);
  color: white;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin: 0 8px 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(39,174,96,0.4);
  text-decoration: none;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.age-btn-yes:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(39,174,96,0.6);
}

.age-btn-no {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, #555, #333);
  color: #aaa;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin: 0 8px 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.age-btn-no:hover {
  background: linear-gradient(135deg, var(--danger), #c0392b);
  color: white;
  transform: translateY(-3px);
}

.age-disclaimer {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== HEADER ===== */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 0, 21, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,215,0,0.2);
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

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

.header-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.header-logo-sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  -webkit-text-fill-color: var(--text-muted);
}

/* Desktop nav */
#main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
  background: rgba(255,211,42,0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.header-balance {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
}

.header-balance .coin-icon {
  font-size: 1.2rem;
  animation: rotate-coin 3s linear infinite;
}

.balance-amount {
  min-width: 70px;
  text-align: right;
}

/* Hamburger */
#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

#nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav */
#mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(10,0,25,0.98);
  border-bottom: 1px solid rgba(255,215,0,0.2);
  padding: 16px;
  z-index: 999;
  animation: slide-down 0.3s ease;
}

#mobile-nav.open {
  display: block;
}

#mobile-nav .nav-link {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 4px;
}

/* ===== TICKER / MARQUEE ===== */
.ticker-bar {
  position: relative;
  z-index: 1;
  margin-top: 70px;
  background: linear-gradient(90deg, var(--purple-light), var(--purple), var(--purple-light));
  border-bottom: 1px solid rgba(255,215,0,0.3);
  padding: 10px 0;
  overflow: hidden;
}

.ticker-content {
  display: inline-flex;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
  gap: 40px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== HERO SECTION ===== */
#hero {
  position: relative;
  z-index: 1;
  padding: 70px 24px 60px;
  text-align: center;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(95,39,205,0.2) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-peacock {
  width: 120px;
  margin: 0 auto 20px;
  animation: peacock-dance 4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255,159,67,0.6));
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
  margin-bottom: 8px;
}

.hero-title-hindi {
  font-family: var(--font-main);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(255,211,42,0.5);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid;
}

.hero-badge.free {
  border-color: var(--success);
  color: var(--success);
  background: rgba(39,174,96,0.1);
}

.hero-badge.safe {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,210,211,0.1);
}

.hero-badge.adult {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255,159,67,0.1);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark), #c0392b);
  color: white;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 30px rgba(255,159,67,0.5);
  animation: glow-pulse 3s ease infinite;
}

.hero-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255,159,67,0.7);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== SECTION STYLES ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 70px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255,159,67,0.15);
  border: 1px solid rgba(255,159,67,0.3);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== GAMES GRID ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.game-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--border-gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(255,215,0,0.2);
}

.game-card-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.game-card:hover .game-card-thumb {
  transform: scale(1.05);
}

.game-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, var(--success), #1e8449);
  color: white;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.game-card-info {
  padding: 20px;
}

.game-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.game-card-title-hindi {
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.game-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.game-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.game-play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(255,159,67,0.5);
}

.game-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== FEATURES SECTION ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
  animation: slide-up 0.6s ease both;
}

.feature-card:hover {
  border-color: rgba(255,215,0,0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-purple);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
  animation: float 3s ease-in-out infinite;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

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

/* ===== RESPONSIBLE GAMING BANNER ===== */
.resp-banner {
  background: linear-gradient(135deg, rgba(39,174,96,0.15), rgba(26,174,96,0.05));
  border: 1px solid rgba(39,174,96,0.4);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0;
}

.resp-banner-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.resp-banner-text h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 4px;
}

.resp-banner-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.resp-banner-link {
  margin-left: auto;
  flex-shrink: 0;
  padding: 10px 20px;
  border: 1px solid var(--success);
  color: var(--success);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.resp-banner-link:hover {
  background: rgba(39,174,96,0.2);
}

/* ===== REGULATORS / PARTNERS ===== */
.regulators-section {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,215,0,0.1);
  border-bottom: 1px solid rgba(255,215,0,0.1);
  padding: 32px 24px;
  text-align: center;
}

.regulators-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.regulators-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.regulator-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.65;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.regulator-item:hover {
  opacity: 1;
}

.regulator-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.regulator-name {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 80px;
  line-height: 1.3;
}

/* ===== FOOTER ===== */
#main-footer {
  position: relative;
  z-index: 1;
  background: rgba(5, 0, 15, 0.95);
  border-top: 1px solid rgba(255,215,0,0.15);
  padding: 50px 24px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 14px;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: rgba(255,159,67,0.2);
  color: var(--primary);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,211,42,0.2);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact-item .icon {
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: var(--primary);
}

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

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 700px;
}

.footer-18 {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,159,67,0.15);
  border: 1px solid rgba(255,159,67,0.3);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  flex-shrink: 0;
}

.footer-18 .badge-18 {
  background: var(--primary);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
}

/* ===== GAME PAGE ===== */
.game-page {
  min-height: calc(100vh - 70px);
  padding: 90px 24px 40px;
  position: relative;
  z-index: 1;
}

.game-page-header {
  text-align: center;
  margin-bottom: 30px;
}

.game-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.game-page-title-hindi {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Balance display */
.game-balance-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--card-bg);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 16px;
  padding: 14px 24px;
  margin: 0 auto 28px;
  max-width: 600px;
  flex-wrap: wrap;
  gap: 16px;
}

.balance-item {
  text-align: center;
}

.balance-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.balance-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.balance-value.coins {
  color: var(--border-gold);
}

.balance-separator {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* ===== SLOT MACHINE ===== */
.slot-machine {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0f002e, #1a0050, #0a0020);
  border: 2px solid var(--border-gold);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 0 60px rgba(255,215,0,0.15), 0 0 120px rgba(95,39,205,0.2);
  position: relative;
  overflow: hidden;
}

.slot-machine::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
  animation: shimmer 2s linear infinite;
  background-size: 200% auto;
}

.slot-machine-top {
  text-align: center;
  margin-bottom: 20px;
}

.slot-machine-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--border-gold);
  text-shadow: 0 0 20px rgba(255,215,0,0.6);
  animation: neon-flicker 5s ease infinite;
}

.slot-reels-container {
  background: rgba(0,0,0,0.5);
  border: 2px solid rgba(255,215,0,0.3);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

/* Win line */
.win-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.win-line.active {
  opacity: 1;
  animation: glow-pulse 0.5s ease infinite;
}

.slot-reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.slot-reel {
  height: 200px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  background: rgba(10,0,30,0.8);
  border: 1px solid rgba(255,215,0,0.2);
}

.reel-inner {
  display: flex;
  flex-direction: column;
  transition: transform 0.1s linear;
}

.reel-symbol {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.reel-symbol.active-row {
  background: rgba(255,215,0,0.05);
}

/* Reel overlay */
.reel-overlay-top,
.reel-overlay-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 66px;
  pointer-events: none;
  z-index: 2;
}

.reel-overlay-top {
  top: 0;
  background: linear-gradient(to bottom, rgba(10,0,30,0.9), transparent);
}

.reel-overlay-bottom {
  bottom: 0;
  background: linear-gradient(to top, rgba(10,0,30,0.9), transparent);
}

/* Slot controls */
.slot-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.bet-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 50px;
  padding: 8px 16px;
}

.bet-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.bet-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,159,67,0.4);
  background: rgba(255,159,67,0.15);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bet-btn:hover {
  background: rgba(255,159,67,0.3);
}

.bet-amount {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  min-width: 40px;
  text-align: center;
}

.spin-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 44px;
  background: linear-gradient(135deg, #e74c3c, #c0392b, #922b21);
  color: white;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(231,76,60,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.spin-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 60%);
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.spin-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(231,76,60,0.7);
}

.spin-btn:hover::before {
  transform: rotate(45deg) translate(50%, 50%);
}

.spin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Win message */
.win-message {
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.win-message.win {
  animation: win-flash 0.5s ease 3;
  color: var(--success);
}

.win-message.lose {
  background: rgba(231,76,60,0.1);
  color: var(--danger);
}

/* Paytable */
.paytable {
  margin-top: 24px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 12px;
  padding: 16px;
}

.paytable-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.paytable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.paytable-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  font-size: 0.8rem;
}

.paytable-symbol {
  font-size: 1.2rem;
}

.paytable-mult {
  color: var(--secondary);
  font-weight: 700;
}

.paytable-label {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ===== HIGHER OR LOWER GAME ===== */
.card-game {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0d1b3a, #152742, #0a1528);
  border: 2px solid var(--border-gold);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 0 60px rgba(255,215,0,0.15);
  position: relative;
  overflow: hidden;
}

.card-game::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
  animation: shimmer 2s linear infinite;
  background-size: 200% auto;
}

.card-game-top {
  text-align: center;
  margin-bottom: 24px;
}

.card-game-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--border-gold);
  text-shadow: 0 0 20px rgba(255,215,0,0.6);
}

.cards-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: nowrap;
  perspective: 1000px;  /* enables 3D flip effect */
}

.playing-card {
  width: 140px;
  height: 200px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 14px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55), 0 2px 8px rgba(0,0,0,0.3);
  overflow: hidden;
  flex-shrink: 0;
}

.playing-card.red {
  background: linear-gradient(160deg, #ffffff 60%, #fff0f0 100%);
  color: #cc1c1c;
  border: 1.5px solid rgba(220,220,220,0.8);
}

.playing-card.black {
  background: linear-gradient(160deg, #ffffff 60%, #f0f0f8 100%);
  color: #1a1a3e;
  border: 1.5px solid rgba(220,220,220,0.8);
}

/* Subtle inner light */
.playing-card.red::after,
.playing-card.black::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.6) 0%, transparent 65%);
  pointer-events: none;
}

.playing-card.unknown {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.04) 0px,
      rgba(255,255,255,0.04) 2px,
      transparent 2px,
      transparent 10px
    ),
    linear-gradient(135deg, #0f2a6e 0%, #8b0000 60%, #c8960c 100%);
  color: white;
  border: 2px solid var(--border-gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 20px rgba(255,215,0,0.25);
}

.playing-card.unknown .card-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  font-size: 3.5rem;
}

/* Top-left corner */
.card-corner-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 1px;
  z-index: 1;
}

/* Bottom-right corner (rotated) */
.card-corner-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: rotate(180deg);
  line-height: 1;
  gap: 1px;
  z-index: 1;
}

.card-value {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  font-family: 'Georgia', 'Times New Roman', serif;
  letter-spacing: -1px;
}

.card-suit {
  font-size: 1.1rem;
  line-height: 1;
}

/* Big center suit symbol */
.card-center-suit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
  /* Use proper suit glyphs rendered via CSS for crisp display */
}

.card-vs {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: white;
  text-shadow: 0 0 20px rgba(255,255,255,0.6), 0 2px 8px rgba(0,0,0,0.5);
  letter-spacing: 2px;
  flex-shrink: 0;
}

/* Win/lose highlight on cards */
.playing-card.win-card {
  box-shadow: 0 0 0 3px #27ae60, 0 12px 40px rgba(39,174,96,0.4);
}
.playing-card.lose-card {
  box-shadow: 0 0 0 3px #e74c3c, 0 12px 40px rgba(231,76,60,0.4);
}

/* Card game controls */
.card-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.bet-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-game-btns {
  display: flex;
  gap: 16px;
}

.btn-higher {
  flex: 1;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--success), #1e8449);
  color: white;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(39,174,96,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-higher:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(39,174,96,0.6);
}

.btn-lower {
  flex: 1;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--danger), #c0392b);
  color: white;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(231,76,60,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-lower:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(231,76,60,0.6);
}

.btn-higher:disabled,
.btn-lower:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-next-round {
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--accent2), var(--purple));
  color: white;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}

.btn-next-round.show {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-next-round:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(84,160,255,0.5);
}

/* Streak display */
.streak-display {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
}

.streak-fire {
  font-size: 1.3rem;
  animation: float 1s ease-in-out infinite;
}

/* ===== LEADERBOARD / STATS ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  display: block;
}

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

/* ===== PAGE: RESPONSIBLE GAMING ===== */
.resp-page {
  padding: 100px 24px 60px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.resp-hero {
  text-align: center;
  margin-bottom: 50px;
}

.resp-hero-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
}

.resp-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.resp-card {
  background: var(--card-bg);
  border: 1px solid rgba(39,174,96,0.2);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.resp-card:hover {
  border-color: rgba(39,174,96,0.4);
  transform: translateY(-4px);
}

.resp-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.resp-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 8px;
}

.resp-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Self-exclusion timer */
.limits-form {
  background: var(--card-bg);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 32px;
}

.limits-form h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--primary);
}

.form-select option {
  background: #1a0035;
}

.btn-save {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--success), #1e8449);
  color: white;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39,174,96,0.4);
}

/* ===== PAGE: CONTACTS ===== */
.contact-page {
  padding: 100px 24px 60px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(255,215,0,0.35);
  transform: translateY(-4px);
}

.contact-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-card a:hover {
  color: var(--primary);
}

/* Map placeholder */
.map-placeholder {
  background: var(--card-bg);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 28px;
}

.map-embed {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  border: none;
  filter: brightness(0.9) saturate(0.8);
}

/* Contact form */
.contact-form-wrapper {
  background: var(--card-bg);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 16px;
  padding: 28px;
}

.contact-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

/* ===== PAGE: RULES ===== */
.rules-page {
  padding: 100px 24px 60px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.rules-section {
  background: var(--card-bg);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
}

.rules-section h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,211,42,0.2);
}

.rules-section p,
.rules-section li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.rules-section ul,
.rules-section ol {
  margin-left: 20px;
  margin-top: 8px;
}

.rules-section li {
  margin-bottom: 6px;
}

.rules-highlight {
  background: rgba(255,159,67,0.1);
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin: 12px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== TOAST NOTIFICATIONS ===== */
#toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  animation: slide-down 0.4s ease, fade-in 0.4s ease;
  max-width: 300px;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.toast.success {
  background: rgba(39,174,96,0.9);
  color: white;
  border: 1px solid rgba(39,174,96,0.5);
}

.toast.error {
  background: rgba(231,76,60,0.9);
  color: white;
  border: 1px solid rgba(231,76,60,0.5);
}

.toast.info {
  background: rgba(84,160,255,0.9);
  color: white;
  border: 1px solid rgba(84,160,255,0.5);
}

/* ===== BACK BUTTON ===== */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  cursor: pointer;
}

.back-btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  #main-nav { display: none; }
  #nav-toggle { display: flex; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-area {
    gap: 16px;
  }

  .playing-card {
    width: 110px;
    height: 158px;
  }

  .card-center-suit {
    font-size: 3.8rem !important;
  }

  .card-value {
    font-size: 1.35rem !important;
  }

  .card-game-btns {
    flex-direction: row;
  }

  .btn-higher,
  .btn-lower {
    padding: 14px 20px;
    font-size: 1rem;
  }

  .slot-reels {
    gap: 8px;
  }

  .reel-symbol {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .slot-machine,
  .card-game {
    padding: 20px 16px;
  }

  .game-balance-bar {
    gap: 12px;
  }

  .balance-separator {
    display: none;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-num {
    font-size: 1.5rem;
  }
}

/* ===== CONFETTI ===== */
.confetti-piece {
  position: fixed;
  width: 10px;
  height: 10px;
  top: -10px;
  pointer-events: none;
  z-index: 9998;
  animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
  0% { transform: translateY(-10px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 18+ BADGE ===== */
.badge-18plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 900;
  font-size: 0.75rem;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(255,159,67,0.4);
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.2), transparent);
  margin: 0 24px;
}
