/* ==========================================================================
   🎮 PLAYZO PE - WORLD-CLASS INTERACTIVE DESIGN & GLOBAL MOTION SYSTEM 🎮
   Ultra-Premium Bright Aesthetics • 20 Advanced Effects • Zero Overflow System
   ========================================================================== */

:root {
  /* 🌟 Ultra-Premium Bright Palette */
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-translucent: rgba(255, 255, 255, 0.82);
  --bg-subtle: #f1f5f9;
  --bg-accent-soft: #eff6ff;

  /* Refined Accent Hues */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.28);
  
  --accent-gold: #f59e0b;
  --accent-gold-dark: #b45309;
  --accent-gold-glow: rgba(245, 158, 11, 0.35);

  --accent-emerald: #10b981;
  --accent-purple: #8b5cf6;
  --accent-cyan: #0ea5e9;

  /* Typography Scale */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  /* Glass & Borders */
  --border-glass: rgba(226, 232, 240, 0.85);
  --border-glass-hover: rgba(147, 197, 253, 0.6);
  --border-focus: #2563eb;

  /* Multi-Layer Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 10px 25px -4px rgba(15, 23, 42, 0.06), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 10px 20px -5px rgba(37, 99, 235, 0.06);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 12px 24px -6px rgba(37, 99, 235, 0.08);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Motion Curves */
  --spring-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --spring-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Universal Reset & Strict Zero-Overflow Containment */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(245, 158, 11, 0.06) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(16, 185, 129, 0.04) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(139, 92, 246, 0.05) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  padding-top: 104px !important;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ==========================================================================
   🌟 1. LIVING GRADIENT & CANVAS BACKGROUND
   ========================================================================== */
#livingGradientCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* ==========================================================================
   🌟 2. DISTORTION CURSOR & LENS FOLLOWER (DESKTOP ONLY)
   ========================================================================== */
.cursor-lens {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(37, 99, 235, 0.4);
  background: rgba(37, 99, 235, 0.04);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--spring-smooth), height 0.3s var(--spring-smooth), border-color 0.3s ease, background 0.3s ease;
  will-change: transform;
}
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  pointer-events: none;
  z-index: 100000;
  transform: translate(-50%, -50%);
  transition: transform 0.08s linear;
  will-change: transform;
}
.cursor-lens.active {
  width: 58px;
  height: 58px;
  border-color: rgba(245, 158, 11, 0.7);
  background: rgba(245, 158, 11, 0.08);
}
@media (hover: none) or (max-width: 768px) {
  .cursor-lens, .cursor-dot {
    display: none !important;
  }
}

/* ==========================================================================
   🌟 3. TOP TICKER & LOCKED HEADER
   ========================================================================== */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border-glass) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

.top-ticker-bar {
  background: linear-gradient(90deg, #1e40af, #2563eb, #3b82f6);
  color: #ffffff;
  padding: 6px 0;
  font-size: 0.82rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.ticker-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.live-pulse {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.brand-name-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}
.brand-accent {
  color: var(--primary);
}

/* Gooey Nav Tabs */
.desktop-nav {
  position: relative;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  position: relative;
}
.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  position: relative;
}
.nav-link:hover {
  color: var(--primary);
}
.nav-support-link {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 10px;
  padding: 6px 14px;
}

.btn-nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.25s var(--spring-bounce);
}
.btn-nav-download:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

/* ==========================================================================
   🌟 4. LIQUID UI MORPHING & BUTTONS
   ========================================================================== */
.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  transition: all 0.25s var(--spring-bounce);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
}
.btn-primary-glow:active {
  transform: scale(0.96);
}
.btn-primary-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.btn-primary-glow:hover::after {
  opacity: 1;
}

/* ==========================================================================
   🌟 5. HERO SECTION & 3D CAMERA DEPTH SCENE
   ========================================================================== */
.hero-section {
  padding: 24px 0 60px;
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.gradient-text {
  background: linear-gradient(135deg, #2563eb, #7c3aed, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 26px;
  max-width: 560px;
}

.hero-cta-area {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-btn {
  padding: 14px 28px;
}
.btn-title {
  font-size: 1rem;
  font-weight: 900;
}
.btn-sub {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.qr-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.qr-trigger-btn:hover {
  background: var(--bg-subtle);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

.trust-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
}

/* 3D Phone Mockup Showcase */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  perspective: 1200px;
}
.phone-frame-container {
  width: 100%;
  max-width: 290px;
  background: #0f172a;
  border-radius: 36px;
  padding: 10px;
  border: 4px solid #1e293b;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25), 0 10px 20px rgba(37, 99, 235, 0.15);
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--spring-smooth);
}
.hero-phone-video, .hero-mockup-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}

/* ==========================================================================
   🌟 6. GAME CARDS & 2D->3D DEPTH PARALLAX
   ========================================================================== */
.section {
  padding: 60px 0;
  position: relative;
}
.section-head {
  text-align: center;
  margin-bottom: 36px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.game-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--spring-bounce);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}
