/* ==========================================================================
   DREAMJILI CASINO DESIGN SYSTEM: TOKENS & CORE THEME (casino-theme.css)
   Target Market: Philippines iGaming Affiliate
   Aesthetic: High-Octane Luxury Casino Vibe + Modern Fintech Precision
   Compliance: PAGCOR, 21+ Age Gate, E-E-A-T Trust Architecture
   ========================================================================== */

:root {
  /* Brand Primary Colors */
  --color-primary: #1E88E5;
  --color-primary-hover: #1565C0;
  --color-primary-glow: rgba(30, 136, 229, 0.45);
  --color-primary-subtle: rgba(30, 136, 229, 0.12);

  /* Casino Gold & High-Conversion Accents */
  --color-gold: #FFB800;
  --color-gold-hover: #FFA000;
  --color-gold-light: #FFE082;
  --color-gold-glow: rgba(255, 184, 0, 0.45);
  --color-gold-gradient: linear-gradient(135deg, #FFE082 0%, #FFB800 50%, #E65100 100%);

  /* Verification & Action Emerald */
  --color-emerald: #00C853;
  --color-emerald-hover: #00A844;
  --color-emerald-glow: rgba(0, 200, 83, 0.4);
  --color-emerald-subtle: rgba(0, 200, 83, 0.12);

  /* Alert Crimson & Neon Purple */
  --color-crimson: #EF4444;
  --color-crimson-glow: rgba(239, 68, 68, 0.35);
  --color-purple: #9333EA;
  --color-purple-glow: rgba(147, 51, 234, 0.4);

  /* Surfaces & Backgrounds (Dark Rich Luxury Gaming Atmosphere) */
  --surface-canvas: #060911;
  --surface-canvas-subtle: #0B101D;
  --surface-card: #101726;
  --surface-card-hover: #172238;
  --surface-elevated: #1A263E;
  --surface-glass: rgba(16, 23, 38, 0.85);
  --surface-glass-border: rgba(255, 255, 255, 0.1);
  --surface-glass-gold: rgba(255, 184, 0, 0.08);

  /* Text & Typography */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-inverse: #060911;
  --text-gold: #FFD54F;
  --text-emerald: #4ADE80;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(255, 184, 0, 0.35);
  --border-emerald: rgba(0, 200, 83, 0.35);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows & Neon Ambient Glows */
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.45), 0 2px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 12px 35px -5px rgba(0, 0, 0, 0.6), 0 6px 15px -4px rgba(0, 0, 0, 0.35);
  --shadow-gold-glow: 0 0 25px rgba(255, 184, 0, 0.35);
  --shadow-primary-glow: 0 0 25px rgba(30, 136, 229, 0.4);
  --shadow-emerald-glow: 0 0 25px rgba(0, 200, 83, 0.4);
  --shadow-neon-button: 0 4px 15px rgba(255, 184, 0, 0.4);

  /* Layout Standards */
  --container-max: 1240px;
  --header-height: 72px;
}

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

html {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Inter", "Segoe UI", Roboto, sans-serif;
  background-color: var(--surface-canvas);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.65;
  background: radial-gradient(circle at 50% 0%, #111A2E 0%, #060911 55%, #03050A 100%);
  position: relative;
}

/* Subtle Animated Ambient Background Grid */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(255, 184, 0, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(30, 136, 229, 0.04) 1px, transparent 1px);
  background-size: 40px 40px, 80px 80px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

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

h1 {
  font-size: clamp(28px, 5vw, 48px);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 12px;
}

p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Flashy Casino Shimmer & Glow Effects */
.text-gold-gradient {
  background: var(--color-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-primary-gradient {
  background: linear-gradient(135deg, #60A5FA 0%, #1E88E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.glow-box-gold {
  box-shadow: 0 0 30px rgba(255, 184, 0, 0.25);
  border: 1px solid var(--border-gold);
}

.glow-box-primary {
  box-shadow: 0 0 30px rgba(30, 136, 229, 0.25);
  border: 1px solid rgba(30, 136, 229, 0.4);
}

/* High-Impact Container Backgrounds (Casino Vibe) */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-casino-container {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.section-casino-container.flashy-gold {
  background: radial-gradient(circle at 50% 50%, rgba(255, 184, 0, 0.08) 0%, transparent 70%),
              linear-gradient(180deg, rgba(16, 23, 38, 0.9) 0%, rgba(6, 9, 17, 0.95) 100%);
  border-top: 1px solid rgba(255, 184, 0, 0.15);
  border-bottom: 1px solid rgba(255, 184, 0, 0.15);
}

.section-casino-container.flashy-purple {
  background: radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 65%),
              linear-gradient(180deg, rgba(16, 23, 38, 0.95) 0%, rgba(6, 9, 17, 0.98) 100%);
  border-top: 1px solid rgba(147, 51, 234, 0.2);
  border-bottom: 1px solid rgba(147, 51, 234, 0.2);
}

.section-casino-container.flashy-blue {
  background: radial-gradient(circle at 20% 80%, rgba(30, 136, 229, 0.12) 0%, transparent 70%),
              linear-gradient(180deg, rgba(11, 16, 29, 0.9) 0%, rgba(6, 9, 17, 0.95) 100%);
  border-top: 1px solid rgba(30, 136, 229, 0.2);
  border-bottom: 1px solid rgba(30, 136, 229, 0.2);
}

/* First Container Casino Background Overlay (Required Rule) */
.hero-first-container {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 80px 0 60px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-first-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    rgba(6, 9, 17, 0.75) 0%, 
    rgba(6, 9, 17, 0.92) 75%, 
    var(--surface-canvas) 100%);
  z-index: 1;
}

.hero-first-container .container {
  position: relative;
  z-index: 2;
}

/* Pill Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(255, 184, 0, 0.15);
  color: var(--color-gold);
  border: 1px solid rgba(255, 184, 0, 0.4);
}

.badge-emerald {
  background: rgba(0, 200, 83, 0.15);
  color: var(--color-emerald);
  border: 1px solid rgba(0, 200, 83, 0.4);
}

.badge-primary {
  background: rgba(30, 136, 229, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(30, 136, 229, 0.4);
}

.badge-crimson {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Shimmer Animation Keyframe */
@keyframes goldShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-text {
  background: linear-gradient(90deg, #FFB800 0%, #FFF 50%, #FFB800 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 4s linear infinite;
}
