:root {
    --void-bg: #010308;
    --neon-cyan: #00e6ff;
    --neon-magenta: #b800ff;
    --glass-white: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    --font-sys: 'Rajdhani', sans-serif;
    --font-flow: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    /* Accesibilidad Visual para Adultos/Jóvenes y Responsividad */
    /* Mobile-first: 106.25% equivale a ~17px de base (en lugar del 16px típico) */
    font-size: 106.25%;
}

html {
    scroll-behavior: smooth;
}

@media (min-width: 768px) {

    html,
    body {
        /* Desktop & Tablet: 112.5% equivale a ~18px de base para mejor lectura a distancia */
        font-size: 112.5%;
    }
}

body {
    background-color: var(--void-bg);
    color: #e2e8f0;
    font-family: var(--font-flow);
    line-height: 1.6;
    position: relative;
}

/* Base Canvas fixes for mobile scrolling */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    mix-blend-mode: screen;
    overflow: hidden;
}

#star-fluid {
    width: 100%;
    height: 100%;
    display: block;
}

.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -5;
    opacity: 0.3;
    pointer-events: none;
    animation: drift 20s infinite alternate cubic-bezier(0.4, 0, 0.6, 1);
}

.orb-1 {
    top: -10%;
    left: 0%;
    width: 60vw;
    height: 60vh;
    max-width: 600px;
    background: var(--neon-cyan);
}

.orb-2 {
    bottom: -10%;
    right: -5%;
    width: 80vw;
    height: 80vh;
    max-width: 800px;
    background: var(--neon-magenta);
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vh;
    max-width: 400px;
    background: #4600d8;
    animation-delay: -10s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, -20px) scale(1.1);
    }
}

.text-center {
    text-align: center;
}

h1,
h2,
h3,
h4,
.logo,
.hologram-badge {
    font-family: var(--font-sys);
    text-transform: uppercase;
}

h2 {
    font-size: 2.2em;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 3.5rem;
    background: rgba(1, 3, 8, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0, 230, 255, 0.8);
    animation: logoGlow 3s infinite alternate;
}

@keyframes logoGlow {
    from {
        text-shadow: 0 0 10px rgba(0, 230, 255, 0.4);
    }

    to {
        text-shadow: 0 0 25px rgba(0, 230, 255, 1), 0 0 40px rgba(0, 230, 255, 0.6);
    }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    font-family: var(--font-sys);
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--neon-cyan);
}

.nav-swipe-indicator {
    display: none;
    font-size: 0.7rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulseSwipe 2s infinite;
    pointer-events: none;
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    text-align: center;
}

@keyframes pulseSwipe {

    0%,
    100% {
        opacity: 0.3;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(5px);
    }
}

