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

@theme {
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Outfit", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;
  
  --color-brand-primary: #0D2240;
  --color-brand-secondary: #1A3865;
  --color-brand-accent: #F2C94C;
  --color-brand-light: #E0E0E0;
  --color-brand-dark-text: #F2F2F2;
  --color-brand-danger: #EB5757;
}

@layer base {
  body {
    @apply bg-brand-primary text-brand-light font-sans antialiased;
  }
}

/* Custom Utilities for Presentation Mode */
.text-glow {
  text-shadow: 0 0 20px rgba(242, 201, 76, 0.4);
}

.bg-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gold-gradient {
  background: linear-gradient(135deg, #FFF9C4 0%, #F2C94C 50%, #C19900 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.confetti-piece {
  position: absolute;
  top: -10%;
  opacity: 0;
  z-index: 100;
}

@keyframes confetti-rain {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

.arena-spotlight {
  background: radial-gradient(circle at 50% -20%, rgba(242, 201, 76, 0.15) 0%, transparent 70%);
}

.broadcast-scanlines {
  background: linear-gradient(
    to bottom,
    rgba(18, 16, 16, 0) 50%,
    rgba(0, 0, 0, 0.05) 50%
  );
  background-size: 100% 4px;
  pointer-events: none;
}

.shimmer-glass {
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.shimmer-glass::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 55%
  );
  animation: shimmer 10s infinite linear;
}

@keyframes shimmer {
  0% { transform: translate(-30%, -30%); }
  100% { transform: translate(30%, 30%); }
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}

@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.neon-pulse {
  box-shadow: 0 0 15px rgba(242, 201, 76, 0.2);
  animation: neon-pulse 3s infinite ease-in-out;
}

@keyframes neon-pulse {
  0%, 100% { box-shadow: 0 0 15px rgba(242, 201, 76, 0.1); }
  50% { box-shadow: 0 0 30px rgba(242, 201, 76, 0.3); }
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(13, 34, 64, 0.5);
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(242, 201, 76, 0.3);
  border-radius: 10px;
  transition: background 0.3s;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(242, 201, 76, 0.6);
}

/* For Firefox */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(242, 201, 76, 0.3) rgba(13, 34, 64, 0.5);
}
