.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 90px;
    background: var(--primary-color);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(14, 14, 14, 0.95) 0%, rgba(14, 14, 14, 0.5) 100%);
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    will-change: transform;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    will-change: transform;
}

.hero-video + .hero-image {
    display: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    margin-bottom: 11em;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards 0.5s;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards 0.8s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards 1.1s;
}

/* Hero Sponsors */
.hero-sponsors {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    z-index: 3;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.sponsors-label {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sponsors-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.sponsors-track {
    display: flex;
    width: max-content;
    gap: 40px;
    will-change: transform;
}

.sponsor-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
    background-color: white;
    flex: 0 0 auto;
    display: flex;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    min-width: 120px;
}

.sponsor-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.sponsor-item img {
    max-width: 80px;
    height: auto;
    transition: filter 0.3s ease;
}

.sponsor-item:hover img {
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Hover effect for sponsors */
.sponsors-carousel:hover .sponsors-track {
    /* JavaScript will handle hover effects */
}

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

/* Responsive hero */
@media (max-width: 768px) {
    .hero {
        height: auto;
        padding-top: 10rem;
        padding-bottom: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: clamp(2.3rem, 8vw, 2.8rem);
    }

    .hero-sponsors {
        bottom: 20px;
        padding: 15px 0;
    }

    .sponsors-label {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .sponsors-track {
        gap: 30px;
        animation-duration: 15s;
    }

    .sponsor-item {
        min-width: 100px;
    }

    .sponsor-item img {
        max-height: 30px;
    }

    /* Video optimization for mobile */
    .hero-video {
        object-position: center;
    }
}

@media (max-width: 480px) {
    .hero-sponsors {
        bottom: 10px;
        padding: 10px 0;
    }

    .sponsors-track {
        gap: 20px;
        animation-duration: 12s;
    }

    .sponsor-item {
        min-width: 80px;
    }

    .sponsor-item img {
        max-height: 25px;
    }

    /* Ensure video works on small screens */
    .hero-video {
        min-height: 100vh;
    }
}