/* ============================================
   DRONE FLY OUT ANIMATION (Close Action)
   ============================================ */

.fly-out-active .drone-animation {
    animation: droneFlyOut 1.2s cubic-bezier(0.6, 0.04, 0.98, 0.335) forwards !important;
    z-index: 2147483647 !important;
}

.fly-out-active .sponsor-popup {
    overflow: visible !important;
}

@keyframes droneFlyOut {
    0% {
        transform: scale(1) translate(0, 0) rotate(0deg);
        filter: blur(0px);
    }

    20% {
        transform: scale(0.8) translate(-20px, 20px) rotate(-10deg);
        filter: blur(0px);
    }

    100% {
        transform: scale(30) translate(-50px, -20px) rotate(20deg);
        opacity: 0;
        filter: blur(20px);
    }
}

/* Overlay */
.sponsor-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2147483647 !important;
    /* Max Z-Index */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.sponsor-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Main Popup */
.sponsor-popup {
    position: relative;
    width: 100%;
    max-width: 650px;
    background: #111;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.4) translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
    pointer-events: auto !important;
}

.sponsor-overlay.active .sponsor-popup {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* ============================================
   CENTER TRIGGER
   ============================================ */
.center-sponsor-trigger {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.3);
    width: 250px;
    height: 100px;
    z-index: 2147483646;
    /* Just below overlay */
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto !important;
    /* Force clickability */
}

.center-sponsor-trigger.move-to-corner {
    top: calc(100vh - 105px) !important;
    left: calc(100vw - 100px) !important;
    transform: translate(-50%, -50%) scale(0.4) !important;
    opacity: 0;
    pointer-events: none;
}

.center-sponsor-trigger.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(1.1);
    pointer-events: none;
}

.trigger-content {
    width: 200px;
    height: 60px;
    background: linear-gradient(135deg, #ff6200, #e05a00);
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: white;
    box-shadow: 0 10px 40px rgba(255, 98, 0, 0.4);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    pointer-events: none;
    /* Let parent handle events */
}

.center-sponsor-trigger:hover .trigger-content {
    transform: scale(1.05);
    /* Slight pulse on hover before expansion */
}

/* Content items... */
.trigger-content i {
    font-size: 24px;
    margin-bottom: 0;
}

.trigger-content span {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
}

.trigger-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 60px;
    border-radius: 8px;
    background: rgba(255, 98, 0, 0.3);
    z-index: 1;
    animation: centerPulse 2s infinite;
    pointer-events: none;
}

@keyframes centerPulse {
    0% {
        width: 200px;
        height: 60px;
        opacity: 0.8;
    }

    100% {
        width: 240px;
        height: 100px;
        opacity: 0;
    }
}

/* Initial Dim Overlay */
#initialDimOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2147483645;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

#initialDimOverlay.active {
    opacity: 1;
}

/* Floating Button */
.sponsor-float-btn {
    position: fixed;
    bottom: 80px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: linear-gradient(135deg, #ff6200, #e05a00);
    color: white;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    z-index: 99999;
    box-shadow: 0 4px 20px rgba(255, 98, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sponsor-float-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.sponsor-float-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 98, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sponsor-float-btn i {
    font-size: 16px;
}

.sponsor-float-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    background: inherit;
    z-index: -1;
    animation: floatPulse 2s ease-in-out infinite;
}

@keyframes floatPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* Drone, Content, Stats, etc unchanged but ensured visibility */
.drone-animation {
    position: absolute;
    top: 15px;
    right: 70px;
    width: 70px;
    height: 70px;
    z-index: 5;
    animation: droneFloat 4s ease-in-out infinite;
    pointer-events: none !important;
}

/* ... (Rest of drone/content styles) ... */
.drone-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 16px;
    background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 50%, #252525 100%);
    border-radius: 8px 8px 6px 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.drone-body::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 6px;
    background: linear-gradient(180deg, #222, #111);
    border-radius: 2px 2px 4px 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.drone-body::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #ff6200;
    border-radius: 50%;
    box-shadow: 0 0 4px #ff6200, 0 0 8px rgba(255, 98, 0, 0.6), 0 0 12px rgba(255, 98, 0, 0.3);
    animation: ledBlink 1.5s ease-in-out infinite;
}

.drone-arm {
    position: absolute;
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #2a2a2a, #404040, #2a2a2a);
    top: 50%;
    left: 50%;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.drone-arm:nth-child(2) {
    transform: translate(-50%, -50%) rotate(40deg);
}

.drone-arm:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-40deg);
}

.drone-arm::before,
.drone-arm::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(180deg, #444, #222);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.drone-arm::before {
    left: -2px;
}

.drone-arm::after {
    right: -2px;
}

.propeller-container {
    position: absolute;
    width: 22px;
    height: 22px;
}

.propeller-container:nth-child(4) {
    top: 0;
    left: 0;
}

.propeller-container:nth-child(5) {
    top: 0;
    right: 0;
}

.propeller-container:nth-child(6) {
    bottom: 0;
    left: 0;
}

.propeller-container:nth-child(7) {
    bottom: 0;
    right: 0;
}

.propeller {
    width: 100%;
    height: 100%;
    position: relative;
    animation: propellerSpin 0.08s linear infinite;
}

.propeller::before,
.propeller::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, rgba(100, 100, 100, 0.2), rgba(180, 180, 180, 0.5), rgba(100, 100, 100, 0.2));
    border-radius: 2px;
    filter: blur(0.5px);
}

