:root {
    --bg-color: #0d0f12;
    --terminal-bg: rgba(20, 22, 26, 0.95);
    --accent-red: #ff3e3e;
    --text-main: #d1d1d1;
    --grid-color: rgba(255, 255, 255, 0.03);
}
body {
    background-color: #0d0f12;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    color: #d1d1d1;
    font-family: 'Courier New', monospace;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-y: scroll;
}
/* Transparent scrollbar with terminal brick color */
body::-webkit-scrollbar {
    width: 8px;
    background: transparent;
}
body::-webkit-scrollbar-track {
    background: transparent;
}
body::-webkit-scrollbar-thumb {
    background: rgba(20, 22, 26, 0.95);
    border-radius: 0;
}
body::-webkit-scrollbar-thumb:hover {
    background: #333;
}
#boot-screen {
    position: fixed;
    inset: 0;
    background: #000;
    color: #ff3e3e;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.7s ease;
    font-size: 1em;
}
#boot-text {
    width: 360px;
    max-width: 85%;
    text-align: left;
    white-space: pre-wrap;
    line-height: 1.35;
}
#grid-overlay {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(255, 62, 62, 0.15) 0%, transparent 20%);
    pointer-events: none;
    z-index: -1;
}
#terminal {
    width: 92%;
    max-width: 900px;
    background: var(--terminal-bg);
    border: 1px solid #333;
    padding: 22px;
    position: relative;
    opacity: 0;
    transition: opacity 1s ease;
}
#terminal::before {
    content: "MODEL: EISENWACHE-DS // STATUS: ACTIVE";
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 10px;
    color: #ff3e3e;
    letter-spacing: 2px;
}
h1 {
    font-size: 1.85em;
    color: #fff;
    margin: 0 0 10px 0;
    border-left: 4px solid #ff3e3e;
    padding-left: 12px;
    text-transform: uppercase;
}
@keyframes subtle-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
        filter: brightness(1);
        text-shadow: 0 0 2px rgba(255,255,255,0.2);
    }
    20%, 22%, 24%, 55% {
        opacity: 0.92;
        filter: brightness(1.12);
        text-shadow: 0 0 5px rgba(255,62,62,0.35);
    }
}
.subtle-flicker {
    animation: subtle-flicker 6s infinite linear;
    animation-delay: 2s;
}
#clock {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 12px;
    color: #444;
}
.content-row {
    display: flex;
    gap: 22px;
    margin: 12px 0 18px 0;
}
.intro-text {
    flex: 1;
    font-size: 0.95em;
    line-height: 1.4;
}
/* Jukebox Player */
.jukebox {
    width: 100%;
    max-width: 340px;
    border: 1px solid #333;
    padding: 15px;
    background: var(--terminal-bg);
}
.now-playing {
    text-align: center;
    font-size: 0.85em;
    margin-bottom: 12px;
    color: #ff3e3e;
    font-weight: bold;
    text-transform: uppercase;
}
.player-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}
.control-btn {
    background: transparent;
    border: 2px solid #ff3e3e;
    color: #ff3e3e;
    font-size: 0.85em;
    padding: 6px 12px;
    min-width: 70px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}
.control-btn:hover {
    background: #ff3e3e;
    color: #000;
}
/* Progress & Volume – small red cube thumb */
.progress-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
progress {
    flex: 1;
    height: 6px;
    background: #222;
}
progress::-webkit-progress-bar { background: #222; }
progress::-webkit-progress-value { background: #ff3e3e; }
progress::-moz-progress-bar { background: #ff3e3e; }
#current-time, #remaining-time {
    font-size: 0.85em;
    min-width: 50px;
    text-align: center;
    font-weight: bold;
}
.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
    font-weight: bold;
}
#volume-slider {
    flex: 1;
    height: 6px;
    background: #222;
    -webkit-appearance: none;
}
#volume-slider::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    background: #ff3e3e;
    border: none;
    border-radius: 0; /* Cube, not circle */
    cursor: pointer;
    -webkit-appearance: none;
}
/* Status & Nav Buttons */
.status-board {
    margin: 12px 0;
    padding-left: 12px;
    border-left: 3px solid #ff3e3e;
    background: rgba(255,62,62,0.04);
    font-size: 0.82em;
    color: #bbb;
}
.log-section {
    margin-top: 12px;
}
.log-section strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1em;
}
.nav-buttons {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-buttons li {
    margin: 0;
}
.nav-buttons a {
    color: #ff3e3e;
    border: 2px solid #ff3e3e;
    padding: 6px 12px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.85em;
    display: inline-block;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}
.nav-buttons a:hover {
    background: #ff3e3e;
    color: #000;
}
@media (max-width: 800px) {
    #terminal {
        padding: 18px;
        max-width: 95%;
    }
    .content-row {
        flex-direction: column;
        gap: 18px;
    }
    .jukebox {
        max-width: 100%;
    }
    .nav-buttons {
        flex-direction: column;
        gap: 10px;
    }
    h1 {
        font-size: 1.6em;
    }
}