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

body {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    background-color: #000000;
    color: #00ff00;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.terminal {
    width: 100%;
    max-width: 900px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
    overflow: hidden;
}

.terminal-header {
    background-color: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

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

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.btn.close {
    background-color: #ff5f56;
}

.btn.minimize {
    background-color: #ffbd2e;
}

.btn.maximize {
    background-color: #27c93f;
}

.terminal-title {
    color: #888;
    font-size: 12px;
    flex: 1;
}

.terminal-body {
    padding: 20px;
    min-height: 500px;
}

.output {
    line-height: 1.6;
}

.line {
    margin-bottom: 10px;
}

.prompt {
    color: #00ff00;
    margin-right: 8px;
}

.command {
    color: #ffffff;
}

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

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

.output-text {
    margin-left: 0;
    margin-top: 5px;
    margin-bottom: 15px;
    color: #cccccc;
    white-space: pre-wrap;
}

.output-text pre {
    color: #00ff00;
    font-family: inherit;
    margin: 0;
}

.directory-listing {
    margin-left: 20px;
}

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

.file-type {
    color: #00ff00;
    font-weight: bold;
    width: 20px;
}

.link {
    color: #00aaff;
    text-decoration: none;
    transition: color 0.2s;
}

.link:hover {
    color: #00ddff;
    text-decoration: underline;
}

.description {
    color: #888;
    font-style: italic;
}

.featured-project {
    background-color: #0f1419;
    border: 1px solid #333;
    border-left: 3px solid #00ff00;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.featured-header {
    margin-bottom: 10px;
}

.label {
    color: #00ff00;
    font-weight: bold;
    font-size: 14px;
}

.project-card {
    margin-top: 10px;
}

.project-title {
    color: #00aaff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.project-title a {
    color: inherit;
    text-decoration: none;
}

.project-title a:hover {
    color: #00ddff;
    text-decoration: underline;
}

.project-description {
    color: #cccccc;
    margin-bottom: 8px;
    line-height: 1.5;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    background-color: #1a1a1a;
    color: #00ff00;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    border: 1px solid #333;
}

.help-menu {
    margin-left: 20px;
}

.help-item {
    margin-bottom: 8px;
    display: flex;
    gap: 15px;
}

.command-name {
    color: #00ff00;
    font-weight: bold;
    min-width: 100px;
}

.command-desc {
    color: #888;
}

/* Responsive design */
@media (max-width: 768px) {
    .terminal {
        width: 100%;
        border-radius: 0;
    }
    
    .terminal-body {
        padding: 15px;
    }
    
    .output-text {
        font-size: 14px;
    }
}

/* Glitch effect for terminal */
.terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        transparent 50%,
        rgba(0, 255, 0, 0.03) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    opacity: 0.5;
}
































