/* Christmas Lights Container - POTPUNO SIGURAN */
#christmas-lights-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

#christmas-lights-container.hidden {
    display: none;
}

#christmas-lights-container .light-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
}

#christmas-lights-container .cable {
    width: 2px;
    background: linear-gradient(to bottom, #8B4513, #654321);
    position: relative;
    z-index: 1;
}

#christmas-lights-container .bulb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    filter: brightness(0.3);
    z-index: 2;
}

#christmas-lights-container .bulb.on {
    filter: brightness(1.2);
    animation: christmasGlow 1.5s ease-in-out infinite alternate;
}

#christmas-lights-container .bulb::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 3px;
    width: 10px;
    height: 5px;
    background: #aaa;
    border-radius: 50% 50% 0 0;
    transform: rotate(45deg);
    z-index: 3;
}

#christmas-lights-container .bulb::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), transparent 60%);
    z-index: 4;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#christmas-lights-container .bulb.on::before {
    opacity: 1;
}

@keyframes christmasGlow {
    from {
        filter: brightness(1.2) drop-shadow(0 0 5px var(--bulb-color)) drop-shadow(0 0 10px var(--bulb-color)) drop-shadow(0 0 15px var(--bulb-color));
        box-shadow: 
            0 0 5px var(--bulb-color),
            0 0 10px var(--bulb-color),
            0 0 15px var(--bulb-color),
            inset 0 0 10px rgba(255, 255, 255, 0.3);
    }
    to {
        filter: brightness(1.4) drop-shadow(0 0 8px var(--bulb-color)) drop-shadow(0 0 16px var(--bulb-color)) drop-shadow(0 0 24px var(--bulb-color));
        box-shadow: 
            0 0 8px var(--bulb-color),
            0 0 16px var(--bulb-color),
            0 0 24px var(--bulb-color),
            inset 0 0 15px rgba(255, 255, 255, 0.4);
    }
}

/* Toggle Button - SIGURAN */
#lights-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2c3e50;
    border: 2px solid #ecf0f1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    padding: 0;
}

#lights-toggle:hover {
    transform: scale(1.1);
    background: #34495e;
}

#lights-toggle:active {
    transform: scale(0.95);
}

#lights-toggle.lights-off {
    background: #7f8c8d;
    opacity: 0.8;
}

#lights-toggle.lights-off:hover {
    background: #95a5a6;
}

/* Snowflakes */
#snowflakes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
}

#snowflakes-container.hidden {
    display: none;
}

.snowflake {
    position: absolute;
    color: white;
    font-size: 20px;
    user-select: none;
    pointer-events: none;
    opacity: 0.8;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    #christmas-lights-container .bulb {
        width: 12px;
        height: 12px;
    }
    
    #christmas-lights-container .bulb::after {
        width: 8px;
        height: 4px;
    }
    
    #lights-toggle {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 15px;
        right: 15px;
    }
}