/* Terminal Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #0a0a0a;
    font-family: 'JetBrains Mono', monospace;
    overflow-x: hidden;
}

.terminal-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
    background: #0a0a0a;
    position: relative;
    padding: 20px;
}

.terminal {
    width: 100%;
    max-width: 800px;
    background-color: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.terminal-header {
    background: linear-gradient(to bottom, #3a3a3a, #2d2d2d);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #3a3a3a;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.button.close {
    background-color: #ff5f56;
}

.button.minimize {
    background-color: #ffbd2e;
}

.button.maximize {
    background-color: #27c93f;
}

.terminal-title {
    color: #ddd;
    font-size: 13px;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

.terminal-body {
    padding: 20px;
    color: #00ff00;
    font-size: 14px;
    line-height: 1.6;
    height: 450px;
    max-height: 450px;
    overflow-y: scroll; /* auto yerine scroll yap */
    overflow-x: hidden;
    position: relative;
    font-family: 'JetBrains Mono', monospace;
    scroll-behavior: smooth;
}

.terminal-line {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4px;
}

.prompt {
    color: #00ff00;
    margin-right: 8px;
    white-space: nowrap;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.command-text {
    color: #f8f8f2;
}

.cursor {
    display: inline-block;
    background-color: #00ff00;
    width: 8px;
    height: 16px;
    animation: blink 1s infinite;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.8);
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hidden {
    display: none !important;
}

/* Color classes */
.color-cyan {
    color: #00ffff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.color-green {
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* Terminal scrollbar */
.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 0, 0.3);
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 0, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .terminal {
        max-width: 95%;
    }
    
    .terminal-body {
        height: 350px;
        max-height: 350px;
        font-size: 12px;
        padding: 15px;
    }
    
    .prompt {
        font-size: 12px;
    }
}

