/* ===== THEME DECORATIONS & ANIMATIONS ===== */

.theme-decoration {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* === SNOWFLAKES (Christmas) === */
.snowflake {
    position: absolute;
    top: -20px;
    color: #ffffff;
    font-size: 1.2em;
    opacity: 0.7;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 0.7; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

.snowflake:nth-child(1) { left: 5%; animation-duration: 8s; animation-delay: 0s; font-size: 1em; }
.snowflake:nth-child(2) { left: 15%; animation-duration: 10s; animation-delay: 1s; font-size: 1.4em; }
.snowflake:nth-child(3) { left: 25%; animation-duration: 7s; animation-delay: 2s; font-size: 0.9em; }
.snowflake:nth-child(4) { left: 35%; animation-duration: 12s; animation-delay: 0.5s; font-size: 1.1em; }
.snowflake:nth-child(5) { left: 45%; animation-duration: 9s; animation-delay: 3s; font-size: 1.3em; }
.snowflake:nth-child(6) { left: 55%; animation-duration: 11s; animation-delay: 1.5s; font-size: 0.8em; }
.snowflake:nth-child(7) { left: 65%; animation-duration: 8s; animation-delay: 4s; font-size: 1.2em; }
.snowflake:nth-child(8) { left: 75%; animation-duration: 10s; animation-delay: 2.5s; font-size: 1em; }
.snowflake:nth-child(9) { left: 85%; animation-duration: 7s; animation-delay: 0.8s; font-size: 1.5em; }
.snowflake:nth-child(10) { left: 95%; animation-duration: 9s; animation-delay: 3.5s; font-size: 0.9em; }

/* === BATS (Halloween) === */
.bat {
    position: absolute;
    font-size: 1.5em;
    color: #8b00ff;
    opacity: 0.4;
    animation: batfly linear infinite;
}

@keyframes batfly {
    0% { transform: translate(0, 0) scaleX(1); opacity: 0.4; }
    25% { transform: translate(25vw, -5vh) scaleX(-1); opacity: 0.6; }
    50% { transform: translate(50vw, 3vh) scaleX(1); opacity: 0.3; }
    75% { transform: translate(75vw, -8vh) scaleX(-1); opacity: 0.5; }
    100% { transform: translate(100vw, 0) scaleX(1); opacity: 0; }
}

.bat:nth-child(1) { top: 10%; left: -30px; animation-duration: 15s; animation-delay: 0s; }
.bat:nth-child(2) { top: 25%; left: -30px; animation-duration: 18s; animation-delay: 3s; font-size: 1.2em; }
.bat:nth-child(3) { top: 40%; left: -30px; animation-duration: 12s; animation-delay: 6s; font-size: 1.8em; }
.bat:nth-child(4) { top: 60%; left: -30px; animation-duration: 20s; animation-delay: 2s; }
.bat:nth-child(5) { top: 75%; left: -30px; animation-duration: 14s; animation-delay: 8s; font-size: 1.3em; }

/* === EASTER EGGS === */
.easter-egg {
    position: absolute;
    font-size: 1.4em;
    opacity: 0.5;
    animation: eggfloat ease-in-out infinite;
}

@keyframes eggfloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    50% { transform: translateY(-30px) rotate(15deg); opacity: 0.7; }
}

.easter-egg:nth-child(1) { top: 15%; left: 5%; animation-duration: 4s; animation-delay: 0s; }
.easter-egg:nth-child(2) { top: 30%; right: 8%; animation-duration: 5s; animation-delay: 1s; }
.easter-egg:nth-child(3) { top: 50%; left: 10%; animation-duration: 3.5s; animation-delay: 2s; }
.easter-egg:nth-child(4) { top: 70%; right: 5%; animation-duration: 4.5s; animation-delay: 0.5s; }
.easter-egg:nth-child(5) { top: 85%; left: 15%; animation-duration: 5.5s; animation-delay: 1.5s; }

/* === CUMHURIYET (Flags/Stars) === */
.cumhuriyet-star {
    position: absolute;
    color: #e30a17;
    font-size: 1.2em;
    opacity: 0.4;
    animation: startwinkle ease-in-out infinite;
}

@keyframes startwinkle {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

.cumhuriyet-star:nth-child(1) { top: 10%; left: 3%; animation-duration: 3s; }
.cumhuriyet-star:nth-child(2) { top: 20%; right: 5%; animation-duration: 4s; animation-delay: 0.5s; }
.cumhuriyet-star:nth-child(3) { top: 45%; left: 7%; animation-duration: 3.5s; animation-delay: 1s; }
.cumhuriyet-star:nth-child(4) { top: 65%; right: 3%; animation-duration: 2.5s; animation-delay: 1.5s; }
.cumhuriyet-star:nth-child(5) { top: 80%; left: 5%; animation-duration: 4.5s; animation-delay: 0.8s; }

/* === INDEPENDENCE (Stars & Fireworks) === */
.us-star {
    position: absolute;
    color: #002868;
    font-size: 1.3em;
    opacity: 0.4;
    animation: usstarshine ease-in-out infinite;
}

@keyframes usstarshine {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.4) rotate(180deg); opacity: 0.7; }
}

.us-star:nth-child(1) { top: 8%; left: 4%; animation-duration: 3s; color: #bf0a30; }
.us-star:nth-child(2) { top: 22%; right: 6%; animation-duration: 4s; animation-delay: 0.5s; }
.us-star:nth-child(3) { top: 42%; left: 8%; animation-duration: 3.5s; animation-delay: 1s; color: #bf0a30; }
.us-star:nth-child(4) { top: 62%; right: 4%; animation-duration: 2.8s; animation-delay: 1.5s; }
.us-star:nth-child(5) { top: 82%; left: 6%; animation-duration: 4.2s; animation-delay: 0.7s; color: #bf0a30; }

/* === THEME BANNER === */
.theme-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: bannerSlideIn 0.5s ease forwards;
    cursor: pointer;
    transition: opacity 0.3s;
}

.theme-banner:hover {
    opacity: 0.8;
}

@keyframes bannerSlideIn {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

[data-theme="christmas"] .theme-banner { background: linear-gradient(135deg, #c41e3a, #2d8b2d); color: #fff; }
[data-theme="halloween"] .theme-banner { background: linear-gradient(135deg, #ff6600, #8b00ff); color: #fff; }
[data-theme="easter"] .theme-banner { background: linear-gradient(135deg, #9b59b6, #e74c8b); color: #fff; }
[data-theme="cumhuriyet"] .theme-banner { background: linear-gradient(135deg, #e30a17, #ff2d3a); color: #fff; }
[data-theme="independence"] .theme-banner { background: linear-gradient(135deg, #002868, #bf0a30); color: #fff; }
[data-theme="dark"] .theme-banner { background: #1a1a2e; color: #9999aa; border: 1px solid rgba(255,255,255,0.1); }
