/* =====================================================
   SportFest 2026 — Neon Cyberpunk UI
   Palette: Neon Purple · Cyber Green · Deep Void
   Trends: Liquid Glass 2.0, Inner Glow, Motion Intent
   ===================================================== */
 
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
 
/* =====================================================
   DESIGN TOKENS
   ===================================================== */
:root {
    /* === NEON PALETTE === */
    --neon-purple:       #b04cff;
    --neon-purple-light: #cc84ff;
    --neon-purple-dark:  #7c22e0;
    --neon-purple-glow:  rgba(176, 76, 255, 0.4);
 
    --neon-green:        #00ff88;
    --neon-green-light:  #39ffaa;
    --neon-green-dark:   #00cc6a;
    --neon-green-glow:   rgba(0, 255, 136, 0.35);
 
    --neon-cyan:         #00e5ff;
    --neon-cyan-glow:    rgba(0, 229, 255, 0.3);
 
    --neon-pink:         #ff2d78;
    --neon-pink-glow:    rgba(255, 45, 120, 0.35);
 
    /* === BACKGROUNDS (deep void) === */
    --bg-void:     #060610;
    --bg-deep:     #0a0a1a;
    --bg-surface:  #0f0f24;
    --bg-elevated: #141428;
    --bg-glass:    rgba(255, 255, 255, 0.04);
 
    /* === TEXT === */
    --text-bright:    #ffffff;
    --text-primary:   #e8e8f2;
    --text-secondary: #9898c0;
    --text-muted:     #55557a;
 
    /* === BORDERS === */
    --border-subtle:  rgba(255, 255, 255, 0.07);
    --border-medium:  rgba(255, 255, 255, 0.13);
    --border-purple:  rgba(176, 76, 255, 0.4);
    --border-green:   rgba(0, 255, 136, 0.4);
 
    /* === SHADOWS / GLOWS === */
    --glow-purple: 0 0 20px rgba(176, 76, 255, 0.45),
                   0 0 60px rgba(176, 76, 255, 0.15);
    --glow-green:  0 0 20px rgba(0, 255, 136, 0.45),
                   0 0 60px rgba(0, 255, 136, 0.15);
    --glow-cyan:   0 0 20px rgba(0, 229, 255, 0.4);
    --shadow-deep: 0 8px 32px rgba(0, 0, 0, 0.65),
                   0 2px 8px  rgba(0, 0, 0, 0.45);
    --shadow-float: 0 24px 64px rgba(0, 0, 0, 0.85);
 
    /* === RADII === */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;
 
    /* === TIMING === */
    --t-fast:   0.15s ease;
    --t-smooth: 0.3s  cubic-bezier(0.4, 0, 0.2, 1);
    --t-spring: 0.5s  cubic-bezier(0.34, 1.56, 0.64, 1);
}
 
/* =====================================================
   RESET
   ===================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
/* Neon scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-purple), var(--neon-green));
    border-radius: 3px;
}
 
/* =====================================================
   BODY + AMBIENT LAYERS
   ===================================================== */
body {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-void);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}
 
/* Layer 1 — Animated neon grid */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(176, 76, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(176, 76, 255, 0.055) 1px, transparent 1px);
    background-size: 52px 52px;
    z-index: 0;
    pointer-events: none;
    animation: gridDrift 28s linear infinite;
}
 
/* Layer 2 — Ambient neon orbs */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 38% at 12% 65%, rgba(176, 76, 255, 0.13) 0%, transparent 72%),
        radial-gradient(ellipse 48% 32% at 88% 25%, rgba(0, 255, 136, 0.10) 0%, transparent 72%),
        radial-gradient(ellipse 38% 28% at 55% 88%, rgba(0, 229, 255, 0.07) 0%, transparent 72%);
    z-index: 0;
    pointer-events: none;
    animation: orbPulse 12s ease-in-out infinite alternate;
}
 
@keyframes gridDrift {
    from { background-position: 0 0; }
    to   { background-position: 52px 52px; }
}
@keyframes orbPulse {
    0%   { opacity: 0.65; transform: scale(1); }
    100% { opacity: 1;    transform: scale(1.06); }
}
 
