* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    background-color: #000000;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- HEADER Y NAVEGACIÓN --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000; 
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #00f2ff;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

/* WIDGET CLIMA/HORA */
.widget-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.clima-box { display: flex; flex-direction: column; align-items: flex-end; }
#temp { font-size: 1.1rem; font-weight: bold; color: #00f7ff; line-height: 1; }
#lugar { font-size: 0.65rem; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.divisor { width: 1px; height: 25px; background: rgba(255, 255, 255, 0.2); }
.hora-box #reloj { font-size: 1.2rem; font-weight: 300; letter-spacing: 1px; }

/* --- SECCIÓN PRESENTACIÓN --- */
.Presentacion {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.bloque-superior h1 {
    font-size: clamp(2.5rem, 8vw, 5rem); 
    font-weight: 900;
    background: linear-gradient(90deg, #fff, #00f7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
}

.bloque-texto {
    position: relative;
    padding-left: 30px;
    border-left: 4px solid #ff0066;
}

.frase {
    font-size: clamp(1.1rem, 4vw, 1.8rem);
    font-style: italic;
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.6;
}

.bloque-texto p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

/* --- BOTÓN DESCARGAR  --- */
.btn-descargar {
    display: flex;
    margin: 50px auto;
    padding: 20px 50px;
    background: linear-gradient(135deg, #2a5bbf, #6ec1ff);
    color: white;
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    width: fit-content;
    box-shadow: 0 10px 30px rgba(74, 159, 255, 0.3);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: gentleBreathing 3s infinite;
}

.btn-descargar:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(74, 159, 255, 0.5);
}


.Formulario {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 60px 20px;
    background-color: #000; 
}

/* --- TARJETA ESTILO --- */
.auth-card-wrapper {
    background: rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px; 
    padding: 50px 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.auth-card-wrapper h2 {
    font-size: 2rem;
    letter-spacing: 3px;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 800;
}

/* --- ELEMENTOS DEL FORMULARIO --- */
.form-step {
    display: none;
    flex-direction: column;
    gap: 15px; 
}

.form-step.active {
    display: flex;
}

label {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* --- INPUTS Y SELECT (GÉNERO ARREGLADO) --- */
input, select {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 15px;
    padding: 14px 18px !important;
    color: #fff !important;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

/* Fix para que las opciones del Género sean visibles */
select option {
    background-color: #1a1a1a;
    color: white;
}

input:focus, select:focus {
    border-color: #00ffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

/* --- BOTONES --- */
.btn-submit, button[type="button"], button[type="submit"] {
    background: linear-gradient(90deg, #8a2be2, #ff007f);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 16px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 0 8px 20px rgba(255, 0, 127, 0.3);
    transition: 0.3s;
}

.btn-submit:hover, button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 255, 255, 0.4);
}

/* Botones de navegación (Atrás) */
.nav-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-back {
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}

/* --- TEXTOS ADICIONALES --- */
.link-highlight {
    margin-top: 25px;
    color: #ff007f;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.link-highlight:hover {
    color: #00ffff;
}

.warning {
    color: #ff0000;
    font-weight: bold;
    font-size: 0.8rem;
    margin: 15px 0;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Checkboxes */
.legal-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 10px;
}

.legal-item input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
}

/* --- PUNTOS DE PASO --- */
.steps-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.dot {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.dot.active {
    background: #ff007f;
    box-shadow: 0 0 10px #ff007f;
}

/* --- FOOTER --- */
.footer-do {
    background: #000;
    padding: 60px 20px 30px;
    text-align: center;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 2rem;
    letter-spacing: 4px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
    color: #666;
    font-size: 0.85rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    border-color: #00f7ff;
    color: #00f7ff;
    box-shadow: 0 0 15px rgba(0,247,255,0.3);
}

/* --- NEBULOSA ANIMADA --- */
.nebulosa-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000;
    overflow: hidden;
}

.vapor {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    filter: blur(80px);
    animation: movimientoEpico 15s infinite alternate ease-in-out;
}

/* Definición de Colores y Posiciones */
.v-magenta {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.4) 0%, transparent 70%);
    top: -10%; left: -10%;
}

.v-aqua {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, transparent 70%);
    bottom: -10%; right: -10%;
    animation-duration: 20s;
}

.v-azul-marino {
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0, 20, 150, 0.4) 0%, transparent 70%);
    top: 20%; left: 30%;
    animation-duration: 25s;
    animation-delay: -5s;
}

.v-blanco {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    top: 40%; left: 50%;
    filter: blur(50px);
    animation-duration: 12s;
}

.v-rojo-claro {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255, 80, 80, 0.3) 0%, transparent 70%);
    bottom: 10%; left: 5%;
    animation-duration: 18s;
}

.v-aqua-deep {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.3) 0%, transparent 70%);
    top: 5%; right: 15%;
    animation-delay: -3s;
}

.v-magenta-dark {
    width: 550px; height: 550px;
    background: radial-gradient(circle, rgba(150, 0, 150, 0.3) 0%, transparent 70%);
    bottom: 20%; right: 30%;
    animation-duration: 22s;
}

.v-brillo {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 80%);
    top: 10%; left: 40%;
    filter: blur(40px);
    animation-duration: 10s;
}

/* --- ANIMACIÓN NOTORIA --- */
@keyframes movimientoEpico {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(150px, 100px) scale(1.2) rotate(15deg);
    }
    100% {
        transform: translate(-100px, 200px) scale(0.9) rotate(-15deg);
    }
}


@media (max-width: 1024px) {
    header { padding: 15px 20px; }
    nav ul { gap: 15px; }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .widget-info {
        order: -1; 
        width: 100%;
        justify-content: center;
    }

    nav ul {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .Presentacion { padding: 40px 20px; }
    
    .bloque-texto {
        padding-left: 0;
        border-left: none;
        border-top: 4px solid #ff0066;
        padding-top: 20px;
    }

    .auth-card-wrapper { padding: 30px 20px; }
}

@media (max-width: 480px) {
    nav ul li a { font-size: 0.8rem; }
    
    .bloque-superior h1 { margin-bottom: 20px; }
    
    .bloque-texto p { font-size: 1.1rem; text-align: justify; }

    .frase { font-size: 1.1rem; padding: 20px; }

    .btn-descargar { width: 100%; justify-content: center; }

    .footer-logo { font-size: 1.5rem; }
}
