@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700&family=Playfair+Display:wght@700&display=swap');

.wa-ramadan-overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0d0d0d;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.wa-ramadan-overlay-container.active {
    opacity: 1;
    visibility: visible;
}

.wa-ramadan-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #1a1a2e 0%, #0d0d0d 100%);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.wa-ramadan-overlay-inner {
    max-width: 800px;
    width: 100%;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border-radius: 40px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(255, 215, 0, 0.05);
    position: relative;
    z-index: 2;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 1s ease 0.3s, opacity 1s ease 0.3s;
}

.wa-ramadan-overlay-container.active .wa-ramadan-overlay-inner {
    transform: scale(1);
    opacity: 1;
}

.wa-crescent-moon {
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    animation: moon-float 4s ease-in-out infinite;
}

.wa-ramadan-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #FFD700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.wa-ramadan-message {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-weight: 300;
}

/* Loading Bar */
.wa-loading-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-top: 50px;
    overflow: hidden;
    position: relative;
}

.wa-loading-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #FFD700);
    box-shadow: 0 0 10px #FFD700;
}

/* Lantern Animation */
.wa-lanterns {
    position: absolute;
    top: 0;
    width: 100%;
    height: 200px;
    pointer-events: none;
}

.wa-lantern {
    position: absolute;
    width: 60px;
    height: 80px;
    background: #FFD700;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    opacity: 0.1;
    filter: blur(1px);
}

.wa-lantern:nth-child(1) { left: 10%; top: -20px; animation: lantern-swing 6s ease-in-out infinite; }
.wa-lantern:nth-child(2) { right: 10%; top: -40px; animation: lantern-swing 8s ease-in-out infinite; }

@keyframes moon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes lantern-swing {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(5deg) translateY(20px); }
}

/* Response */
@media (max-width: 768px) {
    .wa-ramadan-title {
        font-size: 2.2rem;
    }
    .wa-ramadan-message {
        font-size: 1.1rem;
    }
    .wa-ramadan-overlay-inner {
        padding: 40px 25px;
        margin: 15px;
    }
}
