/* ====================================
   HOLIDAY EFFECTS & GREETINGS STYLES
   Luxury / Premium Design
   ==================================== */

/* ── Greeting Banner ── */
.holiday-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    transform: translateY(-120%);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.holiday-banner.visible {
    transform: translateY(0);
}

.holiday-banner.hiding {
    transform: translateY(-120%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 1, 1);
}

.holiday-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.holiday-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    padding: 18px 32px;
    position: relative;
    z-index: 2;
}

/* Animated shimmer */
.holiday-banner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 75%, transparent 100%);
    animation: bannerShimmer 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes bannerShimmer {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

.holiday-banner-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197,165,90,0.6), transparent);
    z-index: 2;
}

.holiday-ornament {
    font-size: 1.2rem;
    opacity: 0.7;
    animation: ornamentPulse 2s ease-in-out infinite;
}

.holiday-ornament:last-of-type {
    animation-delay: 1s;
}

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

.holiday-greeting {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    line-height: 1.5;
}

.holiday-close {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: inherit;
    font-size: 1.3rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}

.holiday-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg) scale(1.1);
}

/* ── Theme Banners (Glass-morphism) ── */
.holiday-new-year .holiday-banner-content {
    background: linear-gradient(135deg, rgba(26,26,46,0.94), rgba(15,52,96,0.94));
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    color: #FFD700;
    border-bottom: 1px solid rgba(255,215,0,0.2);
}
.holiday-uae-national .holiday-banner-content {
    background: linear-gradient(135deg, rgba(0,115,47,0.94), rgba(0,80,30,0.94));
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255,0,0,0.3);
}
.holiday-commemoration .holiday-banner-content {
    background: linear-gradient(135deg, rgba(44,62,80,0.95), rgba(52,73,94,0.95));
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.holiday-christmas .holiday-banner-content {
    background: linear-gradient(135deg, rgba(139,0,0,0.94), rgba(0,100,0,0.94));
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    color: #FFD700;
    border-bottom: 1px solid rgba(255,215,0,0.25);
}
.holiday-valentines .holiday-banner-content {
    background: linear-gradient(135deg, rgba(198,40,40,0.94), rgba(233,30,99,0.94));
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    color: #FFE4E1;
    border-bottom: 1px solid rgba(255,182,193,0.3);
}
.holiday-mothers-day .holiday-banner-content {
    background: linear-gradient(135deg, rgba(233,30,99,0.94), rgba(244,143,177,0.94));
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.holiday-ramadan .holiday-banner-content {
    background: linear-gradient(135deg, rgba(10,10,30,0.96), rgba(15,52,96,0.96));
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    color: #FFD700;
    border-bottom: 1px solid rgba(255,215,0,0.2);
}
.holiday-eid .holiday-banner-content {
    background: linear-gradient(135deg, rgba(26,26,46,0.95), rgba(75,0,130,0.94));
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    color: #FFD700;
    border-bottom: 1px solid rgba(255,215,0,0.25);
}
.holiday-islamic .holiday-banner-content {
    background: linear-gradient(135deg, rgba(0,77,37,0.95), rgba(0,100,0,0.95));
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    color: #FFD700;
    border-bottom: 1px solid rgba(255,215,0,0.2);
}
.holiday-labour-day .holiday-banner-content {
    background: linear-gradient(135deg, rgba(26,35,126,0.94), rgba(57,73,171,0.94));
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    color: #FFD700;
    border-bottom: 1px solid rgba(255,215,0,0.2);
}

/* ── Floating Particles ── */
.holiday-particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.holiday-particle {
    position: absolute;
    top: -50px;
    animation: holidayFallLux linear forwards;
    pointer-events: none;
    will-change: transform, opacity;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

@keyframes holidayFallLux {
    0%   { transform: translateY(0) translateX(0) rotate(0deg) scale(0.4); opacity: 0; }
    8%   { opacity: 1; transform: translateY(8vh) translateX(calc(var(--drift) * 0.2)) rotate(30deg) scale(1); }
    25%  { transform: translateY(25vh) translateX(calc(var(--drift) * -0.5)) rotate(90deg) scale(1.05); }
    50%  { transform: translateY(50vh) translateX(calc(var(--drift) * 0.8)) rotate(180deg) scale(1); opacity: 0.85; }
    75%  { transform: translateY(75vh) translateX(calc(var(--drift) * -0.3)) rotate(270deg) scale(0.95); opacity: 0.5; }
    100% { transform: translateY(105vh) translateX(var(--drift)) rotate(360deg) scale(0.7); opacity: 0; }
}

/* ── Snow (Luxury) ── */
.holiday-snow {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9997;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -30px;
    color: #fff;
    animation: snowLux linear infinite;
    pointer-events: none;
    text-shadow: 0 0 8px rgba(255,255,255,0.8), 0 0 20px rgba(200,220,255,0.3);
}

@keyframes snowLux {
    0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
    5%   { opacity: 1; }
    25%  { transform: translateY(25vh) translateX(15px) rotate(90deg); }
    50%  { transform: translateY(50vh) translateX(-10px) rotate(180deg); opacity: 0.85; }
    75%  { transform: translateY(75vh) translateX(20px) rotate(270deg); opacity: 0.6; }
    100% { transform: translateY(105vh) translateX(5px) rotate(360deg); opacity: 0; }
}

/* ── Lanterns (Ramadan) ── */
.holiday-lanterns {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9996;
    overflow: hidden;
}

.lantern {
    position: absolute;
    top: -5%;
    font-size: 2.5rem;
    animation: lanternSway ease-in-out infinite;
    filter: drop-shadow(0 4px 16px rgba(255,215,0,0.5));
    transform-origin: top center;
}

@keyframes lanternSway {
    0%, 100% { transform: rotate(-4deg) translateY(0); }
    25% { transform: rotate(3deg) translateY(-8px); }
    50% { transform: rotate(-2deg) translateY(-4px); }
    75% { transform: rotate(4deg) translateY(-12px); }
}

/* ── Firework Bursts ── */
.firework-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9996;
    overflow: hidden;
}

.firework-burst {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: fireworkPop 1.5s ease-out forwards;
}

@keyframes fireworkPop {
    0% {
        transform: scale(0);
        opacity: 1;
        box-shadow:
            0 0 0 0 currentColor,
            0 0 0 0 currentColor,
            0 0 0 0 currentColor,
            0 0 0 0 currentColor,
            0 0 0 0 currentColor,
            0 0 0 0 currentColor,
            0 0 0 0 currentColor,
            0 0 0 0 currentColor;
    }
    60% { opacity: 1; }
    100% {
        transform: scale(1);
        opacity: 0;
        box-shadow:
            -50px -50px 0 -1px currentColor,
            50px -50px 0 -1px currentColor,
            50px 50px 0 -1px currentColor,
            -50px 50px 0 -1px currentColor,
            0 -70px 0 -1px currentColor,
            70px 0 0 -1px currentColor,
            0 70px 0 -1px currentColor,
            -70px 0 0 -1px currentColor;
    }
}

/* ── Hero Glow ── */
.holiday-hero-glow {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    animation: glowPulseLux 5s ease-in-out infinite;
}

@keyframes glowPulseLux {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.75; }
}

/* Hero sparkle accent */
.holiday-active .hero::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 8%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255,215,0,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: sparkleOrbit 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes sparkleOrbit {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    33% { transform: translate(-15px, -25px) scale(1.3); opacity: 0.8; }
    66% { transform: translate(15px, 15px) scale(0.8); opacity: 0.3; }
}

/* ── Confetti ── */
.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    animation: confettiFly linear forwards;
    pointer-events: none;
}

@keyframes confettiFly {
    0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg) scale(0.3); opacity: 0; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .holiday-greeting { font-size: 0.85rem; }
    .holiday-banner-inner { padding: 14px 20px; }
    .holiday-ornament { display: none; }
    .holiday-particle { font-size: 12px !important; }
    .lantern { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .holiday-greeting { font-size: 0.78rem; }
    .holiday-banner-inner { padding: 12px 14px; gap: 10px; }
}
