/* ================================
   PITIUPI PRESENTATION - PCB CIRCUIT BACKGROUND
   Circuito impreso interactivo estilo PCB
   ================================ */

/* ================================
   CANVAS DE FONDO
   ================================ */

   #pcb-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: #000; /* Asegurar fondo negro */
}

/* Ajustar opacidad de otros fondos */
.bg-animated {
    opacity: 0.5;
}

.grid-overlay {
    opacity: 0.1;
}

/* ================================
   CURSOR PERSONALIZADO
   ================================ */

body {
    cursor: none; /* Ocultar cursor por defecto */
}

/* Volver cursor normal en elementos clickeables */
.nav-btn,
.slide[data-slide="1"] {
    cursor: pointer;
}

/* Glow del cursor */
#cursor-glow {
    position: fixed;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.3), rgba(51, 204, 0, 0.1) 50%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    filter: blur(15px);
    mix-blend-mode: screen;
}

#cursor-glow.active {
    opacity: 1;
}

/* Punto central del cursor */
#cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #39FF14;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    opacity: 0;
    box-shadow: 0 0 10px #39FF14, 0 0 20px #39FF14;
}

#cursor-dot.active {
    opacity: 1;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 768px) {
    /* Restaurar cursor normal en móviles */
    body {
        cursor: auto;
    }
    
    #cursor-glow,
    #cursor-dot {
        display: none;
    }
}