/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #0f172a;
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    padding-bottom: 0;
    min-height: 100vh;
}

/* Sky Gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background: linear-gradient(to bottom, 
        #ffffff 0%,           /* White clouds at top */
        #f0f9ff 15%,          /* Almost white/cloudy */
        #dbeafe 30%,          /* Very light blue */
        #93c5fd 45%,          /* Sky blue */
        #3b82f6 65%,          /* Bright blue */
        #1e40af 85%,          /* Dark daytime blue */
        #0f172a 100%          /* Very dark blue at bottom */
    );
    /* No mask needed - let the gradient flow naturally */
    will-change: auto;
    transform: translateZ(0);
}

/* White Mountain Line (Back) - 5 Grand Teton-style peaks */
.mountains-white {
    content: '';
    position: fixed;
    bottom: -60px;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: -2;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -15 1920 215' preserveAspectRatio='none'%3E%3Cpolyline points='0,160 200,145 350,40 500,155 650,8 800,150 950,-10 1100,150 1250,8 1400,155 1550,40 1700,145 1920,160' stroke='%23ffffff' stroke-width='5' fill='none' stroke-linecap='round' stroke-linejoin='miter'/%3E%3C/svg%3E") bottom center / 100% auto no-repeat;
    pointer-events: none;
    transform: translateY(0);
    will-change: transform;
}

/* Red Mountain Line (Middle) - 5 Grand Teton-style peaks, parallel to white */
.mountains-red {
    content: '';
    position: fixed;
    bottom: -65px;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: -1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -15 1920 215' preserveAspectRatio='none'%3E%3Cpolyline points='0,170 200,155 350,50 500,165 650,18 800,160 950,0 1100,160 1250,18 1400,165 1550,50 1700,155 1920,170' stroke='%23dc2626' stroke-width='5' fill='none' stroke-linecap='round' stroke-linejoin='miter'/%3E%3C/svg%3E") bottom center / 100% auto no-repeat;
    pointer-events: none;
    transform: translateY(0);
    will-change: transform;
}

