/* Age Gate Overlay */
#mvp-age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Ensure it's on top */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

#mvp-age-gate-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Age Gate Popup */
#mvp-age-gate-popup {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: translateY(20px); /* Start slightly below center */
    transition: transform 0.5s ease-in-out;
}

#mvp-age-gate-overlay.is-visible #mvp-age-gate-popup {
    transform: translateY(0); /* Move to center */
}

#mvp-age-gate-popup h2 {
    margin-top: 0;
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
}

#mvp-age-gate-popup .mvp-age-gate-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

#mvp-age-gate-popup button {
    background-color: #0073aa; /* WordPress blue */
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

#mvp-age-gate-popup button:hover {
    background-color: #005177;
}

#mvp-age-gate-popup button#mvp-age-gate-no {
    background-color: #dc3232; /* Red for No */
}

#mvp-age-gate-popup button#mvp-age-gate-no:hover {
    background-color: #a02020;
}

#mvp-age-gate-popup .mvp-age-gate-remember {
    margin-top: 15px;
    font-size: 0.9em;
    color: #555;
}

#mvp-age-gate-popup .mvp-age-gate-remember input[type="checkbox"] {
    margin-right: 5px;
}

/* Underage Message */
#mvp-underage-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    text-align: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

#mvp-underage-message.is-visible {
    opacity: 1;
    visibility: visible;
}