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

body {
    font-family: 'Courier New', Courier, monospace;
    background: #0a0a0a;
    color: #00ff00;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* Matrix rain effect background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(transparent 50%, rgba(0, 255, 0, 0.02) 50%),
        linear-gradient(90deg, transparent 50%, rgba(0, 255, 0, 0.02) 50%);
    background-size: 2px 2px, 2px 2px;
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 900px;
    padding: 20px;
}

.terminal {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid #00ff00;
    border-radius: 8px;
    box-shadow: 
        0 0 20px rgba(0, 255, 0, 0.3),
        inset 0 0 40px rgba(0, 255, 0, 0.05);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.terminal-header {
    background: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #00ff00;
}

.terminal-title {
    font-size: 14px;
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #00ff00;
}

.btn-close {
    background: rgba(255, 0, 0, 0.3);
}

.btn-minimize {
    background: rgba(255, 255, 0, 0.3);
}

.btn-maximize {
    background: rgba(0, 255, 0, 0.3);
}

.terminal-body {
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.ascii-art {
    margin-bottom: 20px;
    text-align: center;
    font-size: 10px;
    color: #00dd00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
}

.content {
    animation: fadeIn 1s ease-in;
}

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

.prompt {
    margin: 15px 0 5px 0;
    color: #00ff00;
}

.user {
    color: #00dd00;
    font-weight: bold;
}

.path {
    color: #00aaff;
}

.output {
    margin: 5px 0 5px 20px;
    color: #88ff88;
}

.status-indicator {
    color: #00ff00;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
    }
    50% {
        opacity: 0.5;
        text-shadow: 0 0 2px rgba(0, 255, 0, 0.4);
    }
}

.message {
    color: #ffff00;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 255, 0, 0.5);
    margin: 10px 0 10px 20px;
}

.mt-4 {
    margin-top: 30px;
}

.cursor-line {
    margin-top: 20px;
    color: #00ff00;
}

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

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    color: #00aa00;
    font-size: 14px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .terminal-body {
        padding: 15px;
        font-size: 14px;
    }
    
    .ascii-art {
        font-size: 8px;
    }
    
    .container {
        width: 95%;
        padding: 10px;
    }
}

/* Scanline effect */
@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100vh);
    }
}

.terminal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 255, 0, 0.1);
    animation: scanline 8s linear infinite;
    pointer-events: none;
}

/* Glitch effect on hover */
.terminal:hover {
    animation: glitch 0.3s ease-in-out;
}

@keyframes glitch {
    0%, 100% {
        transform: translate(0);
    }
    25% {
        transform: translate(-2px, 2px);
    }
    50% {
        transform: translate(2px, -2px);
    }
    75% {
        transform: translate(-2px, -2px);
    }
}

