#adult-age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;  /* Increased z-index */
    backdrop-filter: blur(10px);
}

#adult-age-verification-modal > div {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

#adult-age-verification-modal h2 {
    margin-top: 0;
    font-size: 1.4em;
}

#adult-age-verification-modal p {
    font-size: 1em;
    margin: 15px 0;
}

#adult-age-verification-modal button {
    margin: 10px;
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background-color: #007BFF;
    color: #fff;
    border-radius: 4px;
    font-size: 1em;
    transition: background-color 0.2s;
}

#adult-age-verification-modal button:hover {
    background-color: #0056b3;
}

body.modal-open {
    overflow: hidden;
}

body.modal-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 99998;  /* Increased z-index */
}