/**
 * Ad Consent Popup Styles
 * One-time consent request for ads
 */

.ad-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.ad-consent-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.ad-consent-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    max-width: 500px;
    width: 90%;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    border: 2px solid rgba(96, 165, 250, 0.3);
    border-radius: 20px;
    padding: 0;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(96, 165, 250, 0.1);
}

.ad-consent-popup.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.ad-consent-content {
    padding: 40px 30px;
    text-align: center;
}

.ad-consent-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(147, 51, 234, 0.2));
    border: 2px solid rgba(96, 165, 250, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #60a5fa;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(96, 165, 250, 0.5);
        transform: scale(1.05);
    }
}

.ad-consent-popup h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 10px rgba(96, 165, 250, 0.3);
}

.ad-consent-popup p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.ad-consent-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.ad-consent-btn {
    flex: 1;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ad-consent-accept {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.ad-consent-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669, #047857);
}

.ad-consent-decline {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-consent-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

.ad-consent-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ad-consent-popup {
        width: 95%;
        max-width: none;
    }

    .ad-consent-content {
        padding: 30px 20px;
    }

    .ad-consent-popup h2 {
        font-size: 1.5rem;
    }

    .ad-consent-popup p {
        font-size: 0.95rem;
    }

    .ad-consent-buttons {
        flex-direction: column;
    }

    .ad-consent-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}
