/* ============================
       SPONSORS SECTION - ULTRA PREMIUM
       =============================*/
.sponsors-section {
    background: linear-gradient(135deg, #0F122A 0%, #1A1D35 40%, #0F122A 70%, #2D3748 100%);
    min-height: 100vh;
    padding: 120px 20px;
    color: #e7e0d8;
    position: relative;
    overflow: hidden;
}

/* Animated background effects */
.sponsors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(172, 157, 141, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(108, 122, 137, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(231, 224, 216, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Animated grid pattern */
.sponsors-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(172, 157, 141, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(172, 157, 141, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

.sponsors-section .container {
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ============================
       SECTION HEADER - ENHANCED
       =============================*/
.sponsors-section .section-header {
    text-align: center;
    margin-bottom: 100px;
    position: relative;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sponsors-section .section-title {
    font-family: "Montserrat", sans-serif;
    font-size: 4.2rem;
    font-weight: 900;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #ac9d8d 0%, #e7e0d8 25%, #FFFFFF 50%, #e7e0d8 75%, #6c7a89 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(172, 157, 141, 0.4);
    letter-spacing: -0.02em;
    position: relative;
}

.sponsors-section .section-title::after {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ac9d8d, #e7e0d8, #ac9d8d, transparent);
    border-radius: 2px;
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 15px rgba(172, 157, 141, 0.4);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 30px rgba(172, 157, 141, 0.6);
    }
}

.sponsors-section .section-subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #c4b5a6;
    max-width: 700px;
    margin: 35px auto 0;
    line-height: 1.8;
    opacity: 0.95;
}

/* ============================
       SPONSOR TIERS - ENHANCED
       =============================*/
.sponsor-tier {
    margin-bottom: 90px;
    position: relative;
    animation: fadeInUp 0.8s ease-out backwards;
}

.sponsor-tier:nth-child(1) { animation-delay: 0.2s; }
.sponsor-tier:nth-child(2) { animation-delay: 0.3s; }
.sponsor-tier:nth-child(3) { animation-delay: 0.4s; }

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

.tier-header {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.tier-badge {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 40px;
    border-radius: 60px;
    border: 2px solid;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Animated shine effect */
.tier-badge::before {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: all 0.6s ease;
    transform: rotate(0deg);
}

.tier-badge:hover::before {
    opacity: 1;
    transform: rotate(45deg);
    animation: shine 1.5s ease infinite;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

/* Platinum Tier - Enhanced */
.tier-badge.platinum {
    background: linear-gradient(135deg, rgba(172, 157, 141, 0.20), rgba(231, 224, 216, 0.15), rgba(172, 157, 141, 0.20));
    border-color: #ac9d8d;
    box-shadow: 
        0 8px 32px rgba(172, 157, 141, 0.4),
        0 0 60px rgba(172, 157, 141, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tier-badge.platinum:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 15px 50px rgba(172, 157, 141, 0.5),
        0 0 80px rgba(172, 157, 141, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: #e7e0d8;
}

/* Gold Tier - Enhanced */
.tier-badge.gold {
    background: linear-gradient(135deg, rgba(231, 224, 216, 0.18), rgba(172, 157, 141, 0.15), rgba(231, 224, 216, 0.18));
    border-color: #e7e0d8;
    box-shadow: 
        0 8px 32px rgba(231, 224, 216, 0.35),
        0 0 60px rgba(231, 224, 216, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.tier-badge.gold:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 15px 50px rgba(231, 224, 216, 0.45),
        0 0 80px rgba(231, 224, 216, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-color: #FFFFFF;
}

/* Bronze Tier - Enhanced */
.tier-badge.bronze {
    background: linear-gradient(135deg, rgba(108, 122, 137, 0.18), rgba(74, 85, 104, 0.15), rgba(108, 122, 137, 0.18));
    border-color: #6c7a89;
    box-shadow: 
        0 8px 32px rgba(108, 122, 137, 0.35),
        0 0 60px rgba(108, 122, 137, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tier-badge.bronze:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 15px 50px rgba(108, 122, 137, 0.45),
        0 0 80px rgba(108, 122, 137, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: #8a9aa9;
}

.tier-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: iconFloat 3s ease-in-out infinite;
}

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

.tier-title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #e7e0d8;
    margin: 0;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ============================
       SPONSORS SCROLLING - ULTRA ENHANCED
       =============================*/
.sponsors-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 8%,
            black 92%,
            transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 8%,
            black 92%,
            transparent 100%);
}

.sponsors-track {
    display: flex;
    align-items: center;
    animation: scroll-right 30s linear infinite;
    width: fit-content;
    gap: 70px;
}

/* Different speeds for tiers */
.platinum-track {
    animation-duration: 25s;
}

.gold-track {
    animation-duration: 30s;
}

.bronze-track {
    animation-duration: 35s;
}

/* ============================
       SPONSOR LOGO - PREMIUM DESIGN
       =============================*/
.sponsor-logo {
    flex-shrink: 0;
    width: 220px;
    height: 110px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(172, 157, 141, 0.25);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Tier-specific logo styles */
.platinum-track .sponsor-logo {
    width: 280px;
    height: 140px;
        background-color: white;


}

.gold-track .sponsor-logo {
    width: 240px;
    height: 120px;
    background-color: white;
}

.bronze-track .sponsor-logo {
    width: 200px;
    height: 100px;
    
}

/* Shimmer effect overlay */
.sponsor-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: all 0.6s ease;
    transform: rotate(0deg);
}

/* Glow effect on hover */
.sponsor-logo::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.sponsor-logo:hover {
    transform: translateY(-15px) scale(1.08);
    /* border-color: rgba(231, 224, 216, 0.6); */
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(172, 157, 141, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.sponsor-logo:hover::before {
    opacity: 1;
    transform: rotate(45deg);
    animation: shine 1.5s ease infinite;
}

.sponsor-logo:hover::after {
    opacity: 1;
}

/* Platinum hover effects */
.platinum-track .sponsor-logo:hover {
    box-shadow: 
        0 25px 60px rgba(172, 157, 141, 0.4),
        0 0 80px rgba(172, 157, 141, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Gold hover effects */
.gold-track .sponsor-logo:hover {
    box-shadow: 
        0 25px 60px rgba(231, 224, 216, 0.35),
        0 0 80px rgba(231, 224, 216, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Bronze hover effects */
.bronze-track .sponsor-logo:hover {
    box-shadow: 
        0 25px 60px rgba(108, 122, 137, 0.35),
        0 0 80px rgba(108, 122, 137, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0.85) contrast(1.2) saturate(0.9);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.sponsor-logo:hover img {
    filter: brightness(1.1) contrast(1.1) saturate(1.1);
    transform: scale(1.05);
}

/* ============================
       SCROLLING ANIMATION
       =============================*/
@keyframes scroll-right {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.sponsors-scroll-container:hover .sponsors-track {
    animation-play-state: paused;
}

/* Smooth pause effect */
.sponsors-track {
    will-change: transform;
}

/* ============================
       RESPONSIVE DESIGN
       =============================*/
@media (max-width: 1024px) {
    .sponsors-section {
        padding: 100px 20px;
    }

    .sponsors-section .section-title {
        font-size: 3.5rem;
    }

    .sponsors-section .section-subtitle {
        font-size: 1.15rem;
    }

    .sponsor-tier {
        margin-bottom: 70px;
    }

    .sponsors-track {
        gap: 50px;
    }

    .platinum-track .sponsor-logo {
        width: 240px;
        height: 120px;
    }

    .gold-track .sponsor-logo {
        width: 210px;
        height: 105px;
    }

    .bronze-track .sponsor-logo {
        width: 180px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .sponsors-section {
        padding: 80px 15px;
    }

    .sponsors-section .section-header {
        margin-bottom: 70px;
    }

    .sponsors-section .section-title {
        font-size: 2.8rem;
    }

    .sponsors-section .section-subtitle {
        font-size: 1.05rem;
    }

    .tier-badge {
        padding: 15px 30px;
        gap: 15px;
    }

    .tier-title {
        font-size: 1.3rem;
    }

    .tier-icon {
        font-size: 1.5rem;
    }

    .sponsors-track {
        gap: 40px;
    }

    .sponsor-logo,
    .platinum-track .sponsor-logo,
    .gold-track .sponsor-logo {
        width: 180px;
        height: 90px;
        padding: 20px;
    }

    .bronze-track .sponsor-logo {
        width: 160px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .sponsors-section {
        padding: 70px 15px;
    }

    .sponsors-section .section-header {
        margin-bottom: 60px;
    }

    .sponsors-section .section-title {
        font-size: 2.2rem;
    }

    .sponsors-section .section-title::after {
        width: 80px;
        height: 3px;
    }

    .sponsors-section .section-subtitle {
        font-size: 1rem;
    }

    .sponsor-tier {
        margin-bottom: 50px;
    }

    .tier-badge {
        padding: 12px 24px;
        gap: 12px;
        flex-direction: column;
        text-align: center;
    }

    .tier-title {
        font-size: 1.1rem;
    }

    .tier-icon {
        font-size: 1.8rem;
    }

    .sponsors-track {
        gap: 30px;
    }

    .sponsor-logo,
    .platinum-track .sponsor-logo,
    .gold-track .sponsor-logo {
        width: 140px;
        height: 70px;
        padding: 15px;
        border-radius: 14px;
    }

    .bronze-track .sponsor-logo {
        width: 130px;
        height: 65px;
    }
}

/* ============================
       ACCESSIBILITY
       =============================*/
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .sponsors-track {
        animation: none;
    }

    .sponsor-logo:hover,
    .tier-badge:hover {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .sponsor-logo {
        border-color: rgba(231, 224, 216, 0.6);
        background: rgba(15, 18, 42, 0.9);
    }

    .tier-badge {
        border-width: 3px;
    }

    .sponsors-section .section-title {
        -webkit-text-fill-color: #e7e0d8;
    }
}

/* Focus styles for keyboard navigation */
.sponsor-logo:focus-visible {
    outline: 3px solid #e7e0d8;
    outline-offset: 4px;
}

.tier-badge:focus-visible {
    outline: 3px solid #e7e0d8;
    outline-offset: 4px;
}

/* Animation keyframes for gradient shift */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Print styles */
@media print {
    .sponsors-section {
        background: #FFFFFF;
        color: #000000;
    }

    .sponsor-logo {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000000;
    }

    .sponsors-track {
        animation: none;
        flex-wrap: wrap;
    }
}