/* Новогодняя шапка Санты */
.santa-hat {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    color: #d32f2f;
    z-index: 1000;
    animation: hatWiggle 2s ease-in-out infinite alternate;
}

@keyframes hatWiggle {
    0% { transform: translateX(-50%) rotate(-5deg); }
    100% { transform: translateX(-50%) rotate(5deg); }
}

/* Адаптивность для шапки */
@media (max-width: 768px) {
    .santa-hat {
        font-size: 20px;
        top: -25px;
    }
}

/* Падающий снег */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0.8;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Новогодняя тема для темного режима */
[data-theme="dark"] .santa-hat {
    color: #ff6b6b;
}

[data-theme="dark"] .snowflake {
    background-color: #e0e0e0;
    opacity: 0.9;
}