/* ============================================
   NEW YEAR 2026 THEME
   Easy to enable/disable via config
   ============================================ */

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

.snowflake {
    position: absolute;
    top: -10px;
    color: #fff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: fall linear infinite;
    user-select: none;
}

/* Light theme - Default falling animation */
@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.7;
    }
}

/* Dark theme - Reduced opacity for falling snowflakes */
:root[data-theme="dark"] .snowflake {
    animation: fallDark linear infinite;
}

@keyframes fallDark {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}

/* Christmas Tree Image */
.ny-tree {
    height: 50px;
    width: auto;
    opacity: 0.9;
    margin-left: 15px;
    vertical-align: middle;
    display: inline-block;
}

/* Festive header glow */
header,
.nav-container {
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #ff0000, #00ff00, #ffd700, #ff0000
    );
    background-size: 200% 100%;
    animation: festiveGlow 3s linear infinite;
}

/* Static snowflakes on header */
.static-snowflake {
    position: absolute;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    user-select: none;
}

@keyframes festiveGlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* New Year badge - REMOVED */
/* Badge disabled per user request */

/* Confetti for buttons on hover - REMOVED */
/* Removed per user request */

/* Festive sparkles on important elements */
.ny-sparkle {
    position: relative;
    overflow: visible;
}

.ny-sparkle::before {
    content: '✨';
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 20px;
    animation: sparkle 2s ease-in-out infinite;
}

.ny-sparkle::after {
    content: '✨';
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 20px;
    animation: sparkle 2s ease-in-out infinite 1s;
}

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

/* Fireworks effect for special occasions */
.firework {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
}

/* New Year countdown or message banner */
.ny-banner {
    background: linear-gradient(90deg, #4a0080, #8b008b, #4a0080);
    background-size: 200% 100%;
    animation: bannerGradient 3s ease infinite;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@keyframes bannerGradient {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

/* Festive footer enhancement - REMOVED */
/* Footer message removed per user request */

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .ny-tree {
        display: none;
    }
    
    .snowflake {
        font-size: 0.6em;
    }
    
    /* Hide larger static snowflakes on mobile */
    .static-snowflake {
        font-size: 10px !important;
        opacity: 0.5 !important;
    }
}

/* Reduce animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .snowflake,
    .ny-badge,
    header::before,
    .ny-sparkle::before,
    .ny-sparkle::after,
    .ny-banner {
        animation: none;
    }
}
