/* ==========================================================================
   CD33 BANGLADESH - DESIGN SYSTEM & THEME TOKENS
   Modern iGaming Casino & Sports Exchange Architecture
   ========================================================================== */

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

:root {
  /* Color Palette - Dark Casino Elegance */
  --bg-darkest: #040711;
  --bg-main: #070c18;
  --bg-surface: #0d1527;
  --bg-card: rgba(14, 22, 41, 0.78);
  --bg-card-hover: rgba(22, 34, 61, 0.9);
  --bg-glass: rgba(13, 21, 39, 0.72);
  
  /* Brand Accents - CD33 Cyan & Gold */
  --brand-cyan: #00e5ff;
  --brand-cyan-glow: rgba(0, 229, 255, 0.35);
  --brand-blue: #1d68f2;
  --brand-orange: #ff5e14;
  --brand-gold: #ffb300;
  --brand-gold-glow: rgba(255, 179, 0, 0.4);
  --brand-emerald: #00e676;
  --brand-purple: #9d4edd;
  
  /* Text Tokens */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #fde047;
  --text-cyan: #38bdf8;
  
  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(56, 189, 248, 0.15);
  --border-card-hover: rgba(0, 229, 255, 0.45);
  --border-gold: rgba(255, 179, 0, 0.3);
  
  /* Shadows & Glows */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow-cyan: 0 0 25px rgba(0, 229, 255, 0.25);
  --shadow-glow-gold: 0 0 25px rgba(255, 179, 0, 0.3);
  --shadow-neon-button: 0 0 20px rgba(255, 94, 20, 0.4);
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout Dimensions */
  --container-max: 1240px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #111d38 0%, #070c18 55%, #040711 100%);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 72px; /* For mobile bottom nav */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Flashy Casino Container Backgrounds */
.casino-hero-container {
  position: relative;
  background-color: var(--bg-surface);
  background-image: 
    radial-gradient(ellipse at 80% 20%, rgba(0, 229, 255, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 94, 20, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 179, 0, 0.08) 0%, transparent 60%),
    url('/assets/images/scraped/khulna-mobile-casino-night-market-02600.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-card);
}

.casino-hero-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 17, 0.82) 0%, rgba(7, 12, 24, 0.92) 65%, var(--bg-main) 100%);
  pointer-events: none;
}

.casino-hero-content {
  position: relative;
  z-index: 2;
}

/* Sub-page Specific Hero Backgrounds */
.hero-games {
  background-image: radial-gradient(circle, rgba(0,0,0,0.7), rgba(0,0,0,0.85)), url('/assets/images/scraped/sundarbans-slot-game-beach-00253.webp');
}
.hero-sports {
  background-image: radial-gradient(circle, rgba(0,0,0,0.7), rgba(0,0,0,0.85)), url('/assets/images/scraped/saint-martin-cricket-betting-eid-festival-01247.webp');
}
.hero-payments {
  background-image: radial-gradient(circle, rgba(0,0,0,0.7), rgba(0,0,0,0.85)), url('/assets/images/scraped/cumilla-mobile-payment-beach-01705.webp');
}
.hero-promos {
  background-image: radial-gradient(circle, rgba(0,0,0,0.7), rgba(0,0,0,0.85)), url('/assets/images/scraped/sylhet-cashback-bonus-beach-00762.webp');
}
.hero-trust {
  background-image: radial-gradient(circle, rgba(0,0,0,0.7), rgba(0,0,0,0.85)), url('/assets/images/scraped/dhaka-poker-game-bangladesh-model-00495.webp');
}

/* Interactive Glowing Badges */
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.badge-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulseDot 1.4s infinite;
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 179, 0, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--brand-gold);
}

.badge-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid var(--border-card);
  color: var(--brand-cyan);
}

/* Animations */
@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

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

@keyframes floatElement {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: floatElement 4s ease-in-out infinite;
}