/* =====================================================
   LAYOUT
   ===================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    position: relative;
    z-index: 1;
}
 
/* =====================================================
   HEADER — CYBERPUNK SPORTS BANNER
   ===================================================== */
.header {
    background: rgba(8, 8, 22, 0.88);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-bottom: 1px solid var(--border-purple);
    padding: 38px 0 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-deep),
                0 0 0 1px rgba(176, 76, 255, 0.08);
}
 
/* Animated neon top stripe */
.header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--neon-purple) 0%,
        var(--neon-cyan)   33%,
        var(--neon-green)  66%,
        var(--neon-purple) 100%);
    background-size: 200% 100%;
    animation: neonFlow 4s linear infinite;
    box-shadow:
        0 0 18px rgba(176, 76, 255, 0.7),
        0 0 36px rgba(0, 255, 136, 0.35);
}
 
/* Scanline sweep — atmospheric, not distracting */
.header::after {
    content: '';
    position: absolute;
    top: -100%; left: 0; right: 0;
    height: 35%;
    background: linear-gradient(180deg,
        transparent,
        rgba(176, 76, 255, 0.04),
        transparent);
    animation: scanline 8s linear infinite;
    pointer-events: none;
}
 
@keyframes neonFlow {
    0%   { background-position:   0% 50%; }
    100% { background-position: 200% 50%; }
}
@keyframes scanline {
    0%   { top: -100%; }
    100% { top:  200%; }
}
 
.header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 14px;
}
 
.header .logo i {
    font-size: 3.4rem;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 14px rgba(176, 76, 255, 0.75));
    animation: iconPulse 3.5s ease-in-out infinite;
}
 
@keyframes iconPulse {
    0%,  100% {
        filter: drop-shadow(0 0 12px rgba(176, 76, 255, 0.7));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 26px rgba(0, 255, 136, 0.85));
        transform: scale(1.08);
    }
}
 
.header h1 {
    font-size: 2.9rem;
    font-weight: 800;
    background: linear-gradient(135deg,
        #ffffff        20%,
        var(--neon-purple) 58%,
        var(--neon-green)  100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
 
.subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
    margin-top: 9px;
    letter-spacing: 0.06em;
}
 
/* =====================================================
   PROGRESS BAR — NEON STEPS
   ===================================================== */
.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    background: rgba(8, 8, 22, 0.75);
    backdrop-filter: blur(18px);
    padding: 28px 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-deep),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}
 
/* Connecting line */
.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%; left: 14%; right: 14%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-green));
    transform: translateY(-50%);
    z-index: 0;
    opacity: 0.18;
    border-radius: 1px;
}
 
.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    transition: var(--t-smooth);
}
 
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 2px solid var(--border-subtle);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    transition: var(--t-spring);
    box-shadow: var(--shadow-deep);
}
 
/* Active step — purple neon pulse */
.progress-step.active .step-number {
    background: rgba(176, 76, 255, 0.14);
    border-color: var(--neon-purple);
    color: var(--neon-purple-light);
    transform: scale(1.18);
    animation: stepPulse 2.2s ease-in-out infinite;
}
 
@keyframes stepPulse {
    0%, 100% {
        box-shadow: 0 0 18px rgba(176, 76, 255, 0.4),
                    0 0 50px rgba(176, 76, 255, 0.12),
                    inset 0 0 18px rgba(176, 76, 255, 0.08);
    }
    50% {
        box-shadow: 0 0 30px rgba(176, 76, 255, 0.65),
                    0 0 80px rgba(176, 76, 255, 0.22),
                    inset 0 0 28px rgba(176, 76, 255, 0.14);
    }
}
 
/* Completed step — green check */
.progress-step.completed .step-number {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: var(--glow-green);
}
 
.step-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: var(--t-smooth);
}
 
.progress-step.active    .step-label { color: var(--neon-purple-light); }
.progress-step.completed .step-label { color: var(--neon-green); }
 
/* =====================================================
   FORM CARD — LIQUID GLASS 2.0
   ===================================================== */
