/* Custom Font Face */
@font-face {
    font-family: 'Scrib Sans';
    src: url('fonts/ScribSans.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Language toggle button */
.lang-toggle {
    background: rgba(198, 255, 90, 0.1);
    color: #c6ff5a;
    border: 1px solid #c6ff5a;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.lang-toggle:hover {
    background: rgba(198, 255, 90, 0.2);
    transform: translateY(-1px);
}

/* Mobile menu animations */
#mobile-menu, #tablet-menu {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu:not(.hidden), #tablet-menu:not(.hidden) {
    max-height: 400px;
}

/* Mobile menu button */
#mobile-menu-button, #tablet-menu-button {
    transition: all 0.3s ease;
}

#mobile-menu-button:hover, #tablet-menu-button:hover {
    transform: scale(1.1);
}

/* Responsive navbar adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Tablet adjustments */
    nav .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hidden.md\\:flex {
        gap: 1rem;
    }
    
    .hidden.md\\:flex a {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    /* Mobile adjustments */
    nav {
        padding: 0.75rem 0;
    }
    
    .lang-toggle {
        padding: 4px 8px;
        font-size: 12px;
        min-width: 35px;
    }
}

/* Custom animations and styles */
@media (prefers-reduced-motion: no-preference) {
    .fade-in-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .fade-in-up.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .stagger-delay-1 { transition-delay: 0.1s; }
    .stagger-delay-2 { transition-delay: 0.2s; }
    .stagger-delay-3 { transition-delay: 0.3s; }
    .stagger-delay-4 { transition-delay: 0.4s; }
    .stagger-delay-5 { transition-delay: 0.5s; }
    .stagger-delay-6 { transition-delay: 0.6s; }
    .stagger-delay-7 { transition-delay: 0.7s; }
    .stagger-delay-8 { transition-delay: 0.8s; }
}

.neon-glow {
    transition: all 0.3s ease;
}

.neon-glow:hover {
    box-shadow: 0 0 20px rgba(198, 255, 90, 0.4), 0 0 40px rgba(198, 255, 90, 0.2);
    transform: translateY(-2px);
}

.card-gradient {
    background: linear-gradient(135deg, #0f2414 0%, #1a3d23 100%);
}

.sticky-card {
    position: sticky;
    transition: all 0.5s ease;
}

/* Enhanced sticky card effects */
.sticky-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Shadow and depth effects for sticky cards */
.sticky-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image {
    background: linear-gradient(45deg, #0f2414, #1a3d23);
    border-radius: 16px;
    aspect-ratio: 3/4;
}

/* Floating images parallax effect */
.floating-image {
    transition: transform 0.1s ease-out;
    animation: float 6s ease-in-out infinite;
}

.floating-image:nth-child(even) {
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

/* Enhanced hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Pulse animation for buttons */
.pulse-glow {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 5px rgba(198, 255, 90, 0.7); }
    50% { box-shadow: 0 0 20px rgba(198, 255, 90, 0.4), 0 0 30px rgba(198, 255, 90, 0.1); }
    100% { box-shadow: 0 0 5px rgba(198, 255, 90, 0.7); }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading placeholder for images */
.image-placeholder {
    background: linear-gradient(90deg, #0f2414 25%, #1a3d23 50%, #0f2414 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Background floating elements */
.bg-float {
    position: fixed;
    pointer-events: none;
    opacity: 0.1;
    animation: bg-float 20s infinite ease-in-out;
}

@keyframes bg-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(30px) rotate(240deg); }
}

/* Sports section styles */
.sport-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    min-height: 56px;
    font-weight: 600;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}

.sport-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(183, 255, 59, 0.2), transparent);
    transition: left 0.5s ease;
}

.sport-pill:hover {
    box-shadow: 0 8px 24px rgba(220, 255, 120, 0.4);
    border-color: #DCFF78 !important;
    background: #DCFF78 !important;
    color: #021B00 !important;
}

.sport-pill:hover:not([data-animate="true"]) {
    transform: translateY(-4px) scale(1.05);
}

.sport-pill:hover::before {
    left: 100%;
}

.sport-pill:active {
    transform: translateY(-2px) scale(1.02);
}

/* Staggered grid layout */
#sports-grid {
    display: grid;
    gap: 1.5rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive adjustments for sports grid */
@media (max-width: 640px) {
    #sports-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
    }
    
    .sport-pill {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        min-height: 48px;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    #sports-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        max-width: 600px;
    }
    
    .sport-pill {
        padding: 1.25rem 1.5rem;
        font-size: 1.125rem;
    }
}

@media (min-width: 769px) {
    #sports-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .sport-pill {
        padding: 1.5rem 2rem;
        font-size: 1.25rem;
    }
}