@media (max-width: 768px) {
    .nav-swipe-indicator {
        display: none !important; /* Strictly hidden to avoid clutter */
    }

    .glass-nav {
        width: 100%;
        top: 0;
        left: 0;
        transform: none;
        border: none;
        padding: 1.5rem 1rem;
        background: transparent;
        justify-content: center; /* Centers the logo perfectly */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
    }

    .nav-links {
        display: none !important; /* Removed horizontal scroll links entirely */
    }

    .system-hud {
        display: none !important; /* Controls are now inside the Master HUD Orb */
    }

    /* --- MASTER HUD: THE HYPERION EVOLUTION --- */
    .hud-master-control {
        display: flex;
        position: fixed;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        align-items: center;
        justify-content: center;
        gap: 15px;
        z-index: 2000;
        width: auto;
        max-width: 95vw;
        pointer-events: none;
    }

    .hud-master-control * {
        pointer-events: auto;
    }

    /* Side Tactical Modules - Premium Glassmorphism */
    .hud-side-btn {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
        border: 1px solid rgba(0, 230, 255, 0.4);
        padding: 10px 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 90px;
        height: 65px;
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        clip-path: polygon(15% 0, 100% 0, 100% 75%, 85% 100%, 0 100%, 0 25%);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(0, 230, 255, 0.2);
        position: relative;
        overflow: hidden;
        flex-shrink: 0;
    }

    .hud-side-btn::after {
        content: '';
        position: absolute;
        top: -100%; left: -100%; width: 300%; height: 300%;
        background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
        animation: holoGloss 6s linear infinite;
        pointer-events: none;
    }

    @keyframes holoGloss {
        0% { transform: translate(-100%, -100%) rotate(0deg); }
        100% { transform: translate(100%, 100%) rotate(45deg); }
    }

    /* THE HYPERION CORE (Enlarged & Majestic) */
    .hud-orb {
        display: flex;
        position: relative;
        width: 100px;  /* Enlarged for prominence */
        height: 100px; /* Perfect square base */
        flex-shrink: 0;
        background: #000;
        border-radius: 50%;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 2001;
        box-shadow: 0 0 60px rgba(0, 230, 255, 0.6), inset 0 0 25px rgba(0, 230, 255, 0.4);
        border: 2px solid var(--neon-cyan);
        transform-style: preserve-3d;
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .hud-orb:active { transform: scale(0.9); }

    .orb-core {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        position: relative;
        overflow: hidden;
        background: #000;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .core-gif {
        width: 120%;
        height: 120%;
        object-fit: cover;
        mix-blend-mode: screen; 
        filter: brightness(1.8) contrast(1.2) hue-rotate(-10deg) drop-shadow(0 0 15px var(--neon-cyan));
        pointer-events: none;
    }
    
    .hud-orb::before {
        content: '';
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 2px solid var(--neon-cyan);
        animation: orbPulse 2s ease-out infinite;
        opacity: 0.5;
    }

    @keyframes orbPulse {
        0% { transform: scale(1); opacity: 0.8; }
        100% { transform: scale(1.4); opacity: 0; }
    }

    /* --- CINEMATIC HUD OVERLAY (Fixed Adaptive Layout - No Scroll) --- */
    .hud-overlay {
        position: fixed;
        inset: 0;
        background: radial-gradient(circle at center, rgba(0, 40, 80, 0.3) 0%, rgba(0, 5, 10, 0.99) 100%);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        z-index: 3000;
        display: flex;
        justify-content: center;
        align-items: center; /* Back to perfect center */
        opacity: 0;
        visibility: hidden;
        transition: all 0.6s cubic-bezier(0.7, 0, 0.3, 1);
        overflow: hidden; /* NO SCROLL */
        padding: 2vh 0;
    }

    .hud-overlay::before {
        content: '';
        position: fixed;
        inset: -150%;
        background-image: 
            linear-gradient(rgba(0, 230, 255, 0.15) 1.5px, transparent 1.5px),
            linear-gradient(90deg, rgba(0, 230, 255, 0.15) 1.5px, transparent 1.5px);
        background-size: 60px 60px;
        transform: perspective(600px) rotateX(70deg);
        animation: gridMove 25s linear infinite;
        opacity: 0.45;
        z-index: -1;
    }

    @keyframes gridMove {
        0% { background-position: 0 0; }
        100% { background-position: 0 1200px; }
    }

    .hud-overlay.active { opacity: 1; visibility: visible; }

    .hud-container {
        width: 94%;
        max-width: 440px;
        height: auto;
        max-height: 96vh; /* Scale based on viewport */
        background: rgba(0, 10, 20, 0.85);
        border: 1px solid rgba(0, 230, 255, 0.35);
        position: relative;
        padding: 4vh 20px 3vh; /* FLUID PADDING */
        display: flex;
        flex-direction: column;
        justify-content: space-evenly; /* Distribute items to fit */
        transform: scale(0.85) translateY(50px) rotateX(-15deg);
        transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
        box-shadow: 0 0 100px rgba(0, 230, 255, 0.1);
        backdrop-filter: blur(15px);
    }

    .hud-overlay.active .hud-container { transform: scale(1) translateY(0) rotateX(0); }

    .hud-container::before, .hud-container::after {
        content: '';
        position: absolute;
        width: 40px; height: 40px;
        border: 3px solid var(--neon-cyan);
    }
    .hud-container::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; clip-path: polygon(0 0, 100% 0, 0 100%); }
    .hud-container::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; clip-path: polygon(100% 100%, 0 100%, 100% 0); }

    .hud-title {
        font-family: var(--font-sys);
        font-size: 0.8rem;
        letter-spacing: 10px;
        color: var(--neon-cyan);
        text-shadow: 0 0 15px var(--neon-cyan);
        margin-bottom: 3vh;
        display: block;
        text-align: center;
        font-weight: 900;
        text-transform: uppercase;
    }

    .hud-sectors { 
        display: flex; 
        flex-direction: column; 
        gap: 1.2vh; /* DYNAMIC GAP */
    } 

    .hud-sector {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 1.8vh 20px; /* FLUID PADDING */
        background: linear-gradient(90deg, rgba(0, 230, 255, 0.08) 0%, transparent 100%);
        border: 1px solid rgba(0, 230, 255, 0.2);
        clip-path: polygon(0 0, 96% 0, 100% 20%, 100% 100%, 4% 100%, 0 80%);
        transition: all 0.4s;
        opacity: 0;
        transform: translateX(-30px);
    }

    .hud-overlay.active .hud-sector { opacity: 1; transform: translateX(0); }
    .hud-overlay.active .hud-sector[data-index="1"] { transition-delay: 0.1s; }
    .hud-overlay.active .hud-sector[data-index="2"] { transition-delay: 0.15s; }
    .hud-overlay.active .hud-sector[data-index="3"] { transition-delay: 0.2s; }
    .hud-overlay.active .hud-sector[data-index="4"] { transition-delay: 0.25s; }
    .hud-overlay.active .hud-sector[data-index="5"] { transition-delay: 0.3s; }
    .hud-overlay.active .hud-sector[data-index="6"] { transition-delay: 0.35s; }

    .sector-num { font-size: 0.8rem; color: var(--neon-magenta); font-weight: 900; }
    .sector-name { font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: 2px; }

    .hud-system-controls {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 3vh;
    }

    .hud-sys-btn {
        background: rgba(0, 40, 60, 0.7);
        border: 1px solid var(--neon-cyan);
        color: #fff;
        padding: 1.5vh 5px;
        font-size: 0.6rem;
        letter-spacing: 2px;
        clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
        text-align: center;
    }

    .hud-close-btn {
        margin-top: 2vh;
        width: 100%;
        background: rgba(255, 50, 50, 0.1);
        border: 1px solid rgba(255, 50, 50, 0.4);
        color: #ff5555;
        padding: 1.5vh;
        font-family: monospace;
        letter-spacing: 4px;
        font-size: 0.75rem;
    }

    .hud-scanline {
        position: fixed;
        inset: 0;
        background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 230, 255, 0.05) 2px, rgba(0, 230, 255, 0.05) 4px);
        pointer-events: none;
        z-index: 3001;
        opacity: 0.3;
    }
}

/* Hide on Desktop */
@media (min-width: 769px) { .hud-master-control, .hud-overlay { display: none !important; } }

/* Hide Everything on Desktop */
@media (min-width: 769px) {
    .hud-master-control, .hud-overlay { display: none !important; }
}

.orbital-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.ring-main {
    width: 900px;
    height: 900px;
    animation: rotateRing 60s linear infinite;
}

.ring-secondary {
    width: 600px;
    height: 600px;
    border-style: solid;
    border-color: rgba(0, 230, 255, 0.05);
    animation: rotateRing 40s linear infinite reverse;
}

