/* Importar tipografía */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&display=swap');

/* --- BASE --- */
body { 
    font-family: 'Inter', sans-serif; 
    background-color: #030305; 
    color: white; 
    overflow-x: hidden;
}

/* --- FONDOS PARALLAX --- */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    inset: 0;
    z-index: 0;
    /* Animación de entrada */
    transform: scale(1.1);
    transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}
body.loaded .parallax-bg { 
    transform: scale(1); 
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(3,3,5,0.9) 0%, rgba(3,3,5,0.7) 50%, rgba(3,3,5,0.95) 100%);
    z-index: 1;
}

/* --- GLASSMORPHISM PREMIUM --- */
.glass-panel {
    background: rgba(10, 10, 15, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
    /* Animación de entrada */
    opacity: 0;
    transform: translateY(20px);
    filter: blur(10px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
body.loaded .glass-panel {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* --- FORMULARIOS --- */
.glass-input {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-input:focus {
    border-color: #FFC300;
    box-shadow: 0 0 15px rgba(255, 195, 0, 0.2);
    background: rgba(0, 0, 0, 0.8);
    outline: none;
}
/* Personalización de los 'options' del select para que no se vean blancos */
select.glass-input option {
    background-color: #0a0a0f;
    color: white;
}

/* --- BOTONES --- */
.btn-gold {
    background: linear-gradient(135deg, #FFC300 0%, #eab308 100%);
    color: #000;
    font-weight: 900;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(255, 195, 0, 0.35);
}
/* Estado de carga ("VALIDANDO...") */
.btn-gold:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* --- INDICADORES DE PASOS (STEPS) --- */
.step-dot {
    width: 33.33%;
    height: 3px;
    background: rgba(255,255,255,0.05);
    transition: all 0.5s ease;
}
.step-dot.active {
    background: #FFC300;
    box-shadow: 0 0 10px rgba(255,195,0,0.5);
}

/* --- ANIMACIÓN CINEMÁTICA FINAL (Kinetic Orb) --- */
.kinetic-orb {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,195,0,0.15) 0%, transparent 70%);
}
.kinetic-ring {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-top-color: #FFC300;
    border-radius: 50%;
    animation: spinRing 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    filter: drop-shadow(0 0 8px #FFC300);
}
.kinetic-ring-inner {
    position: absolute;
    inset: 10px;
    border: 1.5px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: spinRingInverse 1.5s linear infinite;
}
@keyframes spinRing { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes spinRingInverse { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }

/* --- UTILIDADES --- */
/* Ocultar scrollbars nativas para un look más limpio de app móvil */
.no-scrollbar::-webkit-scrollbar { display: none; }

/* 🚫 BLOQUEO DE DESPLAZAMIENTO LATERAL (ANTI-BAILE) */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Fuerza a que todos los contenedores respeten los márgenes internos */
*, *::before, *::after {
    box-sizing: border-box !important;
}

/* Evita que los efectos de luces o círculos de fondo difuminados estiren la pantalla */
.absolute, .fixed {
    max-width: 100vw;
}
