/* einstein.css - THE UNIVERSE UI */
#einstein-universe {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #1e1b4b 0%, #000000 100%);
    z-index: 99999; display: none; overflow: hidden;
    font-family: 'Courier New', monospace;
    perspective: 1000px;
}

/* BINTANG LATAR BELAKANG */
.star-bg {
    position: absolute; width: 2px; height: 2px; background: white;
    border-radius: 50%; opacity: 0.5; animation: twinkle 3s infinite;
}

/* ELEMEN MELAYANG (DRAGGABLE) */
.space-node {
    position: absolute; 
    cursor: grab; 
    user-select: none;
    transition: transform 0.1s;
    touch-action: none; /* Wajib untuk drag di HP */
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.space-node:active { cursor: grabbing; transform: scale(1.1); z-index: 1000 !important; }

/* TIPE-TIPE NODE */
.node-result {
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #a855f7;
    color: #a855f7; display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 0.8rem;
}

.node-blackhole {
    width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle, #000 30%, #4c1d95 90%);
    border: 2px solid #fff;
    box-shadow: 0 0 50px #a855f7;
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex; align-items: center; justify-content: center;
    color: white; text-align: center; font-size: 0.7rem;
    z-index: 10;
}

.node-panel {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #a855f7;
    padding: 15px; border-radius: 15px;
    color: #e9d5ff; max-width: 250px;
}

/* HUD / TOMBOL KONTROL */
.space-hud {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 15px; z-index: 2000;
}

.hud-btn {
    background: #a855f7; color: white; border: none;
    padding: 12px 24px; border-radius: 50px;
    font-weight: bold; box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    cursor: pointer; transition: 0.3s;
}
.hud-btn:hover { transform: translateY(-5px); box-shadow: 0 0 40px rgba(168, 85, 247, 0.8); }

@keyframes twinkle { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }