/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    padding: 15px;
    animation: scaleIn 0.4s ease forwards;
    overflow: hidden;
}

@keyframes scaleIn {
    from { transform: scale(0.9); }
    to { transform: scale(1); }
}

.popup-banner {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.popup-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
    z-index: 2;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.popup-timer {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    padding: 5px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .popup-container {
        width: 95%;
        padding: 10px;
    }
    
    .popup-close {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }
    
    .popup-timer {
        font-size: 12px;
    }
}