@keyframes rotateRing {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Layouts */
.section {
    padding: 8rem 5%; /* Reduced from 10rem */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.pt-0 {
    padding-top: 2rem !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero */
.hero {
    text-align: center;
    padding-top: 8.5rem; /* Distanced to prevent touch with thinner nav */
    min-height: auto;
}


.hologram-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 230, 255, 0.3);
    background: rgba(0, 230, 255, 0.05);
    margin-bottom: 1rem; /* Reduced from 2rem */
    box-shadow: 0 0 20px rgba(0, 230, 255, 0.1) inset;
}

.stellar-title {
    font-size: clamp(2rem, 9vw, 6rem);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.2rem;
    padding: 0 5%;
    word-break: break-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: #fff;
    background: linear-gradient(to right, #fff, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cinematic-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: 300;
    color: #a1a1aa;
    line-height: 1.8;
}

.hologram-timer {
    position: relative;
    width: 200px;
    height: auto; /* Changed from 200px fix to auto */
    margin: 0.5rem auto 0; /* Micro-tuning from 1.5rem to gain absolute bottom clearance */
    display: flex;
    justify-content: center;
    align-items: center;
}

.ring-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.bg-circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2;
}

.progress-circle {
    fill: none;
    stroke: url(#grad);
    stroke-width: 3;
    stroke-dasharray: 300;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease-in-out;
}

.timer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-main {
    font-family: var(--font-sys);
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.time-sub {
    font-size: 0.5rem;
    letter-spacing: 2px;
    color: var(--neon-cyan);
    margin-top: 5px;
}

.detailed-times {
    flex-direction: row !important;
    gap: 0.5rem;
    align-items: flex-end;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-sep {
    font-family: var(--font-sys);
    font-size: 3rem;
    font-weight: 700;
    color: var(--neon-cyan);
    /* Cambiado de magenta a cyan para la prueba */
    line-height: 1;
    margin-bottom: 0.7rem;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* --- ORGANIZERS HERO SECTION --- */
.organizers-hero-section {
    position: relative;
    z-index: 20;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    animation: fadeIn 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 1.2s; /* Aparecer más rápido */
    opacity: 0;
}

.organizers-label {
    font-family: var(--font-sys);
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 230, 255, 0.6);
}

.organizers-label::before,
.organizers-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
}

.organizers-label::before {
    right: 100%;
    margin-right: 15px;
    background: linear-gradient(to left, rgba(0, 230, 255, 0.6), transparent);
}

.organizers-label::after {
    left: 100%;
    margin-left: 15px;
    background: linear-gradient(to right, rgba(0, 230, 255, 0.6), transparent);
}

.organizers-logos {
    display: flex;
    gap: 3.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background: rgba(0, 20, 30, 0.5);
    padding: 1.5rem 3.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 230, 255, 0.4);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 230, 255, 0.1);
}

.org-logo {
    height: 85px;
    object-fit: contain;
    /* Más color, opacidad y brillo para destacar desde el principio */
    filter: drop-shadow(0 0 15px rgba(0, 230, 255, 0.2)) grayscale(20%) brightness(1.1) opacity(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.org-logo:hover {
    filter: drop-shadow(0 0 25px rgba(0, 230, 255, 0.8)) grayscale(0%) brightness(1.2) opacity(1);
    transform: translateY(-8px) scale(1.08); /* Animación de salto más pronunciada */
}

@media (max-width: 768px) {
    .organizers-hero-section {
        margin-top: 1.5rem;
    }
    .organizers-logos {
        gap: 1.8rem;
        padding: 1.2rem 1.5rem;
    }
    .org-logo {
        height: 55px;
    }
}

.scroll-pulse {
    margin-top: 3rem;
    font-family: var(--font-sys);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #71717a;
}

.pulse-ring {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--neon-cyan);
    margin: 1rem auto;
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* General Glass Capsules */
.section-title {
    margin-bottom: 5rem;
}

.section-title p {
    color: var(--neon-magenta);
    font-size: 1rem;
    letter-spacing: 2px;
}

.fluid-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.glass-capsule {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 40px;
    padding: 2.5rem;
    flex: 1 1 300px;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: border-color 0.4s;
    position: relative;
    overflow: hidden;
}

.glass-capsule::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 230, 255, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.glass-capsule:hover::after {
    opacity: 1;
}

.glass-capsule:hover {
    border-color: rgba(0, 230, 255, 0.3);
}

.large-capsule {
    flex: 2 1 600px;
    max-width: 800px;
}

.capsule-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.glass-capsule h3,
.nexus-content h4 {
    font-family: var(--font-sys);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: 1px;
}

.glass-capsule p {
    font-weight: 300;
    color: #a1a1aa;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.glow-text {
    display: block;
    font-family: var(--font-sys);
    color: var(--neon-cyan);
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.hologram-list {
    list-style: none;
    color: #a1a1aa;
    font-weight: 300;
    font-size: 0.95rem;
}

.hologram-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
}

.hologram-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--neon-magenta);
}

/* --- Cronograma / Schedule --- */
.schedule-container {
    max-width: 900px;
    margin: 0 auto;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.activity-card {
    display: flex;
    flex-direction: column;
}

.activity-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    padding: 1rem 2rem;
    border-radius: 20px;
    color: #a1a1aa;
    font-family: var(--font-sys);
    font-size: 1.2rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    line-height: 1.3;
}

.tab-btn span {
    display: block;
    font-size: 0.6rem;
    color: var(--neon-cyan);
}

.tab-btn:hover {
    border-color: var(--neon-cyan);
    color: #fff;
}

.tab-btn.active {
    background: rgba(0, 230, 255, 0.1);
    border-color: var(--neon-cyan);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 230, 255, 0.2);
}

.schedule-content {
    max-width: 100%;
    border-radius: 30px;
}

.day-panel {
    display: none;
    flex-direction: column;
    gap: 2rem;
}

.day-panel.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.schedule-item {
    display: flex;
    gap: 2rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
}

.schedule-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.highlight-event {
    border: 1px solid var(--neon-magenta);
    background: rgba(184, 0, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border-bottom: 1px solid var(--neon-magenta) !important;
}

.time-block {
    font-family: var(--font-sys);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neon-cyan);
    letter-spacing: 1px;
    flex-shrink: 0;
    min-width: 100px;
}

.event-details h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-transform: none;
}

.event-details p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Holographic Map / Interactive List */
.holo-map-section {
    position: relative;
    z-index: 5;
}

.satellite-panel {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    padding: 2rem;
    background: rgba(5, 10, 20, 0.7);
    border: 1px solid var(--neon-cyan);
    border-radius: 15px;
    box-shadow: inset 0 0 50px rgba(0, 230, 255, 0.1), 0 0 20px rgba(0, 230, 255, 0.2);
}

