/* ==========================================================================
   HALLOWEEN ROTA 2026 - RADICAL REDESIGN (NEXT-GEN CYBER-GOTHIC EXPERIENCE)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Henny+Penny&family=Creepster&family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;700&display=swap');

@font-face {
    font-family: 'Henny Penny';
    src: url('assets/hennypenny.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Color System 2026 */
    --bg-void: #05020a;
    --bg-dark: #0a0614;
    --bg-surface: #120b22;
    --bg-glass-card: rgba(18, 11, 32, 0.72);
    --bg-glass-strong: rgba(22, 13, 40, 0.92);
    --bg-glass-dock: rgba(14, 8, 26, 0.78);
    
    --neon-orange: #ff6000;
    --neon-orange-bright: #ff7b1a;
    --orange-glow: rgba(255, 96, 0, 0.5);
    --orange-glow-subtle: rgba(255, 96, 0, 0.15);
    
    --neon-purple: #9d4edd;
    --neon-purple-bright: #b862ff;
    --purple-glow: rgba(157, 78, 221, 0.45);
    --purple-glow-subtle: rgba(157, 78, 221, 0.15);
    
    --neon-green: #00f5a0;
    --green-glow: rgba(0, 245, 160, 0.4);
    --neon-cyan: #00f0ff;
    --cyan-glow: rgba(0, 240, 255, 0.4);
    --neon-red: #ff3366;
    --gold-glow: #ffd700;
    
    --text-white: #ffffff;
    --text-gray: #c8c3d8;
    --text-muted: #857e9b;
    
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glow-purple: rgba(157, 78, 221, 0.35);
    --border-glow-orange: rgba(255, 96, 0, 0.35);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --font-ui: 'Outfit', sans-serif;
    --font-tech: 'Space Grotesk', sans-serif;
    --font-spooky: 'Henny Penny', 'Creepster', cursive;
    
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-ui);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-void);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(157, 78, 221, 0.22) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 96, 0, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(8, 4, 16, 0.85) 0%, rgba(5, 2, 10, 0.98) 100%),
        url('fondo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Ambient Canvas Background */
.ambient-canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-void);
}
::-webkit-scrollbar-thumb {
    background: var(--neon-purple);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-orange);
}

/* ==========================================================================
   FLOATING LIQUID DOCK NAVBAR
   ========================================================================== */
.navbar {
    background: var(--bg-glass-dock);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px;
    position: fixed;
    width: min(94%, 1150px);
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(157, 78, 221, 0.18);
    transition: var(--transition-smooth);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo {
    font-family: var(--font-spooky);
    font-size: 1.65rem;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--neon-orange) 20%, #ffaa5e 60%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px var(--orange-glow));
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo-badge {
    font-family: var(--font-tech);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--neon-purple), #5e119b);
    color: #fff;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    box-shadow: 0 0 12px var(--purple-glow);
    -webkit-text-fill-color: initial;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 6px;
    align-items: center;
}

.nav-menu li a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.nav-menu li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-menu li a.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 96, 0, 0.25), rgba(157, 78, 221, 0.25));
    border: 1px solid var(--border-glow-orange);
    box-shadow: 0 0 18px var(--orange-glow-subtle);
}

/* Cluster derecho de navegación con selector de idioma i18n */
.nav-right-cluster {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-switch-dock {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    padding: 3px 6px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10002;
}

.lang-switch-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-tech);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-switch-btn:hover {
    color: #ffffff;
}

.lang-switch-btn.active {
    background: linear-gradient(135deg, var(--neon-orange), #ff8c00);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 96, 0, 0.5);
}

.lang-switch-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.72rem;
    font-weight: 400;
    user-select: none;
}

/* Hamburguesa móvil */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.nav-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   HERO PRINCIPAL (INDEX.HTML)
   ========================================================================== */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 130px 20px 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    background: rgba(255, 96, 0, 0.12);
    border: 1px solid var(--border-glow-orange);
    color: var(--neon-orange-bright);
    font-family: var(--font-tech);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    box-shadow: 0 0 20px var(--orange-glow-subtle);
    animation: pulseGlow 3s infinite alternate;
}

.terror-title {
    font-family: var(--font-spooky);
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    letter-spacing: 2px;
    line-height: 1.1;
    background: linear-gradient(180deg, #ffffff 15%, #ffb076 50%, var(--neon-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px var(--orange-glow));
    margin-bottom: 15px;
}

.subtitle {
    color: var(--text-gray);
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    max-width: 680px;
    margin: 0 auto 35px;
    line-height: 1.6;
    font-weight: 400;
}

/* Cuenta Atrás Digital 2026 */
.countdown-box {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 20px 30px;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px var(--purple-glow-subtle);
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 55px;
}

.countdown-val {
    font-family: var(--font-tech);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1;
    text-shadow: 0 0 15px var(--orange-glow);
}

.countdown-lbl {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--neon-orange-bright);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

.countdown-sep {
    font-family: var(--font-tech);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neon-purple);
    opacity: 0.8;
    margin-top: -12px;
}

/* Ticker de Estadísticas en Vivo */
.stats-strip {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}
.stat-pill:hover {
    border-color: var(--neon-purple);
    transform: translateY(-2px);
}
.stat-pill strong {
    color: #ffffff;
    font-family: var(--font-tech);
    font-size: 1.15rem;
}

/* Botones Principales */
.btn {
    padding: 13px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    border: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-orange), #ff8326);
    color: #ffffff;
    box-shadow: 0 4px 25px var(--orange-glow);
}
.btn-primary:hover {
    box-shadow: 0 6px 35px rgba(255, 96, 0, 0.8);
    transform: translateY(-3px) scale(1.02);
}

.btn-secondary {
    background: rgba(157, 78, 221, 0.16);
    color: #ffffff;
    border: 1px solid var(--border-glow-purple);
    backdrop-filter: blur(12px);
}
.btn-secondary:hover {
    background: rgba(157, 78, 221, 0.35);
    border-color: var(--neon-purple-bright);
    box-shadow: 0 0 25px var(--purple-glow);
    transform: translateY(-3px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-gray);
    border: 1px solid var(--border-glass);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.btn-danger {
    background: linear-gradient(135deg, #e63946, #c1121f);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}
.btn-danger:hover {
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.7);
    transform: translateY(-2px);
}

.btn-block { width: 100%; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

.cta-container {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Tarjetas de Experiencias 3D */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1050px;
    width: 100%;
    margin: 60px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(18px);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: left;
    transition: var(--transition-smooth);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow-purple);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 30px var(--purple-glow-subtle);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.feature-badge-img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    border-radius: 18px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.7));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-badge-img {
    transform: scale(1.14) rotate(-3deg);
    filter: drop-shadow(0 10px 22px rgba(255, 96, 0, 0.5));
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-gray);
    line-height: 1.55;
}

.feature-link {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--neon-orange);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   MAPA INTERACTIVO & MARCADORES VECTORIALES (MAPA.HTML)
   ========================================================================== */
.map-body {
    overflow: hidden;
    height: 100vh;
}

.map-page-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

#map-leaflet, #mini-map {
    width: 100%;
    height: 100%;
    background: #080410;
}

/* Modo oscuro nativo para teselas libres de OpenStreetMap (Sin marcas de agua ni API Keys) */
.leaflet-tile-pane {
    filter: invert(100%) hue-rotate(180deg) brightness(85%) contrast(105%) saturate(35%);
}

