/* Style pour l'overlay de detection de bloqueur de publicite */

#adblock-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(30, 30, 30, 0.70) 100%);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

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

#adblock-message {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px 45px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 550px;
    text-align: center;
    animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border: 3px solid #ff9800;
}

#adblock-message::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #ff9800, #ff5722, #ff9800);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.7;
    filter: blur(10px);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.adblock-content {
    position: relative;
}

.adblock-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #ff5722 0%, #ff9800 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(255, 87, 34, 0.6);
    }
}

.adblock-icon::before {
    content: '⚠';
    font-size: 48px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.adblock-content h2 {
    color: #212121;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    letter-spacing: -0.5px;
}

.adblock-content p {
    color: #424242;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.adblock-highlight {
    display: inline-block;
    background: linear-gradient(120deg, #fff3e0 0%, #ffe0b2 100%);
    padding: 2px 12px;
    border-radius: 6px;
    color: #e65100;
    font-weight: 700;
    margin: 0 2px;
    border: 1px solid #ffcc80;
}

.adblock-instruction {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: left;
    font-size: 15px;
    line-height: 1.6;
}

.adblock-instruction strong {
    color: #1976d2;
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.adblock-thanks {
    font-style: italic;
    color: #757575;
    margin-top: 25px;
    font-size: 15px;
    border-top: 2px solid #e0e0e0;
    padding-top: 20px;
}

/* Responsive pour mobile */
@media screen and (max-width: 600px) {
    #adblock-message {
        margin: 20px;
        padding: 35px 25px;
        max-width: 90%;
        border-radius: 15px;
    }

    #adblock-message::before {
        border-radius: 15px;
    }

    .adblock-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 20px;
    }

    .adblock-icon::before {
        font-size: 38px;
    }

    .adblock-content h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .adblock-content p {
        font-size: 15px;
    }

    .adblock-instruction {
        padding: 12px 15px;
        font-size: 14px;
    }

    .adblock-instruction strong {
        font-size: 15px;
    }

    .adblock-thanks {
        font-size: 14px;
        margin-top: 20px;
        padding-top: 15px;
    }
}