.form-registro {
    background: rgba(12, 12, 30, 0.72);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    padding: 52px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-float),
                inset 0  1px 0 rgba(255, 255, 255, 0.07),
                inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}
 
/* Top edge neon gradient */
.form-registro::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent       0%,
        var(--neon-purple) 35%,
        var(--neon-green)  65%,
        transparent       100%);
    opacity: 0.55;
}
 
/* Floating ambient inner glow */
.form-registro::after {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 55%; height: 55%;
    background: radial-gradient(circle,
        rgba(176, 76, 255, 0.06) 0%, transparent 72%);
    pointer-events: none;
    animation: innerFloatGlow 14s ease-in-out infinite;
}
 
@keyframes innerFloatGlow {
    0%,  100% { transform: translate(0%,   0%);  opacity: 1;   }
    33%       { transform: translate(18%,  28%); opacity: 0.7; }
    66%       { transform: translate(-8%,  52%); opacity: 0.9; }
}
 
/* Step heading */
.form-step h2 {
    font-size: 1.95rem;
    font-weight: 700;
    margin-bottom: 34px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-bright);
    position: relative;
    letter-spacing: -0.5px;
}
 
/* Decorative line after heading */
.form-step h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(176, 76, 255, 0.4), transparent);
}
 
.form-step h2 i {
    font-size: 1.65rem;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(176, 76, 255, 0.55));
}
 
/* =====================================================
   INPUTS — NEON FOCUS GLOW
   ===================================================== */
.form-group {
    margin-bottom: 24px;
    position: relative;
}
 
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 9px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
 
.required {
    color: var(--neon-pink);
    margin-left: 3px;
}
 
.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 15px 18px;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: rgba(8, 8, 22, 0.65);
    color: var(--text-bright);
    font-size: 0.975rem;
    font-family: inherit;
    transition: var(--t-smooth);
    backdrop-filter: blur(8px);
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
 
.form-group input::placeholder {
    color: var(--text-muted);
}
 
.form-group select option {
    background: var(--bg-elevated);
    color: var(--text-primary);
}
 
.form-group input:hover,
.form-group select:hover {
    border-color: rgba(176, 76, 255, 0.28);
    background: rgba(8, 8, 22, 0.8);
}
 
.form-group input:focus,
.form-group select:focus {
    border-color: var(--neon-purple);
    background: rgba(176, 76, 255, 0.07);
    box-shadow:
        0 0 0 3px  rgba(176, 76, 255, 0.13),
        0 0 22px   rgba(176, 76, 255, 0.18),
        inset 0 0 22px rgba(176, 76, 255, 0.04);
    transform: translateY(-1px);
}
 
.form-group input[readonly] {
    background: rgba(8, 8, 22, 0.4);
    border-style: dashed;
    cursor: not-allowed;
    opacity: 0.48;
}
 
/* Icon inside input */
.input-with-icon { position: relative; }
.input-with-icon input { padding-right: 52px; }
 
.input-with-icon i {
    position: absolute;
    right: 18px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--t-smooth);
    pointer-events: none;
}
 
.input-with-icon input:focus + i {
    color: var(--neon-purple);
    filter: drop-shadow(0 0 6px rgba(176, 76, 255, 0.8));
}
 
.help-text {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.81rem;
    letter-spacing: 0.02em;
}
 
/* =====================================================
   RADIO CARDS — NEON SELECTOR
   ===================================================== */
.radio-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
 
.radio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 16px;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: rgba(8, 8, 22, 0.55);
    cursor: pointer;
    transition: var(--t-smooth);
    text-align: center;
    gap: 10px;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}
 
/* Hover glow orb from top */
.radio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%,
        rgba(176, 76, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--t-smooth);
}
 
.radio-card:hover::before { opacity: 1; }
.radio-card input { display: none; }
 
.radio-card i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--t-smooth);
    position: relative; z-index: 1;
}
 
.radio-card span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    transition: var(--t-smooth);
    position: relative; z-index: 1;
}
 
