/* Fundo escuro desfocado */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Fundo escuro */
    backdrop-filter: blur(8px); /* Efeito de desfoque */
    -webkit-backdrop-filter: blur(8px); /* Para Safari */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

/* Modal centralizado */
.modal {
    background: #222;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    width: 90%;
    max-width: 400px;
    position: relative;
}

/* Impedir scroll */
body.no-scroll {
    overflow: hidden;
}

/* Estilos do modal */
.modal h2 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 10px;
}

.modal p {
    color: #bbb;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Botões */
.btn {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 6px;
}

/* Mudando a cor para roxo */
.purple {
    background: #8A2BE2; /* Roxo */
    color: #fff;
}

.gray {
    background: #444;
    color: #fff;
}

.btn:hover {
    opacity: 0.8;
}






















/* Estilos do aviso de cookies */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #000;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 500px;
    width: 100%;
    z-index: 9999;
}

/* Botão de aceitar cookies */
.btn-cookie {
    background: #E50914;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-cookie:hover {
    background: #c40812;
}
