/* Custom CSS for UltraFit Muay Thai */

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #dc2626;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #991b1b;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-red {
    background: rgba(220, 38, 38, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

/* Scroll-driven animations */
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        @keyframes reveal-up {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .scroll-reveal {
            animation: reveal-up auto ease-out both;
            animation-timeline: view();
            animation-range: entry 10% cover 30%;
        }
    }
}

/* Fallback for browsers without scroll-driven animation support */
.reveal-fallback {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-fallback.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Counter Animation Utilities */
.counter-value {
    /* Style for numbers */
}