/* Centro de Comando Flotante del Mapa */
.map-command-dock {
    position: absolute;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: min(94%, 800px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-search-bar {
    background: var(--bg-glass-strong);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.map-search-bar input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    width: 100%;
}
.map-search-bar input::placeholder {
    color: var(--text-muted);
}

.map-filters-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.map-filters-strip::-webkit-scrollbar { display: none; }

.filter-pill {
    background: var(--bg-glass-dock);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border-glass);
    color: var(--text-gray);
    padding: 8px 16px;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.filter-pill .pill-count {
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

.filter-pill.active {
    background: linear-gradient(135deg, var(--neon-orange), #ff8833);
    color: #ffffff;
    border-color: var(--neon-orange-bright);
    box-shadow: 0 0 20px var(--orange-glow);
}
.filter-pill.active .pill-count {
    background: rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   MARCADORES VECTORIALES LEAFLET (ADIÓS DEFORMACIONES)
   ========================================================================== */
.leaflet-marker-icon {
    background: transparent !important;
    border: none !important;
}

.custom-vector-marker {
    position: relative;
    width: 44px;
    height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-vector-marker:hover, .custom-vector-marker.marker-selected {
    transform: scale(1.25) translateY(-5px);
    z-index: 1000 !important;
}

.marker-body {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #140d24;
    border: 2px solid #ff6000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--orange-glow), 0 4px 12px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.marker-svg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #ff8833;
}

.pin-decoracion .marker-svg-icon { color: #ff8833; }
.pin-caramelos .marker-svg-icon { color: #d070ff; }
.pin-susto .marker-svg-icon { color: #00f5a0; }
.pin-hosteleria .marker-svg-icon { color: #ffd700; }

.marker-tip {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #ff6000;
    margin-top: -2px;
    position: relative;
    z-index: 1;
}

/* Colores de Marcador por Categoría */
.pin-susto .marker-body {
    border-color: #ff6000;
    box-shadow: 0 0 15px var(--orange-glow), 0 4px 12px rgba(0,0,0,0.8);
}
.pin-susto .marker-tip {
    border-top-color: #ff6000;
}

.pin-decoracion .marker-body {
    border-color: var(--neon-green);
    box-shadow: 0 0 15px var(--green-glow), 0 4px 12px rgba(0,0,0,0.8);
}
.pin-decoracion .marker-tip {
    border-top-color: var(--neon-green);
}

.pin-caramelos .marker-body {
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px var(--purple-glow), 0 4px 12px rgba(0,0,0,0.8);
}
.pin-caramelos .marker-tip {
    border-top-color: var(--neon-purple);
}

.pin-hosteleria .marker-body {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.45), 0 4px 12px rgba(0,0,0,0.8);
}
.pin-hosteleria .marker-tip {
    border-top-color: #ffd700;
}

/* Marcadores de Empresas y Comercios Colaboradores */
.pin-sponsor {
    width: 56px;
    height: 64px;
}

.marker-body-sponsor {
    width: 54px;
    height: 48px;
    border-radius: 14px;
    background: #0d0818;
    border: 2px solid var(--glow-color, #ffd700);
    box-shadow: 0 0 16px var(--glow-color, rgba(255, 215, 0, 0.7)), 0 4px 12px rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 4px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pin-sponsor:hover .marker-body-sponsor,
.pin-sponsor.marker-selected .marker-body-sponsor {
    border-color: #ffffff;
    box-shadow: 0 0 25px var(--glow-color, #ffd700), 0 6px 18px rgba(0, 0, 0, 0.95);
    background: #140d24;
    transform: translateY(-2px);
}

/* Anular la regla de Leaflet: .leaflet-container .leaflet-marker-pane img { max-width: none !important; max-height: none !important; } */
.leaflet-container .marker-body-sponsor img,
.marker-body-sponsor img,
.marker-sponsor-logo-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    image-rendering: auto !important;
    transition: transform 0.25s ease;
}

/* 1. Flow Laboral: Naranja vivo / fiery neon glow */
.pin-sponsor-flow {
    --glow-color: #ff4000;
}
.pin-sponsor-flow .marker-body-sponsor {
    background: radial-gradient(circle at center, #2a0b00 0%, #0d0818 100%);
    border-color: #ff4000;
    box-shadow: 0 0 16px rgba(255, 64, 0, 0.75), 0 0 32px rgba(255, 64, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.9);
}
.pin-sponsor-flow:hover .marker-body-sponsor,
.pin-sponsor-flow.marker-selected .marker-body-sponsor {
    border-color: #ffffff;
    box-shadow: 0 0 25px #ff4000, 0 0 45px rgba(255, 64, 0, 0.5), 0 6px 18px rgba(0, 0, 0, 0.95);
}
.pin-sponsor-flow .marker-tip-sponsor {
    border-top-color: #ff4000 !important;
}
.pin-sponsor-flow .marker-sponsor-star {
    background: linear-gradient(135deg, #ff7700, #ff4000);
    box-shadow: 0 0 10px rgba(255, 64, 0, 0.9);
    border-color: #ffffff;
}
.pin-sponsor-flow .marker-pulse-ring {
    border-color: #ff4000;
}
.leaflet-container .marker-body-sponsor .sponsor-logo-flow,
.marker-sponsor-logo-img.sponsor-logo-flow {
    max-height: 28px !important;
    max-width: 42px !important;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9));
}

/* 2. Más Que Guapas: Rosa Neón / Magenta */
.pin-sponsor-masq {
    --glow-color: #f72585;
}
.pin-sponsor-masq .marker-body-sponsor {
    background: radial-gradient(circle at center, #2e001c 0%, #0d0818 100%);
    border-color: #f72585;
    box-shadow: 0 0 16px rgba(247, 37, 133, 0.75), 0 0 32px rgba(247, 37, 133, 0.3), 0 4px 12px rgba(0, 0, 0, 0.9);
}
.pin-sponsor-masq:hover .marker-body-sponsor,
.pin-sponsor-masq.marker-selected .marker-body-sponsor {
    border-color: #ffffff;
    box-shadow: 0 0 25px #f72585, 0 0 45px rgba(247, 37, 133, 0.5), 0 6px 18px rgba(0, 0, 0, 0.95);
}
.pin-sponsor-masq .marker-tip-sponsor {
    border-top-color: #f72585 !important;
}
.pin-sponsor-masq .marker-sponsor-star {
    background: linear-gradient(135deg, #ff4d94, #f72585);
    box-shadow: 0 0 10px rgba(247, 37, 133, 0.9);
    border-color: #ffffff;
}
.pin-sponsor-masq .marker-pulse-ring {
    border-color: #f72585;
}
.leaflet-container .marker-body-sponsor .sponsor-logo-masqguapas,
.marker-sponsor-logo-img.sponsor-logo-masqguapas {
    max-height: 30px !important;
    max-width: 44px !important;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9));
}

/* 3. OposicionesEspaña.es: Azul / Cian Eléctrico */
.pin-sponsor-opos {
    --glow-color: #00b4d8;
}
.pin-sponsor-opos .marker-body-sponsor {
    background: radial-gradient(circle at center, #002236 0%, #0d0818 100%);
    border-color: #00b4d8;
    box-shadow: 0 0 16px rgba(0, 180, 216, 0.75), 0 0 32px rgba(0, 180, 216, 0.3), 0 4px 12px rgba(0, 0, 0, 0.9);
}
.pin-sponsor-opos:hover .marker-body-sponsor,
.pin-sponsor-opos.marker-selected .marker-body-sponsor {
    border-color: #ffffff;
    box-shadow: 0 0 25px #00b4d8, 0 0 45px rgba(0, 180, 216, 0.5), 0 6px 18px rgba(0, 0, 0, 0.95);
}
.pin-sponsor-opos .marker-tip-sponsor {
    border-top-color: #00b4d8 !important;
}
.pin-sponsor-opos .marker-sponsor-star {
    background: linear-gradient(135deg, #48cae4, #0077b6);
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.9);
    border-color: #ffffff;
}
.pin-sponsor-opos .marker-pulse-ring {
    border-color: #00b4d8;
}
.leaflet-container .marker-body-sponsor .sponsor-logo-oposiciones,
.marker-sponsor-logo-img.sponsor-logo-oposiciones {
    max-height: 32px !important;
    max-width: 32px !important;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9));
}

.marker-tip-sponsor {
    border-top-color: var(--glow-color, #ffd700) !important;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid var(--glow-color, #ffd700);
    margin-top: -2px;
}

.marker-sponsor-star {
    position: absolute;
    top: -5px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #ffd700, #ff9900);
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a0b2e;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.85);
    z-index: 4;
}

.pin-sponsor .marker-pulse-ring {
    top: 2px;
    left: 3px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border-color: var(--glow-color, #ffd700);
}

/* Pulso de onda en el mapa */
.marker-pulse-ring {
    position: absolute;
    top: 5px;
    left: 7px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--glow-color, var(--neon-orange));
    animation: markerPulseWave 2.5s infinite;
    pointer-events: none;
    opacity: 0;
    z-index: 0;
}

@keyframes markerPulseWave {
    0% { transform: scale(0.8); opacity: 0.9; }
    100% { transform: scale(2.3); opacity: 0; }
}

/* Botón GPS Radar */
.btn-gps-float {
    position: absolute;
    bottom: 30px;
    right: 22px;
    z-index: 1000;
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-glow-purple);
    backdrop-filter: blur(16px);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 20px var(--purple-glow);
    transition: var(--transition-smooth);
}
.btn-gps-float:hover {
    transform: scale(1.12);
    background: var(--neon-purple);
}
.btn-gps-float.gps-searching {
    animation: gpsSearchingPulse 1.1s infinite alternate ease-in-out;
    border-color: var(--neon-orange);
    box-shadow: 0 0 25px rgba(255, 107, 0, 0.7), 0 0 40px rgba(168, 85, 247, 0.5);
}
.btn-gps-float.is-active {
    background: #059669;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.8), 0 0 45px rgba(16, 185, 129, 0.5);
    animation: gpsActivePulse 2.2s infinite ease-in-out;
}
@keyframes gpsSearchingPulse {
    0% { transform: scale(1); filter: brightness(1); }
    100% { transform: scale(1.14); filter: brightness(1.25); }
}
@keyframes gpsActivePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(16, 185, 129, 0.7); }
    50% { transform: scale(1.08); box-shadow: 0 0 35px rgba(16, 185, 129, 0.95); }
}

/* Marcador GPS Satelital en Vivo (Electric Cyan Radar Puck) */
.leaflet-user-puck-container {
    background: transparent !important;
    border: none !important;
}
.user-gps-live-puck {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-gps-live-dot {
    width: 16px;
    height: 16px;
    background: #00f0ff;
    border: 3.5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 16px #00f0ff, 0 0 28px rgba(0, 240, 255, 0.8), 0 4px 10px rgba(0, 0, 0, 0.8);
    z-index: 3;
    position: relative;
}
.user-gps-live-halo {
    position: absolute;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(0, 240, 255, 0.8);
    border-radius: 50%;
    animation: userLiveGpsPulse 2s infinite ease-out;
    z-index: 2;
}
@keyframes userLiveGpsPulse {
    0% { transform: scale(0.4); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Banner Flotante de Ruta Activa en el Mapa (In-Map Routing HUD) */
.route-hud-banner {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    width: min(92%, 620px);
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glow-orange);
    backdrop-filter: blur(24px);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 25px var(--orange-glow-subtle);
    animation: slideUpFade 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.route-hud-title {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.route-hud-title strong {
    color: var(--neon-orange-bright);
}

.route-hud-metrics {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #e0d8ff;
    font-weight: 600;
}

.route-hud-metrics span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.route-hud-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.route-active .btn-gps-float {
    bottom: 110px;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translate(-50%, 25px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 650px) {
    .route-hud-banner {
        flex-direction: column;
        align-items: stretch;
        bottom: 14px;
        padding: 12px 16px;
        gap: 12px;
    }
    .route-hud-actions {
        justify-content: flex-end;
    }
    .route-active .btn-gps-float {
        bottom: 140px;
    }
}

/* Leaflet Popups 2026 */
.leaflet-popup-content-wrapper {
    background: rgba(14, 8, 26, 0.96) !important;
    backdrop-filter: blur(24px) !important;
    color: #ffffff !important;
    border: 1px solid var(--border-glow-orange) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 30px var(--orange-glow-subtle) !important;
    padding: 8px !important;
    max-width: min(340px, calc(100vw - 28px)) !important;
    max-height: calc(100dvh - 200px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.4) transparent;
}

.leaflet-popup-close-button {
    color: var(--neon-orange-bright) !important;
    padding: 6px 8px !important;
    top: 6px !important;
    right: 8px !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    transition: var(--transition-smooth) !important;
}

.leaflet-popup-close-button:hover {
    color: #ffffff !important;
    transform: scale(1.18);
}

.leaflet-popup-tip {
    background: rgba(14, 8, 26, 0.96) !important;
    border-bottom: 1px solid var(--border-glow-orange) !important;
}

.leaflet-popup-content {
    margin: 10px 14px !important;
    line-height: 1.4 !important;
}

.map-popup-card h3 {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.badge-cat {
    background: linear-gradient(135deg, var(--neon-purple), #6a0dad);
    color: #fff;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.popup-dir {
    color: var(--neon-orange-bright);
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 6px;
}

.popup-desc {
    color: var(--text-gray);
    font-size: 0.88rem;
    margin-bottom: 12px;
    line-height: 1.45;
}

.popup-votes-badge {
    background: rgba(255, 96, 0, 0.15);
    border: 1px solid var(--border-glow-orange);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-white);
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.popup-votes-badge strong {
    color: var(--neon-orange-bright);
    font-family: var(--font-tech);
    font-size: 1.15rem;
}

.map-popup-buttons {
    display: flex;
    gap: 8px;
}

.popup-vote-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--neon-purple), #7b2cbf);
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.popup-vote-btn:hover {
    box-shadow: 0 0 20px var(--purple-glow);
    transform: translateY(-2px);
}

.popup-delete-btn {
    background: rgba(230, 57, 70, 0.2);
    border: 1px solid rgba(230, 57, 70, 0.4);
    color: #ff6b6b;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.popup-delete-btn:hover {
    background: var(--neon-red);
    color: #fff;
}

/* Tarjeta de Popup - Bloque de Comercios y Patrocinadores Amigos */
.popup-card-sponsor {
    border-color: rgba(255, 215, 0, 0.35);
}

.popup-sponsor-compact-header {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.popup-sponsor-brand-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.popup-sponsor-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.35);
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.badge-sponsor-flow {
    color: #ff9900;
    border-color: rgba(255, 153, 0, 0.4);
    background: rgba(255, 153, 0, 0.12);
}

.badge-sponsor-masq {
    color: #f72585;
    border-color: rgba(247, 37, 133, 0.4);
    background: rgba(247, 37, 133, 0.12);
}

.badge-sponsor-opos {
    color: #4cc9f0;
    border-color: rgba(76, 201, 240, 0.4);
    background: rgba(76, 201, 240, 0.12);
}

.popup-sponsor-logo-badge {
    height: 30px;
    max-width: 120px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.popup-sponsor-img-compact {
    max-height: 26px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8));
}

.popup-sponsor-img-compact.sponsor-logo-flow {
    max-height: 20px;
}

.popup-sponsor-img-compact.sponsor-logo-masqguapas {
    max-height: 26px;
}

.popup-sponsor-img-compact.sponsor-logo-oposiciones {
    max-height: 26px;
}

.popup-sponsor-title {
    color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    text-align: left;
}

.popup-hours {
    font-size: 0.8rem;
    color: var(--neon-orange);
    margin-bottom: 10px;
}

.popup-buttons-sponsor {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.popup-buttons-sponsor .popup-web-btn {
    flex: 1.25;
    padding: 8px 10px;
    font-size: 0.82rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 153, 0, 0.28));
    border: 1px solid #ffd700;
    color: #ffffff;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
}

.popup-buttons-sponsor .popup-web-btn:hover {
    background: linear-gradient(135deg, #ffd700, #ff9900);
    color: #120924;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
    transform: translateY(-1px);
}

.popup-buttons-sponsor .popup-sponsor-route-btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
}

/* ==========================================================================
   FORMULARIO DE REGISTRO & LIVE PREVIEW (REGISTRAR.HTML)
   ========================================================================== */
.content-container {
    flex: 1;
    max-width: 1100px;
    width: 100%;
    margin: 110px auto 40px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.register-layout-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 25px;
    align-items: start;
}

.form-box, .info-box, .glass-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.section-title {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-subtitle {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
}

.halloween-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.form-row .form-group {
    flex: 1;
    min-width: 180px;
}

label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 6px;
}

.field-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
}

input[type="text"],
input[type="tel"],
input[type="password"],
select,
textarea {
    background: rgba(10, 6, 18, 0.75);
    border: 1px solid var(--border-glass);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--neon-orange);
    box-shadow: 0 0 20px var(--orange-glow-subtle);
    background: rgba(14, 8, 26, 0.95);
}

/* Selector Visual de Categorías */
.category-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.cat-card-option {
    background: rgba(10, 6, 18, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 18px 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    position: relative;
}

.cat-card-option:hover {
    border-color: var(--border-glow-purple);
    background: rgba(157, 78, 221, 0.12);
}

.cat-card-option.is-selected {
    border-color: var(--neon-orange);
    background: rgba(255, 96, 0, 0.15);
    box-shadow: 0 0 25px var(--orange-glow-subtle);
}

.cat-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.cat-badge-img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    border-radius: 18px;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter var(--transition-normal);
}

.cat-card-option:hover .cat-badge-img,
.cat-card-option.is-selected .cat-badge-img {
    transform: scale(1.12);
    filter: drop-shadow(0 10px 24px rgba(255, 96, 0, 0.6));
}

.stat-badge-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 6px;
    vertical-align: middle;
    margin-right: 6px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

.pill-badge-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 6px;
    vertical-align: middle;
    margin-right: 6px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.6));
}

.criteria-badge-img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    border-radius: 18px;
    margin-bottom: 10px;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.7));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.criteria-badge-img:hover {
    transform: scale(1.12);
}

.marker-badge-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.cat-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}
.cat-card-desc {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 4px;
}

/* Autocomplete de Calles */
.autocomplete-container { position: relative; }
.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--neon-purple);
    border-top: none;
    z-index: 100;
    max-height: 220px;
    overflow-y: auto;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.suggestion-item {
    padding: 12px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}
.suggestion-item:hover {
    background: var(--neon-purple);
    color: #ffffff;
}

/* Minimapa Selector */
#selector-mapa-container {
    background: rgba(157, 78, 221, 0.08);
    border: 1px solid var(--border-glow-purple);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 10px;
}
#mini-map {
    height: 250px;
    border-radius: var(--radius-sm);
    width: 100%;
}