.game-card:hover {
  transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-xl);
}
.game-img-wrapper {
  width: 100%;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  position: relative;
  background: #0f172a;
}
.game-cover-video, .game-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.game-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.game-pills-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.pill {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 🌟 STREAMLINED GAME STATUS BADGES */
.game-status-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  margin-top: 10px;
}
.pulse-indicator {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  display: inline-block;
  animation: pulseGreen 1.5s infinite;
}

/* ==========================================================================
   🌟 7. INTERACTIVE LUCKY SPIN WHEEL & PHYSICS
   ========================================================================== */
.spin-section-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 36px 24px;
  box-shadow: var(--shadow-md);
}
.spin-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.spin-wheel-container {
  position: relative;
  width: 320px;
  height: 320px;
}
#spinCanvas {
  width: 320px;
  height: 320px;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
}
.spin-needle {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  z-index: 10;
}
.spin-info-box {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  padding: 24px;
  border-radius: 20px;
  max-width: 380px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

/* ==========================================================================
   🌟 8. TOURNAMENTS & HOLOGRAPHIC REVEAL
   ========================================================================== */
.tournaments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.tourney-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.tourney-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-lg);
}
.tourney-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.tourney-tag {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
}
.tourney-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 6px;
}
.prize-val {
  font-size: 1.6rem;
  font-weight: 900;
  color: #b45309;
}

/* ==========================================================================
   🌟 9. INSTANT GIFT CARD REDEEM STORE & CALCULATOR
   ========================================================================== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.brand-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s var(--spring-bounce);
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-glass-hover);
}
.brand-card img {
  height: 36px;
  max-width: 90px;
  object-fit: contain;
  margin-bottom: 8px;
}
.brand-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.brand-reward-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
}

/* Calculator */
.calc-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}
.calc-val-big {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-heading);
}

/* ==========================================================================
   🌟 10. REFER & EARN BOX
   ========================================================================== */
.refer-gen-box {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  max-width: 680px;
  margin: 0 auto;
}
.refer-input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.support-input {
  flex: 1;
  background: #f8fafc;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
}
.support-input:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ==========================================================================
   🌟 11. FAQ ACCORDION & CUSTOMER SUPPORT
   ========================================================================== */
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-q {
  padding: 16px 20px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-a {
  display: none;
  padding: 0 20px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.faq-item.active .faq-a {
  display: block;
}
.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.support-banner {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #ffffff;
  padding: 36px 30px;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.support-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-whatsapp {
  background: #22c55e;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-email {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   🌟 12. FLOATING SCROLL-TO-TOP & LIVE WINNER TOAST
   ========================================================================== */
.scroll-to-top-btn {
  position: fixed !important;
  bottom: 84px !important;
  right: 18px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 9990 !important;
  opacity: 0 !important;
  transform: translateY(25px) scale(0.7) !important;
  pointer-events: none !important;
  transition: all 0.35s var(--spring-bounce) !important;
}
.scroll-to-top-btn.visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}
.scroll-to-top-btn:hover {
  transform: translateY(-4px) scale(1.1) !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.65) !important;
}

.live-winner-toast {
  position: fixed;
  bottom: 84px;
  left: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid #bfdbfe;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.1);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9980;
  max-width: 320px;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.4s var(--spring-bounce);
  pointer-events: none;
}
.live-winner-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   🌟 13. MOBILE DRAWER NAVIGATION & STICKY BOTTOM BAR
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 320px;
  height: 100%;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.35s var(--spring-smooth);
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}
.mobile-drawer.active {
  transform: translateX(0);
}
.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-glass);
}
.drawer-close-btn {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  cursor: pointer;
}
.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f8fafc;
}

.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-glass);
  padding: 10px 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  z-index: 9970;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   📱 14. COMPREHENSIVE RESPONSIVE SYSTEM (320px to 1600px+)
   Zero Horizontal Overflow • Compact Proportional Typography
   ========================================================================== */
