/* Custom Animations & Styles for SprintPage */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
    }
}

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

/* Glassmorphism utilities */
.glass-panel {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0B0F19;
}
::-webkit-scrollbar-thumb {
    background: #1F2937;
    border-radius: 4px;
}
/* Infinite Marquee Ticker Styles */
@keyframes infiniteMarquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-33.333333%);
    }
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    flex-shrink: 0;
    min-width: 100%;
    animation: infiniteMarquee 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* ==========================================================================
   iOS / SAFARI / CROSS-BROWSER COMPATIBILITY FIXES
   ========================================================================== */

/* Fix iOS 100vh viewport height issue & notch inset padding */
html, body {
    min-height: 100%;
    min-height: -webkit-fill-available;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation;
}

/* Fix iOS Safari backdrop-blur rendering bugs */
.backdrop-blur-xl,
.backdrop-blur-md,
.backdrop-blur-sm,
.glass-panel {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

/* Fix video element rendering on iOS low-power mode */
video {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Smooth momentum scrolling for iOS */
.overflow-y-auto,
.overflow-x-hidden {
    -webkit-overflow-scrolling: touch;
}

/* Fix button active tap highlight state on iOS */
button, a {
    -webkit-tap-highlight-color: transparent;
}