/* Live Card Preview Box */
.live-preview-box {
    position: sticky;
    top: 110px;
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glow-purple);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px var(--purple-glow-subtle);
}

.preview-header-tag {
    font-family: var(--font-tech);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--neon-orange-bright);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.preview-card-render {
    background: rgba(10, 6, 18, 0.85);
    border: 1px solid var(--border-glow-orange);
    border-radius: var(--radius-md);
    padding: 22px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.preview-badge-cat {
    position: absolute;
    top: 18px;
    right: 18px;
}

.preview-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    padding-right: 80px;
}

.preview-dir {
    font-size: 0.88rem;
    color: var(--neon-orange);
    font-weight: 600;
    margin-bottom: 12px;
}

.preview-desc {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 16px;
}

.preview-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-glass);
    padding-top: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CONCURSO & PODIO 3D (CONCURSO.HTML)
   ========================================================================== */
.ranking-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.ranking-section-title {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 800;
    margin: 0;
}

.ranking-total-pill {
    padding: 6px 16px;
    font-size: 0.82rem;
}

.podium-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 16px;
    align-items: flex-end;
    margin: 25px 0 35px;
}

.podium-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.podium-card.podium-1 {
    order: 2;
    padding: 34px 18px;
    border-color: #ffd700;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.3);
}
.podium-card.podium-2 {
    order: 1;
    border-color: #c0c0c0;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(192, 192, 192, 0.2);
}
.podium-card.podium-3 {
    order: 3;
    border-color: #cd7f32;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(205, 127, 50, 0.2);
}

.podium-medal {
    font-family: var(--font-tech);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1;
}
.podium-medal.podium-medal-1 { color: #ffd700; font-size: 2.6rem; font-weight: 900; }
.podium-medal.podium-medal-2 { color: #c0c0c0; }
.podium-medal.podium-medal-3 { color: #cd7f32; }

.podium-info-wrap {
    width: 100%;
}

.podium-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    word-break: break-word;
}
.podium-dir {
    font-size: 0.82rem;
    color: var(--text-gray);
    margin-bottom: 12px;
    word-break: break-word;
}
.podium-votes {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    display: inline-block;
    font-family: var(--font-tech);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--neon-orange-bright);
}
.podium-votes.podium-votes-1 {
    background: rgba(255, 215, 0, 0.22);
    color: #ffd700;
    font-size: 1.05rem;
}

.ranking-ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.ranking-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    gap: 16px;
    transition: var(--transition-smooth);
}
.ranking-item:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-glow-purple);
}

.rank-pos-col {
    width: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rank-pos-badge {
    font-family: var(--font-tech);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-muted);
}

.rank-info {
    flex: 1;
    min-width: 0;
}
.rank-name {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 5px;
    line-height: 1.35;
    word-break: break-word;
}
.rank-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.rank-dir {
    font-size: 0.85rem;
    color: var(--text-gray);
    word-break: break-word;
}
.rank-cat {
    flex-shrink: 0;
}

.rank-votes {
    text-align: center;
    min-width: 72px;
    flex-shrink: 0;
    background: rgba(255, 96, 0, 0.12);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glow-orange);
    color: var(--neon-orange-bright);
}
.rank-votes strong {
    font-family: var(--font-tech);
    font-size: 1.35rem;
    display: block;
    line-height: 1.1;
}
.rank-votes span {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Desglose 50/50 */
.split-vote-visual { display: flex; gap: 16px; margin-top: 15px; }
.split-vote-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    padding: 18px;
    border-radius: var(--radius-md);
    text-align: center;
}
.split-vote-pct { font-family: var(--font-tech); font-size: 2rem; font-weight: 700; color: var(--neon-orange); }

/* ==========================================================================
   FOOTER & MASCOTA
   ========================================================================== */
.footer-ayto {
    background: rgba(5, 2, 10, 0.98);
    text-align: center;
    padding: 40px 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-glass);
    z-index: 10;
    position: relative;
    margin-top: auto;
}

.escudo-ayto {
    height: 80px;
    margin-top: 14px;
    filter: drop-shadow(0 0 12px var(--purple-glow));
    transition: var(--transition-smooth);
}
.escudo-ayto:hover {
    filter: drop-shadow(0 0 25px var(--orange-glow));
    transform: scale(1.06);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 650px;
    margin: 0 auto;
}

.footer-contact {
    margin-top: 8px;
}

.footer-email-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    font-size: 0.82rem;
    font-family: var(--font-tech);
    text-decoration: none;
    transition: all var(--transition-base);
}

.footer-email-badge:hover {
    color: #ffffff;
    border-color: var(--neon-orange);
    background: rgba(255, 107, 0, 0.12);
    box-shadow: 0 0 16px rgba(255, 107, 0, 0.25);
    transform: translateY(-2px);
}

.footer-email-badge svg {
    color: var(--neon-orange);
    flex-shrink: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 14px;
    font-size: 0.8rem;
    font-family: var(--font-tech);
}

.footer-legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-legal-links a:hover {
    color: var(--neon-orange);
    text-decoration: underline;
}

.legal-sep {
    color: rgba(255, 255, 255, 0.2);
}

.footer-copy {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

.legal-inline-link {
    color: var(--neon-orange);
    text-decoration: underline;
    font-weight: 600;
}

.legal-inline-link:hover {
    color: #ffd000;
}

.sponsor-contact-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.sponsor-email-text {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-tech);
    transition: color var(--transition-base);
}

.sponsor-email-text:hover {
    color: #ffffff;
    text-decoration: underline;
}

.mascot-hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Escenario central: Logotipo oficial de Halloween del Ayuntamiento de Rota con la Mascota */
.mascot-hero-stage {
    position: relative;
    width: clamp(260px, 78vw, 360px);
    aspect-ratio: 1260 / 1152;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: mascotStageFloat 3.8s ease-in-out infinite;
    transition: transform 0.3s ease, filter 0.3s ease;
    outline: none;
}

.mascot-hero-stage:hover,
.mascot-hero-stage:focus-visible {
    animation-play-state: paused;
    transform: translateY(-6px) scale(1.03);
}

.ayto-hero-backdrop {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(255, 107, 0, 0.35)) drop-shadow(0 12px 28px rgba(0, 0, 0, 0.85));
    pointer-events: none;
    user-select: none;
    transition: filter 0.35s ease;
}

.mascot-hero-stage:hover .ayto-hero-backdrop,
.mascot-hero-stage:focus-visible .ayto-hero-backdrop {
    filter: drop-shadow(0 0 38px rgba(255, 107, 0, 0.65)) drop-shadow(0 16px 36px rgba(0, 0, 0, 0.95));
}

.mascot-stage-camaleon,
.mascot-hero-stage .mascot-container {
    position: absolute;
    top: 2%;
    left: 50.8%;
    transform: translate(-50%, 0);
    width: 28.5%;
    margin: 0;
    z-index: 3;
    cursor: pointer;
    animation: mascotStageFloat 3.6s ease-in-out infinite;
    transition: transform 0.3s ease, filter 0.3s ease;
    outline: none;
}

.mascot-stage-camaleon:hover,
.mascot-stage-camaleon:focus-visible,
.mascot-hero-stage .mascot-container:hover {
    animation-play-state: paused;
    transform: translate(-50%, -6px) scale(1.08) rotate(3deg);
}

/* Fallback para instancias independientes de la mascota */
.mascot-container {
    width: 175px;
    margin: 0 auto 10px;
    animation: floatAnimation 3.5s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.mascot-container:hover { transform: scale(1.1) rotate(5deg); }

.mascot-img { 
    width: 100%; 
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 18px rgba(168, 85, 247, 0.45)); 
    transition: filter 0.3s ease;
}

.mascot-stage-camaleon:hover .mascot-img,
.mascot-stage-camaleon:focus-visible .mascot-img,
.mascot-hero-stage .mascot-container:hover .mascot-img {
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 30px rgba(255, 107, 0, 0.6));
}

@keyframes mascotStageFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.mascot-speech-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(147, 51, 234, 0.18);
    border: 1px solid rgba(168, 85, 247, 0.45);
    color: #f3e8ff;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--font-tech);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.mascot-hero-wrapper:hover .mascot-speech-pill {
    border-color: rgba(255, 107, 0, 0.55);
    background: rgba(255, 107, 0, 0.14);
    transform: translateY(-2px);
}

/* Banner de la Mascota Guardiana del Ranking */
.ranking-mascot-banner {
    background: linear-gradient(135deg, rgba(28, 16, 44, 0.82) 0%, rgba(14, 8, 24, 0.92) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-xl);
    padding: 22px 26px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 215, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.ranking-mascot-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, #ff8c00, transparent);
}

.ranking-mascot-visual {
    flex-shrink: 0;
    width: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-mascot-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 16px rgba(255, 215, 0, 0.3));
    animation: floatAnimation 3.8s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.ranking-mascot-banner:hover .ranking-mascot-img {
    transform: scale(1.08) rotate(4deg);
}

.ranking-mascot-content {
    flex-grow: 1;
}

.ranking-mascot-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #ffd700;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
    font-family: var(--font-tech);
}

.ranking-mascot-title {
    font-size: 1.35rem;
    font-family: var(--font-display);
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.ranking-mascot-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 650px) {
    .ranking-mascot-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px 18px;
        gap: 16px;
    }
    .ranking-mascot-visual {
        width: 110px;
    }
}

/* Franja de Comercios y Colaboradores Locales */
.sponsors-section {
    max-width: 1050px;
    width: 100%;
    margin: 40px auto 60px;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.sponsors-title {
    font-size: 0.85rem;
    font-family: var(--font-tech);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.sponsors-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sponsor-badge {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-full);
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.sponsor-badge:hover {
    border-color: #ffd700;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
    transform: translateY(-2px);
}

/* ==========================================================================
   SECCIÓN CONOCE A CAMI (MINISERIE & BIOGRAFÍA)
   ========================================================================== */
.cami-showcase-section {
    max-width: 1200px;
    width: 100%;
    margin: 50px auto 65px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.cami-showcase-header {
    text-align: center;
    margin-bottom: 35px;
}

.cami-showcase-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-tech);
    margin-bottom: 12px;
}

.cami-showcase-title {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-family: var(--font-display);
    color: var(--text-light);
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    text-shadow: 0 0 25px rgba(168, 85, 247, 0.3);
}

.cami-showcase-sub {
    color: var(--text-gray);
    font-size: 1.05rem;
    max-width: 740px;
    margin: 0 auto;
    line-height: 1.6;
}

.cami-grid {
    display: grid;
    grid-template-columns: 1.22fr 1fr;
    gap: 28px;
    align-items: stretch;
}

/* Tarjeta Cinema Player */
.cami-cinema-card {
    background: rgba(22, 13, 37, 0.78);
    border: 1px solid rgba(168, 85, 247, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl, 24px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cami-cinema-card:hover {
    border-color: rgba(168, 85, 247, 0.55);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 35px rgba(168, 85, 247, 0.2);
}

.cami-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    overflow: hidden;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.cami-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.cami-video-poster {
    position: absolute;
    inset: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cami-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.cami-video-poster:hover .cami-poster-img {
    transform: scale(1.035);
    filter: brightness(1.08);
}

.cami-poster-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.15) 0%, rgba(10, 6, 18, 0.72) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px;
    text-align: center;
    pointer-events: none;
}

.cami-play-btn {
    pointer-events: auto;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7 0%, #ff6b00 100%);
    border: 3px solid rgba(255, 255, 255, 0.88);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.65), 0 0 16px rgba(255, 107, 0, 0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.cami-play-btn svg {
    margin-left: 4px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.cami-play-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 0 45px rgba(168, 85, 247, 0.85), 0 0 25px rgba(255, 107, 0, 0.8);
    border-color: #ffffff;
}

.cami-play-hint {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-tech);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.5px;
    background: rgba(0, 0, 0, 0.45);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cami-cinema-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

.cami-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cami-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cami-meta-pill svg {
    color: #a855f7;
}

.cami-meta-pill-accent {
    background: rgba(255, 107, 0, 0.12);
    border-color: rgba(255, 107, 0, 0.35);
    color: #ff9d42;
}

.cami-meta-pill-accent svg {
    color: #ff6b00;
}

.cami-synopsis-box {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: var(--radius-lg, 16px);
    padding: 16px;
    margin-top: auto;
}

.cami-synopsis-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #c084fc;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px 0;
    font-family: var(--font-tech);
}

.cami-synopsis-title svg {
    color: #c084fc;
    flex-shrink: 0;
}

.cami-synopsis-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.55;
    margin: 0;
}

.cami-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.cami-yt-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

/* Tarjeta Pasaporte */
.cami-passport-card {
    background: rgba(22, 13, 37, 0.78);
    border: 1px solid rgba(168, 85, 247, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl, 24px);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.1);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cami-passport-card:hover {
    border-color: rgba(168, 85, 247, 0.55);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 35px rgba(168, 85, 247, 0.2);
}

.cami-passport-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.cami-avatar-frame {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.35) 0%, rgba(20, 10, 30, 0.9) 100%);
    border: 2px solid rgba(168, 85, 247, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

.cami-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cami-passport-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #ff9d42;
    font-family: var(--font-tech);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.cami-passport-name {
    font-size: 1.35rem;
    font-family: var(--font-display);
    color: var(--text-light);
    letter-spacing: 0.8px;
    margin: 0 0 3px 0;
}

.cami-passport-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.cami-passport-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.cami-passport-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cami-passport-item:hover {
    background: rgba(168, 85, 247, 0.09);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateX(4px);
}

.cami-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(168, 85, 247, 0.16);
    color: #c084fc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cami-item-content {
    flex: 1;
}

.cami-item-content strong {
    display: block;
    font-size: 0.88rem;
    color: #f3f4f6;
    margin-bottom: 2px;
    font-weight: 700;
}

.cami-item-content p {
    font-size: 0.82rem;
    color: var(--text-gray);
    line-height: 1.45;
    margin: 0;
}

.cami-passport-cta {
    margin-top: auto;
}

.cami-passport-cta .btn {
    text-align: center;
    justify-content: center;
}

/* ==========================================================================
   ESCAPARATE DE PATROCINADORES Y COMERCIOS DE ROTA (2026)
   ========================================================================== */
.sponsors-showcase-section {
    max-width: 1200px;
    width: 100%;
    margin: 50px auto 65px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.sponsors-showcase-header {
    text-align: center;
    margin-bottom: 35px;
}

.sponsors-showcase-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.35);
    color: var(--neon-orange);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-tech);
    margin-bottom: 12px;
}

.sponsors-showcase-title {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-family: var(--font-display);
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-shadow: 0 0 25px rgba(255, 107, 0, 0.25);
}

.sponsors-showcase-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.6;
}

.sponsors-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.sponsor-card {
    background: var(--bg-glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.sponsor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-orange), transparent);
    opacity: 0.4;
    transition: opacity var(--transition-base);
}

.sponsor-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 107, 0, 0.15);
}

.sponsor-card:hover::before {
    opacity: 1;
}

.sponsor-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.sponsor-pill {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 107, 0, 0.15);
    color: var(--neon-orange);
    border: 1px solid rgba(255, 107, 0, 0.35);
}

.sponsor-pill-accent {
    background: rgba(227, 66, 130, 0.15);
    color: #ff60a0;
    border-color: rgba(227, 66, 130, 0.4);
}

.sponsor-pill-blue {
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.4);
}

.sponsor-pill-gold {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.4);
}

.sponsor-category-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.sponsor-logo-box {
    height: 90px;
    background: rgba(6, 3, 14, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    margin-bottom: 18px;
    transition: border-color var(--transition-base), background var(--transition-base);
}

.sponsor-card:hover .sponsor-logo-box {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(8, 4, 18, 0.85);
}

.sponsor-logo-img {
    max-height: 48px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
    transition: transform var(--transition-base);
}

.sponsor-logo-masqguapas {
    max-height: 72px;
    filter: drop-shadow(0 2px 14px rgba(227, 66, 130, 0.4)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
}

.sponsor-logo-oposiciones {
    max-height: 72px;
    filter: drop-shadow(0 2px 14px rgba(37, 99, 235, 0.45)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
}

.sponsor-card:hover .sponsor-logo-img {
    transform: scale(1.04);
}

.sponsor-card:hover .sponsor-logo-masqguapas {
    transform: scale(1.06);
}

.sponsor-card:hover .sponsor-logo-oposiciones {
    transform: scale(1.08) rotate(-2deg);
}

.sponsor-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    font-family: var(--font-display);
    letter-spacing: 0.5px;
}

.sponsor-desc {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.sponsor-perk-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--neon-orange);
    padding: 10px 14px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 18px;
    font-size: 0.82rem;
    color: #e2e8f0;
    line-height: 1.45;
}

.sponsor-perk-box.accent-perk {
    border-left-color: #ff60a0;
}

.sponsor-perk-box.blue-perk {
    border-left-color: #3b82f6;
}

.sponsor-perk-box svg {
    flex-shrink: 0;
    color: var(--neon-orange);
    margin-top: 2px;
}

.sponsor-perk-box.accent-perk svg {
    color: #ff60a0;
}

.sponsor-perk-box.blue-perk svg {
    color: #60a5fa;
}

.sponsor-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    margin-top: auto;
}

.sponsor-location {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sponsor-location svg {
    color: var(--neon-orange);
    flex-shrink: 0;
}

.sponsor-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2) 0%, rgba(255, 69, 0, 0.35) 100%);
    border: 1px solid rgba(255, 107, 0, 0.45);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.sponsor-btn:hover {
    background: var(--gradient-fire);
    border-color: var(--neon-orange);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

.sponsor-btn-accent {
    background: linear-gradient(135deg, rgba(227, 66, 130, 0.2) 0%, rgba(180, 40, 100, 0.35) 100%);
    border-color: rgba(227, 66, 130, 0.45);
}

.sponsor-btn-accent:hover {
    background: linear-gradient(135deg, #e34282 0%, #b82260 100%);
    border-color: #ff60a0;
    box-shadow: 0 0 20px rgba(227, 66, 130, 0.45);
    color: #ffffff;
}

.sponsor-btn-blue {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(29, 78, 216, 0.35) 100%);
    border-color: rgba(59, 130, 246, 0.45);
}

.sponsor-btn-blue:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #60a5fa;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.45);
    color: #ffffff;
}

/* Tarjeta CTA de captación de patrocinadores */
.sponsor-card-cta {
    background: linear-gradient(145deg, rgba(24, 14, 40, 0.75) 0%, rgba(12, 7, 22, 0.85) 100%);
    border: 1px dashed rgba(255, 215, 0, 0.35);
}

.sponsor-card-cta:hover {
    border-color: #ffd700;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.2);
}

.sponsor-cta-icon-box {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.sponsor-badge-3d {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(255, 215, 0, 0.35));
    transition: transform 0.4s ease;
}

.sponsor-card-cta:hover .sponsor-badge-3d {
    transform: scale(1.1) rotate(5deg);
}

.sponsor-cta-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sponsor-cta-perks li {
    font-size: 0.82rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sponsor-cta-perks li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffd700;
    box-shadow: 0 0 8px #ffd700;
    flex-shrink: 0;
}

.sponsor-btn-cta {
    width: 100%;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(220, 160, 0, 0.35) 100%);
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: #fff4cc;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-base);
}

