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

body {
    font-family: 'Fira Code', 'Courier New', 'Consolas', 'Monaco', monospace;
    background: #0a0a0a;
    color: #00ff00;
    overflow-x: hidden;
    line-height: 1.6;
}

.terminal-container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0d1117;
    border: 1px solid #30363d;
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #161b22;
    border-bottom: 1px solid #30363d;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.control.close {
    background: #ff5f56;
}

.control.minimize {
    background: #ffbd2e;
}

.control.maximize {
    background: #27c93f;
}

.terminal-title {
    color: #8b949e;
    font-size: 14px;
    font-weight: 500;
}

.terminal-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-section {
    text-align: center;
    padding: 20px 0;
}

.ascii-art {
    margin-bottom: 30px;
}

.ascii-art pre {
    color: #58a6ff;
    font-size: 14px;
    line-height: 1.2;
    white-space: pre;
    overflow-x: auto;
    background: #0d1117;
    border: 1px solid #30363d;
    padding: 20px;
    border-radius: 6px;
    text-align: left;
    display: inline-block;
}

.terminal-text {
    color: #00ff00;
    font-size: 16px;
    display: block;
    text-align: center;
    margin-top: 10px;
}

.command-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    padding: 15px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    max-width: 600px;
    margin: 0 auto;
}

.prompt {
    color: #58a6ff;
    font-weight: bold;
}

.typing-text {
    color: #00ff00;
}

.cursor {
    color: #00ff00;
    animation: blink 1s infinite;
}

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

.command-output {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

.command {
    color: #58a6ff;
    background: #161b22;
    padding: 4px 8px;
    border-radius: 3px;
}

.output {
    margin-left: 20px;
    font-size: 14px;
    line-height: 1.8;
}

.feature-item {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    align-items: center;
}

.command-text {
    color: #00ff00;
    font-weight: 500;
    min-width: 200px;
}

.comment {
    color: #8b949e;
    font-style: italic;
}

.install-step {
    color: #00ff00;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.success {
    color: #27c93f;
    font-weight: bold;
}

.success-text {
    color: #27c93f;
    font-weight: bold;
    margin-top: 10px;
}

.output-line {
    color: #8b949e;
    margin-bottom: 5px;
    padding-left: 10px;
}

.output-line.success {
    color: #27c93f;
    font-weight: bold;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #30363d;
    border-radius: 2px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #58a6ff, #00ff00);
    width: 0%;
    animation: progress 2s ease-out forwards;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

.terminal-window {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    overflow: hidden;
    margin: 20px 0;
}

.terminal-window .terminal-header {
    background: #161b22;
}

.terminal-window .terminal-title {
    color: #8b949e;
    font-size: 14px;
}

.terminal-body {
    padding: 20px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.terminal-btn {
    background: #161b22;
    border: 1px solid #30363d;
    color: #58a6ff;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.terminal-btn:hover {
    background: #21262d;
    border-color: #58a6ff;
    transform: translateY(-2px);
}

.terminal-btn.primary {
    background: #238636;
    border-color: #238636;
    color: white;
}

.terminal-btn.primary:hover {
    background: #2ea043;
    border-color: #2ea043;
}

.terminal-footer {
    background: #161b22;
    border-top: 1px solid #30363d;
    padding: 15px 20px;
}

.status-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-size: 12px;
    color: #8b949e;
}

.status-item {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .terminal-container {
        margin: 0;
        border: none;
        border-radius: 0;
    }
    
    .terminal-content {
        padding: 15px;
        gap: 30px;
    }
    
    .ascii-art pre {
        font-size: 12px;
        padding: 15px;
    }
    
    .command-prompt {
        font-size: 16px;
        padding: 12px;
    }
    
    .command-text {
        min-width: auto;
    }
    
    .feature-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .terminal-btn {
        width: 100%;
        justify-content: center;
    }
    
    .status-bar {
        flex-wrap: wrap;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .ascii-art pre {
        font-size: 10px;
        padding: 10px;
    }
    
    .terminal-header {
        padding: 8px 12px;
    }
    
    .terminal-content {
        padding: 10px;
    }
    
    .command-output {
        padding: 15px;
    }
    
    .terminal-body {
        padding: 15px;
    }
}

/* Syntax highlighting colors */
.keyword { color: #ff79c6; }
.string { color: #f1fa8c; }
.number { color: #bd93f9; }
.function { color: #50fa7b; }
.variable { color: #8be9fd; }
.operator { color: #ff79c6; }

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #484f58;
}
