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

body {
    /* Dein Deep-Space Background */
    background-color: #000000;
    background: radial-gradient(circle at center, #050010 0%, #000000 100%);
    
    /* Schriftart & Cursor */
    font-family: 'Roboto Mono', 'Courier New', monospace; /* Roboto Mono zuerst, falls geladen */
    cursor: grab;
    
    /* Layout */
    width: 100vw;
    height: 100vh;
    overflow: hidden; /* Keine Scrollbalken */
    position: relative;
}

body.grabbing {
    cursor: grabbing;
}

/* --- NAVIGATION (Der Overlay) --- */
.navbar {
    position: absolute; /* WICHTIG: Schwebt ÜBER der Kugel */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 1000; /* Muss über dem Canvas liegen */
    
    /* Leichter Verlauf nach unten für Lesbarkeit */
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent); 
    pointer-events: none; /* Klicks gehen durch leere Bereiche durch */
}

/* Elemente wieder klickbar machen */
.logo, .hamburger, .nav-links {
    pointer-events: auto;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* --- LINKS (Desktop Style) --- */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #00f3ff; /* Dein Cyan-Ton */
    text-shadow: 0 0 8px #00f3ff;
}

/* Unterstrich-Animation beim Hover */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: #00f3ff;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- HAMBURGER ICON (Desktop: Versteckt) --- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: white;
    transition: 0.3s;
    box-shadow: 0 0 5px rgba(255,255,255,0.5);
}

/* --- MAIN CONTAINER & CANVAS --- */
.content-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1; /* Unter dem Menü */
}

#canvas {
    display: block;
    width: 100%;
    height: 100%;
    /* Dein Glow-Filter */
    filter: drop-shadow(0 0 10px rgba(120, 120, 255, 0.2)) contrast(1.2) brightness(1.2);
}

/* --- UI TEXT UNTEN --- */
.ui-layer {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    pointer-events: none; /* Klicks gehen durch */
    z-index: 10;
    
    font-family: 'Roboto Mono', monospace;
    color: rgba(200, 200, 255, 0.4); /* Leicht bläuliches Weiß */
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* --- MOBILE RESPONSIVENESS (Handy) --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Zeige Burger Icon */
    }

    .nav-links {
        position: fixed; /* Fixed damit es beim Scrollen bleibt */
        top: 0;
        right: 0;
        height: 100vh;
        width: 60%;
        background: rgba(10, 10, 10, 0.95); /* Fast schwarzes Glas */
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
        transform: translateX(100%); /* Versteckt nach rechts */
        transition: transform 0.4s ease-in-out;
        border-left: 1px solid #333;
        z-index: 1001; /* Über allem anderen */
    }

    /* Wird per JS aktiviert */
    .nav-links.active {
        transform: translateX(0%);
    }
}