.nodos-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.satellite-panel {
    display: grid;
    grid-template-columns: minmax(300px, 350px) 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 900px) {
    .satellite-panel {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .satellite-panel .map-display {
        grid-row: 1;
        /* Prioritize the map visually on small screens */
        height: 350px !important;
    }

    .satellite-panel .nodos-list {
        grid-row: 2;
        max-height: 350px;
    }
}

.nodos-list::-webkit-scrollbar {
    width: 6px;
}

.nodos-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.nodos-list::-webkit-scrollbar-thumb {
    background: rgba(0, 230, 255, 0.5);
    border-radius: 10px;
}

.nodo-btn {
    background: rgba(0, 40, 60, 0.4);
    border: 1px solid rgba(0, 230, 255, 0.3);
    border-left: 4px solid rgba(0, 230, 255, 0.5);
    padding: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.nodo-btn:hover {
    border-color: var(--neon-cyan);
    border-left-color: var(--neon-cyan);
    background: rgba(0, 230, 255, 0.1);
}

.nodo-btn h4 {
    color: #fff !important;
}

.nodo-btn.active {
    border: 2px solid var(--neon-magenta) !important;
    border-left: 6px solid var(--neon-magenta) !important;
    background: rgba(255, 0, 255, 0.15) !important;
    box-shadow: inset 0 0 15px rgba(255, 0, 255, 0.2), 0 0 10px rgba(255, 0, 255, 0.4);
}



/* --- Astrophotography Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    height: 350px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    align-items: flex-end;
}

.holo-scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to bottom, transparent, rgba(0, 230, 255, 0.6), transparent);
    z-index: 10;
    pointer-events: none;
    animation: scanner 4s ease-in-out infinite;
}

@keyframes scanner {
    0% {
        top: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        top: 100%;
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 0%;
        opacity: 0;
    }
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 1;
}

.gallery-overlay {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.gallery-overlay span {
    font-family: var(--font-sys);
    color: var(--neon-cyan);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

/* Upload interaction panel */
.upload-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--neon-cyan);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.upload-panel::before {
    display: none;
}

.upload-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.upload-icon {
    width: 40px;
    height: 40px;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}

.upload-content p {
    font-size: 0.8rem;
    color: #a1a1aa;
    margin: 0.5rem 0 1.5rem;
}

.holo-btn {
    background: transparent;
    border: 1px solid var(--neon-magenta);
    color: #fff;
    font-family: var(--font-sys);
    font-size: 0.8rem;
    letter-spacing: 2px;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(184, 0, 255, 0.2) inset;
    transition: all 0.3s;
}

.holo-btn:hover {
    background: rgba(184, 0, 255, 0.2);
    box-shadow: 0 0 20px rgba(184, 0, 255, 0.5) inset;
}

/* --- ESTRATEGIA 1: BOTÓN HYPERION ULTRA-VISUAL --- */
.btn-hyperion {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(90deg, rgba(0,230,255,0.15), rgba(0,230,255,0.03));
    border: 1.5px solid rgba(0,230,255,0.5);
    color: #fff;
    font-family: var(--font-sys);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 3px;
    padding: 1rem 2.5rem;
    text-transform: uppercase;
    cursor: pointer;
    margin: 0.8rem 0 0.5rem 0; /* Drastically reduced from 2rem/1rem to fit clock text */
    clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 25px rgba(0, 230, 255, 0.15), inset 0 0 10px rgba(0, 230, 255, 0.1);
    overflow: hidden;
    text-decoration: none;
}

.btn-hyperion::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.btn-hyperion:hover::before {
    left: 100%;
}

.btn-hyperion:hover {
    background: rgba(0,230,255,0.25);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 40px rgba(0, 230, 255, 0.4), inset 0 0 20px rgba(0, 230, 255, 0.2);
    transform: translateY(-3px) scale(1.03);
}

.btn-hyperion span.arrow {
    font-family: monospace;
    color: var(--neon-cyan);
    animation: arrowMoving 1s infinite alternate;
}

@keyframes arrowMoving {
    0% { transform: translateX(0); opacity: 0.6; }
    100% { transform: translateX(6px); opacity: 1; }
}

/* --- ESTRATEGIA 3: PULSOS DE NAVEGACIÓN --- */
.active-pulse-cta {
    animation: navPulseGlow 2s infinite ease-in-out !important;
    border-color: var(--neon-cyan) !important;
    color: #fff !important;
    text-shadow: 0 0 10px var(--neon-cyan) !important;
}

@keyframes navPulseGlow {
    0% { box-shadow: 0 0 5px rgba(0, 230, 255, 0.3), inset 0 0 5px rgba(0, 230, 255, 0.1); opacity: 0.8; }
    50% { box-shadow: 0 0 20px rgba(0, 230, 255, 0.7), inset 0 0 10px rgba(0, 230, 255, 0.3); opacity: 1; }
    100% { box-shadow: 0 0 5px rgba(0, 230, 255, 0.3), inset 0 0 5px rgba(0, 230, 255, 0.1); opacity: 0.8; }
}

/* --- Innovaciones Sci-Fi --- */

/* System HUD */
.system-hud {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 2000;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn-small {
    pointer-events: auto;
    background: rgba(1, 3, 8, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--neon-magenta);
    box-shadow: 0 0 15px rgba(184, 0, 255, 0.2);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    height: 48px;
    width: 220px;
    justify-content: flex-start;
    padding: 0 1.2rem;
    transition: all 0.3s;
    color: #fff;
}

.btn-small .fs-icon,
.btn-small .audio-icon {
    font-size: 1.2rem;
    display: inline-flex;
    justify-content: center;
    width: 20px;
}

.audio-icon {
    font-size: 1.2rem;
}

/* Acreditacion */
.holo-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.holo-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-family: var(--font-sys);
    padding: 1rem;
    border-radius: 10px;
    outline: none;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.holo-input option {
    background: #010308;
    color: var(--neon-cyan);
    font-family: var(--font-sys);
    padding: 1rem;
}

.holo-input:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 230, 255, 0.2);
}

.pass-canvas-style {
    background: rgba(1, 3, 8, 0.8);
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 230, 255, 0.3);
    margin-bottom: 2rem;
    max-width: 100%;
    height: auto;
}

