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

body {
    background-color: #000;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    position: relative;
    font-weight: bold;
}

#club-logo {
    display: block;
    margin: 0 auto 20px auto;
    text-align: left;
    white-space: pre;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    line-height: 1;

    font-size: clamp(10px, 1.8vw, 14px);
    letter-spacing: clamp(-1px, -0.05vw, 0px);
    overflow: hidden;
    width: fit-content;
    flex-shrink: 0;
}

.main-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    padding: 20px;
    padding-top: 40px;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

#visual-feed {
    text-align: center;
    flex-shrink: 0;
    padding-bottom: 10px;
}

#dj-visual {
    font-size: 1.2rem;
    line-height: 1;
    margin-bottom: 5px;
}

#eq-display {
    font-size: 1rem;
    letter-spacing: 2px;
}

.separator {
    text-align: center;
    margin: 15px 0;
    flex-shrink: 0;
}

#terminal-output {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 20px;
    min-height: 0;
}

#terminal-output div {
    margin-bottom: 5px;
}

#input-area {
    display: flex;
    align-items: center;
    width: 100%;
    flex-shrink: 0;
}

.input-wrapper {
    position: relative;
    display: flex;
    flex-grow: 1;
    align-items: center;
}

#user-input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    outline: none;
    width: 100%;
    caret-color: transparent;
    z-index: 2;
}

#fake-cursor {
    position: absolute;
    left: 0;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    pointer-events: none;
    animation: blink 0.8s infinite;
    z-index: 1;
}

.prompt {
    margin-right: 5px;
}

#user-input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    outline: none;
    flex-grow: 1;
}

.cursor {
    margin-left: -5px;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.crt-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.04) 50%);
    background-size: 100% 4px;
    z-index: 100;
    pointer-events: none;
}

@media (max-width: 600px) {
    .main-container {
        padding: 10px;
        padding-top: 15px;
    }

    #club-logo {
        font-size: clamp(6px, 2.5vw, 12px);
        margin-bottom: 10px;
    }

    #dj-visual {
        font-size: 0.9rem;
    }

    .separator {
        margin: 8px 0;
    }

    #terminal-output {
        margin-bottom: 10px;
        font-size: 0.85rem;
    }

    #user-input,
    #fake-cursor {
        font-size: 0.85rem;
    }

    .crt-overlay {
        background-size: 100% 3px;
    }
}
