/* Ramzan Popup Styles */
#ramzan-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Georgia', 'Times New Roman', serif;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

#ramzan-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

#ramzan-popup-content {
    background: linear-gradient(135deg, #0f3d2e 0%, #1a5c45 100%);
    color: #fff;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #d4af37; /* Gold border */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    text-align: center;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

#ramzan-popup-overlay.show #ramzan-popup-content {
    transform: translateY(0);
}

/* Islamic decoration corner patterns */
#ramzan-popup-content::before,
#ramzan-popup-content::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h80v80H0z' fill='none'/%3E%3Cpath d='M0 0v20c0 10 10 20 20 20h20v-5h-15c-8 0-15-7-15-15V5h-5v15zM60 0v5h15v15c0 8-7 15-15 15h-15v5h20c10 0 20-10 20-20V0h-25z' fill='%23d4af37' opacity='0.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    pointer-events: none;
}

#ramzan-popup-content::before {
    top: 0;
    left: 0;
}

#ramzan-popup-content::after {
    top: 0;
    right: 0;
    transform: scaleX(-1);
}

.ramzan-header {
    font-size: 1.8rem;
    color: #d4af37; /* Gold */
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.ramzan-main-text {
    font-size: 2.5rem;
    color: #ffffff;
    margin: 15px 0;
    font-weight: bold;
    line-height: 1.2;
}

.ramzan-footer {
    font-size: 1rem;
    color: #a8d5c4;
    margin-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 15px;
}

.ramzan-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #d4af37;
    font-size: 2rem;
    cursor: pointer;
    line-height: 20px;
    transition: color 0.3s;
    user-select: none;
}

.ramzan-close:hover {
    color: #fff;
}

/* Animations */
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.ramzan-main-text {
    animation: pulse-gold 2s infinite;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    #ramzan-popup-content {
        width: 95%;
        padding: 20px;
    }
    .ramzan-header {
        font-size: 1.4rem;
    }
    .ramzan-main-text {
        font-size: 2rem;
    }
}
