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

body {
    background: #000000;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    height: 100vh;
    overflow: hidden;
}

.main-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.left-panel {
    width: 40%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-panel {
    width: 60%;
    position: relative;
    background: radial-gradient(circle at center, #001100, #000000);
}

.terminal-window {
    width: 100%;
    max-width: 500px;
    background: transparent;
}

.terminal-header {
    display: none;
}

.terminal-title {
    display: none;
}

.terminal-controls {
    display: none;
}

.control {
    display: none;
}

.terminal-content {
    padding: 20px;
    height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

.ascii-header pre {
    color: #00ff00;
    font-size: 8px;
    line-height: 1;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
    margin-bottom: 20px;
}

.terminal-text p {
    margin: 8px 0;
    font-size: 14px;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.delay-1 { animation-delay: 0.5s; }

.terminal-output-area {
    margin: 20px 0;
    max-height: 200px;
    overflow-y: auto;
}

.terminal-output {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
}

.input-line {
    display: flex;
    align-items: center;
    margin-top: 20px;
    position: sticky;
    bottom: 0;
    background: #0a0a0a;
    padding: 5px 0;
}

.prompt {
    color: #00ff00;
    margin-right: 10px;
    font-weight: bold;
    font-size: 14px;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    outline: none;
    flex: 1;
    caret-color: transparent;
}

.cursor {
    color: #00ff00;
    animation: blink 1s infinite;
    font-weight: bold;
}

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

.animation-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.animation-canvas {
    width: 100%;
    height: 100%;
    cursor: grab;
}

.animation-canvas:active {
    cursor: grabbing;
}

.animation-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
}

.animation-info p {
    color: #00ff00;
    font-size: 12px;
    letter-spacing: 2px;
    margin: 5px 0;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.animation-info .hint {
    opacity: 0.6;
    font-size: 11px;
    letter-spacing: 1px;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .left-panel {
        width: 100%;
        height: 40%;
        padding: 10px;
    }
    
    .right-panel {
        width: 100%;
        height: 60%;
    }
    
    .terminal-content {
        height: 250px;
    }
    
    .ascii-header pre {
        font-size: 6px;
    }
}