/* Base Styles */
:root {
    --brand-dark: #0B1120;
    --brand-primary: #0087bf;
    --brand-accent: #38bdf8;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family: 'Sora', sans-serif;
    background-color: var(--brand-dark);
    color: #f8fafc;
}

/* Glassmorphism Utilities */
.glass-nav {
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
    background: linear-gradient(145deg, rgba(21, 30, 50, 0.8), rgba(11, 17, 32, 0.9));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* Typography */
.font-display {
    font-family: 'Teko', sans-serif;
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, #0087bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: linear-gradient(to right, #fbbf24, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.animate-float-delayed {
    animation: float 6s ease-in-out 3s infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; box-shadow: 0 0 20px rgba(0, 135, 191, 0.3); }
    50% { opacity: 0.8; box-shadow: 0 0 40px rgba(0, 135, 191, 0.6); }
}

.animate-pulse-glow {
    animation: pulse-glow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Parallax Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: linear-gradient(to bottom, rgba(11, 17, 32, 0.7), rgba(11, 17, 32, 1)), 
                      url('https://images.unsplash.com/photo-1551958219-acbc608c6377?q=80&w=2070&auto=format&fit=crop'); /* Authentic Stadium */
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: translateZ(-1px) scale(2); /* Simple CSS Parallax hook if parent has perspective */
    will-change: transform;
}

/* Process Bar Animation */
.process-bar-container {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.process-bar-fill {
    height: 100%;
    background: #0087bf;
    width: 0%;
    transition: width 3s linear;
}

.process-step {
    transition: all 0.5s ease;
    opacity: 0.4;
    filter: grayscale(1);
}

.process-step.active {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Rotating Odds Widget */
.odds-rotator {
    perspective: 1000px;
    height: 40px; /* Matched to h-10 */
    overflow: hidden;
}

.odds-track {
    animation: slide-odds 10s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slide-odds {
    0%, 20% { transform: translateY(0); }
    25%, 45% { transform: translateY(-40px); }
    50%, 70% { transform: translateY(-80px); }
    75%, 95% { transform: translateY(-120px); }
    100% { transform: translateY(-160px); } /* Slide to clone, then snap back to 0 implicitly at loop */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-bg {
        transform: none !important;
    }
}
