/* ... existing styles ... */

/* Custom Scrollbar - Red Ball Style */
::-webkit-scrollbar {
    width: 16px;
    background: #0a0a12;
    /* Match bg */
}

::-webkit-scrollbar-thumb {
    background: radial-gradient(circle at 30% 30%, #ff4d4d, #cc0000);
    border-radius: 20px;
    border: 4px solid #0a0a12;
    /* Creates 'floating ball' look */
    min-height: 40px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

::-webkit-scrollbar-track {
    background: transparent;
}

/* Snowfall Container */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    /* Behind content but in front of background gradient */
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(105vh);
    }
}/* ... existing animations ... */

/* DRONE STYLES */
#drone {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    /* Start center-ish */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    /* On top of everything */
    pointer-events: none;
    /* Let clicks pass through so we can click again? 
                             Wait, if we click the drone, we might want to click *past* it. 
                             But if we want to click *to* move it, the click happens on document.
                             So pointer-events: none is good to avoid blocking other clicks. */
    transition: top 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        left 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.5));
}

/* Body */
.drone-body {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #1a1a24;
    border-radius: 5px;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px #00f2fe;
    /* Neon glow */
}

.drone-arm {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 4px;
    background: #333;
    transform: translate(-50%, -50%);
    border-radius: 2px;
}

.drone-arm.cross {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Propellers */
.propeller {
    position: absolute;
    width: 24px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: spin 0.1s linear infinite;
}

.propeller.tl {
    top: 0;
    left: 0;
    transform-origin: center;
    margin-top: -2px;
    margin-left: -12px;
}

.propeller.tr {
    top: 0;
    right: 0;
    transform-origin: center;
    margin-top: -2px;
    margin-right: -12px;
}

.propeller.bl {
    bottom: 0;
    left: 0;
    transform-origin: center;
    margin-bottom: -2px;
    margin-left: -12px;
}

.propeller.br {
    bottom: 0;
    right: 0;
    transform-origin: center;
    margin-bottom: -2px;
    margin-right: -12px;
}

/* Propeller Motors */
.motor {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #555;
    border-radius: 50%;
    z-index: 2;
}

.motor.tl {
    top: 2px;
    left: 2px;
}

.motor.tr {
    top: 2px;
    right: 2px;
}

.motor.bl {
    bottom: 2px;
    left: 2px;
}

.motor.br {
    bottom: 2px;
    right: 2px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Add a floating/hovering effect to the whole drone container locally if stationary? 
   No, it moves. Maybe add a bobbing animation to internal wrapper.
*//* Red Balloon Button */
.balloon-btn {
    position: relative;
    width: 120px;
    height: 140px;
    background: radial-gradient(circle at 30% 30%, #ff5e5e, #d00000);
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: inset -10px -10px 20px rgba(0, 0, 0, 0.2), 5px 10px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: floatBalloon 3s ease-in-out infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s;
    text-decoration: none;
    /* In case it's an anchor */
}

/* String */
.balloon-btn::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.6);
    transform: translateX(-50%);
    z-index: -1;
}

/* Knot */
.balloon-btn::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #d00000;
    transform: translateX(-50%);
    border-radius: 50%;
}

.balloon-btn:hover {
    transform: scale(1.05) translateY(-5px);
}

.balloon-btn span {
    font-size: 0.8rem;
    opacity: 0.9;
    pointer-events: none;
}

.balloon-btn strong {
    font-size: 1.2rem;
    display: block;
    margin-top: 5px;
    pointer-events: none;
}

@keyframes floatBalloon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* Pop Animation */
.balloon-popped {
    animation: popEffect 0.2s forwards !important;
}

@keyframes popEffect {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.8;
    }

    100% {
        transform: scale(0);
        opacity: 0;
    }
}/* Pulsing Glow Animation */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(79, 172, 254, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(79, 172, 254, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(79, 172, 254, 0);
    }
}

@keyframes pulseBorder {
    0% {
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }

    50% {
        border-color: rgba(255, 255, 255, 0.8);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

    100% {
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }
}

/* Enhanced Hero Buttons */
.hero-buttons .btn-primary {
    padding: 18px 45px;
    /* Larger */
    font-size: 1.2rem;
    animation: pulseGlow 2s infinite;
}

.hero-buttons .btn-secondary {
    padding: 18px 45px;
    /* Larger */
    font-size: 1.2rem;
    animation: pulseBorder 2s infinite;
    background: rgba(255, 255, 255, 0.05);
    /* Slight bg for visibility */
}

.hero-buttons .btn-primary:hover,
.hero-buttons .btn-secondary:hover {
    animation: none;
    /* Stop pulsing on hover */
    transform: scale(1.05);
}