:root {
    --bg: #000;
    --accent: #e80040;
    --text: #fff;
    --glass: rgba(255, 255, 255, 0.08);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* BASE */
html,
body {
    height: 100%;
    width: 100%;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* CONTENEDOR GENERAL */
.contenedor-principal {
    width: 100vw;
    height: 100vh;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-image: url("../../imagenes/background_principal.webp");
    background-size: cover;
    background-position: center;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;

    /* ★ CLAVE PARA QUE TODO SE VEA BIEN */
    background: rgba(0, 0, 0, 0.45);
    /* puedes subir a 0.55 si la imagen es muy clara */

    backdrop-filter: blur(2px);
    z-index: 1;
}

/* LOGO */
.logo-isologo {
    width: 340px;
    height: 150px;
    background-image: url("../../imagenes/logo_isologo.webp");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    z-index: 2;
    margin-bottom: 40px;
}

/* BOTONES */
.contenedor-botones {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 260px;
    z-index: 2;
}

button {
    padding: 15px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: 0.25s;

    /* Fondo oscuro semi-transparente + blur */
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    color: #fff;

    /* sombra para separar de fondos claros */
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

button:hover {
    background: rgba(255, 255, 255, 0.25);
}

button.join {
    background: #e50914;
    color: #fff;
    box-shadow: 0 3px 16px rgba(229, 9, 20, 0.45);
}

button.join:hover {
    background: #ff2431;
}

/* TEXTO LEGAL */
.legal {
    margin-top: 40px;
    text-align: center;
    opacity: 0.75;
    font-size: 12px;
    width: 90%;
    max-width: 500px;
    color: #fff;
    z-index: 2;

    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    /* más legible sobre fondo claro */
}

/* RESPONSIVE */
@media (max-width: 700px) {

    .logo-isologo {
        width: 260px;
        height: 115px;
    }

    .contenedor-botones {
        width: 85%;
        max-width: 300px;
    }

    button {
        font-size: 14px;
        padding: 13px;
    }
}