:root {
    --color-primary: #0000FE;
}



* {
    font-family: 'alpine', sans-serif !important;

}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden !important;
}

body {
    color: #fff;
    font-family: 'alpine', sans-serif !important;
    background: radial-gradient(75% 55% at 50% 60%, rgba(171, 153, 197, 0.75) 0%, rgba(171, 153, 197, 0.45) 28%, rgba(171, 153, 197, 0) 60%),
        /* energía azul superior (ajustada con #0055ee y #3666d3) */
        radial-gradient(120% 85% at 55% 0%, #0055ee 0%, #3666d3 32%, rgba(54, 102, 211, 0) 72%),
        /* profundidad izquierda (ajustada hacia #001362) */
        radial-gradient(85% 95% at 12% 48%, #001362 0%, rgba(0, 19, 98, 0.55) 42%, rgba(0, 19, 98, 0) 70%),
        /* niebla azul grisácea inferior (afinada con tu paleta) */
        radial-gradient(95% 85% at 52% 86%, rgba(54, 102, 211, 0.45) 0%, rgba(171, 153, 197, 0.35) 30%, rgba(171, 153, 197, 0) 62%),
        /* profundidad derecha (ajustada con #001362) */
        radial-gradient(85% 95% at 80% 50%, #001362 0%, rgba(0, 19, 98, 0.45) 45%, rgba(0, 19, 98, 0) 72%),
        /* sombra inferior derecha (más densa y limpia) */
        radial-gradient(95% 120% at 92% 92%, #001362 0%, rgba(0, 19, 98, 0.85) 38%, rgba(0, 19, 98, 0) 70%),
        /* base (con tu azul profundo) */
        linear-gradient(180deg, #0055ee 0%, #001362 100%);
    background-attachment: fixed;
}

.container-ipad {
    max-width: 768px;
    margin: 0 auto;
    overflow-x: hidden;
}

h2 {
    font-weight: 300 !important;
    font-size: 1.35rem !important;
}

/* Encuesta: una opción por línea (radio por pregunta) */
.encuesta-pregunta {
    margin: 2.5rem 0;
}

.encuesta-titulo {
    text-transform: uppercase;
    margin: 0 0 1rem;
    line-height: 1.3;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
}

.encuesta-opciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.encuesta-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.encuesta-btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    font-size: 1.4rem;
    font-weight: normal;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    width: 200px;
    text-align: center;
}

.encuesta-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.encuesta-input:checked + .encuesta-btn {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

/* Pantalla "entrega el iPad a tu pareja" */
.pantalla-pareja {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}

.pantalla-pareja-texto {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.pantalla-pareja .encuesta-submit-wrap {
    margin-top: 1rem;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border: 0;
    border-radius: 0;
    padding: 0.6rem 1.25rem;
    font-size: 1.6rem;
    font-weight: bold;
    text-transform: uppercase;
    margin:0;
}

/* Contenedor del botón con flechas fuera, a izquierda y derecha */
.encuesta-submit-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.encuesta-submit-wrap::before,
.encuesta-submit-wrap::after {
    content: '';
    width: 3rem;
    height: 2rem;
    background-image: url(../imgs/arrows-submit.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.encuesta-submit-wrap::after {
    transform: rotate(180deg);
}

.btn-submit {
    position: relative;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    z-index: -1;
}

/* Contorno blanco, relleno transparente (p. ej. título resultado) */
.text-outline {
    color: transparent;
    text-shadow:
        -1px -1px 0 #fff,
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff,
        -2px  0   0 #fff,
         2px  0   0 #fff,
         0   -2px 0 #fff,
         0    2px 0 #fff,
        -2px -2px 0 #fff,
         2px -2px 0 #fff,
        -2px  2px 0 #fff,
         2px  2px 0 #fff;
}

/* Pantalla de resultado (perfecto 4/4 o casi X/4) */
.resultado-titulo {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.resultado-subtitulo {
    font-size: 1rem;
    opacity: 0.95;
}

.resultado-contenido {
    text-align: center;
}

.resultado-mensaje {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.resultado-mensaje-perfecto {
    font-size: 1.4rem;
}

.resultado-score {
    font-size: 9rem;
    font-weight: bold;
    margin: 1rem 0 1.5rem;
    line-height: 1;
}

.resultado-qr-texto {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.resultado-validacion-linea1,
.resultado-validacion-linea2 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.resultado-validacion-linea2 {
    margin-bottom: 1.5rem;
}

.resultado-codigo-6 {
    font-size: 2em;
    font-weight: bold;
    letter-spacing: 0.2em;
    margin: 1.25rem 0 0;
    max-width: 100%;
    overflow-wrap: normal;
}

.resultado-qr-wrap {
    margin: 1rem auto;
}

.resultado-qr {
    display: block;
    margin: 0 auto;
    background: transparent;
    padding: 0;
    mix-blend-mode: lighten;
}

/* Vista confirmación (código 6 dígitos): sin scroll horizontal */
.vista-confirmacion,
.container-ipad .container {
    max-width: 100%;
    overflow-x: hidden;
}

.resultado-btn-nuevo {
    padding: 0.6rem 1.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-width: 1px;
    border-radius: 0;
}