:root {
    --cyan: #00f2ff;
    --red: #ff0055;
    --bg: #09090e;
    --glass: rgba(15, 15, 25, 0.85);
    --border: rgba(0, 242, 255, 0.3);
    --text-main: #e0e0e0;
    --font: 'Consolas', 'Courier New', monospace;
}

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

body {
    background-color: var(--bg);
    background-image: radial-gradient(circle at 50% 0%, #1a1a2e 0%, var(--bg) 70%);
    color: var(--text-main);
    font-family: var(--font);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 0.5s ease;
}

#terminal-wrapper {
    width: 95vw;
    height: 90vh;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.9), inset 0 0 15px rgba(0,242,255,0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease;
}

#header {
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 25px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    color: var(--cyan);
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 8px var(--cyan);
    border-radius: 12px 12px 0 0;
}

#output {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    font-size: 1.05rem;
    line-height: 1.6;
    scrollbar-width: none;
}
#output::-webkit-scrollbar { display: none; }

.line {
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeIn 0.2s ease forwards;
    word-wrap: break-word;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-5px); }
    to { opacity: 1; transform: translateX(0); }
}

.prompt-text { color: var(--cyan); font-weight: bold; margin-right: 10px; text-shadow: 0 0 5px var(--cyan); }
.accent-text { color: var(--red); font-weight: bold; text-shadow: 0 0 5px var(--red); }
.success-text { color: #00ff41; font-weight: bold; text-shadow: 0 0 5px #00ff41; }

#input-area {
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    border-radius: 0 0 12px 12px;
}

#cmd-input {
    background: transparent;
    border: none;
    color: var(--cyan);
    font-family: inherit;
    font-size: 1.1rem;
    width: 100%;
    outline: none;
    text-shadow: 0 0 5px var(--cyan);
}