.sponsor-btn-cta:hover {
    background: linear-gradient(135deg, #ffd700 0%, #ff9900 100%);
    color: #0b0514;
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.45);
    transform: translateY(-2px);
}


@keyframes floatAnimation {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px var(--orange-glow-subtle); }
    100% { box-shadow: 0 0 25px var(--orange-glow); }
}

/* ==========================================================================
   TOASTS & MODALES (2026)
   ========================================================================== */
.toast-container {
    position: fixed;
    top: 85px;
    right: 22px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 390px;
    width: 100%;
}

.toast {
    background: rgba(18, 11, 32, 0.96);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: #fff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(157, 78, 221, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-15px) scale(0.95);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}
.toast.toast-show { opacity: 1; transform: translateY(0) scale(1); }
.toast.toast-hide { opacity: 0; transform: translateX(50px) scale(0.9); }

.toast-success { border-left: 4px solid var(--neon-green); }
.toast-error { border-left: 4px solid var(--neon-red); }
.toast-warning { border-left: 4px solid var(--neon-orange); }
.toast-info { border-left: 4px solid var(--neon-purple); }

.toast-icon { font-size: 1.4rem; }
.toast-content p { font-size: 0.9rem; margin: 0; color: #fff; line-height: 1.4; }
.toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; margin-left: auto; font-size: 0.95rem; }
.toast-close:hover { color: #fff; }

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--neon-orange);
    width: 100%;
    animation: toastProgress linear forwards;
}
@keyframes toastProgress {
    0% { width: 100%; }
    100% { width: 0%; }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(14px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.modal-active { opacity: 1; pointer-events: auto; }

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glow-purple);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.95), 0 0 45px var(--purple-glow-subtle);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-bounce);
}
.modal-overlay.modal-active .modal-card { transform: scale(1) translateY(0); }

.modal-header {
    padding: 22px 26px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-title { font-size: 1.3rem; font-weight: 800; color: #fff; }
.modal-close-btn { background: none; border: none; color: var(--text-muted); font-size: 1.3rem; cursor: pointer; }
.modal-body { padding: 26px; }
.modal-footer {
    padding: 18px 26px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ==========================================================================
   OVERLAY CINEMATOGRÁFICO DE VÍDEO INTRO
   ========================================================================== */
html.intro-playing,
body.intro-playing {
    overflow: hidden !important;
    height: 100% !important;
    touch-action: none;
}

#intro-overlay {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    width: 100dvw;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    background: #000000;
    z-index: 100000; /* Siempre por encima de la navbar (z-index: 9999) */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
    opacity: 1;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-video-ambient {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    width: 100dvw;
    height: 100%;
    height: 100dvh;
    object-fit: cover;
    filter: blur(48px) brightness(0.65) saturate(1.3);
    transform: scale(1.12);
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
    display: none;
}

@media (min-width: 769px) {
    .intro-video-ambient {
        display: block;
    }
}

.intro-video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-width: 100dvw;
    max-height: 100%;
    max-height: 100dvh;
    object-fit: contain; /* Garantiza proporción 100% íntegra sin cortes ni deformación */
    display: block;
    background: transparent;
    position: relative;
    z-index: 2;
}

#skip-btn {
    position: fixed;
    bottom: calc(32px + env(safe-area-inset-bottom, 0px));
    right: calc(32px + env(safe-area-inset-right, 0px));
    z-index: 100002;
    background: rgba(18, 11, 32, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 96, 0, 0.55);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-family: var(--font-tech);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.85), 0 0 15px rgba(255, 96, 0, 0.4);
    transition: var(--transition-smooth);
    pointer-events: auto;
}

#skip-btn:hover {
    background: var(--neon-orange);
    color: #05020a;
    border-color: #ffffff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 30px rgba(255, 96, 0, 0.7);
}

#skip-btn:active {
    transform: translateY(0) scale(0.98);
}

/* ==========================================================================
   MODAL OVERLAY & DIALOG (2026)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 2, 12, 0.88);
    backdrop-filter: blur(14px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.modal-active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: linear-gradient(145deg, rgba(22, 14, 38, 0.96) 0%, rgba(12, 7, 22, 0.98) 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 107, 0, 0.2);
    width: min(100%, 540px);
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transform: scale(0.92) translateY(15px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.modal-overlay.modal-active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title {
    font-size: 1.25rem;
    font-family: var(--font-display);
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.modal-close-btn:hover {
    background: rgba(255, 107, 0, 0.2);
    border-color: var(--neon-orange);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-body {
    padding: 24px;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-footer {
    padding: 16px 24px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Modal de contacto de patrocinio */
.sponsor-modal-header-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 20px;
}

.sponsor-modal-hero-badge {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(255, 107, 0, 0.35));
    flex-shrink: 0;
}

.sponsor-modal-actions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.sponsor-action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-base);
    cursor: pointer;
}

.sponsor-action-card:hover {
    background: rgba(255, 107, 0, 0.15);
    border-color: var(--neon-orange);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.25);
    transform: translateY(-2px);
    color: #ffffff;
}

.sponsor-action-card.action-gmail {
    border-color: rgba(234, 67, 53, 0.4);
    background: rgba(234, 67, 53, 0.12);
}

.sponsor-action-card.action-gmail:hover {
    background: rgba(234, 67, 53, 0.25);
    border-color: #ea4335;
    box-shadow: 0 0 20px rgba(234, 67, 53, 0.35);
}

.sponsor-action-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sponsor-action-icon svg {
    color: var(--neon-orange);
}

.action-gmail .sponsor-action-icon svg {
    color: #ff6e60;
}

.sponsor-action-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sponsor-action-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
}

.sponsor-action-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
}

.sponsor-email-box-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.5);
    border: 1px dashed rgba(255, 215, 0, 0.4);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-top: 14px;
}

.sponsor-copy-btn {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #ffd700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.sponsor-copy-btn:hover {
    background: #ffd700;
    color: #0c0716;
}

/* ==========================================================================
   RESPONSIVE MÓVIL (2026)
   ========================================================================== */
@media (max-width: 900px) {
    .register-layout-grid {
        grid-template-columns: 1fr;
    }
    .live-preview-box {
        position: static;
    }
}

/* ==========================================================================
   PÁGINA LEGAL (AVISO LEGAL, PRIVACIDAD Y COOKIES)
   ========================================================================== */
.legal-page-wrapper {
    min-height: 100vh;
    padding: 120px 20px 60px;
    position: relative;
    z-index: 2;
}

.legal-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-family: var(--font-tech);
    margin-bottom: 16px;
    transition: color var(--transition-base);
}

.legal-back-link:hover {
    color: var(--neon-orange);
}

.legal-header {
    background: rgba(14, 8, 26, 0.75);
    border: 1px solid var(--border-glow-purple);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.legal-title {
    font-family: var(--font-scary);
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--neon-orange);
    text-shadow: 0 0 15px var(--orange-glow);
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.legal-subtitle {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.legal-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.legal-badge {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #e9d5ff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-family: var(--font-tech);
    font-weight: 600;
}

.legal-toc-box {
    background: rgba(10, 5, 20, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}

.legal-toc-title {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 700;
}

.legal-toc-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-toc-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.92rem;
    transition: all var(--transition-base);
}

.legal-toc-links a:hover {
    color: var(--neon-orange);
    padding-left: 6px;
}

.legal-section-card {
    background: rgba(14, 8, 26, 0.7);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: blur(16px);
    transition: border-color var(--transition-base);
}

.legal-section-card:hover {
    border-color: rgba(255, 107, 0, 0.35);
}

.legal-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.legal-sec-num {
    font-family: var(--font-tech);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--neon-orange);
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
}

.legal-section-header h2 {
    font-size: 1.35rem;
    color: #ffffff;
    margin: 0;
}

.legal-section-body {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-section-body p {
    margin-bottom: 16px;
}

.legal-section-body h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 24px 0 10px 0;
    font-family: var(--font-tech);
}

.legal-section-body ul, .legal-section-body ol {
    margin: 0 0 18px 24px;
    padding: 0;
}

.legal-section-body li {
    margin-bottom: 8px;
}

.legal-link {
    color: var(--neon-orange);
    text-decoration: underline;
}

.legal-link:hover {
    color: #ffd000;
}

.legal-alert-box {
    background: rgba(168, 85, 247, 0.1);
    border-left: 4px solid var(--neon-purple);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 16px 20px;
    margin: 20px 0;
}

.legal-alert-box strong {
    color: #e9d5ff;
    display: block;
    margin-bottom: 8px;
}

.legal-pill-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 245, 160, 0.08);
    border: 1px solid rgba(0, 245, 160, 0.3);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: #a7f3d0;
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.legal-pill-notice svg {
    flex-shrink: 0;
    color: var(--neon-green);
}

.legal-table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.legal-table th, .legal-table td {
    padding: 12px 14px;
    border: 1px solid var(--border-glass);
}

.legal-table th {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: var(--font-tech);
}

.legal-table td code {
    background: rgba(255, 107, 0, 0.15);
    color: #ffaa55;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.legal-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-orange));
    color: #ffffff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    transition: all var(--transition-base);
}

.legal-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.5);
    color: #ffffff;
}

/* ==========================================================================
   BANNER INFORMATIVO DE COOKIES Y PRIVACIDAD FLOTANTE (NON-INTRUSIVE)
   ========================================================================== */
.cookie-notice-dock {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 580px;
    margin: 0 auto;
    z-index: 9999;
    background: rgba(14, 8, 26, 0.96);
    border: 1px solid var(--border-glow-purple);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    backdrop-filter: blur(24px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(168, 85, 247, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    animation: cookieSlideUp 0.4s ease-out;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-notice-text {
    font-size: 0.82rem;
    color: var(--text-gray);
    line-height: 1.45;
    margin: 0;
}

.cookie-notice-text a {
    color: var(--neon-orange);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-notice-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn-accept {
    background: var(--neon-orange);
    color: #ffffff;
    border: none;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition-base);
}

.cookie-btn-accept:hover {
    background: #ff8533;
    transform: scale(1.04);
}

@media (max-width: 960px) {
    .cami-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 12px;
        padding: 10px 16px;
        border-radius: var(--radius-lg);
    }
    .nav-right-cluster {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .lang-switch-dock {
        padding: 2px 4px;
    }
    .lang-switch-btn {
        font-size: 0.72rem;
        padding: 2px 7px;
    }
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 15px;
        right: 15px;
        background: rgba(14, 8, 26, 0.98);
        backdrop-filter: blur(30px);
        border: 1px solid var(--border-glow-purple);
        border-radius: var(--radius-lg);
        flex-direction: column;
        padding: 20px;
        gap: 12px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
    }
    .nav-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-menu li { width: 100%; text-align: center; }
    .nav-menu li a { padding: 12px; justify-content: center; font-size: 1.05rem; }

    .hero { padding: 110px 16px 40px; }
    .countdown-box { gap: 10px; padding: 14px 18px; }
    .countdown-val { font-size: 1.5rem; }

    /* Contenedor y Cajas Generales en Movil */
    .content-container {
        padding: 0 12px;
        margin: 95px auto 30px;
    }
    .form-box, .info-box, .glass-card {
        padding: 22px 14px;
        border-radius: var(--radius-sm);
    }

    .map-command-dock { top: 75px; width: 95%; }

    /* Podio Top 3 en Movil */
    .podium-container {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 18px 0 28px;
    }
    .podium-card {
        flex-direction: row;
        text-align: left;
        padding: 14px 16px;
        gap: 14px;
        align-items: center;
    }
    .podium-card.podium-1 {
        order: 1;
        padding: 16px 16px;
    }
    .podium-card.podium-2 { order: 2; }
    .podium-card.podium-3 { order: 3; }
    .podium-medal {
        margin-bottom: 0;
        min-width: 42px;
        text-align: center;
        flex-shrink: 0;
        font-size: 1.6rem !important;
    }
    .podium-info-wrap {
        flex: 1;
        min-width: 0;
    }
    .podium-title {
        font-size: 0.98rem;
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .podium-dir {
        font-size: 0.78rem;
        margin-bottom: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .podium-votes {
        flex-shrink: 0;
        padding: 6px 12px;
        font-size: 0.88rem !important;
    }

    /* Lista de Clasificacion en Movil */
    .ranking-section-header {
        margin-bottom: 14px;
    }
    .ranking-item {
        padding: 12px 12px;
        gap: 10px;
    }
    .ranking-item:hover {
        transform: none;
    }
    .rank-pos-col {
        width: 36px;
    }
    .rank-pos-badge {
        font-size: 1.15rem;
    }
    .rank-name {
        font-size: 0.96rem;
        margin-bottom: 3px;
    }
    .rank-dir {
        font-size: 0.8rem;
    }
    .rank-votes {
        min-width: 62px;
        padding: 6px 8px;
    }
    .rank-votes strong {
        font-size: 1.18rem;
    }
    .rank-votes span {
        font-size: 0.6rem;
    }

    .split-vote-visual { flex-direction: column; }

    .toast-container {
        top: auto;
        bottom: 20px;
        right: 15px;
        left: 15px;
        max-width: none;
    }

    #skip-btn {
        position: fixed;
        bottom: calc(24px + env(safe-area-inset-bottom, 16px));
        right: calc(16px + env(safe-area-inset-right, 16px));
        padding: 9px 18px;
        font-size: 0.84rem;
        z-index: 100002;
    }
}

@media (max-width: 480px) {
    .content-container {
        padding: 0 8px;
    }
    .form-box, .info-box, .glass-card {
        padding: 18px 10px;
    }
    .ranking-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .ranking-section-title {
        font-size: 1.1rem;
    }
    .ranking-total-pill {
        align-self: flex-start;
        font-size: 0.76rem;
        padding: 4px 10px;
    }
    .podium-card {
        padding: 12px 10px;
        gap: 10px;
    }
    .podium-card.podium-1 {
        padding: 14px 10px;
    }
    .podium-medal {
        min-width: 32px;
        font-size: 1.35rem !important;
    }
    .podium-title {
        font-size: 0.92rem;
    }
    .podium-dir {
        font-size: 0.74rem;
    }
    .podium-votes {
        padding: 5px 8px;
        font-size: 0.8rem !important;
    }
    .ranking-item {
        padding: 10px 8px;
        gap: 8px;
    }
    .rank-pos-col {
        width: 30px;
    }
    .rank-pos-badge {
        font-size: 1.05rem;
    }
    .rank-name {
        font-size: 0.92rem;
    }
    .rank-dir {
        font-size: 0.76rem;
    }
    .rank-votes {
        min-width: 54px;
        padding: 5px 6px;
    }
    .rank-votes strong {
        font-size: 1.05rem;
    }
    .rank-votes span {
        font-size: 0.58rem;
    }
    .cami-cinema-body,
    .cami-passport-card {
        padding: 18px 14px;
    }
    .cami-play-btn {
        width: 62px;
        height: 62px;
    }
    .cami-avatar-frame {
        width: 58px;
        height: 58px;
    }
    .terror-title {
        font-size: clamp(2.2rem, 8.5vw, 3.2rem);
        letter-spacing: 1px;
    }
    .nav-logo {
        font-size: 1.35rem;
    }
}