* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background: #05070b;
    font-family: Arial, Helvetica, sans-serif;
}

.caratula {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #05070b;
}

.imagen-caratula {
    position: absolute;
    inset: 0;
    z-index: 1;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
}

.caratula::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.08),
            rgba(0,0,0,0.02) 55%,
            rgba(0,0,0,0.35)
        );
}

.zona-carga {
    position: absolute;

    z-index: 5;

    left: 50%;
    bottom: 15.5%;

    transform: translateX(-50%);

    width: min(43vw, 660px);
}

.texto-carga {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 10px;
    margin-bottom: 7px;

    color: white;

    font-size: clamp(13px, 1.3vw, 20px);

    font-weight: 900;
    font-style: italic;

    text-shadow:
        0 2px 5px #000,
        0 0 10px rgba(255,100,0,0.6);
}

#porcentaje {
    font-weight: 900;
}

.barra {
    width: 100%;
    height: 26px;

    padding: 4px;

    overflow: hidden;

    border: 2px solid #778899;
    border-radius: 7px;

    background:
        linear-gradient(
            #263544,
            #101820
        );

    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.15),
        inset 0 -3px 5px rgba(0,0,0,0.8),
        0 5px 20px rgba(0,0,0,0.8);
}

.progreso {
    width: 0%;
    height: 100%;

    border-radius: 3px;

    background:
        linear-gradient(
            90deg,
            #ff6500,
            #ff9800,
            #ffc400
        );

    box-shadow:
        0 0 10px #ff7100,
        0 0 20px rgba(255,100,0,0.8);

    transition: width 0.08s linear;
}

.boton-entrar {
    position: absolute;

    z-index: 10;

    left: 50%;
    bottom: 6.2%;

    transform: translateX(-50%);

    width: min(390px, 32vw);
    min-width: 250px;
    height: 68px;

    border: 0;
    border-radius: 16px;

    background:
        linear-gradient(
            #ffbd24,
            #ff8c00 55%,
            #ff6200
        );

    color: #160a00;

    font-size: clamp(17px, 1.7vw, 27px);

    font-weight: 900;
    font-style: italic;

    cursor: not-allowed;

    opacity: 0.45;

    box-shadow:
        0 5px 0 #7c2800,
        0 0 0 3px #251006,
        0 0 20px rgba(255,105,0,0.45);

    transition: 0.2s ease;
}

.boton-entrar span {
    font-size: 38px;
    margin-left: 14px;
    vertical-align: -4px;
}

.boton-entrar.listo {
    cursor: pointer;
    opacity: 1;

    animation: aparecer 0.7s ease;
}

.boton-entrar.listo:hover {
    transform:
        translateX(-50%)
        translateY(-4px)
        scale(1.03);

    filter: brightness(1.15);

    box-shadow:
        0 8px 0 #7c2800,
        0 0 0 3px #251006,
        0 0 35px rgba(255,112,0,0.9);
}

.boton-entrar.listo:active {
    transform:
        translateX(-50%)
        translateY(3px)
        scale(0.98);
}

.mensaje-final {
    position: absolute;

    z-index: 8;

    left: 50%;
    bottom: 1.7%;

    transform: translateX(-50%);

    width: 100%;

    text-align: center;

    color: rgba(255,255,255,0.85);

    font-size: clamp(8px, 0.75vw, 13px);

    font-weight: 700;

    letter-spacing: 4px;

    text-shadow: 0 2px 5px #000;
}

@keyframes aparecer {

    from {
        opacity: 0;

        transform:
            translateX(-50%)
            translateY(15px)
            scale(0.9);
    }

    to {
        opacity: 1;

        transform:
            translateX(-50%)
            translateY(0)
            scale(1);
    }
}

@media (max-width: 900px) {

    .zona-carga {
        width: 60vw;
        bottom: 17%;
    }

    .boton-entrar {
        width: 310px;
        min-width: 0;
        height: 60px;
        bottom: 7%;
    }
}

@media (max-width: 600px) {

    .imagen-caratula {
        object-position: center;
    }

    .zona-carga {
        width: 78vw;
        bottom: 17%;
    }

    .texto-carga {
        font-size: 11px;
    }

    .barra {
        height: 20px;
    }

    .boton-entrar {
        width: 76vw;
        height: 55px;
        bottom: 7%;
        font-size: 17px;
    }

    .boton-entrar span {
        font-size: 29px;
    }

    .mensaje-final {
        font-size: 7px;
        letter-spacing: 2px;
    }
}