/* Atlas */
.atlas-container {
    position: relative;
    padding: 2rem;
    overflow: visible;
    height: auto;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.atlas-view {
    position: relative;
    flex: 1;
    border: 1px dashed var(--glass-border);
    border-radius: 20px;
    overflow: visible;
    padding-bottom: 2rem;
    background: radial-gradient(circle, rgba(0, 230, 255, 0.05) 0%, transparent 60%);
}

.atlas-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atlas-layer.active {
    opacity: 1;
}

.constellation-hud h4 {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 1rem;
    color: var(--neon-cyan);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border: 1px solid var(--neon-cyan);
    border-radius: 30px;
}

.inca-title {
    color: var(--neon-magenta) !important;
    border-color: var(--neon-magenta) !important;
}

.atlas-svg {
    width: 300px;
    height: 300px;
    overflow: visible;
}

.occidental-line {
    stroke: rgba(255, 255, 255, 0.3);
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawLine 3s forwards;
}

.inca-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 3s forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Telemetria */
.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.telemetry-item {
    padding: 2rem;
}

.telemetry-item h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.target-magenta {
    color: var(--neon-magenta) !important;
}

.progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transition: width 2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fill-cyan {
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.fill-magenta {
    background: var(--neon-magenta);
    box-shadow: 0 0 10px var(--neon-magenta);
}

.telemetry-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-percent {
    font-weight: bold;
    color: #fff;
}

/* --- Brands --- */
.fluid-brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.brand-item {
    padding: 1.5rem 3rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    font-family: var(--font-sys);
    font-size: 1.2rem;
    letter-spacing: 2px;
    transition: background 0.4s, color 0.4s;
    cursor: default;
}

.brand-item:hover {
    background: rgba(0, 230, 255, 0.1);
    border-color: var(--neon-cyan);
    color: #fff;
}

/* Generic Footer */
.glass-footer {
    padding: 3rem;
    margin: 0 auto;
    max-width: 1200px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
}

.hero-logo {
    font-size: 1.5rem;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}

.hero-logo span {
    color: var(--neon-magenta);
}

.glass-footer p {
    color: #52525b;
    font-size: 0.7rem;
    font-family: var(--font-sys);
    letter-spacing: 2px;
}

/* --- Modals Backend UI --- */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 3, 8, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(1, 3, 8, 0.95);
    border: 1px solid var(--neon-cyan);
    z-index: 10000;

    /* Evitar barra de scroll por defecto en Firefox */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 230, 255, 0.4) transparent;
}

/* Scrollbar Estilizada para el Modal (Chrome/Edge/Safari) */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 230, 255, 0.4);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 230, 255, 0.8);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--neon-magenta);
}

.close-lightbox {
    top: 20px;
    right: 20px;
    z-index: 10002;
    background: rgba(0, 0, 0, 0.6);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 230, 255, 0.3);
}

/* --- Lightbox Gallery (Fullscreen Redesign) --- */
.lightbox-container {
    padding: 0;
}

.lightbox-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    pointer-events: none;
}

.lightbox-wrapper>* {
    pointer-events: auto;
}

.lightbox-wrapper img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 230, 255, 0.1);
}

.lightbox-info {
    position: absolute;
    bottom: 4vh;
    left: 4vw;
    background: rgba(1, 3, 8, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--neon-cyan);
    border-radius: 12px;
    padding: 1.5rem;
    width: 90vw;
    max-width: 380px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox-info p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.lightbox-info p:last-child {
    margin-bottom: 0;
}

.info-mobile-btn {
    display: none;
}

/* Hover over screen reveals info box on PC */
@media (hover: hover) and (pointer: fine) {
    .lightbox-wrapper:hover .lightbox-info {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsiveness Mobile Checks --- */
@media (max-width: 1024px) {
    .glass-nav {
        width: 95%;
        padding: 1rem 2rem;
    }

    .glass-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
        padding-bottom: 0.5rem;
        scrollbar-width: thin;
        scrollbar-color: var(--neon-cyan) transparent;
    }

    .holo-grid {
        transform: rotateX(60deg) rotateZ(-45deg) scale(0.85);
        animation: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Ajustes Lightbox Mobile */
    .lightbox-wrapper img {
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }

    .lightbox-info {
        bottom: 0;
        left: 0;
        width: 100vw;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        border-bottom: none;
        border-left: none;
        border-right: none;
        padding-bottom: 1.5rem;
    }

    .lightbox-info.active {
        opacity: 1;
        transform: translateY(0);
    }

    .info-mobile-btn {
        display: flex;
        position: absolute;
        bottom: 20px;
        right: 20px;
        z-index: 10001;
        padding: 0.8rem;
        border-radius: 50%;
        background: rgba(1, 3, 8, 0.85);
        backdrop-filter: blur(10px);
        border: 1px solid var(--neon-cyan);
        color: var(--neon-cyan);
    }

    .info-toggle-hint {
        display: block !important;
        font-size: 0.7rem;
        color: #64748b;
        margin-top: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .schedule-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .time-block {
        font-size: 1rem;
    }

    .glass-capsule {
        padding: 1.5rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .stellar-title {
        font-size: 3rem;
    }

    .hologram-timer {
        width: 160px;
        height: 160px;
        margin-top: 2rem;
    }

    .time-main {
        font-size: 2.2rem;
    }

    .holo-map-section {
        min-height: 500px;
    }

    .holo-table {
        height: 400px;
        margin-top: 1rem;
    }

    .holo-grid {
        transform: rotateX(var(--rot-x, 60deg)) rotateZ(var(--rot-z, -45deg));
        transform-origin: center center;
        zoom: 0.45;
    }

    .holo-label {
        transform: rotateZ(calc(var(--rot-z, -45deg) * -1)) rotateX(calc(var(--rot-x, 60deg) * -1)) translate(-50%, -100px);
    }

    .holo-pin:hover .holo-label {
        transform: rotateZ(calc(var(--rot-z, -45deg) * -1)) rotateX(calc(var(--rot-x, 60deg) * -1)) translate(-50%, -115px) scale(1.1);
    }

    .map-legend {
        bottom: 10px;
        right: 10px;
        padding: 0.8rem;
        gap: 0.5rem;
    }

    .legend-item {
        font-size: 0.75rem;
    }

    .system-hud {
        flex-direction: row;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        justify-content: center;
    }
}

/* Optimizaciones de Renderizado para transición suave */
.glass-capsule, .tilt-element {
    will-change: transform, opacity;
}

/* Materialización Holográfica (Scroll Reveal) */
.holo-reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(8px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1s ease-out;
    will-change: opacity, transform, filter;
}

.holo-reveal.materialized {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* ==========================================================
   PROTOCOLO DE INICIO (PRELOADER)
========================================================== */
#system-boot {
    position: fixed;
    inset: 0;
    background: var(--void-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
}

#system-boot.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.boot-content {
    text-align: center;
    width: 300px;
    position: relative;
    z-index: 2;
}

.boot-logo {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.boot-logo img {
    /* Compensamos el peso visual del logo (cola del cometa a la derecha) con un ligero ajuste a la izquierda */
    transform: translateX(-5px);
    filter: drop-shadow(0 0 50px rgba(255,255,255,0.9)) drop-shadow(0 0 30px rgba(0,230,255,0.6));
    animation: bootLogoPulse 4s infinite alternate ease-in-out;
}

@keyframes bootLogoPulse {
    from { filter: drop-shadow(0 0 40px rgba(255,255,255,0.8)) drop-shadow(0 0 20px rgba(0,230,255,0.4)); transform: translateX(-5px) scale(1); }
    to { filter: drop-shadow(0 0 60px rgba(255,255,255,1)) drop-shadow(0 0 40px rgba(0,230,255,0.8)); transform: translateX(-5px) scale(1.05); }
}

.boot-logo span {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan);
}

.boot-status {
    margin-bottom: 1.5rem;
}

#boot-text {
    display: block;
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 5px var(--neon-cyan);
}

.boot-progress-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.boot-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, var(--neon-cyan), var(--neon-magenta));
    box-shadow: 0 0 10px var(--neon-cyan);
    transition: width 0.1s linear;
}

.boot-telemetry {
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 1rem;
}

.boot-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 230, 255, 0.05), transparent);
    animation: bootScan 3s linear infinite;
    pointer-events: none;
}

