:root {
    --neon-green: #00ff88;
    --dark-bg: #0a0a0b;
    --terminal-grey: #1a1a1c;
    --text-color: #e0e0e0;
    --accent-blue: #00d4ff;
    --border-color: #222;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Fira Code', monospace;
    margin: 0;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header & Nav */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 40px; background: rgba(10, 10, 11, 0.95);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
}

.logo { font-family: 'Orbitron', sans-serif; font-size: 1.5rem; color: var(--neon-green); }

.menu-checkbox, .menu-icon { display: none !important; }

.nav-menu a { color: var(--text-color); text-decoration: none; margin-left: 25px; font-size: 0.85rem; transition: 0.3s; }
.nav-menu a:hover { color: var(--neon-green); }

.dev-link-nav { color: var(--accent-blue) !important; border: 1px solid rgba(0, 212, 255, 0.2); padding: 5px 12px; border-radius: 4px; }

/* Hero */
.hero-section { padding: 80px 0; }
.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 50px; }

.main-title { font-family: 'Orbitron', sans-serif; font-size: 3.5rem; margin: 0; color: #fff; }
.subtitle { color: #888; font-size: 1.1rem; margin-bottom: 40px; }

/* GRÜNER DOWNLOAD BUTTON */
.cyber-button {
    display: inline-block;
    padding: 16px 35px;
    background: transparent;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    font-family: 'Orbitron', sans-serif;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    transition: 0.3s;
}

.cyber-button:hover {
    background: var(--neon-green);
    color: #000;
    box-shadow: 0 0 20px var(--neon-green);
}

/* GIF Wrapper & Centered Play Arrow */
.gif-wrapper { 
    position: relative; 
    cursor: pointer; 
    background: #000; 
    overflow: hidden;
    line-height: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.game-gif { width: 100%; display: block; transition: 0.4s ease; }
.game-gif.paused { filter: brightness(0.35); }

.play-overlay-container {
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}

.play-arrow {
    font-size: 5rem; /* Schön groß */
    color: var(--neon-green);
    opacity: 0.6; /* Dezent transparent */
    transition: 0.3s;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.gif-wrapper:hover .play-arrow {
    opacity: 1;
    transform: scale(1.1); /* Wird beim Hovern leicht größer */
}

/* Cards & Grid */
.terminal-card { background: var(--terminal-grey); border: 1px solid #333; border-radius: 4px; overflow: hidden; }
.terminal-header { background: #252526; padding: 8px 15px; font-size: 0.7rem; color: #888; border-bottom: 1px solid #333; }
.terminal-content { padding: 25px; }
.section-header { font-family: 'Orbitron', sans-serif; color: var(--neon-green); font-size: 1.4rem; margin-top: 60px; }

.dev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 25px; }
.dev-card { background: rgba(255,255,255,0.02); border: 1px solid var(--border-color); padding: 25px; }
.cyber-link { color: var(--neon-green); text-decoration: none; font-weight: bold; display: block; margin-top: 15px; font-size: 0.8rem;}
.red-link { color: #ff5f56 !important; }

/* Responsive */
@media (max-width: 850px) {
    .menu-icon { display: block !important; font-size: 2rem; color: var(--neon-green); cursor: pointer; }
    .nav-menu {
        display: none; flex-direction: column; position: absolute;
        top: 100%; left: 0; width: 100%; background: #111;
        border-bottom: 2px solid var(--neon-green); padding: 20px 0;
    }
    .menu-checkbox:checked ~ .nav-menu { display: flex; }
    .nav-menu a { margin: 15px 0; width: 100%; text-align: center; margin-left: 0; font-size: 1.2rem; }
    .hero-container { flex-direction: column; text-align: center; }
}

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.path-card {
    height: 100%;
    border-color: #333;
}

.path-title {
    font-weight: bold;
    color: var(--neon-green);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
}

.dev-border {
    border-color: var(--accent-blue);
}

.highlight-green {
    color: var(--neon-green);
}

.note-text {
    font-size: 0.75rem;
    color: #666;
    margin-top: 15px;
    font-style: italic;
}

/* Footer Styling (wie besprochen) */
footer {
    text-align: center;
    padding: 60px 0 30px;
    color: #555;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-top: 1px solid #111;
    width: 100%;
}

/* Mobile Anpassung für das Dual-Grid */
@media (max-width: 850px) {
    .dual-grid {
        grid-template-columns: 1fr;
    }
}

.highlight-card {
    border: 1px solid var(--neon-green) !important;
    background: rgba(0, 255, 136, 0.05) !important;
}

.dev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

footer {
    text-align: center;      /* Zentriert den Text horizontal */
    padding: 60px 0 30px;    /* Abstand nach oben und unten */
    color: #555;             /* Ein dunkles Grau, damit es dezent wirkt */
    font-size: 0.75rem;      /* Etwas kleinere Schrift */
    letter-spacing: 1px;     /* Mehr Abstand zwischen den Buchstaben für den Terminal-Look */
    border-top: 1px solid #111; /* Eine sehr feine Trennlinie zum restlichen Content */
    width: 100%;
}


@media (max-width: 850px) {
    .main-title {
        /* Nutzt 'vw' (Viewport Width), damit die Schrift mit der Bildschirmbreite mitskaliert */
        font-size: 10vw !important; 
        
        /* Erlaubt dem Browser, das Wort SYSTEM_GOGE notfalls zu trennen */
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
        
        display: block;
        width: 100%;
        text-align: center;
        margin: 0 auto 20px auto;
    }

    /* Falls das Wort immer noch zu lang ist, erzwingen wir hier die Skalierung */
    @media (max-width: 400px) {
        .main-title {
            font-size: 8vw !important;
        }
    }
}
