/**
 * Advertisement Popup Styles
 */

.ad-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.ad-popup-overlay.active {
    opacity: 1;
}

.ad-popup-container {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid #334155;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.ad-popup-overlay.active .ad-popup-container {
    transform: scale(1);
}

.ad-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
    font-weight: 300;
    line-height: 1;
}

.ad-popup-close:hover {
    background: #dc2626;
    transform: rotate(90deg);
}

.ad-popup-content {
    padding: 32px;
}

.ad-popup-image {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ad-popup-image img {
    width: 100%;
    height: auto;
    display: block;
}

.ad-popup-text {
    text-align: center;
}

.ad-popup-title {
    font-size: 28px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 16px;
    line-height: 1.3;
}

.ad-popup-description {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 24px;
    line-height: 1.6;
}

.ad-popup-button {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.ad-popup-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.ad-popup-label {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .ad-popup-container {
        max-width: 90%;
    }
    
    .ad-popup-content {
        padding: 24px;
    }
    
    .ad-popup-title {
        font-size: 22px;
    }
    
    .ad-popup-description {
        font-size: 14px;
    }
    
    .ad-popup-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ad-popup-overlay {
        padding: 10px;
    }
    
    .ad-popup-content {
        padding: 20px;
    }
    
    .ad-popup-title {
        font-size: 20px;
    }
}
