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

body {
    background: #1a1008;
    overflow: hidden;
    font-family: 'VT323', monospace;
    color: #33ff33;
    cursor: default;
    user-select: none;
}

#scene-container {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

#hud {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
}

.hud-element {
    transition: opacity 0.3s ease;
    opacity: 1;
}

.hud-element.hidden {
    opacity: 0;
}

#channel-display {
    font-family: 'VT323', monospace;
    font-size: 48px;
    color: #33ff33;
    text-shadow: 0 0 10px #33ff33, 0 0 20px #33ff33, 0 0 40px #115511;
    position: fixed;
    top: 28%;
    right: 32%;
    letter-spacing: 4px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 16px;
    border-radius: 2px;
}

#volume-display {
    font-family: 'VT323', monospace;
    font-size: 28px;
    color: #33ff33;
    text-shadow: 0 0 8px #33ff33, 0 0 16px #33ff33;
    position: fixed;
    bottom: 32%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 16px;
    border-radius: 2px;
}

#volume-bar-container {
    width: 120px;
    height: 12px;
    background: rgba(0, 40, 0, 0.6);
    border: 1px solid #33ff33;
    border-radius: 1px;
}

#volume-bar {
    width: 50%;
    height: 100%;
    background: #33ff33;
    box-shadow: 0 0 6px #33ff33;
    transition: width 0.15s ease;
}

#instructions {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'VT323', monospace;
    font-size: 16px;
    color: rgba(200, 180, 140, 0.6);
    text-align: center;
    pointer-events: none;
    z-index: 10;
    letter-spacing: 1px;
}

#power-indicator {
    position: fixed;
    pointer-events: none;
    z-index: 10;
}

#power-indicator.hidden {
    display: none;
}

#power-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff2200;
    box-shadow: 0 0 4px #ff2200, 0 0 8px #ff2200;
    transition: background 0.3s, box-shadow 0.3s;
}

#power-dot.on {
    background: #33ff33;
    box-shadow: 0 0 4px #33ff33, 0 0 8px #33ff33;
}

#degauss-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
    background: transparent;
}

#degauss-overlay.active {
    animation: degauss 0.6s ease-out;
}

@keyframes degauss {
    0% { backdrop-filter: hue-rotate(0deg) saturate(3); }
    20% { backdrop-filter: hue-rotate(90deg) saturate(4); }
    40% { backdrop-filter: hue-rotate(-60deg) saturate(3); }
    60% { backdrop-filter: hue-rotate(30deg) saturate(2); }
    80% { backdrop-filter: hue-rotate(-10deg) saturate(1.5); }
    100% { backdrop-filter: hue-rotate(0deg) saturate(1); }
}

#retro-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 12px 20px;
    font-family: 'VT323', monospace;
    font-size: 14px;
    color: rgba(200, 180, 140, 0.5);
    background: linear-gradient(to top, rgba(20, 12, 4, 0.9), transparent);
    z-index: 20;
    letter-spacing: 2px;
}

#remix-btn {
    color: #c8a050;
    text-decoration: none;
    border: 1px solid rgba(200, 160, 80, 0.4);
    padding: 4px 14px;
    border-radius: 2px;
    font-family: 'VT323', monospace;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.2s;
    background: rgba(200, 160, 80, 0.08);
}

#remix-btn:hover {
    background: rgba(200, 160, 80, 0.2);
    border-color: rgba(200, 160, 80, 0.7);
    color: #e8c870;
    text-shadow: 0 0 8px rgba(200, 160, 80, 0.5);
}

@media (max-width: 768px) {
    #channel-display {
        font-size: 32px;
        top: 25%;
        right: 25%;
    }
    #instructions {
        font-size: 12px;
        bottom: 50px;
        padding: 0 20px;
    }
    #retro-footer {
        flex-direction: column;
        gap: 6px;
        padding: 8px;
    }
}