:root {
    --bg-color: #f7f9fc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

/* Fondo atmosférico sutil */
.ambient-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.45;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(219, 234, 254, 0.8) 0%, rgba(255,255,255,0) 70%);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(238, 242, 255, 0.8) 0%, rgba(255,255,255,0) 70%);
    bottom: -150px;
    right: -150px;
}

/* Header */
.header {
    position: absolute;
    top: 40px;
    left: 50px;
    z-index: 10;
    pointer-events: none;
}

.brand {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--text-primary);
    opacity: 0.9;
}

.subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

.instruction {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 400;
    margin-top: 6px;
    letter-spacing: 0.02em;
}

/* Espacio de la constelación */
.viewport {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.constellation-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.constellation-canvas line {
    stroke: rgba(148, 163, 184, 0.2);
    stroke-width: 1;
    stroke-dasharray: 4;
}

.constellation-container {
    position: absolute;
    inset: 0;
}

/* Círculos Flotantes (Posicionamiento base por GPU) */
.bubble {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
    will-change: transform;
}

/* Elemento Interno: maneja la apariencia visual, escalado y neón */
.bubble-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.35s ease, 
                border-color 0.35s ease;
}

/* Hover: Escalado conjunto de círculo + texto */
.bubble:hover {
    z-index: 20;
}

.bubble:hover .bubble-inner {
    transform: scale(1.18);
}

/* Colores de Neón Variados */
.bubble[data-neon="indigo"]:hover .bubble-inner {
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.35), 0 12px 30px rgba(0, 0, 0, 0.06);
}

.bubble[data-neon="emerald"]:hover .bubble-inner {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.35), 0 12px 30px rgba(0, 0, 0, 0.06);
}

.bubble[data-neon="amber"]:hover .bubble-inner {
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.35), 0 12px 30px rgba(0, 0, 0, 0.06);
}

.bubble[data-neon="cyan"]:hover .bubble-inner {
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.35), 0 12px 30px rgba(0, 0, 0, 0.06);
}

.bubble[data-neon="rose"]:hover .bubble-inner {
    border-color: rgba(244, 63, 94, 0.6);
    box-shadow: 0 0 24px rgba(244, 63, 94, 0.35), 0 12px 30px rgba(0, 0, 0, 0.06);
}

.bubble-content {
    text-align: center;
    padding: 10px;
}

.bubble-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .header { top: 24px; left: 24px; }
}