/* New Year & Christmas Effects */

/* --- 1. Snow Effect --- */
.snowflake {
    position: fixed;
    top: -10px;
    z-index: 9999;
    color: #fff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px #000;
    user-select: none;
    pointer-events: none;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

/* --- 2. Christmas Lights --- */
.christmas-lights-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    z-index: 10000;
    pointer-events: none;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.christmas-light {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 0 15px;
    top: -10px;
    background: #f00;
    box-shadow: 0 5px 24px 3px #f00;
    animation: flash 2s infinite alternate;
}

.christmas-light::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 7px;
    width: 6px;
    height: 10px;
    background: #222;
}

.christmas-light:nth-child(2n) {
    background: #0f0;
    box-shadow: 0 5px 24px 3px #0f0;
    animation-delay: 0.5s;
}

.christmas-light:nth-child(3n) {
    background: #ff0;
    box-shadow: 0 5px 24px 3px #ff0;
    animation-delay: 1s;
}

.christmas-light:nth-child(4n) {
    background: #00f;
    box-shadow: 0 5px 24px 3px #00f;
    animation-delay: 1.5s;
}

@keyframes flash {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.5;
        transform: translateY(2px);
    }
}

/* Wire connecting lights */
.christmas-wire {
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 20px;
    border-bottom: 2px solid #222;
    border-radius: 50%;
    z-index: 9999;
}

/* --- 3. Hanging Santa on Logo --- */
.hanging-santa-decoration {
    position: absolute;
    /* Position below the logo */
    top: 85%;
    right: 10px;
    /* Hang from the right side */
    width: 45px;
    height: auto;
    z-index: 50;
    pointer-events: none;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
    /* Swing animation */
    transform-origin: top center;
    animation: santa-swing 3s ease-in-out infinite alternate;
}

@keyframes santa-swing {
    0% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(-5deg);
    }
}