@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');
        
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    color: #00ff88;
    overflow: hidden;
    height: 100vh;
    position: relative;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00ff88;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.terminal {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid #666666;
    box-shadow: 0 0 50px rgba(102, 102, 102, 0.3);
    display: flex;
    flex-direction: column;
    position: relative;
}

.terminal-header {
    background: linear-gradient(90deg, #242424, #161616);
    color: #e7e7e7;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 14px;
}

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

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

.btn.close { background: #ff5f56; }
.btn.minimize { background: #ffbd2e; }
.btn.maximize { background: #27ca3f; }

.terminal-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
}

.output {
    margin-bottom: 10px;
    white-space: pre-wrap;
    animation: slideIn 0.3s ease-out;
}

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

.input-line {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.prompt {
    color: #00ff88;
    margin-right: 10px;
    font-weight: 500;
}

.command-input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: inherit;
    font-size: inherit;
    flex: 1;
    outline: none;
    caret-color: #00ff88;
}

.cursor {
    background: #00ff88;
    width: 10px;
    height: 20px;
    animation: blink 1s infinite;
    display: inline-block;
}

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

.error {
    color: #ff4444;
}

.success {
    color: #00ff88;
}

.warning {
    color: #ffaa00;
}

.info {
    color: #44aaff;
}

.highlight {
    background: rgba(0, 255, 136, 0.2);
    padding: 2px 4px;
    border-radius: 3px;
}

.folder {
    color: #ffaa00;
}

.file {
    color: #44aaff;
}

.link {
    color: #ff6b9d;
    text-decoration: underline;
}

/* Glitch effect for headers */
.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-2px); }
    40% { transform: translateX(2px); }
    60% { transform: translateX(-2px); }
    80% { transform: translateX(2px); }
}

/* Responsive design */
@media (max-width: 768px) {
    .terminal-body {
        font-size: 12px;
        padding: 15px;
    }
    
    .terminal-header {
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* Scrollbar styling */
.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: #00ff88;
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: #00cc70;
}