/* Blue Mountain Line (Front) - 5 Grand Teton-style peaks, parallel to others */
.mountains-blue {
    content: '';
    position: fixed;
    bottom: -70px;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -15 1920 215' preserveAspectRatio='none'%3E%3Cpolyline points='0,180 200,165 350,60 500,175 650,28 800,170 950,10 1100,170 1250,28 1400,175 1550,60 1700,165 1920,180' stroke='%233b82f6' stroke-width='5' fill='none' stroke-linecap='round' stroke-linejoin='miter'/%3E%3C/svg%3E") bottom center / 100% auto no-repeat;
    pointer-events: none;
    transform: translateY(0);
    will-change: transform;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: visible;
    z-index: 1;
    padding-top: 0;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    background: linear-gradient(90deg, 
        #dc2626 0%, 
        #ffffff 25%, 
        #3b82f6 50%, 
        #ffffff 75%, 
        #dc2626 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 10px;
    text-shadow: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    line-height: 1;
    animation: logoShimmer 60s linear infinite;
    will-change: background-position;
}

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

.logo-line {
    display: inline-block;
    white-space: nowrap;
}

.logo-mobile {
    font-size: clamp(4rem, 8vw, 8rem);
}

.logo-hoops {
    font-size: clamp(4rem, 8vw, 8rem);
}

.logo-utah {
    font-size: clamp(4rem, 8vw, 8rem);
}

@keyframes logoGlow {
    0%, 100% { 
        filter: drop-shadow(0 4px 8px rgba(220, 38, 38, 0.5));
    }
    50% { 
        filter: drop-shadow(0 4px 8px rgba(220, 38, 38, 0.5));
    }
}

.tagline {
    font-size: clamp(1.3rem, 4vw, 2rem);
    background: linear-gradient(135deg, #fbbf24, #60a5fa, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: none;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
    font-weight: 600;
    letter-spacing: 0.5px;
    position: absolute;
    bottom: 220px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 10;
    transition: all 0.3s ease;
    display: none;
}


.subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: #ffffff;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.3px;
    position: absolute;
    bottom: 170px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 10;
    transition: all 0.3s ease;
}

.cta-button {
    background: linear-gradient(45deg, #dc2626, #3b82f6, #ffffff);
    background-size: 300% 300%;
    color: #000;
    padding: 18px 45px;
    font-size: 1.3rem;
    font-weight: 700;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4), 0 0 20px rgba(255, 255, 255, 0.2);
    animation: gradientShift 3s ease infinite;
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.cta-button:hover {
    transform: translateX(-50%) scale(1.05) translateY(-2px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.5);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Basketball Court Animation - 4 Bays */
.basketball-court {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    opacity: 0.95;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    width: 1000px;
    perspective: 1000px;
}

.hoop-bay {
    position: relative;
    width: 200px;
    height: 220px;
}

.hoop {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
}

/* Enhanced Realistic Backboard */
.backboard {
    width: 120px;
    height: 80px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
    border: 4px solid #1e293b;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotateY(-2deg) rotateX(5deg);
    border-radius: 6px;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.6),
        inset 0 2px 4px rgba(255,255,255,0.4),
        inset 0 -2px 4px rgba(0,0,0,0.2),
        -8px 0 15px rgba(0,0,0,0.4),
        0 15px 35px rgba(0,0,0,0.5);
    perspective: 1000px;
}

/* Backboard colors matching each basketball */
.hoop-bay[data-bay="1"] .backboard {
    border-color: #fbbf24;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.4),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.1),
        0 0 20px rgba(251, 191, 36, 0.5);
}

.hoop-bay[data-bay="2"] .backboard {
    border-color: #ef4444;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.4),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.1),
        0 0 20px rgba(239, 68, 68, 0.5);
}

.hoop-bay[data-bay="3"] .backboard {
    border-color: #3b82f6;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.4),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.1),
        0 0 20px rgba(59, 130, 246, 0.5);
}

.hoop-bay[data-bay="4"] .backboard {
    border-color: #f1f5f9;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.4),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.1),
        0 0 20px rgba(241, 245, 249, 0.4);
}

.backboard-padding {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid #64748b;
    border-radius: 3px;
    background: rgba(255,255,255,0.1);
}

.backboard-square {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 18px;
    border: 2px solid #64748b;
    border-radius: 2px;
    background: rgba(255,255,255,0.05);
}

/* Enhanced 3D Rim - Now a complete ring */
.rim {
    width: 80px;
    height: 12px;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) rotateX(60deg);
    border-radius: 50%;
    background: linear-gradient(145deg, #f97316, #ea580c);
    box-shadow: 
        0 4px 12px rgba(0,0,0,0.5),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.2),
        0 8px 20px rgba(0,0,0,0.6),
        -6px 0 12px rgba(0,0,0,0.4),
        inset -4px 2px 6px rgba(0,0,0,0.3);
    border: 3px solid rgba(0,0,0,0.4);
}

.rim-front {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(180deg, #fb923c, #f97316);
    border-radius: 50px 50px 0 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.rim-back {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(180deg, #ea580c, #c2410c);
    border-radius: 0 0 50px 50px;
    border: 1px solid rgba(0,0,0,0.2);
}

/* Rim colors matching each basketball */
.hoop-bay[data-bay="1"] .rim {
    background: linear-gradient(145deg, #fbbf24, #f59e0b);
    box-shadow: 
        0 4px 12px rgba(0,0,0,0.5),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.2),
        0 0 20px rgba(251, 191, 36, 0.4);
}

.hoop-bay[data-bay="2"] .rim {
    background: linear-gradient(145deg, #f87171, #ef4444);
    box-shadow: 
        0 4px 12px rgba(0,0,0,0.5),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.2),
        0 0 20px rgba(248, 113, 113, 0.4);
}

.hoop-bay[data-bay="3"] .rim {
    background: linear-gradient(145deg, #60a5fa, #3b82f6);
    box-shadow: 
        0 4px 12px rgba(0,0,0,0.5),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.2),
        0 0 20px rgba(96, 165, 250, 0.4);
}

.hoop-bay[data-bay="4"] .rim {
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    box-shadow: 
        0 4px 12px rgba(0,0,0,0.5),
        inset 0 2px 4px rgba(255,255,255,0.3),
        inset 0 -2px 4px rgba(0,0,0,0.2),
        0 0 20px rgba(241, 245, 249, 0.3);
}

/* Enhanced Realistic Net */
.net {
    position: absolute;
    top: 82px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 60px;
    perspective: 200px;
}

.net-strand {
    position: absolute;
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, 
        rgba(255,255,255,0.9) 0%, 
        rgba(255,255,255,0.8) 30%, 
        rgba(255,255,255,0.7) 60%, 
        rgba(255,255,255,0.5) 100%);
    border-radius: 1px;
    transform-origin: top center;
    animation: netSway 4s ease-in-out infinite;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.net-strand:nth-child(1) { left: 5px; animation-delay: 0s; height: 55px; }
.net-strand:nth-child(2) { left: 13px; animation-delay: 0.3s; height: 58px; }
.net-strand:nth-child(3) { left: 21px; animation-delay: 0.6s; height: 60px; }
.net-strand:nth-child(4) { left: 29px; animation-delay: 0.9s; height: 62px; }
.net-strand:nth-child(5) { left: 37px; animation-delay: 1.2s; height: 62px; }
.net-strand:nth-child(6) { left: 45px; animation-delay: 0.9s; height: 60px; }
.net-strand:nth-child(7) { left: 53px; animation-delay: 0.6s; height: 58px; }
.net-strand:nth-child(8) { left: 61px; animation-delay: 0.3s; height: 55px; }
.net-strand:nth-child(9) { left: 69px; animation-delay: 0s; height: 52px; }
.net-strand:nth-child(10) { left: 75px; animation-delay: 0.2s; height: 50px; }

@keyframes netSway {
    0%, 100% { transform: rotateZ(0deg) rotateX(0deg); }
    25% { transform: rotateZ(1deg) rotateX(2deg); }
    50% { transform: rotateZ(0deg) rotateX(0deg); }
    75% { transform: rotateZ(-1deg) rotateX(-2deg); }
}

/* Net Swish Animation */
@keyframes netSwish {
    0% { transform: rotateZ(0deg) rotateX(0deg); }
    20% { transform: rotateZ(8deg) rotateX(15deg); }
    40% { transform: rotateZ(-5deg) rotateX(10deg); }
    60% { transform: rotateZ(3deg) rotateX(5deg); }
    80% { transform: rotateZ(-2deg) rotateX(2deg); }
    100% { transform: rotateZ(0deg) rotateX(0deg); }
}

.net.swishing .net-strand {
    animation: netSwish 1.2s ease-out;
}

/* Enhanced Basketballs with Different Colors */
.basketball {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    position: absolute;
    bottom: -280px;
    left: 50%;
    transform: translateX(-50%) rotateZ(90deg);
    opacity: 0;
    z-index: 5;
    box-shadow: 
        0 6px 20px rgba(0,0,0,0.4),
        inset -3px -3px 8px rgba(0,0,0,0.3),
        inset 3px 3px 8px rgba(255,255,255,0.2);
}

/* Basketball Colors */
.basketball.orange {
    background: radial-gradient(circle at 25% 25%, #fbbf24, #f59e0b, #d97706, #92400e);
}

.basketball.red {
    background: radial-gradient(circle at 25% 25%, #f87171, #ef4444, #dc2626, #991b1b);
}

.basketball.blue {
    background: radial-gradient(circle at 25% 25%, #60a5fa, #3b82f6, #2563eb, #1d4ed8);
}

.basketball.white {
    background: radial-gradient(circle at 25% 25%, #ffffff, #f8fafc, #e2e8f0, #cbd5e1);
}

/* Basketball Lines */
.basketball::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 2px;
    right: 2px;
    height: 1.5px;
    background: rgba(0,0,0,0.6);
    transform: translateY(-50%);
    border-radius: 1px;
}

.basketball::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 2px;
    bottom: 2px;
    width: 1.5px;
    background: rgba(0,0,0,0.6);
    transform: translateX(-50%);
    border-radius: 1px;
}

/* Smooth Swish Animation - Clean and Direct */
@keyframes perfectSwish {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0px) rotate(0deg) scale(1);
        bottom: -280px;
        left: 45%;
    }
    10% {
        transform: translateX(-50%) translateY(-60px) rotate(45deg) scale(1.02);
        left: 47%;
    }
    25% {
        transform: translateX(-50%) translateY(-120px) rotate(120deg) scale(1.05);
        left: 50%;
    }
    45% {
        transform: translateX(-50%) translateY(-165px) rotate(240deg) scale(1.08);
        left: 50%;
    }
    65% {
        transform: translateX(-50%) translateY(-100px) rotate(360deg) scale(1.03);
        left: 50%;
    }
    80% {
        transform: translateX(-50%) translateY(-30px) rotate(450deg) scale(0.98);
        left: 50%;
        opacity: 1;
    }
    95% {
        transform: translateX(-50%) translateY(10px) rotate(540deg) scale(0.9);
        left: 50%;
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(50px) rotate(630deg) scale(0.8);
        bottom: 60px;
        left: 50%;
    }
}

.basketball.shooting {
    animation: perfectSwish 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Swish Effect Particles */
@keyframes swishParticle {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) rotate(360deg) translateY(20px);
    }
}

.swish-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    pointer-events: none;
    animation: swishParticle 0.8s ease-out forwards;
}

/* Football Lane Styles */
.football-lane {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
}

.football-lane::before {
    content: '🏈';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    text-align: center;
    z-index: 10;
}

.football-backboard {
    width: 120px;
    height: 200px;
    background: linear-gradient(145deg, #1f1f1f 0%, #0a0a0a 50%, #1a1a1a 100%);
    border: 4px solid #dc2626;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotateY(-2deg);
    border-radius: 12px;
    box-shadow: 
        0 12px 40px rgba(220, 38, 38, 0.6),
        inset 0 2px 4px rgba(255,255,255,0.2),
        inset 0 -2px 4px rgba(0,0,0,0.3),
        0 0 30px rgba(220, 38, 38, 0.5),
        0 0 60px rgba(220, 38, 38, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    gap: 15px;
}

.football-hole {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #0f172a 0%, #1e293b 40%, #334155 80%, #475569 100%);
    position: relative;
    box-shadow: 
        inset 0 6px 16px rgba(0,0,0,0.95),
        inset 0 -2px 8px rgba(255,255,255,0.15),
        0 4px 12px rgba(0,0,0,0.7),
        0 0 25px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    margin: 0;
    flex-shrink: 0;
}

.hole-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 5px solid;
    box-shadow: 0 0 25px currentColor;
}

/* Different colored rings for each hole - matching site colors */
.hole-top .hole-ring {
    border-color: #dc2626;
    box-shadow: 
        0 0 20px rgba(220, 38, 38, 0.9), 
        inset 0 0 15px rgba(220, 38, 38, 0.5),
        0 0 50px rgba(220, 38, 38, 0.4);
}

.hole-middle .hole-ring {
    border-color: #ffffff;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 1), 
        inset 0 0 15px rgba(255, 255, 255, 0.6),
        0 0 50px rgba(255, 255, 255, 0.5);
}

.hole-bottom .hole-ring {
    border-color: #3b82f6;
    box-shadow: 
        0 0 20px rgba(59, 130, 246, 0.9), 
        inset 0 0 15px rgba(59, 130, 246, 0.5),
        0 0 50px rgba(59, 130, 246, 0.4);
}

/* Football hover glow effect */
.football-hole:hover .hole-ring {
    box-shadow: 0 0 45px currentColor, inset 0 0 25px currentColor, 0 0 80px currentColor;
    transform: scale(1.08);
}

/* Football Styles */
.football {
    width: 24px;
    height: 16px;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    position: absolute;
    bottom: -280px;
    left: 50%;
    transform: translateX(-50%) rotateZ(90deg);
    opacity: 0;
    z-index: 5;
    background: radial-gradient(ellipse at 30% 30%, #8b4513, #6b3a0e, #4a2c0a, #3b240b);
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.5),
        inset -2px -2px 6px rgba(0,0,0,0.4),
        inset 2px 2px 6px rgba(255,255,255,0.2);
}

/* Football laces */
.football::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 1px;
    background: rgba(255,255,255,0.9);
    box-shadow: 
        0 -3px 0 0 rgba(255,255,255,0.9),
        0 3px 0 0 rgba(255,255,255,0.9),
        -2px -1.5px 0 0 rgba(255,255,255,0.7),
        2px -1.5px 0 0 rgba(255,255,255,0.7),
        -2px 1.5px 0 0 rgba(255,255,255,0.7),
        2px 1.5px 0 0 rgba(255,255,255,0.7);
}

/* Football Throw Animation - Top Hole (Linear descent, no spin) */
@keyframes footballThrowTop {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        bottom: -280px;
        left: 50%;
        filter: blur(0px);
    }
    10% {
        transform: translateX(-50%) translateY(-56px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
        filter: blur(0px);
    }
    20% {
        transform: translateX(-50%) translateY(-112px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
        filter: blur(0px);
    }
    30% {
        transform: translateX(-50%) translateY(-168px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
        filter: blur(0px);
    }
    40% {
        transform: translateX(-50%) translateY(-224px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
        filter: blur(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-280px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
        filter: blur(0px);
    }
    70% {
        transform: translateX(-50%) translateY(-410px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(0.7);
        left: 50%;
        opacity: 0.5;
        filter: blur(1.5px);
    }
    85% {
        transform: translateX(-50%) translateY(-418px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(0.3);
        left: 50%;
        opacity: 0.15;
        filter: blur(2.5px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-424px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(0);
        left: 50%;
        filter: blur(3px);
    }
}

/* Football Throw Animation - Middle Hole (Linear descent, no spin) */
@keyframes footballThrowMiddle {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        bottom: -280px;
        left: 50%;
        filter: blur(0px);
    }
    10% {
        transform: translateX(-50%) translateY(-56px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
        filter: blur(0px);
    }
    20% {
        transform: translateX(-50%) translateY(-112px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
        filter: blur(0px);
    }
    30% {
        transform: translateX(-50%) translateY(-168px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
        filter: blur(0px);
    }
    40% {
        transform: translateX(-50%) translateY(-224px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
        filter: blur(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-280px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
        filter: blur(0px);
    }
    70% {
        transform: translateX(-50%) translateY(-360px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(0.7);
        left: 50%;
        opacity: 0.5;
        filter: blur(1.5px);
    }
    85% {
        transform: translateX(-50%) translateY(-368px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(0.3);
        left: 50%;
        opacity: 0.15;
        filter: blur(2.5px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-374px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(0);
        left: 50%;
        filter: blur(3px);
    }
}

/* Football Throw Animation - Bottom Hole (Linear descent, no spin) */
@keyframes footballThrowBottom {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        bottom: -280px;
        left: 50%;
        filter: blur(0px);
    }
    10% {
        transform: translateX(-50%) translateY(-56px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
        filter: blur(0px);
    }
    20% {
        transform: translateX(-50%) translateY(-112px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
        filter: blur(0px);
    }
    30% {
        transform: translateX(-50%) translateY(-168px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
        filter: blur(0px);
    }
    40% {
        transform: translateX(-50%) translateY(-224px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
        filter: blur(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-280px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
        filter: blur(0px);
    }
    70% {
        transform: translateX(-50%) translateY(-310px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(0.7);
        left: 50%;
        opacity: 0.5;
        filter: blur(1.5px);
    }
    85% {
        transform: translateX(-50%) translateY(-318px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(0.3);
        left: 50%;
        opacity: 0.15;
        filter: blur(2.5px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-324px) rotateX(0deg) rotateY(0deg) rotateZ(90deg) scale(0);
        left: 50%;
        filter: blur(3px);
    }
}


/* Hole Score Animation */
@keyframes holeScore {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px currentColor;
    }
    25% {
        transform: scale(1.3);
        box-shadow: 0 0 40px currentColor, 0 0 80px currentColor, inset 0 0 30px currentColor;
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 50px currentColor, 0 0 100px currentColor;
    }
    75% {
        transform: scale(1.25);
        box-shadow: 0 0 35px currentColor, 0 0 70px currentColor;
    }
}

.football-hole.scored .hole-ring {
    animation: holeScore 0.8s ease-out;
}

/* Show/Hide Basketball vs Football on Desktop/Mobile */
@media (min-width: 769px) {
    /* Desktop: Bay 2 shows basketball, Bay 4 shows football */
    .hoop-bay[data-bay="2"] .football-version {
        display: none;
    }
    .hoop-bay[data-bay="2"] .basketball-version {
        display: block;
    }
}

@media (max-width: 768px) {
    /* Mobile: Bay 2 shows football, hide bay 4 entirely */
    .hoop-bay[data-bay="2"] .basketball-version {
        display: none;
    }
    .hoop-bay[data-bay="2"] .football-version {
        display: block;
    }
    .hoop-bay[data-bay="3"] {
        display: none !important;
    }
    .hoop-bay[data-bay="4"] {
        display: none;
    }

    /* Mobile-specific logo: stack vertically and reduce width */
    .logo {
        flex-direction: column !important;
        gap: 0 !important;
        letter-spacing: 2px !important;
        padding: 0 10px !important;
        line-height: 0.85 !important;
        top: 50px !important;
    }

    .logo-line {
        font-size: clamp(4.5rem, 14vw, 7rem) !important;
    }

    /* Mobile basketball court layout: 2 columns for 1 basketball + 1 football */
    .basketball-court {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
        width: 100% !important;
        max-width: 310px !important;
        padding: 0 20px !important;
        top: calc(50% - 20px) !important;
    }

    /* Scale down the entire hoop bays for mobile */
    .hoop-bay {
        width: 130px !important;
        height: 150px !important;
    }

    .hoop {
        width: 130px !important;
        height: 130px !important;
    }

    /* Scale down backboard */
    .backboard {
        width: 85px !important;
        height: 55px !important;
        top: 0 !important;
    }

    .backboard-padding {
        top: 6px !important;
        left: 6px !important;
        right: 6px !important;
        bottom: 6px !important;
        border-width: 1px !important;
    }

    .backboard-square {
        top: 14px !important;
        width: 18px !important;
        height: 14px !important;
        border-width: 1px !important;
    }

    /* Scale down rim */
    .rim {
        width: 55px !important;
        height: 9px !important;
        top: 50px !important;
    }

    .rim-front {
        height: 5px !important;
    }

    .rim-back {
        height: 5px !important;
    }

    /* Scale down net */
    .net {
        top: 58px !important;
        width: 55px !important;
        height: 42px !important;
    }

    .net-strand {
        height: 42px !important;
        width: 1.5px !important;
    }

    .net-strand:nth-child(1) { left: 3px !important; height: 38px !important; }
    .net-strand:nth-child(2) { left: 9px !important; height: 40px !important; }
    .net-strand:nth-child(3) { left: 15px !important; height: 42px !important; }
    .net-strand:nth-child(4) { left: 21px !important; height: 43px !important; }
    .net-strand:nth-child(5) { left: 27px !important; height: 43px !important; }
    .net-strand:nth-child(6) { left: 33px !important; height: 42px !important; }
    .net-strand:nth-child(7) { left: 39px !important; height: 40px !important; }
    .net-strand:nth-child(8) { left: 45px !important; height: 38px !important; }
    .net-strand:nth-child(9) { left: 50px !important; height: 36px !important; }
    .net-strand:nth-child(10) { left: 53px !important; height: 35px !important; }

    /* Scale down basketball */
    .basketball {
        width: 20px !important;
        height: 20px !important;
        bottom: -200px !important;
    }

    /* Scale down football */
    .football {
        width: 18px !important;
        height: 12px !important;
        bottom: -200px !important;
    }

    /* Scale down football lane for mobile */
    .football-lane {
        width: 130px !important;
        height: 130px !important;
    }

    .football-backboard {
        width: 85px !important;
        height: 130px !important;
        padding: 12px 0 !important;
        gap: 8px !important;
    }

    .football-lane::before {
        top: -20px !important;
        font-size: 1.5rem !important;
    }

    .football-hole {
        width: 35px !important;
        height: 35px !important;
    }

    .hole-ring {
        top: -4px !important;
        left: -4px !important;
        right: -4px !important;
        bottom: -4px !important;
        border-width: 3px !important;
    }

    /* Adjust subtitle positioning */
    .subtitle {
        bottom: 265px !important;
        font-size: clamp(1rem, 3.5vw, 1.3rem) !important;
    }

    /* Adjust CTA button positioning */
    .cta-button {
        bottom: 185px !important;
        padding: 14px 40px !important;
        font-size: 1.1rem !important;
        width: 90% !important;
        max-width: 280px !important;
    }

    /* Mobile Mountain Styles - Grand Teton inspired 3-peak profile */
    .mountains-white {
        bottom: -60px;
        height: 200px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -15 1920 215' preserveAspectRatio='none'%3E%3Cpolyline points='0,160 300,145 480,45 640,145 960,-10 1280,145 1440,45 1620,145 1920,160' stroke='%23ffffff' stroke-width='5' fill='none' stroke-linecap='round' stroke-linejoin='miter'/%3E%3C/svg%3E") bottom center / 100% auto no-repeat;
    }

    /* Red Mountain Line (Middle) - Grand Teton style profile for mobile */
    .mountains-red {
        bottom: -65px;
        height: 200px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -15 1920 215' preserveAspectRatio='none'%3E%3Cpolyline points='0,170 300,155 480,55 640,155 960,0 1280,155 1440,55 1620,155 1920,170' stroke='%23dc2626' stroke-width='5' fill='none' stroke-linecap='round' stroke-linejoin='miter'/%3E%3C/svg%3E") bottom center / 100% auto no-repeat;
    }

    /* Blue Mountain Line (Front) - Grand Teton style profile for mobile */
    .mountains-blue {
        bottom: -70px;
        height: 200px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -15 1920 215' preserveAspectRatio='none'%3E%3Cpolyline points='0,180 300,165 480,65 640,165 960,10 1280,165 1440,65 1620,165 1920,180' stroke='%233b82f6' stroke-width='5' fill='none' stroke-linecap='round' stroke-linejoin='miter'/%3E%3C/svg%3E") bottom center / 100% auto no-repeat;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 115px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
    z-index: 5;
}

.scroll-indicator p {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.scroll-arrow {
    font-size: 2rem;
    margin-bottom: 0.3rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background: transparent;
    z-index: 1;
}

.section h2 {
    font-size: clamp(2rem, 6vw, 3rem);
    background: linear-gradient(135deg, #dc2626, #3b82f6, #ffffff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 900;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3)) !important;
    position: relative;
    display: inline-block;
    width: 100%;
    animation: headingEnter 0.8s ease-out;
    transition: all 0.3s ease;
}

/* Force blue area styling */
.section h2.blue-area {
    background: linear-gradient(135deg, #dc2626, #3b82f6, #ffffff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3)) !important;
}

/* Force white area styling */
.section h2.white-area {
    background: linear-gradient(135deg, #1f2937, #374151, #4b5563) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(1px 1px 2px rgba(255, 255, 255, 0.8)) !important;
}

@keyframes headingEnter {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #ffffff, #3b82f6);
    border-radius: 2px;
    transform: translateX(-50%) scaleX(0);
    animation: underlineReveal 0.8s ease-out 0.3s forwards;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4), 0 2px 8px rgba(220, 38, 38, 0.3);
}

@keyframes underlineReveal {
    to {
        transform: translateX(-50%) scaleX(1);
    }
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: linear-gradient(135deg, #1f2937, #374151);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: cardEnter 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(135deg, #dc2626, #3b82f6, #ffffff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

@keyframes cardEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-grid .feature-card:nth-child(1) {
    animation-delay: 0s;
}

.about-grid .feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.about-grid .feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.4), 0 15px 35px rgba(220, 38, 38, 0.3);
}

.feature-card:hover::before {
    background: linear-gradient(135deg, #ffffff, #3b82f6, #dc2626);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    animation: shimmerCard 4s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

@keyframes shimmerCard {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.4));
    position: relative;
    z-index: 2;
}

.feature-card h3 {
    font-size: 1.5rem;
    background: linear-gradient(90deg, #ffffff, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: #e5e7eb;
    line-height: 1.7;
    font-size: 1.1rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

/* Pricing Highlight */
.pricing-highlight {
    background: linear-gradient(135deg, #dc2626, #3b82f6, #ffffff, #3b82f6, #dc2626);
    background-size: 200% 200%;
    padding: 4rem 2rem;
    border-radius: 25px;
    text-align: center;
    margin: 4rem 0;
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.4), 0 15px 40px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
    animation: priceEnter 1s ease-out forwards, patrioticShift 8s ease infinite;
    transform: scale(0.95);
    opacity: 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

@keyframes priceEnter {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes patrioticShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.pricing-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.pricing-highlight h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.price {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    color: white;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.price span {
    font-size: 0.6em;
    font-weight: 400;
}

.pricing-highlight p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
}

/* Events Showcase Section */
.events-showcase {
    padding: 80px 20px;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #ffffff !important;
    max-width: 800px;
    margin: -2rem auto 4rem;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
    transition: all 0.3s ease;
}

/* Force blue area styling */
.section-intro.blue-area {
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
}

/* Force white area styling */
.section-intro.white-area {
    color: #374151 !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8) !important;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.event-card {
    background: linear-gradient(135deg, #1f2937, #374151);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.event-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(135deg, #3b82f6, #dc2626, #ffffff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

.event-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3), 0 15px 30px rgba(220, 38, 38, 0.2);
}

.event-card:hover::after {
    background: linear-gradient(135deg, #ffffff, #3b82f6, #dc2626);
}

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

.event-card:hover::before {
    left: 100%;
}

.event-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.4));
    animation: iconBounce 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.event-card:hover .event-icon {
    animation: iconSpin 0.6s ease;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.event-card h3 {
    font-size: 1.5rem;
    background: linear-gradient(90deg, #ffffff, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.event-card p {
    color: #e5e7eb;
    line-height: 1.7;
    font-size: 1.05rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

/* Fun Facts Section */
.fun-facts {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 4rem auto;
    flex-wrap: wrap;
    max-width: 900px;
}

.fun-fact {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(220, 38, 38, 0.2));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(59, 130, 246, 0.3);
    flex: 1;
    min-width: 150px;
    transition: all 0.3s ease;
}

.fun-fact:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.fact-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, #dc2626, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.fact-label {
    display: block;
    font-size: 0.95rem;
    color: #e5e7eb;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FAQ STYLES ===== */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(31, 41, 55, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: faqSlideIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateX(-20px);
}

@keyframes faqSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.faq-item:nth-child(1) { animation-delay: 0s; }
.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.3s; }
.faq-item:nth-child(5) { animation-delay: 0.4s; }
.faq-item:nth-child(6) { animation-delay: 0.5s; }

.faq-item:hover {
    background: rgba(31, 41, 55, 1);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::after {
    content: '▼';
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: #60a5fa;
    margin-left: 1rem;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-question:hover {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
    color: #e5e7eb;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* ===== FOOTER STYLES ===== */

.footer {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), #0f172a);
    border-top: 2px solid rgba(59, 130, 246, 0.3);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section {
    animation: footerSlideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes footerSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section:nth-child(1) { animation-delay: 0s; }
.footer-section:nth-child(2) { animation-delay: 0.1s; }
.footer-section:nth-child(3) { animation-delay: 0.2s; }

.footer-section h3 {
    font-size: 1.5rem;
    background: linear-gradient(90deg, #dc2626, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1.1rem;
    color: #60a5fa;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    color: #e5e7eb;
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

.social-link {
    display: inline-block;
    color: #60a5fa;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    margin: 0.5rem 0;
}

.social-link:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 1.5rem 1.5rem;
    }

    .footer-content {
        gap: 2rem;
        grid-template-columns: 1fr;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }
}

/* ===== CONTACT FORM STYLES ===== */

.contact-form {
    max-width: 700px;
    margin: 2rem auto;
    background: rgba(15, 23, 42, 0.7);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 15px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    animation: formSlideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes formSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#eventForm {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Form Section Dividers */
.form-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    margin-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-row .form-group:nth-child(n+3) {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e5e7eb;
    text-transform: none;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.form-group label::after {
    content: attr(data-required);
    color: #ef4444;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.95rem 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #4b5563;
    border-radius: 10px;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1), inset 0 0 0 1px rgba(96, 165, 250, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Roboto', sans-serif;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2360a5fa' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
}

/* Full-width fields */
.form-group.full-width {
    grid-column: 1 / -1;
}

.submit-btn {
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    margin-top: 1.5rem;
    align-self: center;
    width: 100%;
    max-width: 300px;
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1.2rem 1.8rem;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    z-index: 1001;
    max-width: 450px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(500px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(500px);
        opacity: 0;
    }
}

.notification-success {
    background: linear-gradient(135deg, #10b981, #059669);
    border-left: 4px solid #06b6d4;
}

.notification-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-left: 4px solid #f87171;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.8rem;
        margin: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .form-row .form-group:nth-child(n+3) {
        grid-column: 1;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

/* Mobile-specific animations that work with scaled positions */
.basketball.shooting {
    animation: mobileSwish 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
}

.football.throwing {
    animation: mobileFootballThrow 2s ease-out forwards !important;
}

.football.throwing-top {
    animation: mobileFootballThrow 2s ease-out forwards !important;
}

.football.throwing-middle {
    animation: mobileFootballThrow 2s ease-out forwards !important;
}

.football.throwing-bottom {
    animation: mobileFootballThrow 2s ease-out forwards !important;
}

/* Mobile basketball animation - adjusted for smaller scaled hoops */
@keyframes mobileSwish {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0px) rotate(0deg) scale(1);
        bottom: -200px;
        left: 50%;
    }
    20% {
        transform: translateX(-50%) translateY(-30px) rotate(45deg) scale(1.02);
        left: 50%;
    }
    40% {
        transform: translateX(-50%) translateY(-60px) rotate(120deg) scale(1.05);
        left: 50%;
    }
    60% {
        transform: translateX(-50%) translateY(-85px) rotate(240deg) scale(1.08);
        left: 50%;
    }
    75% {
        transform: translateX(-50%) translateY(-95px) rotate(360deg) scale(0.98);
        left: 50%;
        opacity: 1;
    }
    90% {
        transform: translateX(-50%) translateY(-100px) rotate(450deg) scale(0.8);
        left: 50%;
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-105px) rotate(540deg) scale(0.6);
        left: 50%;
    }
}

/* Mobile football animation - adjusted for smaller scaled football game */
@keyframes mobileFootballThrow {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0px) rotateZ(90deg) scale(1);
        bottom: -200px;
        left: 50%;
    }
    15% {
        transform: translateX(-50%) translateY(-40px) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
    }
    30% {
        transform: translateX(-50%) translateY(-70px) rotateZ(90deg) scale(1);
        left: 50%;
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(-95px) rotateZ(90deg) scale(0.9);
        left: 50%;
        opacity: 1;
    }
    70% {
        transform: translateX(-50%) translateY(-110px) rotateZ(90deg) scale(0.7);
        left: 50%;
        opacity: 0.5;
    }
    90% {
        transform: translateX(-50%) translateY(-115px) rotateZ(90deg) scale(0.3);
        left: 50%;
        opacity: 0.15;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-120px) rotateZ(90deg) scale(0);
        left: 50%;
    }
}