/* ============================================= */
/* --- SECCIÓN SPEAKERS PREVIOS: RED NEURONAL 3D --- */
/* ============================================= */

.speakers_previos-3d-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #050505; 
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('../media/images/backgrounds/background_speakers_previos.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}

/* --- TÍTULO DE LA SECCIÓN --- */
.speakers_previos-title {
    position: absolute;
    top: 0; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000; 
    display: flex;
    justify-content: center;
    width: 100%;
}

.speakers_previos-title-img {
    height: 70px; 
    width: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5)); 
}

/* --- CANVAS Y VIEWPORT --- */
#neural-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0; 
}

.speakers_previos-3d-viewport {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    z-index: 10; 
}

/* --- EJE CENTRAL --- */
.speakers_previos-center-axis {
    position: absolute;
    top: 42%; 
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 500; 
    display: flex;
    justify-content: center;
    align-items: center;
}

/* NUEVO: Sombra difuminada (Blur) detrás del logo para ocultar la unión de las líneas */
.speakers_previos-center-axis::before {
    content: '';
    position: absolute;
    width: 400px; /* Tamaño del núcleo oscuro */
    height: 200px;
    background: #000000; /* Negro puro */
    border-radius: 50%;
    filter: blur(45px); /* Efecto de difuminado extremo */
    z-index: -1; /* Se coloca detrás de la imagen del logo */
    pointer-events: none;
}

#center-display-img {
    width: 380px; 
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 69, 0, 0.4));
    transition: opacity 0.4s ease, transform 0.4s ease;
    cursor: default;
}

#center-display-img.is-testimonial {
    width: 200px; 
    max-width: 90vw; 
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

#nodes-orbit-wrap {
    position: absolute;
    top: 42%; 
    left: 50%;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
}

/* --- MÓDULOS DE SPEAKER (UPGRADE HOLOGRÁFICO) --- */
.speaker-node-3d {
    position: absolute;
    top: -75px; 
    left: -60px;
    width: 120px;
    height: 150px;
    cursor: pointer;
    transition: opacity 0.3s ease; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* El marco tecnológico */
.node-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(0, 15, 30, 0.85); 
    border: 1px solid rgba(0, 255, 255, 0.3); 
    border-radius: 8px; 
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1), inset 0 0 20px rgba(0,0,0,0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    justify-content: center;
    align-items: center;
}

.node-content::before,
.node-content::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid transparent;
    transition: border-color 0.4s ease;
    z-index: 5;
}

.node-content::before {
    top: 5px; left: 5px;
    border-top-color: rgba(0, 255, 255, 0.5);
    border-left-color: rgba(0, 255, 255, 0.5);
}

.node-content::after {
    bottom: 5px; right: 5px;
    border-bottom-color: rgba(0, 255, 255, 0.5);
    border-right-color: rgba(0, 255, 255, 0.5);
}

/* La foto en estado Holograma */
.node-content img {
    width: 85%; 
    height: 85%;
    object-fit: cover;
    border-radius: 50%; 
    filter: grayscale(100%) contrast(120%) brightness(0.8) sepia(100%) hue-rotate(180deg) saturate(300%);
    opacity: 0.7;
    mix-blend-mode: screen;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    position: relative;
    z-index: 2;
}

/* Efecto Scanline */
.node-content::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to bottom, rgba(0,255,255,0), rgba(0,255,255,0.2), rgba(0,255,255,0));
    animation: scan 4s linear infinite;
    z-index: 3;
    pointer-events: none;
}

@keyframes scan {
    0% { top: -100%; }
    100% { top: 200%; }
}

/* --- HOVER: MATERIALIZACIÓN --- */
.speaker-node-3d:hover .node-content {
    border-color: var(--primary-orange, #FF4500);
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.5), inset 0 0 10px rgba(255, 69, 0, 0.2);
    transform: translateY(-10px) scale(1.05); 
    background: rgba(10, 5, 0, 0.9); 
}

.speaker-node-3d:hover .node-content::before {
    border-top-color: var(--primary-orange, #FF4500);
    border-left-color: var(--primary-orange, #FF4500);
}

.speaker-node-3d:hover .node-content::after {
    border-bottom-color: var(--primary-orange, #FF4500);
    border-right-color: var(--primary-orange, #FF4500);
    animation: none; 
}

.speaker-node-3d:hover .node-content img {
    filter: grayscale(0%) contrast(100%) brightness(1) sepia(0%) hue-rotate(0deg) saturate(100%);
    opacity: 1;
    mix-blend-mode: normal;
    border: 2px solid var(--primary-orange, #FF4500); 
}

/* --- FLECHAS DE NAVEGACIÓN (LATERALES) --- */
.stark-nav-arrows {
    position: absolute;
    top: 50%; 
    left: 0;
    width: 100%; 
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between; 
    padding: 0 5%; 
    z-index: 1000;
    pointer-events: none; 
}

.stark-arrow {
    pointer-events: auto; 
    width: 45px;
    height: 70px; 
    background-color: var(--primary-orange, #FF4500); 
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.stark-arrow:hover {
    filter: brightness(1.2);
    transform: scale(1.05); 
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.6); 
}

.stark-arrow::after {
    content: ''; 
    width: 14px; 
    height: 14px;
    border-top: 3px solid #ffffff; 
    border-right: 3px solid #ffffff;
    display: block;
}

.stark-arrow.prev::after { transform: rotate(-135deg); margin-left: 6px; }
.stark-arrow.next::after { transform: rotate(45deg); margin-right: 6px; }

/* ============================================= */
/* --- AJUSTES RESPONSIVOS --- */
/* ============================================= */
@media (max-width: 768px) {
    #center-display-img { width: 220px; } 
    #center-display-img.is-testimonial { width: 70%; } 
    
    .speaker-node-3d { 
        width: 80px; 
        height: 100px; 
        top: -50px; 
        left: -40px; 
    }
    
    .stark-nav-arrows { padding: 0 10px; }
    .stark-arrow { width: 35px; height: 55px; }
}