.radio-card:hover {
    border-color: rgba(176, 76, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.45),
                0 0  22px rgba(176, 76, 255, 0.16);
}
 
/* Checked state — switches to green */
.radio-card:has(input:checked) {
    border-color: var(--neon-green);
    background: rgba(0, 255, 136, 0.07);
    box-shadow: var(--glow-green);
    transform: translateY(-5px);
}
 
.radio-card:has(input:checked) i {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.65));
}
 
.radio-card:has(input:checked) span {
    color: var(--neon-green);
}
 
/* =====================================================
   BUTTONS — NEON GLOW ACTIONS
   ===================================================== */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--t-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}
 
/* Shimmer sweep — purposeful micro-interaction */
.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 58%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent, rgba(255,255,255,0.16), transparent);
    transform: skewX(-22deg);
    transition: 0.55s ease;
}
.btn:hover::after { left: 155%; }
 
/* Primary — Purple */
.btn-primary {
    background: linear-gradient(135deg,
        var(--neon-purple-dark) 0%,
        var(--neon-purple)      100%);
    color: #fff;
    border: 1px solid rgba(176, 76, 255, 0.5);
    box-shadow: 0 4px 22px rgba(176, 76, 255, 0.38),
                inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-purple),
                0 14px 44px rgba(176, 76, 255, 0.48);
}
.btn-primary:active { transform: translateY(-1px); }
 
/* Secondary — Ghost */
.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1.5px solid var(--border-medium);
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(176, 76, 255, 0.35);
    color: var(--text-primary);
    transform: translateY(-2px);
}
 
/* Success — Green */
.btn-success {
    background: linear-gradient(135deg,
        var(--neon-green-dark) 0%,
        var(--neon-green)      100%);
    color: #060610;
    font-weight: 800;
    border: 1px solid rgba(0, 255, 136, 0.4);
    box-shadow: 0 4px 22px rgba(0, 255, 136, 0.35),
                inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-green),
                0 14px 44px rgba(0, 255, 136, 0.42);
}
 
.btn:disabled {
    opacity: 0.32;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}
 
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
}
 
/* =====================================================
   ALERTS
   ===================================================== */
.alert {
    padding: 18px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid;
    backdrop-filter: blur(8px);
}
 
.alert-info {
    background: rgba(0, 229, 255, 0.07);
    border-color: rgba(0, 229, 255, 0.25);
    color: var(--neon-cyan);
}
 
.alert i {
    font-size: 1.4rem;
    flex-shrink: 0;
}
 
/* =====================================================
   AUTORIZACIÓN BOX
   ===================================================== */
.autorizacion-box {
    background: rgba(8, 8, 22, 0.55);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    font-size: 0.92rem;
    line-height: 1.8;
    text-align: justify;
    color: var(--text-secondary);
    backdrop-filter: blur(8px);
}
 
/* =====================================================
   FILE UPLOAD — NEON DROP ZONE
   ===================================================== */
.file-upload { position: relative; }
 
.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
    z-index: 2;
}
 
.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px;
    border: 2px dashed rgba(176, 76, 255, 0.22);
    border-radius: var(--radius-md);
    background: rgba(176, 76, 255, 0.03);
    cursor: pointer;
    transition: var(--t-smooth);
    gap: 14px;
    position: relative;
}
 
.file-label:hover {
    border-color: var(--neon-purple);
    background: rgba(176, 76, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--glow-purple);
}
 
.file-label i {
    font-size: 3.2rem;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(176, 76, 255, 0.55));
}
 
.file-label span {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}
 
.preview-img {
    max-width: 100%;
    max-height: 250px;
    margin-top: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-purple);
    box-shadow: var(--glow-purple);
}
 
/* =====================================================
   CHECKBOX CONSENT — GREEN ACCENT
   ===================================================== */
.checkbox-consent {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    background: rgba(0, 255, 136, 0.05);
    border: 1.5px solid rgba(0, 255, 136, 0.18);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--t-smooth);
}
 
.checkbox-consent:hover {
    background: rgba(0, 255, 136, 0.09);
    border-color: rgba(0, 255, 136, 0.38);
    box-shadow: 0 0 22px rgba(0, 255, 136, 0.1);
}
 
