:root {
    --bg-color: #0a0c10;
    --panel-bg: #12161f;
    --accent-color: #00ff66;
    --accent-dim: #00aa44;
    --text-color: #e1e7ed;
    --text-dim: #6c7a89;
    --border-color: #1f2937;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
}

header {
    width: 100%;
    max-width: 900px;
    padding: 3rem 1rem 1.5rem 1rem;
    text-align: left;
    box-sizing: border-box;
}

.glitch {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
}

.status-bar {
    background: rgba(0, 255, 102, 0.1);
    border: 1px solid var(--accent-dim);
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    margin-top: 1rem;
    border-radius: 4px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
    animation: blink 1.5s infinite;
}

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

main {
    width: 100%;
    max-width: 900px;
    padding: 1rem;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.panel {
    background-color: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
    position: relative;
}

.panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-dim);
    border-radius: 6px 6px 0 0;
}

h2 {
    font-size: 1.2rem;
    margin-top: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.desc-text {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.project-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.project-card:hover {
    border-color: var(--accent-color);
    background: rgba(0, 255, 102, 0.02);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.card-desc {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin: 0;
}

.tag {
    font-size: 0.75rem;
    background: #1f2937;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    color: var(--accent-color);
}

.terminal {
    background: #05070a;
    border: 1px solid var(--border-color);
    font-family: monospace;
    padding: 1rem;
    border-radius: 4px;
    color: #00ff66;
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
}

.terminal-input-line {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: monospace;
    font-size: 1rem;
    outline: none;
    flex-grow: 1;
}

footer {
    margin-top: auto;
    padding: 3rem 1rem;
    text-align: center;
    width: 100%;
}

.footer-text {
    color: var(--text-dim);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.zuffi-msg {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