@keyframes bootScan {
    from { transform: translateY(-100%); }
    to { transform: translateY(100vh); }
}

/* Optimización de Fluidez en Boot */
body.is-booting {
    overflow: hidden;
}

body.is-booting #canvas-container,
body.is-booting .ambient-orb {
    opacity: 0;
}

body.booted #canvas-container {
    opacity: 1;
    transition: opacity 2s ease;
}

body.booted .ambient-orb {
    opacity: 0.3; 
    transition: opacity 3s ease;
}

/* ==========================================================
   CUSTOM SCI-FI CURSOR (Desktop ONLY)
========================================================== */
* { 
    cursor: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 134 134' version='1.1' xmlns='http://www.w3.org/2000/svg' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3E%3Cg transform='matrix(1,0,0,1,-5863.958534,-889.229504)'%3E%3Cg transform='matrix(0.081228,-0.081228,0.081228,0.081228,5328.3715,1132.231635)'%3E%3Cpath d='M4279.166,2928.138L4412.49,2631.271L4779.754,2370.063L4779.754,2537.968L4604.729,2663.206L4604.729,2702.524L4279.166,2928.138ZM4419.647,2615.439L4459.934,2525.764L4498.183,2496.502L4551.618,2377.827L4549.875,2325.563L4602.617,2208.163L4717.514,2133.643L4717.514,2401.438L4419.647,2615.439ZM4779.754,2298.788L4779.754,2357.57L4731.771,2387.566L4731.771,2317.332L4779.754,2298.788ZM4614.587,2181.519L4779.754,1813.871L4779.754,2285.249L4731.805,2303.889L4731.079,2105.056L4614.587,2181.519ZM5306.065,2928.138L4980.502,2702.524L4980.502,2663.206L4805.476,2537.968L4805.476,2370.063L5172.741,2631.271L5306.065,2928.138ZM5165.584,2615.439L4867.717,2401.438L4867.717,2133.643L4982.613,2208.163L5035.356,2325.563L5033.613,2377.827L5087.047,2496.502L5125.297,2525.764L5165.584,2615.439ZM4805.476,2298.788L4853.46,2317.332L4853.46,2387.566L4805.476,2357.57L4805.476,2298.788ZM4970.644,2181.519L4854.152,2105.056L4853.426,2303.889L4805.476,2285.249L4805.476,1813.871L4970.644,2181.519ZM4394.816,2897.194L4402.727,2874.9L4792.615,2600.171L5185.947,2877.278L5198.412,2897.413L5173.482,2893.578L4792.615,2626.06L4416.952,2894.537L4394.816,2897.194Z' fill='%23facc15'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 0 0, auto !important;
}



/* Custom CSS Scrollbar for Dossier Modal Info */
#dossier-modal-content::-webkit-scrollbar {
    width: 6px;
}

#dossier-modal-content::-webkit-scrollbar-track {
    background: rgba(0, 50, 80, 0.3);
    border-radius: 4px;
}

#dossier-modal-content::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 4px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}

#dossier-modal-content::-webkit-scrollbar-thumb:hover {
    background: #fff;
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* Red Monitoreo Satellite Panel Layout Responsive */
.satellite-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 1024px) {
    .satellite-panel {
        flex-direction: row;
        align-items: stretch;
    }

    .satellite-panel>div:first-child {
        width: 35% !important;
        flex: 0 0 35%;
    }

    .satellite-panel>div:last-child {
        width: 65% !important;
        flex: 1;
        min-height: 550px;
    }
}

/* WhatsApp Animated Glow Effect */
.glow-whatsapp {
    animation: glow-wa 2s infinite alternate;
}

@keyframes glow-wa {
    0% {
        text-shadow: 0 0 5px rgba(37, 211, 102, 0.5);
        color: #25D366;
    }

    100% {
        text-shadow: 0 0 20px rgba(37, 211, 102, 1), 0 0 30px rgba(37, 211, 102, 0.8);
        color: #ffffff;
    }
}

/* Sci-fi Quantum Leap Transition Effect */
.quantum-flash {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, rgba(0, 230, 255, 0.8) 0%, rgba(184, 0, 255, 0.4) 40%, transparent 80%);
    z-index: 99999999;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    animation: quantumJump 0.6s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
    mix-blend-mode: screen;
}

@keyframes quantumJump {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.01) scaleY(0.01);
    }

    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) scaleY(0.1);
        background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(0, 230, 255, 0.8) 40%, transparent 80%);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(3) scaleY(3);
        filter: blur(20px);
    }
}

/* ==========================================================
   10. FILTRO DE TRIPULACIÓN (ANIMADO)
========================================================== */
.crew-filters .filter-btn {
    border: 1px solid rgba(0, 230, 255, 0.3);
    color: #cbd5e1;
    background: rgba(0, 25, 40, 0.5);
    transition: all 0.3s ease;
}

.crew-filters .filter-btn:hover {
    background: rgba(0, 230, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 230, 255, 0.2);
}

.crew-filters .filter-btn.active {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(0, 230, 255, 0.15);
    text-shadow: 0 0 5px var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 230, 255, 0.3);
}

#tripulacion-grid {
    transition: opacity 0.5s ease;
}

#tripulacion-grid .glass-capsule {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Rebote tecnológico sci-fi */
    transform-origin: center top;
}

