/* ===================================================
   Dukhan Age Verification — Electro Theme Style
   Primary: #fed700  |  Dark: #333e48  |  Font: Cairo
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

#dav-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

#dav-modal {
    background: #fff;
    border-radius: 14px;
    padding: 0;
    max-width: 380px;
    width: 88%;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    animation: dav-pop 0.35s ease;
    overflow: hidden;
}

@keyframes dav-pop {
    0%   { opacity: 0; transform: scale(0.92) translateY(12px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

#dav-modal-inner {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    color: #333e48;
    text-align: center;
    padding: 32px 28px 28px;
}

#dav-badge {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: #333e48;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#dav-badge svg {
    width: 38px;
    height: 38px;
    fill: #fed700;
}

#dav-title {
    font-size: 20px;
    font-weight: 800;
    color: #333e48;
    margin: 0 0 6px;
    line-height: 1.3;
}

#dav-text {
    font-size: 14px;
    color: #666;
    margin: 0 0 4px;
    line-height: 1.6;
}

#dav-subtext {
    font-size: 12px;
    color: #999;
    margin: 0 0 22px;
    line-height: 1.5;
}

.dav-btn {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    width: 100%;
    display: block;
    line-height: 1.4;
}

.dav-btn + .dav-btn {
    margin-top: 10px;
}

.dav-btn-primary {
    background: #fed700;
    color: #333e48;
}
.dav-btn-primary:hover {
    background: #ecc800;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(254, 215, 0, 0.35);
}

.dav-btn-secondary {
    background: #f2f2f2;
    color: #777;
}
.dav-btn-secondary:hover {
    background: #e5e5e5;
    color: #555;
}

#dav-underage-msg {
    display: none;
    margin-top: 16px;
    padding: 12px 14px;
    background: #fff3f3;
    border-radius: 10px;
    color: #c00;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #ffd7d7;
    line-height: 1.5;
}

html[dir="rtl"] #dav-modal-inner {
    direction: rtl;
}

@media (max-width: 480px) {
    #dav-modal {
        max-width: 320px;
        border-radius: 12px;
    }
    #dav-modal-inner {
        padding: 24px 22px 22px;
    }
    #dav-badge {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    #dav-badge svg {
        width: 32px;
        height: 32px;
    }
    #dav-title {
        font-size: 17px;
    }
    #dav-text {
        font-size: 13px;
    }
    #dav-subtext {
        font-size: 11px;
        margin-bottom: 18px;
    }
    .dav-btn {
        font-size: 13px;
        padding: 10px 16px;
    }
}
