/* Interactive Skill Universe */
.universe-section {
    position: relative;
    overflow: hidden;
    min-height: 800px;
}

.universe-container {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.universe-core {
    position: absolute;
    width: 100px; height: 100px;
    background: radial-gradient(circle, #fff, var(--primary));
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-weight: 800; font-family: var(--font-mono); color: #000;
    box-shadow: 0 0 50px var(--primary);
    z-index: 10;
}

.core-pulse {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: corePulseAnim 2s infinite ease-out;
}

@keyframes corePulseAnim {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.orbit-ring {
    position: absolute;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ring-1 { width: 400px; height: 400px; animation: rotate 30s linear infinite; }
.ring-2 { width: 640px; height: 640px; border-style: dotted; animation: rotate 45s linear infinite reverse; }
.ring-3 { width: 840px; height: 840px; border-style: solid; border-color: rgba(0, 217, 255, 0.05); animation: rotate 60s linear infinite; }

/* Holographic Nodes */
.skill-node {
    position: absolute;
    /* Calculated in JS based on angle and radius, but fallback here */
    transform: translate(-50%, -50%);
    z-index: 5;
    cursor: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.node-sphere {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(10, 15, 30, 0.8);
    border: 2px solid var(--secondary);
    display: flex; justify-content: center; align-items: center;
    font-weight: bold; font-family: var(--font-mono);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.node-frontend .node-sphere { border-color: #00D9FF; box-shadow: 0 0 20px rgba(0, 217, 255, 0.4); }
.node-database .node-sphere { border-color: #10B981; box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
.node-languages .node-sphere { border-color: #F59E0B; box-shadow: 0 0 20px rgba(245, 158, 11, 0.4); }

.node-details {
    position: absolute;
    top: 50%; left: 120%;
    transform: translateY(-50%) scale(0.8);
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 8px;
    width: 250px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skill-node:hover {
    z-index: 20;
}

.skill-node:hover .node-sphere {
    transform: scale(1.2);
    background: #fff;
    color: #000;
}

.skill-node:hover .node-details {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

.node-details h4 { color: #fff; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.node-details p { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 10px; }
.exp-badge { display: inline-block; padding: 2px 8px; background: rgba(0, 217, 255, 0.2); color: var(--primary); border-radius: 4px; font-size: 0.7rem; text-transform: uppercase; }