.checkbox-consent input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--neon-green);
    flex-shrink: 0;
}
 
.checkbox-consent span {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.92rem;
}
 
/* =====================================================
   MODAL — NEON SUCCESS
   ===================================================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 16, 0.88);
    backdrop-filter: blur(18px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
 
.modal.show {
    display: flex;
    animation: modalFade 0.3s ease;
}
 
@keyframes modalFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
 
.modal-content {
    background: rgba(12, 12, 30, 0.96);
    backdrop-filter: blur(28px);
    border-radius: var(--radius-xl);
    max-width: 540px;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--border-purple);
    box-shadow: var(--shadow-float), var(--glow-purple);
    animation: modalRise 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
 
@keyframes modalRise {
    from { transform: translateY(60px) scale(0.9); opacity: 0; }
    to   { transform: translateY(0)    scale(1);   opacity: 1; }
}
 
.modal-header {
    padding: 40px 30px;
    text-align: center;
    background: rgba(176, 76, 255, 0.08);
    border-bottom: 1px solid var(--border-subtle);
}
 
.modal-header.success {
    background: rgba(0, 255, 136, 0.08);
    border-bottom-color: rgba(0, 255, 136, 0.2);
}
 
.modal-header i {
    font-size: 4.2rem;
    margin-bottom: 16px;
    display: block;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(0, 255, 136, 0.75));
    animation: successBounce 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
 
@keyframes successBounce {
    from { transform: scale(0) rotate(-18deg); opacity: 0; }
    to   { transform: scale(1) rotate(0deg);   opacity: 1; }
}
 
.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-bright);
}
 
.modal-body {
    padding: 38px 30px;
    text-align: center;
}
 
.codigo-registro {
    font-family: 'Courier New', monospace;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--neon-purple-light);
    padding: 20px;
    border-radius: var(--radius-md);
    letter-spacing: 4px;
    margin-bottom: 24px;
    border: 1px solid var(--border-purple);
    background: rgba(176, 76, 255, 0.08);
    box-shadow: inset 0 0 32px rgba(176, 76, 255, 0.05),
                var(--glow-purple);
    text-shadow: 0 0 20px rgba(176, 76, 255, 0.8);
}
 
.qr-container {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    display: inline-block;
    margin-bottom: 20px;
    transition: var(--t-smooth);
    border: 2px solid rgba(176, 76, 255, 0.3);
    box-shadow: var(--glow-purple);
}
 
.qr-container:hover {
    transform: scale(1.04);
    box-shadow: var(--glow-purple), 0 18px 44px rgba(0,0,0,0.55);
}
 
.qr-container img {
    max-width: 260px;
    width: 100%;
    display: block;
}
 
.qr-instrucciones {
    background: rgba(245, 158, 11, 0.08);
    padding: 14px;
    border-radius: var(--radius-md);
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 158, 11, 0.24);
}
 
.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
 
/* =====================================================
   LOADER — DUAL RING NEON SPINNER
   ===================================================== */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 16, 0.97);
    backdrop-filter: blur(18px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
}
 
/* Dual-ring: outer purple, inner green */
.spinner {
    width: 58px;
    height: 58px;
    position: relative;
}
 
.spinner::before,
.spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}
 
.spinner::before {
    inset: 0;
    border: 3px solid transparent;
    border-top-color: var(--neon-purple);
    animation: spinOuter 1s linear infinite;
    box-shadow: 0 0 22px rgba(176, 76, 255, 0.45);
}
 
.spinner::after {
    inset: 9px;
    border: 2px solid transparent;
    border-bottom-color: var(--neon-green);
    animation: spinInner 0.75s linear infinite reverse;
    box-shadow: 0 0 14px rgba(0, 255, 136, 0.45);
}
 
@keyframes spinOuter { to { transform: rotate(360deg);  } }
@keyframes spinInner { to { transform: rotate(-360deg); } }
 
/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    text-align: center;
    padding: 28px;
    color: var(--text-muted);
    margin-top: 40px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.87rem;
    letter-spacing: 0.05em;
}
 
