/* ═══════════════════════════════════════════════════════
   MasterBets Odds — Premium CSS
   Aesthetic: Ultra-modern, Dark Mode, Neon Glow, Premium
═══════════════════════════════════════════════════════ */

:root {
  --neon-green: #00ff66;
  --neon-green-glow: rgba(0, 255, 102, 0.5);
  --gold: #ffdf00; /* Richer metallic yellow/gold */
  --gold-glow: rgba(255, 223, 0, 0.5);
  --bg-dark: #000000;
  --surface: #0a0a0a;
  --surface-border: rgba(255, 255, 255, 0.15);
}

/* Base Styles */
body {
  background-color: var(--bg-dark);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Ambient Glow */
.ambient-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
  background-image:
    radial-gradient(ellipse at 15% 10%, rgba(0, 255, 102, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 70%, rgba(255, 223, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.football-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  background-image: url('https://i.ibb.co/tpmNbF8H/istockphoto-643632382-612x612.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(8px) brightness(0.25) contrast(1.1);
  transform: scale(1.1); /* Evita bordas brancas/transparentes causadas pelo blur */
  pointer-events: none;
}

@media (max-width: 639px) {
  .football-bg {
    background-position: center bottom; /* Foca na parte de baixo (o gramado) */
    background-size: cover;
    filter: blur(2px) brightness(0.3) contrast(1.1); /* Menos desfoque para dar pra entender a imagem */
  }
}

/* Ostentation Particles */
.ostentation-particles {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px 1px var(--gold);
  animation: floatUp 20s infinite linear;
  opacity: 0.3;
}
.particle.p1 { left: 10%; bottom: -10%; animation-duration: 25s; animation-delay: 0s; width: 2px; height: 2px; background: var(--neon-green); box-shadow: 0 0 8px 1px var(--neon-green); }
.particle.p2 { left: 30%; bottom: -10%; animation-duration: 20s; animation-delay: 2s; }
.particle.p3 { left: 50%; bottom: -10%; animation-duration: 30s; animation-delay: 5s; width: 4px; height: 4px; }
.particle.p4 { left: 70%; bottom: -10%; animation-duration: 22s; animation-delay: 1s; background: var(--neon-green); box-shadow: 0 0 8px 1px var(--neon-green); }
.particle.p5 { left: 90%; bottom: -10%; animation-duration: 28s; animation-delay: 3s; }

@keyframes floatUp {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-120vh) scale(1.2); opacity: 0; }
}

/* Grid overlay for texture */
.texture-grid {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

/* Gradients */
.text-gradient-green {
  background: linear-gradient(to right, #fff, var(--neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(to right, #fff5cc, var(--gold), #ffb300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 15px rgba(255, 223, 0, 0.3);
}

/* Premium Cards */
.premium-card {
  background: linear-gradient(180deg, rgba(20,20,20,0.8) 0%, rgba(10,10,10,0.8) 100%);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 20px 40px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(255, 255, 255, 0.05);
}

/* Specific glows */
.hover-glow-green:hover {
  border-color: rgba(0, 255, 102, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.8),
    0 0 30px var(--neon-green-glow);
}

.hover-glow-gold:hover {
  border-color: rgba(253, 224, 71, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.8),
    0 0 30px var(--gold-glow);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 100px;
  color: #000;
  background: var(--neon-green);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: 0 0 25px var(--neon-green-glow), inset 0 0 8px rgba(255,255,255,0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 255, 102, 0.6);
  background: #1aff75; /* slightly brighter */
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-telegram {
  background: #229ED9;
  color: #fff;
  box-shadow: 0 0 20px rgba(34, 158, 217, 0.4);
}
.btn-telegram:hover {
  background: #2ab1f0;
  box-shadow: 0 0 30px rgba(34, 158, 217, 0.6);
}

/* Animations Scroll */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }

/* Explore Indicator */
.explore-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.explore-text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(253, 224, 71, 0.8);
  text-transform: uppercase;
}
.explore-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: pulseHeight 2s infinite ease-in-out;
  transform-origin: top;
}
@keyframes pulseHeight {
  0% { transform: scaleY(0.7); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.7); opacity: 0.4; }
}

/* AI Glow Icon */
.ai-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.0));
  border: 1px solid rgba(253,224,71,0.3);
  box-shadow: 
    inset 0 0 20px rgba(253, 224, 71, 0.1),
    0 0 30px rgba(253, 224, 71, 0.2);
  position: relative;
}
.ai-icon-container::after {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 22px;
  background: linear-gradient(45deg, var(--gold), transparent, var(--gold));
  z-index: -1;
  animation: rotateBorder 4s linear infinite;
  opacity: 0.5;
}

@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
