/* public/css/adsblock.css */

/* --- Full Screen Overlay --- */
#adb-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95); /* High opacity to hide site */
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    padding: 20px; /* Prevents touching edges on small phones */
    box-sizing: border-box;
}

/* --- Compact Modal Box --- */
.adb-modal {
    background: #161616;
    border: 1px solid #2a2a2a;
    padding: 30px 25px; /* Tighter padding */
    border-radius: 16px;
    max-width: 340px; /* Smaller max width for compact look */
    width: 100%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
    animation: popup 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Icon --- */
.adb-icon-pulse {
    font-size: 42px; /* Smaller icon */
    color: #ef4444;
    margin-bottom: 15px;
    animation: pulse-red 2s infinite;
}

/* --- Title --- */
.adb-title {
    font-size: 20px; /* Smaller title */
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: -0.3px;
}

/* --- Text Body --- */
.adb-text {
    font-size: 13px; /* Compact, readable text */
    color: #a1a1aa;
    line-height: 1.5;
    margin-bottom: 20px;
}

.adb-text strong {
    color: #fff;
    font-weight: 600;
}

/* --- Button --- */
.adb-btn {
    width: 100%;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: white;
    border: none;
    padding: 12px; /* Slimmer button */
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.adb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

.adb-btn:active {
    transform: scale(0.97);
}

/* --- Footer Link --- */
.adb-footer {
    margin-top: 15px;
    font-size: 11px;
    color: #525252;
}

/* --- Animations --- */
@keyframes popup {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse-red {
    0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(239, 68, 68, 0.6)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 15px rgba(239, 68, 68, 0)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(239, 68, 68, 0)); }
}
