@import "tailwindcss";

@layer base {
  :root {
    --bg-dark: #090C10;
    --bg-card: #121822;
    --bg-card-hover: #1A2232;
    --border-color: rgba(226, 176, 69, 0.2);
    --gold-accent: #E2B045;
    --gold-glow: rgba(226, 176, 69, 0.4);
    --radiant-green: #22C55E;
    --dire-red: #EF4444;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
  }

  html {
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #090c10;
}
::-webkit-scrollbar-thumb {
  background: #2a3447;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e2b045;
}

/* Glowing text & borders */
.text-gold-glow {
  text-shadow: 0 0 12px rgba(226, 176, 69, 0.6), 0 0 24px rgba(226, 176, 69, 0.3);
}

.text-red-glow {
  text-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
}

.border-gold-glow {
  box-shadow: 0 0 15px rgba(226, 176, 69, 0.25);
  border-color: rgba(226, 176, 69, 0.4);
}

.border-gold-glow:hover {
  box-shadow: 0 0 25px rgba(226, 176, 69, 0.45);
  border-color: rgba(226, 176, 69, 0.8);
}

.cinzel-font {
  font-family: 'Cinzel', serif;
}

/* Hero Background Vignette Overlay */
.hero-overlay {
  background: radial-gradient(circle at center, rgba(9, 12, 16, 0.4) 0%, rgba(9, 12, 16, 0.85) 75%, #090C10 100%),
              linear-gradient(to bottom, rgba(9, 12, 16, 0.6) 0%, transparent 40%, rgba(9, 12, 16, 0.95) 100%);
}

/* Custom Card Glassmorphism */
.dota-card {
  background: rgba(18, 24, 34, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 176, 69, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dota-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 176, 69, 0.5);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(226, 176, 69, 0.15);
}

/* Fact Flip / Expand styles */
.fact-card {
  perspective: 1000px;
}

/* Carousel Animations */
.carousel-slide {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

/* Pulse Glow */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.animate-pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}