/* =====================================================
   UTILITIES
   ===================================================== */
.form-row.two-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
}
 
.error-message,
.success-message {
    display: none;
    font-size: 0.82rem;
    margin-top: 6px;
    padding: 8px 13px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}
 
.error-message.show {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 45, 120, 0.08);
    color: var(--neon-pink);
    border: 1px solid rgba(255, 45, 120, 0.3);
}
 
.success-message.show {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 255, 136, 0.08);
    color: var(--neon-green);
    border: 1px solid rgba(0, 255, 136, 0.3);
}
 
/* =====================================================
   RESPONSIVE — MOBILE FIRST
   ===================================================== */
 
/* ---- TABLET (≤ 768px) ---- */
@media (max-width: 768px) {
 
    /* Container */
    .container { padding: 16px; }
 
    /* Header */
    .header           { padding: 24px 16px 20px; }
    .header h1        { font-size: 1.9rem; letter-spacing: -1px; }
    .header .logo i   { font-size: 2.6rem; }
    .header .logo     { gap: 14px; margin-bottom: 10px; }
    .subtitle         { font-size: 0.9rem; }
 
    /* Progress bar — compact */
    .progress-bar        { padding: 16px 12px; margin: 24px 0; gap: 0; }
    .step-number         { width: 42px; height: 42px; font-size: 1rem; margin-bottom: 8px; }
    .step-label          { font-size: 0.72rem; letter-spacing: 0; }
    .progress-step.active .step-number { transform: scale(1.12); }
 
    /* Form card */
    .form-registro { padding: 28px 18px; border-radius: var(--radius-lg); }
 
    /* Step heading */
    .form-step h2          { font-size: 1.5rem; margin-bottom: 24px; gap: 10px; }
    .form-step h2::after   { display: none; }
    .form-step h2 i        { font-size: 1.35rem; }
 
    /* Inputs */
    .form-group              { margin-bottom: 18px; }
    .form-group label        { font-size: 0.78rem; }
    .form-group input[type="text"],
    .form-group input[type="date"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select       { padding: 13px 15px; font-size: 1rem; }
    .input-with-icon input   { padding-right: 44px; }
    .input-with-icon i       { right: 14px; font-size: 1rem; }
 
    /* Two-col grid */
    .form-row.two-cols { grid-template-columns: 1fr; gap: 0; }
 
    /* Radio cards — 2 columns on tablet */
    .radio-group         { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .radio-card          { padding: 18px 12px; gap: 8px; }
    .radio-card i        { font-size: 1.8rem; }
    .radio-card span     { font-size: 0.82rem; }
 
    /* File upload */
    .file-label          { padding: 30px 16px; gap: 10px; }
    .file-label i        { font-size: 2.4rem; }
    .file-label span     { font-size: 0.88rem; text-align: center; }
 
    /* Autorizacion */
    .autorizacion-box    { padding: 18px; font-size: 0.88rem; }
 
    /* Checkbox */
    .checkbox-consent    { padding: 16px; gap: 12px; }
    .checkbox-consent span { font-size: 0.88rem; }
 
    /* Alert */
    .alert               { padding: 14px 16px; font-size: 0.9rem; gap: 10px; }
 
    /* Buttons */
    .form-actions        { flex-direction: column; gap: 10px; margin-top: 28px; }
    .btn                 { width: 100%; justify-content: center; padding: 14px 20px; font-size: 0.88rem; }
 
    /* Modal */
    .modal               { padding: 12px; align-items: flex-end; }
    .modal-content       { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-md) var(--radius-md); max-width: 100%; }
    .modal-header        { padding: 28px 20px 24px; }
    .modal-header i      { font-size: 3rem; margin-bottom: 10px; }
    .modal-header h2     { font-size: 1.4rem; }
    .modal-body          { padding: 24px 18px; }
    .codigo-registro     { font-size: 1.2rem; letter-spacing: 2px; padding: 16px; }
    .modal-actions       { flex-direction: column; gap: 10px; }
    .modal-actions .btn  { width: 100%; justify-content: center; }
    .qr-container img    { max-width: 200px; }
}
 
/* ---- MOBILE (≤ 480px) ---- */
@media (max-width: 480px) {
 
    /* Header */
    .header         { padding: 20px 14px 16px; }
    .header h1      { font-size: 1.55rem; letter-spacing: -0.5px; }
    .header .logo i { font-size: 2.2rem; }
    .header .logo   { gap: 10px; margin-bottom: 8px; }
    .subtitle       { font-size: 0.82rem; margin-top: 6px; }
 
    /* Progress bar — ultra compact */
    /* Hide text labels, keep numbers only */
    .progress-bar        { padding: 14px 10px; margin: 18px 0; border-radius: var(--radius-md); }
    .step-number         { width: 36px; height: 36px; font-size: 0.9rem; margin-bottom: 6px; }
    .step-label          { font-size: 0.65rem; }
    .progress-step.active .step-number { transform: scale(1.1); }
    .progress-bar::before { left: 10%; right: 10%; }
 
    /* Form card */
    .form-registro       { padding: 20px 14px; border-radius: var(--radius-md); }
 
    /* Step heading */
    .form-step h2        { font-size: 1.3rem; margin-bottom: 20px; }
 
    /* Radio cards — 1 column on phone */
    .radio-group         { grid-template-columns: 1fr; gap: 9px; }
    .radio-card          { flex-direction: row; justify-content: flex-start; padding: 14px 16px; gap: 14px; }
    .radio-card i        { font-size: 1.6rem; flex-shrink: 0; }
    .radio-card span     { font-size: 0.9rem; text-align: left; }
 
    /* File upload */
    .file-label          { padding: 24px 14px; }
    .file-label i        { font-size: 2rem; }
 
    /* Buttons */
    .btn                 { padding: 13px 18px; font-size: 0.86rem; }
 
    /* Form actions gap */
    .form-actions        { margin-top: 22px; padding-top: 20px; gap: 9px; }
 
    /* Modal */
    .modal              { padding: 0; align-items: flex-end; }
    .modal-content      {
        border-radius: 24px 24px 0 0;
        border-bottom: none;
        box-shadow: var(--shadow-float), var(--glow-purple);
    }
    .modal-header       { padding: 24px 18px 20px; }
    .modal-header i     { font-size: 2.6rem; }
    .modal-header h2    { font-size: 1.25rem; }
    .modal-body         { padding: 20px 16px 28px; }
    .codigo-registro    { font-size: 1.05rem; letter-spacing: 1.5px; padding: 14px; }
 
    /* Help text */
    .help-text          { font-size: 0.78rem; }
}
 
/* ---- SMALL PHONES (≤ 360px) ---- */
@media (max-width: 360px) {
    .header h1      { font-size: 1.35rem; }
    .step-label     { display: none; }
    .step-number    { width: 34px; height: 34px; font-size: 0.85rem; }
    .progress-bar   { padding: 12px 8px; gap: 0; }
    .form-registro  { padding: 18px 12px; }
    .form-step h2   { font-size: 1.2rem; }
    .btn            { font-size: 0.82rem; padding: 12px 14px; letter-spacing: 0.04em; }
    .codigo-registro { font-size: 0.95rem; letter-spacing: 1px; }
}
 
/* ---- TOUCH INTERACTIONS ---- */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover-only transforms on touch — avoids sticky states */
    .radio-card:hover,
    .btn-primary:hover,
    .btn-success:hover,
    .btn-secondary:hover,
    .file-label:hover,
    .checkbox-consent:hover { transform: none; }
 
    /* Bigger tap targets */
    .btn                     { min-height: 48px; }
    .radio-card              { min-height: 52px; }
    .checkbox-consent input  { width: 22px; height: 22px; }
 
    /* Remove tap highlight */
    * { -webkit-tap-highlight-color: transparent; }
    button, label, .radio-card { touch-action: manipulation; }
}
 
/* =====================================================
   REDUCED MOTION — ACCESSIBILITY
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.15s !important;
    }
}
 