body {
    background: #181515;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
}

/* ─── Terminal Header ─── */
.terminal-header {
    max-width: 700px;
    margin: 30px auto 0 auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.terminal-bar {
    background: #2d2d2d;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
    color: #888;
    margin-left: 12px;
    font-size: 0.8rem;
}

.terminal-body {
    background: #1e1e1e;
    padding: 14px 16px;
    color: #00ff41;
    min-height: 24px;
}

.prompt {
    color: #00ff41;
}

.typed-text {
    color: #e0e0e0;
}

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

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

/* ─── Header ─── */
.header {
    color: orange;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 1.5rem;
    margin: 20px auto 10px auto;
}

.welcome-title {
    text-align: center;
    margin-top: 30px;
    padding-left: 20px;
    font-size: 2rem;
    margin-right: 40px;
    font-family: 'Garamond', serif;
}

.main-columns {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    align-items: stretch;
    gap: 120px;
}

.category {
    text-align: left;
    font-size: 1.5rem;
    margin-top: 3px;
    font-family: 'Garamond', serif;
    position: relative;
    font-weight: 300;
    background: transparent;
    min-width: 250px;
}

.about {
    text-align: left;
    font-size: 1.5rem;
    font-family: 'Garamond', serif;
    position: relative;
    font-weight: 300;
    background: transparent;
    min-width: 250px;
}

.about-text {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #ccc;
}

.triples-link {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #ccc;
    text-decoration: none;
}

.profile-photo {
    border-radius: 50%;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.git-link, .guns-link, .github-link, .spotify-link,
.lastfm-link, .mastodon-link, .bluesky-link {
    text-align: left;
    color: #0a84ff;
    margin-left: 0;
    text-decoration: none;
    font-family: 'Garamond', serif;
    font-weight: 300;
}

.triples-link:hover, .mastodon-link:hover, .bluesky-link:hover,
.lastfm-link:hover, .spotify-link:hover, .github-link:hover,
.git-link:hover, .guns-link:hover {
    color: goldenrod;
}

/* ─── Now Playing ─── */
.now-playing {
    max-width: 500px;
    margin: 40px auto;
    padding: 12px 20px;
    border: 1px solid #333;
    border-radius: 8px;
    text-align: center;
    background: #1a1a1a;
}

.np-label {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 6px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.np-track {
    font-size: 1.1rem;
    color: #e0e0e0;
    font-family: 'Garamond', serif;
}

.np-status {
    color: #888;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
}

.np-status.live {
    color: #00ff41;
}

/* ─── Projects ─── */
.projects-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-family: 'Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-card:hover {
    border-color: goldenrod;
    transform: translateY(-3px);
}

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

.card-icon {
    font-size: 1.5rem;
}

.card-lang {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-lang.rust { background: #dea584; color: #000; }
.card-lang.python { background: #3572a5; color: #fff; }
.card-lang.html { background: #e34c26; color: #fff; }
.card-lang.bash { background: #4eaa25; color: #fff; }

.card-title {
    font-size: 1.2rem;
    font-family: 'Garamond', serif;
    color: #fff;
}

.card-desc {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.4;
}

/* ─── Footer ─── */
.footer {
    position: fixed;
    right: 0;
    bottom: 0;
    text-align: right;
    padding: 16px 32px;
    background: transparent;
    width: auto;
}

.footer a {
    color: goldenrod;
}

/* ─── Responsive ─── */
@media (max-width: 800px) {
    .main-columns {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .terminal-header {
        margin: 20px 10px 0 10px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        position: static;
        text-align: center;
        padding: 20px;
        margin-top: 40px;
    }
}
