body.projects-page {
    background: #f5f5f5;
    min-height: 100vh;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

.crt-header-bar {
    background: #0a0f0a;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 100;
}

.header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.header-logo {
    width: 240px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.3));
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.header-nav {
    display: flex;
    gap: 40px;
    font-family: 'VT323', monospace;
    font-size: 24px;
    letter-spacing: 2px;
}

.header-nav .nav-link {
    color: #00ff66;
    text-decoration: none;
    text-shadow: 0 0 5px #00ff66;
    transition: all 0.3s;
    position: relative;
}

.header-nav .nav-link:hover {
    text-shadow: 0 0 15px #00ff66;
}

.header-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: #00ff66;
    box-shadow: 0 0 10px #00ff66;
}

.header-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,255,100,0.03) 2px,
        rgba(0,255,100,0.03) 4px
    );
    pointer-events: none;
    animation: scanlines 8s linear infinite;
}

.header-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(0,255,100,0.03) 0%,
        rgba(0,0,0,0.2) 100%
    );
    pointer-events: none;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 160px 40px 60px;
}

.page-title {
    font-family: 'VT323', monospace;
    font-size: 48px;
    letter-spacing: 4px;
    color: #222;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ff66, transparent);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.project-tile {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 200px;
}

.project-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.project-image {
    width: 40%;
    height: 100%;
    overflow: hidden;
    background: #0a0f0a;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: #0a0f0a;
}

.project-tile:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    flex: 1;
    padding: 30px;
}

.project-info h3 {
    font-family: 'VT323', monospace;
    font-size: 28px;
    letter-spacing: 1px;
    color: #222;
    margin-bottom: 15px;
}

.project-info p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

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

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

    .project-tile {
        flex-direction: column;
        height: auto;
    }

    .project-image {
        width: 100%;
        height: 200px;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .header-nav {
        gap: 20px;
        font-size: 20px;
    }
}