* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}

body {
    background-color: #020005;
    color: #e0e0e0;
    overflow: hidden; /* Lock scrolling, everything happens in 3D/Overlays */
}

/* --- 3D SCENE --- */
.scene-3d {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 1;
}

model-viewer {
    width: 100%; height: 100%;
    outline: none;
}

/* --- HOTSPOTS (Glowing Symbols on the Rune) --- */
.hotspot {
    background: transparent;
    border: none;
    width: 30px; height: 30px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hotspot-glow {
    width: 15px; height: 15px;
    background-color: #ff003c;
    border-radius: 50%;
    box-shadow: 0 0 20px 10px rgba(255, 0, 60, 0.8), 0 0 40px 15px rgba(112, 0, 255, 0.6);
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 1; }
}

/* --- UI OVERLAY & PANELS (Floating in front) --- */
.ui-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.6); /* Darkens the 3D background slightly when panel is open */
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    transition: opacity 0.4s ease;
}

.ui-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.glass-panel {
    position: absolute;
    width: 90%;
    max-width: 600px;
    background: rgba(10, 0, 15, 0.75);
    border: 1px solid rgba(255, 0, 60, 0.4);
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 10px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.glass-panel.hidden {
    transform: scale(0.8) translateY(50px);
    opacity: 0;
    pointer-events: none;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px; right: 20px;
    background: transparent;
    color: #ff003c;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    text-shadow: 0 0 10px #ff003c;
    transition: 0.3s;
}
.close-btn:hover { transform: scale(1.2); color: #fff; }

/* Panel Content Styling */
h2 {
    color: #8a2be2;
    text-shadow: 0 0 15px #8a2be2;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.highlight { color: #ff003c; font-weight: bold; }
.desc { margin-top: 20px; text-align: center; line-height: 1.6; }

.hero-media { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.avatar-img { width: 120px; height: 120px; border-radius: 50%; border: 2px solid #ff003c; box-shadow: 0 0 20px #ff003c; }
video { border: 1px solid #8a2be2; border-radius: 5px; }

/* Skills */
.card { background: rgba(0, 0, 0, 0.6); padding: 15px; border-left: 3px solid #ff003c; margin-bottom: 15px; }
.bar-bg { width: 100%; height: 6px; background: #111; margin-top: 10px; }
.bar-fill { height: 100%; background: #ff003c; box-shadow: 0 0 10px #ff003c; }

/* Contact */
.social-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.social-btn {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #8a2be2;
    border-radius: 3px;
    background: rgba(138, 43, 226, 0.1);
    transition: 0.3s;
}
.blood-glow:hover {
    background: rgba(255, 0, 60, 0.2);
    border-color: #ff003c;
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.8);
    color: #ff003c;
}