.crew-hidden {
    opacity: 0 !important;
    transform: scale(0.8) translateY(30px) !important;
    pointer-events: none !important;
}

.crew-collapse {
    display: none !important;
}

/* ==========================================================
   11. FORMULARIOS & INPUTS SCI-FI
========================================================== */
.neon-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 25, 40, 0.6);
    border: 1px solid rgba(0, 230, 255, 0.4);
    border-radius: 4px;
    color: #fff;
    font-family: monospace;
    font-size: 0.95rem;
    outline: none;
    box-shadow: inset 0 0 10px rgba(0, 230, 255, 0.05);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.neon-input:focus {
    border-color: var(--neon-cyan);
    box-shadow: inset 0 0 15px rgba(0, 230, 255, 0.15), 0 0 10px rgba(0, 230, 255, 0.3);
    background: rgba(0, 35, 50, 0.8);
}

.neon-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

select.neon-input option {
    background: rgba(0, 25, 40, 0.95);
    color: #fff;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================
   12. SENSOR DE DESPLAZAMIENTO (SCROLLBAR) SCI-FI
========================================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 10, 20, 0.95);
    border-left: 1px solid rgba(0, 230, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 230, 255, 0.3);
    border: 1px solid var(--neon-cyan);
    border-radius: 4px;
    box-shadow: inset 0 0 5px rgba(0, 230, 255, 0.5);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 230, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 230, 255, 0.8), inset 0 0 8px rgba(0, 230, 255, 1);
}

/* Scrollbar alternativo para modales u otros contenedores magnéticos con scroll horizontal */
::-webkit-scrollbar-corner {
    background: rgba(0, 10, 20, 0.95);
}

/* ==========================================================
   13. ESCALADOR RESPONSIVE DE BADGE (CARNET HD EN MÓVIL)
========================================================== */
.badge-scaler {
    /* Mantiene las animaciones de escala suaves */
    transition: transform 0.3s ease, margin 0.3s ease;
}

@media (max-width: 480px) {
    .badge-scaler.mobile-scale {
        transform: scale(0.8);
        margin-bottom: -130px;
        /* Compensa la altura matemática sobrante */
    }
}

@media (max-width: 380px) {
    .badge-scaler.mobile-scale {
        transform: scale(0.65);
        margin-bottom: -227px;
        /* (650 * 0.35) */
    }
}

@media (max-width: 320px) {
    .badge-scaler.mobile-scale {
        transform: scale(0.55);
        margin-bottom: -292px;
        /* (650 * 0.45) */
    }
}

/* ==========================================================
   14. FORMULARIOS RESPONSIVOS (GRILLAS DINÁMICAS)
========================================================== */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 650px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* ==========================================================
   15. SECCIÓN DE AUSPICIADORES - RED DE SOPORTE ESTELAR
========================================================== */
.constellation-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.auspiciadores-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.sponsor-tier {
    margin-bottom: 4rem;
}

.premium-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.standard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.sponsor-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.005) 100%);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 100px;
}

.sponsor-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0,230,255,0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.sponsor-card:hover::before {
    opacity: 1;
}

.sponsor-card:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Premium Tier - subtle gold accent */
.sponsor-card.premium {
    border-color: rgba(250,204,21,0.25);
    min-width: 220px;
    min-height: 140px;
}

.sponsor-card.premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(250,204,21,0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.sponsor-card.premium:hover {
    border-color: rgba(250,204,21,0.5);
    box-shadow: 0 0 40px rgba(250,204,21,0.15), inset 0 0 20px rgba(250,204,21,0.05);
}

.sponsor-card.premium:hover::after {
    opacity: 1;
}

/* Standard Tier - cyan accent */
.sponsor-card.standard {
    border-color: rgba(0,230,255,0.15);
}

.sponsor-card.standard:hover {
    border-color: rgba(0,230,255,0.4);
    box-shadow: 0 0 30px rgba(0,230,255,0.1), inset 0 0 15px rgba(0,230,255,0.03);
}

.sponsor-logo {
    max-width: 140px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%) brightness(0.9);
    transition: all 0.4s;
}

.sponsor-card.premium .sponsor-logo {
    max-width: 180px;
    max-height: 100px;
}

.sponsor-card:hover .sponsor-logo {
    filter: grayscale(0%) brightness(1);
}

.sponsor-name {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: monospace;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.3s;
}

.sponsor-card:hover .sponsor-name {
    opacity: 1;
}

/* Animation for sponsor cards - staggered reveal */
@keyframes sponsorReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.sponsor-card {
    animation: sponsorReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.sponsor-card:nth-child(1) { animation-delay: 0.1s; }
.sponsor-card:nth-child(2) { animation-delay: 0.2s; }
.sponsor-card:nth-child(3) { animation-delay: 0.3s; }
.sponsor-card:nth-child(4) { animation-delay: 0.4s; }
.sponsor-card:nth-child(5) { animation-delay: 0.5s; }
.sponsor-card:nth-child(6) { animation-delay: 0.6s; }
.sponsor-card:nth-child(7) { animation-delay: 0.7s; }
.sponsor-card:nth-child(8) { animation-delay: 0.8s; }

/* Pulsing glow for premium sponsors */
@keyframes premiumPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(250,204,21,0.1);
    }
    50% {
        box-shadow: 0 0 35px rgba(250,204,21,0.2);
    }
}

.sponsor-card.premium {
    animation: sponsorReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards, premiumPulse 4s ease-in-out infinite;
    animation-delay: 0.1s, 0.6s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .premium-grid {
        gap: 1.5rem;
    }
    
    .sponsor-card.premium {
        min-width: 160px;
        min-height: 100px;
    }
    
    .standard-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .sponsor-logo {
        max-width: 100px;
        max-height: 60px;
    }
    
    .sponsor-card.premium .sponsor-logo {
        max-width: 130px;
        max-height: 75px;
    }
}

@media (max-width: 480px) {
    .sponsor-tier {
        margin-bottom: 3rem;
    }
    
    .premium-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .sponsor-card.premium,
    .sponsor-card.standard {
        width: 100%;
        max-width: 280px;
    }
}
/* --- Promotion Fixed Banner (Concurso de Afiches) --- */
.fixed-promo-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 320px;
    background: rgba(1, 3, 8, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid #facc15;
    border-radius: 12px;
    padding: 20px;
    z-index: 1500;
    box-shadow: 0 10px 40px rgba(250, 204, 21, 0.2), inset 0 0 20px rgba(250, 204, 21, 0.1);
    animation: bannerSlideIn 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    overflow: hidden;
}

