/* ============================================
   MODAL.CSS — Age verification modal
   ============================================ */

/* --- Overlay --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Modal Box --- */
.modal {
    background: white;
    border-radius: 16px;
    padding: 48px 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    position: relative;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--red), var(--orange));
    border-radius: 16px 16px 0 0;
}

.modal-icon {
    font-size: 56px;
    margin-bottom: 16px;
    display: block;
}

.modal h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text);
}

.modal p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 28px;
}

/* --- Buttons --- */
.modal-btns {
    display: flex;
    gap: 10px;
}

.modal-confirm {
    flex: 1;
    background: var(--orange);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 13px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-confirm:hover {
    background: var(--orange-dark);
}

.modal-cancel {
    flex: 1;
    background: none;
    color: var(--text-light);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 13px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.modal-cancel:hover {
    border-color: var(--red);
    color: var(--red);
}

.modal-mention {
    font-size: 10px;
    color: var(--text-lighter);
    margin-top: 16px;
}

/* ============================================
   RESPONSIVE — Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
    .modal {
        padding: 36px 24px;
    }

    .modal-icon {
        font-size: 44px;
    }

    .modal h2 {
        font-size: 18px;
    }

    .modal-btns {
        flex-direction: column;
    }

    .modal-confirm,
    .modal-cancel {
        width: 100%;
    }
}
