/* --- Seasonal Effects System --- */

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

/* --- WINTER: 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;
}

/* --- SPRING: Cherry Blossom (Sakura) Types --- */
.sakura-petal {
    position: fixed;
    background-color: #ffb7c5;
    border-radius: 100% 0 100% 0;
    z-index: 9999;
    user-select: none;
    pointer-events: none;
    animation-name: fall-rotate;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    opacity: 0.8;
}

/* --- SUMMER: Sun & Rays --- */
.summer-sun-container {
    position: fixed;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    z-index: 9998; /* Behind content if needed, but here fixed overlay */
    pointer-events: none;
    background: radial-gradient(circle, rgba(255,255,0,0.8) 0%, rgba(255,165,0,0.4) 40%, rgba(255,255,255,0) 70%);
    opacity: 0.6;
    animation: sun-pulse 5s infinite alternate;
}

.summer-ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 2px;
    background: rgba(255, 255, 200, 0.3);
    transform-origin: 0 0;
    animation: ray-rotate 20s linear infinite;
}

/* --- AUTUMN: Falling Leaves --- */
.autumn-leaf {
    position: fixed;
    z-index: 9999;
    width: 15px;
    height: 15px;
    background-color: #d35400;
    border-radius: 2px 10px;
    user-select: none;
    pointer-events: none;
    animation-name: fall-sway;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* --- Hanging Decoration Shared --- */
.hanging-decoration {
    position: absolute; /* Relative to parent (header logo container) */
    top: 90%;
    right: 10px;
    width: 45px;
    height: auto;
    z-index: 50;
    pointer-events: none;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
    transform-origin: top center;
    animation: swing-gentle 3s ease-in-out infinite alternate;
}

/* Animations */
@keyframes fall {
    to { transform: translateY(105vh); }
}

@keyframes fall-rotate {
    0% { transform: translateY(-10vh) rotate(0deg) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(105vh) rotate(360deg) translateX(50px); opacity: 0; }
}

@keyframes fall-sway {
    0% { transform: translateY(-10vh) rotate(0deg) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    25% { transform: translateX(20px) rotate(45deg); }
    50% { transform: translateY(50vh) translateX(-20px) rotate(90deg); }
    75% { transform: translateX(20px) rotate(135deg); }
    100% { transform: translateY(105vh) rotate(180deg) translateX(0); opacity: 0; }
}

@keyframes sun-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.7; }
}

@keyframes ray-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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