@media (max-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px !important;
  }
  body {
    padding-top: 80px !important;
    padding-bottom: 70px !important;
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
  }
  .container {
    padding: 0 14px !important;
  }
  .section {
    padding: 24px 0 !important;
  }
  .desktop-nav, .btn-nav-download {
    display: none !important;
  }
  .hamburger-btn {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: rgba(37, 99, 235, 0.08) !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    cursor: pointer !important;
    gap: 4px !important;
  }
  .hamburger-btn span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background: #0f172a !important;
    border-radius: 2px !important;
  }

  /* Top Slim Ticker on Mobile (Clean 1-line stream) */
  .top-ticker-bar {
    padding: 4px 0 !important;
    font-size: 0.68rem !important;
    height: 24px !important;
    overflow: hidden !important;
  }
  .ticker-flex {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    justify-content: flex-start !important;
    gap: 14px !important;
  }
  .ticker-flex::-webkit-scrollbar {
    display: none !important;
  }
  .ticker-item {
    white-space: nowrap !important;
  }

  .nav-wrapper {
    height: 52px !important;
  }
  .brand-logo-img {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
  }
  .brand-name-text {
    font-size: 1.15rem !important;
  }

  /* Hero Mobile */
  .hero-section {
    padding: 12px 0 24px !important;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .hero-title {
    font-size: 1.65rem !important;
    line-height: 1.18 !important;
    letter-spacing: -0.4px !important;
    margin-bottom: 8px !important;
  }
  .hero-subtitle {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    margin-bottom: 14px !important;
  }
  .hero-btn {
    width: 100% !important;
    max-width: 290px !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
  }
  .qr-trigger-btn {
    display: none !important;
  }
  .phone-frame-container {
    max-width: 200px !important;
    margin: 0 auto !important;
    border-radius: 20px !important;
  }
  .hero-phone-video, .hero-mockup-img {
    height: 240px !important;
  }

  /* Game Cards Mobile */
  .games-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    max-width: 340px !important;
    margin: 0 auto !important;
  }
  .game-card {
    padding: 12px !important;
    border-radius: 14px !important;
  }
  .game-img-wrapper {
    height: 120px !important;
  }

  /* Spin Wheel Mobile */
  .spin-wheel-container {
    width: 220px !important;
    height: 220px !important;
    margin: 0 auto !important;
  }
  #spinCanvas {
    width: 220px !important;
    height: 220px !important;
  }
  .spin-info-box {
    padding: 12px !important;
    max-width: 300px !important;
  }

  /* Tournaments & Brands Mobile */
  .tournaments-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    max-width: 340px !important;
    margin: 0 auto !important;
  }
  .brands-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    max-width: 340px !important;
    margin: 0 auto 16px !important;
  }
  .calc-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Sticky Bottom Bar on Mobile */
  .sticky-mobile-bar {
    display: flex !important;
  }
  .live-winner-toast {
    bottom: 74px !important;
    left: 10px !important;
    max-width: 260px !important;
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
  }
  .scroll-to-top-btn {
    bottom: 74px !important;
    right: 12px !important;
    width: 40px !important;
    height: 40px !important;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.45rem !important;
  }
  .games-grid, .tournaments-grid, .brands-grid, .refer-gen-box {
    max-width: 100% !important;
  }
}


/* ==========================================================================
   🔒 100% PERMANENT MOBILE HORIZONTAL LOCK (PAN-Y ONLY)
   ========================================================================== */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
  touch-action: pan-y !important; /* STRICT: Disables any left/right drag or horizontal swipe */
  overscroll-behavior-x: none !important; /* Prevents horizontal rubber-band bounce */
  -webkit-overflow-scrolling: touch;
}

section, header, footer, main, .container, .hero-grid, .games-grid, .tournaments-grid, .brands-grid, .calc-wrapper, .spin-section-box, .support-banner, .refer-gen-box, .faq-accordion {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

#livingGradientCanvas {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.live-winner-toast {
  max-width: min(280px, calc(100% - 32px)) !important;
  left: 16px !important;
}


/* ==========================================================================
   🚫 HIDE NETLIFY FLOATING BADGE & COLLABORATION DRAWER
   ========================================================================== */
iframe[src*="netlify"],
[data-netlify-badge],
.netlify-badge,
#netlify-badge,
.netlify-drawer,
#netlify-drawer,
div[class*="netlify-"],
div[id*="netlify-"],
[class*="NetlifyBadge"],
[class*="netlify-feedback"],
div:has(> a[href*="netlify.com"]),
a[href*="netlify.com"]:not(.custom-link) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  z-index: -9999 !important;
}


/* 🚫 ULTRA-SPECIFIC NETLIFY TAG HIDING */
netlify-drawer,
netlify-cdp,
netlify-feedback,
netlify-badge,
[id*="netlify"],
[class*="netlify"],
iframe[src*="netlify"],
div:has(> a[href*="netlify.com"]),
div[class*="feedback"],
div[id*="feedback"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: fixed !important;
  top: -999999px !important;
  left: -999999px !important;
  width: 0px !important;
  height: 0px !important;
  transform: scale(0) !important;
  z-index: -999999 !important;
}
