/* Christmas Snow Effect */
.christmas-snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 9999;
}

.christmas-message-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.snowflake {
    position: absolute;
    top: -10px;
    font-size: 1em;
    font-family: Arial, sans-serif;
    pointer-events: none;
    animation: fall linear infinite;
}

.snowflake.white {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 0 15px rgba(255, 255, 255, 0.6);
}

.snowflake.blue {
    color: #b3e5fc;
    text-shadow: 0 0 8px rgba(179, 229, 252, 0.9), 0 0 15px rgba(179, 229, 252, 0.6);
}

.snowflake.silver {
    color: #e8e8e8;
    text-shadow: 0 0 8px rgba(232, 232, 232, 0.9), 0 0 15px rgba(192, 192, 192, 0.6);
}

.christmas-decoration {
    position: absolute;
    top: -10px;
    font-size: 1.5em;
    pointer-events: none;
    animation: decorationFall linear infinite, twinkle 2s ease-in-out infinite;
}

.christmas-decoration.star {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 1), 0 0 20px rgba(255, 215, 0, 0.8);
}

.christmas-decoration.light-red {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 1), 0 0 20px rgba(255, 107, 107, 0.8);
}

.christmas-decoration.light-green {
    color: #51cf66;
    text-shadow: 0 0 10px rgba(81, 207, 102, 1), 0 0 20px rgba(81, 207, 102, 0.8);
}

.christmas-decoration.light-blue {
    color: #74c0fc;
    text-shadow: 0 0 10px rgba(116, 192, 252, 1), 0 0 20px rgba(116, 192, 252, 0.8);
}

@keyframes fall {
    0% {
        transform: translateY(0vh) translateX(0) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translateY(25vh) translateX(10px) rotate(90deg);
        opacity: 0.9;
    }
    50% {
        transform: translateY(50vh) translateX(-10px) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(75vh) translateX(10px) rotate(270deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh) translateX(0) rotate(360deg);
        opacity: 0.3;
    }
}

@keyframes decorationFall {
    0% {
        transform: translateY(0vh) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(50vh) rotate(180deg) scale(1.2);
        opacity: 0.9;
    }
    100% {
        transform: translateY(100vh) rotate(360deg) scale(1);
        opacity: 0.4;
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        filter: brightness(1);
    }
    50% {
        opacity: 0.6;
        filter: brightness(1.5);
    }
}

/* Christmas Message */
.christmas-message {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.95));
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-family: 'Satisfy', cursive;
    font-size: 1.6rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(202, 21, 38, 0.25),
                0 4px 10px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    z-index: 5;
    animation: messageAppear 2s ease-out, gentleFloat 4s ease-in-out infinite;
    border: 3px solid var(--primary-color);
}

.christmas-message::before {
    content: '🎄 ';
    margin-right: 10px;
    font-size: 1.2em;
    filter: drop-shadow(0 2px 3px rgba(202, 21, 38, 0.3));
}

.christmas-message::after {
    content: ' 🎄';
    margin-left: 10px;
    font-size: 1.2em;
    filter: drop-shadow(0 2px 3px rgba(202, 21, 38, 0.3));
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes messageAppear {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-50px) scale(0.5);
    }
    70% {
        transform: translateX(-50%) translateY(10px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .christmas-message {
        font-size: 1.3rem;
        padding: 12px 28px;
        top: 10px;
    }

    .christmas-decoration {
        font-size: 1em;
    }
}

.snowflake:nth-of-type(1) {
    left: 1%;
    animation-duration: 10s;
    animation-delay: 0s;
    font-size: 1.2em;
}

.snowflake:nth-of-type(2) {
    left: 10%;
    animation-duration: 12s;
    animation-delay: 1s;
    font-size: 0.8em;
}

.snowflake:nth-of-type(3) {
    left: 20%;
    animation-duration: 8s;
    animation-delay: 2s;
    font-size: 1.5em;
}

.snowflake:nth-of-type(4) {
    left: 30%;
    animation-duration: 14s;
    animation-delay: 0.5s;
    font-size: 1em;
}

.snowflake:nth-of-type(5) {
    left: 40%;
    animation-duration: 11s;
    animation-delay: 1.5s;
    font-size: 1.3em;
}

.snowflake:nth-of-type(6) {
    left: 50%;
    animation-duration: 13s;
    animation-delay: 0s;
    font-size: 0.9em;
}

.snowflake:nth-of-type(7) {
    left: 60%;
    animation-duration: 9s;
    animation-delay: 2.5s;
    font-size: 1.1em;
}

.snowflake:nth-of-type(8) {
    left: 70%;
    animation-duration: 15s;
    animation-delay: 1s;
    font-size: 1.4em;
}

.snowflake:nth-of-type(9) {
    left: 80%;
    animation-duration: 10s;
    animation-delay: 0.8s;
    font-size: 0.7em;
}

.snowflake:nth-of-type(10) {
    left: 90%;
    animation-duration: 12s;
    animation-delay: 1.8s;
    font-size: 1.2em;
}

.snowflake:nth-of-type(11) {
    left: 5%;
    animation-duration: 11s;
    animation-delay: 3s;
    font-size: 1em;
}

.snowflake:nth-of-type(12) {
    left: 15%;
    animation-duration: 13s;
    animation-delay: 0.3s;
    font-size: 1.3em;
}

.snowflake:nth-of-type(13) {
    left: 25%;
    animation-duration: 9s;
    animation-delay: 1.2s;
    font-size: 0.9em;
}

.snowflake:nth-of-type(14) {
    left: 35%;
    animation-duration: 14s;
    animation-delay: 2s;
    font-size: 1.1em;
}

.snowflake:nth-of-type(15) {
    left: 45%;
    animation-duration: 10s;
    animation-delay: 0.7s;
    font-size: 1.5em;
}

.snowflake:nth-of-type(16) {
    left: 55%;
    animation-duration: 12s;
    animation-delay: 2.2s;
    font-size: 0.8em;
}

.snowflake:nth-of-type(17) {
    left: 65%;
    animation-duration: 11s;
    animation-delay: 1.5s;
    font-size: 1.2em;
}

.snowflake:nth-of-type(18) {
    left: 75%;
    animation-duration: 13s;
    animation-delay: 0.5s;
    font-size: 1.4em;
}

.snowflake:nth-of-type(19) {
    left: 85%;
    animation-duration: 9s;
    animation-delay: 2.8s;
    font-size: 1em;
}

.snowflake:nth-of-type(20) {
    left: 95%;
    animation-duration: 14s;
    animation-delay: 1.3s;
    font-size: 1.1em;
}
