:root {
    --bg-dark: #030303;
    --carbon: #080808;
    --cyber-yellow: #ffff00;
    --cyber-yellow-glow: rgba(255, 255, 0, 0.5);
    --text-dim: #444;
    --font-mono: 'Courier Prime', 'Courier New', monospace;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--cyber-yellow);
    font-family: var(--font-mono);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#app {
    width: 100%;
    max-width: 1200px;
    height: 95vh;
    background: var(--carbon);
    border: 1px solid rgba(255, 255, 0, 0.2);
    box-shadow: 0 0 60px rgba(0, 0, 0, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

header {
    height: 65%;
    border-bottom: 1px solid rgba(255, 255, 0, 0.1);
    position: relative;
    overflow: hidden;
    background: black;
}

.header-overlay {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 10;
    pointer-events: none;
}

header h1 {
    font-size: 0.8rem;
    letter-spacing: 5px;
    opacity: 0.6;
}

.status {
    font-size: 0.6rem;
    color: var(--text-dim);
    margin-top: 8px;
}

#visualizer-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #111 0%, #000 100%);
}

#sketchfab-core {
    width: 100%;
    height: 100%;
    /* Cypher Yellow Aesthetic Filter */
    filter: sepia(1) saturate(5) hue-rotate(15deg) brightness(1.2) contrast(1.5) drop-shadow(0 0 20px rgba(255, 200, 0, 0.4));
    transition: filter 0.3s ease;
}

#terminal {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px;
    font-size: 0.9rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.8);
}

#output {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--cyber-yellow) transparent;
}

#output::-webkit-scrollbar {
    width: 3px;
}

#output::-webkit-scrollbar-thumb {
    background-color: var(--cyber-yellow);
}

.line {
    line-height: 1.6;
}

.bot {
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 12px;
    color: var(--cyber-yellow);
    text-shadow: 0 0 8px var(--cyber-yellow-glow);
}

.user-tag {
    color: #666;
    font-weight: 700;
    margin-right: 12px;
}

.user-msg {
    color: #ccc;
}

.input-area {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 0, 0.05);
    padding-top: 20px;
}

.prompt {
    font-weight: bold;
    color: var(--cyber-yellow);
}

#user-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    #app {
        height: 100vh;
        border: none;
    }
    
    header {
        height: 50%;
    }
}