:root {
    --bg: #0a0a0a;
    --accent: #00ff88;
    --text: #dcdcdc;
    --muted: #777;
}

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

/* Base */
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'VCR OSD Mono', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    color: var(--accent);
    letter-spacing: 2px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    margin-left: 25px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 800px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent);
}

p {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* CTA Button */
.cta {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta:hover {
    background: var(--accent);
    color: #000;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    color: var(--muted);
}


@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav a {
        margin-left: 0;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.8rem;
    }
}

.hero-content a {
    color: #00ff88;
    text-decoration: none;
}

.hero-content a:hover {
    text-shadow: 0 0 6px #00ff88;
}

.tcpdump-container {
    position: relative;
    margin-top: 40px;
    height: 200px;
    overflow: hidden;
    text-align: left;
    pointer-events: none;
}

#tcpdump-output {
    font-size: 0.75rem;
    line-height: 1.3;
    color: rgba(0, 255, 136, 0.4);
    white-space: pre-wrap;
    font-family: 'VCR OSD Mono', monospace;
}


.tcpdump-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0px,
        rgba(0,0,0,0) 2px,
        rgba(0,0,0,0.15) 3px
    );
    pointer-events: none;
}


/* ========================================
   Projects Page Layout
   ======================================== */

.projects-page {
    flex: 1;
    padding: 60px 40px 40px;
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

.projects-header {
    text-align: center;
    margin-bottom: 60px;
}

.projects-header p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
}

.projects-header p:last-child {
    margin-bottom: 0;
}

.project-list {
    display: flex;
    flex-direction: column;
}

.project-card {
    text-align: left;
    padding: 28px 0 28px 24px;
    border-left: 2px solid var(--muted);
    border-bottom: 1px solid rgba(220, 220, 220, 0.05);
    transition: border-left-color 0.2s ease;
}

.project-card:last-child {
    border-bottom: none;
}

.project-card:hover {
    border-left-color: var(--accent);
}

.project-card h2 {
    font-size: 1.15rem;
    color: var(--accent);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.project-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 10px;
    line-height: 1.6;
}

.project-card p:last-of-type {
    margin-bottom: 16px;
}

.project-note {
    opacity: 0.6;
}

.project-link {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.2s ease, text-shadow 0.2s ease;
}

.project-link:hover {
    opacity: 1;
    text-shadow: 0 0 6px var(--accent);
}

@media (max-width: 768px) {
    .projects-page {
        padding: 40px 20px;
    }

    .project-card {
        padding: 24px 0 24px 16px;
    }
}