:root {
    --xmas-bg-color: #ffffff;
    --xmas-snow-color: rgba(255, 255, 255, 0.9);
    --xmas-magic-color: #fbbf24;
}

body.dark-mode {
    --xmas-bg-color: #0c111a;
    --xmas-snow-color: rgba(255, 255, 255, 0.8);
    --xmas-magic-color: #ffffff;

    background-color: var(--xmas-bg-color);
}

body {
    transition: background-color 0.8s ease;
}

/* Full Screen Animation Path */
.animation-track {
    position: fixed;
    bottom: 40px;
    right: -600px;
    z-index: 1000;
    pointer-events: none;
    animation: cartoonDrive 16s linear infinite;
}

@keyframes cartoonDrive {
    0% { right: -600px; }
    100% { right: 115%; }
}

/* Bouncing/Cartoon Motion */
.animation-track .cartoon-bounce {
    animation: bounce 0.6s ease-in-out infinite alternate;
    display: flex;
    align-items: center;
}

@keyframes bounce {
    from { transform: translateY(0) rotate(0deg); }
    to { transform: translateY(-20px) rotate(-1deg); }
}

.animation-track .santa-cartoon-svg {
    width: 450px;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3));
}

/* Realistic Snow System */
.snow-flake {
    position: fixed;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    filter: blur(1px);
    box-shadow: 0 0 5px rgba(255,255,255,0.8);
    animation: snowFall linear forwards, snowSway ease-in-out infinite alternate;
}

@keyframes snowFall {
    to { transform: translateY(110vh); }
}

@keyframes snowSway {
    from { margin-left: -25px; }
    to { margin-left: 25px; }
}

/* Magic Dust Particles */
.animation-track .magic-dust {
    position: absolute;
    right: 0;
    top: 60%;
    width: 6px;
    height: 6px;
    background: var(--xmas-magic-color);
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 1.2s linear infinite;
}

@keyframes sparkle {
    0% { transform: scale(0) translate(0, 0); opacity: 1; }
    100% { transform: scale(2) translate(100px, 50px); opacity: 0; }
}

/* Modal Styles */
.xmas-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: none; justify-content: center; align-items: center;
    z-index: 2000; backdrop-filter: blur(12px);
}

#xmasModal .modal-card {
    background: var(--xmas-bg-color);
    padding: 3rem;
    border-radius: 3rem;
    max-width: 500px;
    text-align: center;
    border: 8px solid #ef4444;
    position: relative;
    transform: scale(0.9);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn { to { transform: scale(1); } }

#xmasModal .btn {
    padding: 14px 28px !important;
    border-radius: 20px;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    font-family: 'Fredoka One', cursive;
}

#xmasModal .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 2rem;
    color: #ef4444;
}

#xmasModal .text-7xl  {
    font-size: 4.5rem;
    line-height: 1;
}
#xmasModal .mb-4 {
    margin-bottom: 1rem;
}

#xmasModal .text-red-600 {
    color:  #ef4444;
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 2.25rem;
}

#xmasModal .btn-theme { background: #0ea5e9; color: white; }
#xmasModal .btn-xmas { background: #ef4444; color: white; }
#xmasModal .btn:hover { transform: scale(1.05) translateY(-3px); }