@keyframes bannerSlideIn {
    0% { transform: translateX(120%) rotate(5deg); opacity: 0; }
    100% { transform: translateX(0) rotate(0deg); opacity: 1; }
}

.banner-scanner {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, #facc15, transparent);
    animation: scanMove 4s linear infinite;
    opacity: 0.5;
    pointer-events: none;
}

@keyframes scanMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(180px); }
}

.banner-tag {
    font-family: monospace;
    color: #facc15;
    font-size: 0.7rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-tag::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #facc15;
    border-radius: 50%;
    box-shadow: 0 0 8px #facc15;
    animation: alertBlink 1s infinite;
}

@keyframes alertBlink {
    50% { opacity: 0.3; }
}

.banner-title {
    font-family: var(--font-sys);
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.banner-text {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 15px;
}

.banner-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid #facc15;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-family: var(--font-sys);
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.banner-btn:hover {
    background: #facc15;
    color: #000;
    box-shadow: 0 0 20px #facc15;
}

.banner-btn-cyan {
    display: block;
    width: 100%;
    padding: 10px;
    background: rgba(0, 230, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-family: var(--font-sys);
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    /* Neutralizar estilos de etiqueta <button> */
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
}

.banner-btn-cyan:hover {
    background: var(--neon-cyan);
    color: #010308;
    box-shadow: 0 0 20px rgba(0, 230, 255, 0.4);
}

.banner-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.banner-close:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .fixed-promo-banner {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 110px; /* Evitar que tape el HUD circular */
    }
}

/* --- Social Media Signals Hub --- */
.signals-hub {
    background: rgba(5, 10, 20, 0.7);
    border: 1px solid var(--neon-cyan);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: inset 0 0 50px rgba(0, 230, 255, 0.05), 0 0 20px rgba(0, 230, 255, 0.1);
    margin-top: 2rem;
    overflow: hidden;
}

.signals-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 230, 255, 0.2);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.signals-tab-btn {
    background: rgba(0, 40, 60, 0.4);
    border: 1px solid rgba(0, 230, 255, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    color: #a1a1aa;
    font-family: var(--font-sys);
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.signals-tab-btn span {
    display: block;
    font-size: 0.6rem;
    color: var(--neon-cyan);
    margin-bottom: 4px;
}

.signals-tab-btn:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 230, 255, 0.1);
    color: #fff;
}

.signals-tab-btn.active {
    background: rgba(255, 0, 255, 0.15);
    border-color: var(--neon-magenta);
    color: #fff;
    box-shadow: inset 0 0 15px rgba(255, 0, 255, 0.2);
}

.signals-tab-btn.active span {
    color: var(--neon-magenta);
}

.signal-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.signal-panel.active {
    display: block;
}

.signal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.signal-grid.center-telemetry {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

.signal-telemetry {
    background: rgba(0, 20, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.large-telemetry {
    text-align: center;
    padding: 3rem 2rem;
}

.telemetry-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.telemetry-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    padding: 5px;
    background: rgba(0,0,0,0.5);
}

.telemetry-info h4 {
    margin: 0 0 5px 0;
    color: #fff;
    font-family: var(--font-sys);
    font-size: 1.2rem;
}

.telemetry-handle {
    color: var(--neon-cyan);
    font-family: monospace;
    font-size: 0.9rem;
}

.telemetry-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    color: #fff;
    font-family: var(--font-sys);
    font-size: 1.4rem;
    font-weight: 700;
}

.stat-label {
    color: #a1a1aa;
    font-size: 0.6rem;
    letter-spacing: 2px;
}

.telemetry-desc {
    color: #a1a1aa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.signal-action-btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Redirection variants */
.magenta-glow { border-color: var(--neon-magenta); }
.magenta-glow:hover { box-shadow: 0 0 15px rgba(184, 0, 255, 0.4); background: rgba(184, 0, 255, 0.1); }
.gold-glow { border-color: var(--neon-gold); }
.gold-glow:hover { box-shadow: 0 0 15px rgba(250, 204, 21, 0.4); background: rgba(250, 204, 21, 0.1); }
.green-glow:hover { background: rgba(16, 185, 129, 0.1); box-shadow: 0 0 15px rgba(16, 185, 129, 0.4); }

.telemetry-icon-glow {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
}

.signal-icon { width: 40px; height: 40px; }
.signal-icon.magenta { stroke: var(--neon-magenta); filter: drop-shadow(0 0 10px var(--neon-magenta)); }
.signal-icon.cyan { stroke: var(--neon-cyan); filter: drop-shadow(0 0 10px var(--neon-cyan)); }
.signal-icon.green { stroke: #10b981; filter: drop-shadow(0 0 10px #10b981); }

.telemetry-pulse-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    font-family: monospace;
    font-size: 0.8rem;
    color: #a1a1aa;
}

.pulse-indicator { width: 10px; height: 10px; border-radius: 50%; }
.magenta-pulse { background: var(--neon-magenta); box-shadow: 0 0 10px var(--neon-magenta); animation: pulse-mag 2s infinite; }
.cyan-pulse { background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan); animation: pulse-cy 2s infinite; }
.green-pulse { background: #10b981; box-shadow: 0 0 10px #10b981; animation: pulse-green 2s infinite; }

@keyframes pulse-mag { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }
@keyframes pulse-cy { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

.signal-feed-container {
    display: flex;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Elegant integration for the Facebook Feed container (replaces color inversion which ruined images) */
.facebook-feed-wrapper {
    border: 1px solid rgba(6, 182, 212, 0.3) !important;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15) !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 532px; /* 500px plugin width + padding space */
    box-sizing: border-box;
}

.facebook-feed-wrapper iframe {
    width: 100%;
    max-width: 500px;
    height: 600px;
    filter: grayscale(0.02) contrast(1.02) brightness(0.92);
    border-radius: 8px;
    opacity: 0.85;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.facebook-feed-wrapper iframe:hover {
    opacity: 1;
    filter: none;
}

.youtube-frame-hologram {
    width: 100%;
    aspect-ratio: 16/9;
    border: 2px solid var(--neon-gold);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.2);
}

@media (max-width: 900px) {
    .signal-grid { grid-template-columns: 1fr; }
    .signals-tab-btn { min-width: 45%; }
}