.propeller::before {
    transform: translate(-50%, -50%);
}

.propeller::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.propeller-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 5px;
    background: #333;
    border-radius: 50%;
    z-index: 2;
}

@keyframes droneFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotate(-1deg);
    }

    20% {
        transform: translateY(-5px) translateX(2px) rotate(1deg);
    }

    40% {
        transform: translateY(-8px) translateX(-1px) rotate(0deg);
    }

    60% {
        transform: translateY(-4px) translateX(1px) rotate(-2deg);
    }

    80% {
        transform: translateY(-7px) translateX(-2px) rotate(1deg);
    }
}

@keyframes propellerSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes ledBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.drone-animation::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    filter: blur(4px);
    animation: droneShadow 4s ease-in-out infinite;
}

@keyframes droneShadow {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.3;
    }

    40% {
        transform: translateX(-50%) scale(0.7);
        opacity: 0.15;
    }
}

/* Close & Inner Styles */
.sponsor-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    pointer-events: auto !important;
}

.sponsor-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sponsor-close svg {
    width: 14px;
    height: 14px;
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 2;
}

.sponsor-close:hover svg {
    stroke: white;
}

.sponsor-content,
.sponsor-left,
.sponsor-right {
    display: contents;
}

.sponsor-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 30px 32px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none !important;
}

.sponsor-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.sponsor-title {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin: 0;
    letter-spacing: -0.3px;
}

.sponsor-title span {
    color: #ff6200;
}

.sponsor-subtitle {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    font-weight: 400;
}

.sponsor-achievements {
    display: flex;
    gap: 8px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.02);
    pointer-events: none !important;
}

.achievement-badge {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.achievement-badge:hover {
    background: rgba(255, 255, 255, 0.06);
}

.badge-icon {
    font-size: 16px;
    line-height: 1;
    color: #ff6200;
    width: 24px;
    text-align: center;
}

.badge-text {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

.badge-text span {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.benefits-title {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px 32px 12px;
    margin: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.04);
    margin: 0 32px;
    border-radius: 12px;
    overflow: hidden;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #111;
    transition: background 0.2s ease;
}

.benefit-item:hover {
    background: #161616;
}

.benefit-icon {
    font-size: 18px;
    line-height: 1;
    color: #ff6200;
    width: 28px;
    text-align: center;
}

.benefit-content h4 {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: white;
    margin: 0;
}

.benefit-content p {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin: 3px 0 0 0;
    line-height: 1.4;
}

.sponsor-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ff6200;
    line-height: 1;
}

.stat-label {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.sponsor-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 32px 24px;
    background: linear-gradient(180deg, transparent, rgba(255, 98, 0, 0.03));
    position: relative;
    z-index: 99999999 !important;
    pointer-events: auto !important;
}

.cta-text {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    flex: 1;
}

.cta-buttons {
    display: flex;
    gap: 8px;
    z-index: 99999999 !important;
    position: relative;
    pointer-events: auto !important;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: white;
    background: #ff6200;
    border: none;
    border-radius: 8px;
    cursor: pointer !important;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    z-index: 99999999 !important;
    pointer-events: auto !important;
}