/* ----------------- Y2K RETRO PLAYSTATION STYLE ----------------- */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Orbitron:wght@400;500;700;900&display=swap');

:root {
    --primary-color: #00FFFF;
    --secondary-color: #FF3399;
    --bg-color: #000033;
    --text-color: #FFFFFF;
    --card-bg: rgba(25, 25, 60, 0.7);
    --highlight: #FF00FF;
    --neon-glow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(0, 255, 255, 0.5);
    --pink-glow: 0 0 10px rgba(255, 51, 153, 0.8), 0 0 20px rgba(255, 51, 153, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', 'VT323', monospace;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ---------- GLOBAL STYLES ---------- */
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    box-shadow: var(--neon-glow);
    text-shadow: var(--neon-glow);
    transform: translateY(-3px);
}

.btn-secondary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    box-shadow: var(--pink-glow);
    text-shadow: var(--pink-glow);
    transform: translateY(-3px);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- RETRO EFFECTS ---------- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFEmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpIiB4bXA6Q3JlYXRlRGF0ZT0iMjAyMC0wNC0xMFQxMzozMDo0NC0wNDowMCIgeG1wOk1vZGlmeURhdGU9IjIwMjAtMDQtMTBUMTM6MzE6MTAtMDQ6MDAiIHhtcDpNZXRhZGF0YURhdGU9IjIwMjAtMDQtMTBUMTM6MzE6MTAtMDQ6MDAiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIiBwaG90b3Nob3A6SUNDUHJvZmlsZT0ic1JHQiBJRUM2MTk2Ni0yLjEiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OTZkNzM3NmYtM2M3OS1lYTRiLWIyYWEtMzYxZGU0ZTcxY2JkIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjk2ZDczNzZmLTNjNzktZWE0Yi1iMmFhLTM2MWRlNGU3MWNiZCIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjk2ZDczNzZmLTNjNzktZWE0Yi1iMmFhLTM2MWRlNGU3MWNiZCI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OTZkNzM3NmYtM2M3OS1lYTRiLWIyYWEtMzYxZGU0ZTcxY2JkIiBzdEV2dDp3aGVuPSIyMDIwLTA0LTEwVDEzOjMwOjQ0LTA0OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpIi8+IDwvcmRmOlNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pj+AfZAAAAOeSURBVGiB7dhr6I1RHMfxj3MMLww17pS8msQL92RmmrxQQyhxXiCaeaFcXpDLpLzAaIwXLpMXKJcUw4zakCGXKfdsKLfcUi4v3I2G1dHz9KzjsP/HOc+e8+zx659nv9iv33/tZ8+z17OaTpw4ISL27Sk6gHQUPCipYQd2C9AWNFsFbNsLrASe/3v8FbARKE8VJE8DVYR9QANwIWjbASSBQuBZ6CCG8+bEmB5NZ8xNwNL4YacOkhVjQZ2B28As4Axp9pGNwKjcpJ1iHFDV+P5b4ErwuBb9D48ArgI7cppdbFMwjmcCncDXQtsF3Z0mAceAeTnJKvZJYCiwt8RKWwV0Ax4Bc3PSy3g+C2wAPgKvgJ5ACTAFuA5MBN4Du7OVRSz/ixswPQNGBK1uAGOa8d0pwFmgJmN9A78DDclkMmOiKBoBrAdmBK39aT40C8c/DNzJWIccCAanAReJdJkIjAO2ZD1CCgZmIZGOKQLWJZPJnC3nXgGNGasvJ46kEcVpOpdaOY/OdgVcLDQyRgwW52JpzPWa7cRg0S/PGWQElWNJnJaxIk4JEjt+RdBFcNSLecg7YGGMzgK6xOjfn9GACWB0jH5i1MXo/wvoGSj+COwPHj8oCvRdZnpn4QTxvRYFXlQTsA2YHOOkfhhfGxGnkngONH2Hf1sSKP4MLAja/XGiuoY5M8Z5RgGv049jCbC9GcdtyHSRjpxXQZLRj9aNJ6avp8+Ay8D3dCO/AEbHCNoLuAtsI/X15jbQO2bbdeB+GrFaG+cbGT0puxM4DWwOgh0g9c3cP2C3Ag+BZ429CvD55wJ7iF4nC+m4VJ9/C+xH9z3iW9D+AXgDfAdGkvoSMRBdDXcA13IT9U/tRlfBPXSVqwLWAJPQx2sQ0A+YjZbiR0bDHgCuAV0jDuwHX4yeMMvQ+7KuaN3wn3ujO/MzYCxQCVyMiLWUPxtE1rjgvxUdw+igbR3ROWB2xOdv/VtHTunuMlT3o3fUEeB10P4cPZdR6Ep3Dk1qtxHdpqEHoDWwSg+wAF0dCU5UGbQPRHfhCjS58FJ+ge6uE9BjQjVQjZ6nF6CXhUFo7WAI0IPowvP51B3gOrrrlqErZGvDDGdJcNI/oXetl9AVzx+jG/qU2w897/RDc6Nu6O9Qj66SdWgO9QkzC8lsBq5CF1b8DTaA7uQl6LlmFNAXvXxtYp/s5cQvwsn4uxv0lZXh6Er5t5gB1OYhrKKioqioqKiI+AUMXcPKRlXE6QAAAABJRU5ErkJggg==');
    opacity: 0.05;
    z-index: 1000;
    pointer-events: none;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.03) 50%, 
        rgba(255, 255, 255, 0) 100%);
    opacity: 0.3;
    z-index: 1001;
    pointer-events: none;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* ---------- START SCREEN ---------- */
.startup-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
}

.ps-logo {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    animation: pulsate 2s infinite;
}

.loading-bar {
    width: 300px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    position: relative;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background-color: var(--primary-color);
    animation: load 3s ease-in-out forwards;
}

.press-start {
    font-size: 1.5rem;
    opacity: 0;
    animation: blink 1s ease-in-out 3s infinite;
}

@keyframes load {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes pulsate {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ---------- HEADER & NAVIGATION ---------- */
header {
    padding: 1.5rem 0;
    position: relative;
    z-index: 100;
    background-color: rgba(0, 0, 51, 0.8);
    backdrop-filter: blur(5px);
    border-bottom: 2px solid var(--primary-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-color);
    text-shadow: 0 0 5px var(--primary-color);
}

.highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    text-shadow: 0 0 5px var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ---------- HERO SECTION ---------- */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 50, 100, 0.2) 0%, rgba(50, 0, 100, 0.2) 100%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230099ff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E"),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    animation: bg-pulse 15s infinite alternate;
}

.hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--bg-color), transparent);
    pointer-events: none;
}

@keyframes bg-pulse {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.glitch-container {
    position: relative;
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.glitch {
    position: relative;
    color: var(--text-color);
    letter-spacing: 5px;
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: var(--primary-color);
    animation: glitch-effect 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-2px, -2px);
}

.glitch::after {
    color: var(--secondary-color);
    animation: glitch-effect 3s infinite;
    clip-path: polygon(0 80%, 100% 20%, 100% 100%, 0 100%);
    transform: translate(2px, 2px);
}

@keyframes glitch-effect {
    0% {
        left: -2px;
        top: -2px;
    }
    25% {
        left: 2px;
        top: 0px;
    }
    50% {
        left: -1px;
        top: 2px;
    }
    75% {
        left: 1px;
        top: -1px;
    }
    100% {
        left: 0px;
        top: -2px;
    }
}

@keyframes glitch-skew {
    0% {
        transform: skew(0deg);
    }
    20% {
        transform: skew(0deg);
    }
    24% {
        transform: skew(-2deg);
    }
    28% {
        transform: skew(0deg);
    }
    70% {
        transform: skew(0deg);
    }
    74% {
        transform: skew(2deg);
    }
    78% {
        transform: skew(0deg);
    }
    100% {
        transform: skew(0deg);
    }
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* ---------- FEATURED PROJECTS CAROUSEL ---------- */
.featured-projects {
    padding: 5rem 2rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.section-title:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 300px;
    flex: 1;
    padding: 0 10px;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2);
}

.project-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 30, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(0, 255, 255, 0.3);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* ---------- SKILLS SECTION ---------- */
.skills-section {
    padding: 5rem 2rem;
    background-color: rgba(0, 0, 50, 0.5);
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-box {
    flex: 0 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.skill-box::before {
    content: attr(data-skill);
    position: absolute;
    top: -10px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.skill-level {
    width: 100%;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.level-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

/* ---------- ABOUT PAGE ---------- */
.about-hero, .projects-hero, .contact-hero {
    padding: 5rem 2rem;
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    letter-spacing: 3px;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.profile-frame {
    width: 300px;
    height: 300px;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    flex: 2;
    min-width: 300px;
}

.about-subtitle {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.download-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-radius: 4px;
    font-weight: bold;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 51, 153, 0.3);
}

/* ---------- EXPERIENCE TIMELINE ---------- */
.experience-section {
    padding: 5rem 2rem;
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-date {
    position: absolute;
    width: 150px;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    color: var(--text-color);
    right: calc(50% + 45px);
    top: 0;
    box-shadow: 0 0 10px rgba(255, 51, 153, 0.3);
}

.timeline-content {
    width: calc(50% - 45px);
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    margin-left: calc(50% + 45px);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.timeline-content p {
    margin-bottom: 0.5rem;
}

/* Education Section */
.education-section {
    padding: 5rem 2rem;
    background-color: rgba(0, 0, 50, 0.5);
}

.education-container {
    max-width: 800px;
    margin: 0 auto;
}

.education-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.education-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
    padding: 10px;
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.education-details {
    flex: 1;
}

.education-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.education-details h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.education-year {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Projects Page */
.projects-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.projects-filter {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.project-item {
    transition: all 0.5s ease;
}

.project-item.hidden {
    display: none;
}

.projects-grid .project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.projects-grid .project-img {
    height: 200px;
}

.project-details {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    font-size: 0.8rem;
    padding: 4px 8px;
    background-color: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
    border-radius: 4px;
}

.project-details p {
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.project-btn.demo {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.project-btn.code {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--secondary-color);
}

.project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-btn.demo:hover {
    background-color: var(--secondary-color);
}

.project-btn.code:hover {
    background-color: var(--secondary-color);
}

/* Contact Page */
.contact-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
}

.info-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form-container {
    flex: 1.5;
    min-width: 350px;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.form-header {
    margin-bottom: 2rem;
    position: relative;
}

.form-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-decoration {
    height: 4px;
    width: 100px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(0, 0, 30, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 4px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.submit-btn {
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 51, 153, 0.3);
}

/* Social Grid */
.social-section {
    padding: 5rem 2rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--text-color);
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.social-card span {
    font-weight: bold;
}

.social-card.github:hover {
    background-color: #333;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.linkedin:hover {
    background-color: #0077B5;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.twitter:hover {
    background-color: #1DA1F2;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.dev:hover {
    background-color: #0A0A0A;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.medium:hover {
    background-color: #00AB6C;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    padding: 2rem 0;
    background-color: rgba(0, 0, 20, 0.8);
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.copyright {
    color: var(--text-color);
    opacity: 0.7;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .glitch-container {
        font-size: 3rem;
    }
    
    .project-item {
        flex: 0 1 calc(50% - 1rem);
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        position: relative;
        width: auto;
        padding: 10px;
        right: auto;
        left: 70px;
        top: -10px;
        margin-bottom: 10px;
    }
    
    .timeline-content {
        width: auto;
        margin-left: 70px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 51, 0.95);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0.5rem;
        text-align: center;
        z-index: 999;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .glitch-container {
        font-size: 2.5rem;
    }
    
    .project-item {
        flex: 0 1 100%;
    }
}

@media screen and (max-width: 576px) {
    .glitch-container {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Y2K Specific Effects */
/* CRT Scanlines */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.1) 50%
    );
    background-size: 100% 2px;
    pointer-events: none;
    z-index: 1002;
    opacity: 0.15;
}

/* VHS Tracking Lines */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1003;
    opacity: 0.1;
    animation: vhs-tracking 10s infinite linear;
}

@keyframes vhs-tracking {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

/* PlayStation Startup Animation */
@keyframes ps-startup {
    0% { clip-path: inset(0 0 100% 0); }
    25% { clip-path: inset(0 0 0 0); }
    75% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(100% 0 0 0); }
}

/* CD Loading Animation */
.cd-loading {
    position: fixed;
    top: 50%;
    left: -50px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    box-shadow: 0 0 20px var(--primary-color);
    animation: cd-loading 15s linear infinite;
    z-index: 1001;
    opacity: 0.7;
    pointer-events: none;
}

@keyframes cd-loading {
    0% { 
        left: -50px; 
        top: 20%;
        transform: scale(1);
    }
    50% { 
        left: calc(100% + 50px);
        top: 80%;
        transform: scale(1.5);
    }
    100% { 
        left: -50px;
        top: 20%;
        transform: scale(1);
    }
}date {
    position: absolute;
    width: 150px;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    color: var(--text-color);
    right: calc(50% + 45px);
    top: 0;
    box-shadow: 0 0 10px rgba(255, 51, 153, 0.3);
}

.timeline-content {
    width: calc(50% - 45px);
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    margin-left: calc(50% + 45px);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.timeline-content p {
    margin-bottom: 0.5rem;
}

/* ---------- EDUCATION SECTION ---------- */
.education-section {
    padding: 5rem 2rem;
    background-color: rgba(0, 0, 50, 0.5);
}

.education-container {
    max-width: 800px;
    margin: 0 auto;
}

.education-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.education-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
    padding: 10px;
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.education-details {
    flex: 1;
}

.education-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.education-details h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.education-year {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
    font-style: italic;
}

/* ---------- PROJECTS PAGE ---------- */
.projects-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.projects-filter {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.project-item {
    transition: all 0.5s ease;
}

.project-item.hidden {
    display: none;
}

.projects-grid .project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.projects-grid .project-img {
    height: 200px;
}

.project-details {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    font-size: 0.8rem;
    padding: 4px 8px;
    background-color: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
    border-radius: 4px;
}

.project-details p {
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.project-btn.demo {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.project-btn.code {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--secondary-color);
}

.project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-btn.demo:hover {
    background-color: var(--secondary-color);
}

.project-btn.code:hover {
    background-color: var(--secondary-color);
}

/* ---------- CONTACT PAGE ---------- */
.contact-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
}

.info-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form-container {
    flex: 1.5;
    min-width: 350px;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.form-header {
    margin-bottom: 2rem;
    position: relative;
}

.form-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-decoration {
    height: 4px;
    width: 100px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(0, 0, 30, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 4px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.submit-btn {
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 51, 153, 0.3);
}

/* ---------- SOCIAL GRID ---------- */
.social-section {
    padding: 5rem 2rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--text-color);
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.social-card span {
    font-weight: bold;
}

.social-card.github:hover {
    background-color: #333;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.linkedin:hover {
    background-color: #0077B5;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.twitter:hover {
    background-color: #1DA1F2;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.dev:hover {
    background-color: #0A0A0A;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.medium:hover {
    background-color: #00AB6C;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ---------- FOOTER ---------- */
footer {
    padding: 2rem 0;
    background-color: rgba(0, 0, 20, 0.8);
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.copyright {
    color: var(--text-color);
    opacity: 0.7;
}

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 992px) {
    .glitch-container {
        font-size: 3rem;
    }
    
    .project-item {
        flex: 0 1 calc(50% - 1rem);
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        position: relative;
        width: auto;
        padding: 10px;
        right: auto;
        left: 70px;
        top: -10px;
        margin-bottom: 10px;
    }
    
    .timeline-content {
        width: auto;
        margin-left: 70px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 51, 0.95);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0.5rem;
        text-align: center;
        z-index: 999;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .glitch-container {
        font-size: 2.5rem;
    }
    
    .project-item {
        flex: 0 1 100%;
    }
}

@media screen and (max-width: 576px) {
    .glitch-container {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- ADDITIONAL RETRO VFX ---------- */

/* CRT Pixels Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(
            rgba(18, 16, 16, 0) 50%, 
            rgba(0, 0, 0, 0.1) 50%
        ), 
        linear-gradient(
            90deg, 
            rgba(255, 0, 0, 0.02), 
            rgba(0, 255, 0, 0.02), 
            rgba(0, 0, 255, 0.02)
        );
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 1002;
    opacity: 0.15;
}

/* VHS Tracking Lines */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1003;
    opacity: 0.1;
    animation: vhs-tracking 10s infinite linear;
}

@keyframes vhs-tracking {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

/* Y2K CD-ROM Loading Effect */
.cd-loading-effect {
    position: fixed;
    top: 50%;
    left: -50px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    box-shadow: 0 0 20px var(--primary-color);
    animation: cd-loading 15s linear infinite;
    z-index: 1001;
    opacity: 0.7;
    pointer-events: none;
}

@keyframes cd-loading {
    0% { 
        left: -50px; 
        top: 20%;
        transform: scale(1);
    }
    50% { 
        left: calc(100% + 50px);
        top: 80%;
        transform: scale(1.5);
    }
    100% { 
        left: -50px;
        top: 20%;
        transform: scale(1);
    }
}

/* Page Transition Glitch Effect */
@keyframes page-transition {
    0% { clip-path: inset(0 0 100% 0); }
    25% { clip-path: inset(0 0 0 0); }
    75% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(100% 0 0 0); }
}

/* Holographic Elements */
.holographic {
    position: relative;
    overflow: hidden;
}

.holographic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(0, 255, 255, 0.1) 25%,
        rgba(255, 0, 255, 0.1) 50%,
        rgba(0, 255, 255, 0.1) 75%,
        transparent 100%
    );
    transform: translateX(-50%) translateY(-50%);
    animation: holographic-shift 5s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes holographic-shift {
    0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}

/* Animated Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    z-index: 9999;
    mix-blend-mode: exclusion;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    border-color: var(--secondary-color);
    background-color: rgba(255, 51, 153, 0.1);
}

/* Y2K Floppy Disk Corner Button */
.floppy-disk {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.floppy-disk:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.5);
}

/* Retro Grid Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(var(--primary-color-rgb), 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-color-rgb), 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    backface-visibility: hidden;
}

/* Windows 98 Button Style */
.win98-btn {
    padding: 8px 16px;
    background-color: #c0c0c0;
    color: #000;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.1s;
}

.win98-btn:active {
    border-color: #808080 #ffffff #ffffff #808080;
    transform: translateY(1px);
}

/* Matrix Code Rain Effect */
.matrix-code {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.05;
}

.matrix-code span {
    position: absolute;
    top: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
    animation: matrix-rain linear infinite;
}

@keyframes matrix-rain {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

/* Retro Audio Visualizer */
.audio-visualizer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 20px;
    background-color: rgba(0, 0, 20, 0.5);
    backdrop-filter: blur(5px);
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.audio-visualizer.show {
    transform: translateY(0);
}

.visualizer-bar {
    width: 5px;
    background-color: var(--primary-color);
    margin: 0 2px;
    border-radius: 2px 2px 0 0;
    animation: visualizer-anim 1.5s ease infinite;
    animation-delay: calc(var(--i) * 0.1s);
}

@keyframes visualizer-anim {
    0%, 100% { height: 5px; }
    50% { height: 30px; }
}

/* Dial-up Modem Loading Indicator */
.modem-loading {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    z-index: 1000;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
}

.modem-loading.show {
    opacity: 1;
    transform: translateY(0);
}

.modem-loading .dots {
    display: flex;
    margin-left: 8px;
}

.modem-loading .dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 2px;
    animation: modem-dot 1.5s infinite;
}

.modem-loading .dot:nth-child(2) {
    animation-delay: 0.5s;
}

.modem-loading .dot:nth-child(3) {
    animation-delay: 1s;
}

@keyframes modem-dot {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}item {
    width: 100%;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* ----------------- Y2K RETRO PLAYSTATION STYLE ----------------- */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Orbitron:wght@400;500;700;900&display=swap');

:root {
    --primary-color: #00FFFF;
    --secondary-color: #FF3399;
    --bg-color: #000033;
    --text-color: #FFFFFF;
    --card-bg: rgba(25, 25, 60, 0.7);
    --highlight: #FF00FF;
    --neon-glow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(0, 255, 255, 0.5);
    --pink-glow: 0 0 10px rgba(255, 51, 153, 0.8), 0 0 20px rgba(255, 51, 153, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', 'VT323', monospace;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ---------- GLOBAL STYLES ---------- */
a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    box-shadow: var(--neon-glow);
    text-shadow: var(--neon-glow);
    transform: translateY(-3px);
}

.btn-secondary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    box-shadow: var(--pink-glow);
    text-shadow: var(--pink-glow);
    transform: translateY(-3px);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- RETRO EFFECTS ---------- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFEmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDIgNzkuMTYwOTI0LCAyMDE3LzA3LzEzLTAxOjA2OjM5ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpIiB4bXA6Q3JlYXRlRGF0ZT0iMjAyMC0wNC0xMFQxMzozMDo0NC0wNDowMCIgeG1wOk1vZGlmeURhdGU9IjIwMjAtMDQtMTBUMTM6MzE6MTAtMDQ6MDAiIHhtcDpNZXRhZGF0YURhdGU9IjIwMjAtMDQtMTBUMTM6MzE6MTAtMDQ6MDAiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIiBwaG90b3Nob3A6SUNDUHJvZmlsZT0ic1JHQiBJRUM2MTk2Ni0yLjEiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OTZkNzM3NmYtM2M3OS1lYTRiLWIyYWEtMzYxZGU0ZTcxY2JkIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjk2ZDczNzZmLTNjNzktZWE0Yi1iMmFhLTM2MWRlNGU3MWNiZCIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjk2ZDczNzZmLTNjNzktZWE0Yi1iMmFhLTM2MWRlNGU3MWNiZCI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OTZkNzM3NmYtM2M3OS1lYTRiLWIyYWEtMzYxZGU0ZTcxY2JkIiBzdEV2dDp3aGVuPSIyMDIwLTA0LTEwVDEzOjMwOjQ0LTA0OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgKFdpbmRvd3MpIi8+IDwvcmRmOlNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pj+AfZAAAAOeSURBVGiB7dhr6I1RHMfxj3MMLww17pS8msQL92RmmrxQQyhxXiCaeaFcXpDLpLzAaIwXLpMXKJcUw4zakCGXKfdsKLfcUi4v3I2G1dHz9KzjsP/HOc+e8+zx659nv9iv33/tZ8+z17OaTpw4ISL27Sk6gHQUPCipYQd2C9AWNFsFbNsLrASe/3v8FbARKE8VJE8DVYR9QANwIWjbASSBQuBZ6CCG8+bEmB5NZ8xNwNL4YacOkhVjQZ2B28As4Axp9pGNwKjcpJ1iHFDV+P5b4ErwuBb9D48ArgI7cppdbFMwjmcCncDXQtsF3Z0mAceAeTnJKvZJYCiwt8RKWwV0Ax4Bc3PSy3g+C2wAPgKvgJ5ACTAFuA5MBN4Du7OVRSz/ixswPQNGBK1uAGOa8d0pwFmgJmN9A78DDclkMmOiKBoBrAdmBK39aT40C8c/DNzJWIccCAanAReJdJkIjAO2ZD1CCgZmIZGOKQLWJZPJnC3nXgGNGasvJ46kEcVpOpdaOY/OdgVcLDQyRgwW52JpzPWa7cRg0S/PGWQElWNJnJaxIk4JEjt+RdBFcNSLecg7YGGMzgK6xOjfn9GACWB0jH5i1MXo/wvoGSj+COwPHj8oCvRdZnpn4QTxvRYFXlQTsA2YHOOkfhhfGxGnkngONH2Hf1sSKP4MLAja/XGiuoY5M8Z5RgGv049jCbC9GcdtyHSRjpxXQZLRj9aNJ6avp8+Ay8D3dCO/AEbHCNoLuAtsI/X15jbQO2bbdeB+GrFaG+cbGT0puxM4DWwOgh0g9c3cP2C3Ag+BZ429CvD55wJ7iF4nC+m4VJ9/C+xH9z3iW9D+AXgDfAdGkvoSMRBdDXcA13IT9U/tRlfBPXSVqwLWAJPQx2sQ0A+YjZbiR0bDHgCuAV0jDuwHX4yeMMvQ+7KuaN3wn3ujO/MzYCxQCVyMiLWUPxtE1rjgvxUdw+igbR3ROWB2xOdv/VtHTunuMlT3o3fUEeB10P4cPZdR6Ep3Dk1qtxHdpqEHoDWwSg+wAF0dCU5UGbQPRHfhCjS58FJ+ge6uE9BjQjVQjZ6nF6CXhUFo7WAI0IPowvP51B3gOrrrlqErZGvDDGdJcNI/oXetl9AVzx+jG/qU2w897/RDc6Nu6O9Qj66SdWgO9QkzC8lsBq5CF1b8DTaA7uQl6LlmFNAXvXxtYp/s5cQvwsn4uxv0lZXh6Er5t5gB1OYhrKKioqioqKiI+AUMXcPKRlXE6QAAAABJRU5ErkJggg==');
    opacity: 0.05;
    z-index: 1000;
    pointer-events: none;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.03) 50%, 
        rgba(255, 255, 255, 0) 100%);
    opacity: 0.3;
    z-index: 1001;
    pointer-events: none;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* ---------- START SCREEN ---------- */
.startup-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
}

.ps-logo {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    animation: pulsate 2s infinite;
}

.loading-bar {
    width: 300px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    position: relative;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background-color: var(--primary-color);
    animation: load 3s ease-in-out forwards;
}

.press-start {
    font-size: 1.5rem;
    opacity: 0;
    animation: blink 1s ease-in-out 3s infinite;
}

@keyframes load {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes pulsate {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ---------- HEADER & NAVIGATION ---------- */
header {
    padding: 1.5rem 0;
    position: relative;
    z-index: 100;
    background-color: rgba(0, 0, 51, 0.8);
    backdrop-filter: blur(5px);
    border-bottom: 2px solid var(--primary-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-color);
    text-shadow: 0 0 5px var(--primary-color);
}

.highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    text-shadow: 0 0 5px var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ---------- HERO SECTION ---------- */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 50, 100, 0.2) 0%, rgba(50, 0, 100, 0.2) 100%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230099ff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E"),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    animation: bg-pulse 15s infinite alternate;
}

.hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--bg-color), transparent);
    pointer-events: none;
}

@keyframes bg-pulse {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.glitch-container {
    position: relative;
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.glitch {
    position: relative;
    color: var(--text-color);
    letter-spacing: 5px;
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: var(--primary-color);
    animation: glitch-effect 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translate(-2px, -2px);
}

.glitch::after {
    color: var(--secondary-color);
    animation: glitch-effect 3s infinite;
    clip-path: polygon(0 80%, 100% 20%, 100% 100%, 0 100%);
    transform: translate(2px, 2px);
}

@keyframes glitch-effect {
    0% {
        left: -2px;
        top: -2px;
    }
    25% {
        left: 2px;
        top: 0px;
    }
    50% {
        left: -1px;
        top: 2px;
    }
    75% {
        left: 1px;
        top: -1px;
    }
    100% {
        left: 0px;
        top: -2px;
    }
}

@keyframes glitch-skew {
    0% {
        transform: skew(0deg);
    }
    20% {
        transform: skew(0deg);
    }
    24% {
        transform: skew(-2deg);
    }
    28% {
        transform: skew(0deg);
    }
    70% {
        transform: skew(0deg);
    }
    74% {
        transform: skew(2deg);
    }
    78% {
        transform: skew(0deg);
    }
    100% {
        transform: skew(0deg);
    }
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* ---------- FEATURED PROJECTS CAROUSEL ---------- */
.featured-projects {
    padding: 5rem 2rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.section-title:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 300px;
    flex: 1;
    padding: 0 10px;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2);
}

.project-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 30, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(0, 255, 255, 0.3);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* ---------- SKILLS SECTION ---------- */
.skills-section {
    padding: 5rem 2rem;
    background-color: rgba(0, 0, 50, 0.5);
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-box {
    flex: 0 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.skill-box::before {
    content: attr(data-skill);
    position: absolute;
    top: -10px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.skill-level {
    width: 100%;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.level-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

/* ---------- ABOUT PAGE ---------- */
.about-hero, .projects-hero, .contact-hero {
    padding: 5rem 2rem;
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    letter-spacing: 3px;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.profile-frame {
    width: 300px;
    height: 300px;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    flex: 2;
    min-width: 300px;
}

.about-subtitle {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.download-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-radius: 4px;
    font-weight: bold;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 51, 153, 0.3);
}

/* ---------- EXPERIENCE TIMELINE ---------- */
.experience-section {
    padding: 5rem 2rem;
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-date {
    position: absolute;
    width: 150px;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    color: var(--text-color);
    right: calc(50% + 45px);
    top: 0;
    box-shadow: 0 0 10px rgba(255, 51, 153, 0.3);
}

.timeline-content {
    width: calc(50% - 45px);
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    margin-left: calc(50% + 45px);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.timeline-content p {
    margin-bottom: 0.5rem;
}

/* Education Section */
.education-section {
    padding: 5rem 2rem;
    background-color: rgba(0, 0, 50, 0.5);
}

.education-container {
    max-width: 800px;
    margin: 0 auto;
}

.education-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.education-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
    padding: 10px;
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.education-details {
    flex: 1;
}

.education-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.education-details h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.education-year {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Projects Page */
.projects-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.projects-filter {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.project-item {
    transition: all 0.5s ease;
}

.project-item.hidden {
    display: none;
}

.projects-grid .project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.projects-grid .project-img {
    height: 200px;
}

.project-details {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    font-size: 0.8rem;
    padding: 4px 8px;
    background-color: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
    border-radius: 4px;
}

.project-details p {
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.project-btn.demo {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.project-btn.code {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--secondary-color);
}

.project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-btn.demo:hover {
    background-color: var(--secondary-color);
}

.project-btn.code:hover {
    background-color: var(--secondary-color);
}

/* Contact Page */
.contact-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
}

.info-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form-container {
    flex: 1.5;
    min-width: 350px;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.form-header {
    margin-bottom: 2rem;
    position: relative;
}

.form-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-decoration {
    height: 4px;
    width: 100px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(0, 0, 30, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 4px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.submit-btn {
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 51, 153, 0.3);
}

/* Social Grid */
.social-section {
    padding: 5rem 2rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--text-color);
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.social-card span {
    font-weight: bold;
}

.social-card.github:hover {
    background-color: #333;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.linkedin:hover {
    background-color: #0077B5;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.twitter:hover {
    background-color: #1DA1F2;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.dev:hover {
    background-color: #0A0A0A;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.medium:hover {
    background-color: #00AB6C;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    padding: 2rem 0;
    background-color: rgba(0, 0, 20, 0.8);
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.copyright {
    color: var(--text-color);
    opacity: 0.7;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .glitch-container {
        font-size: 3rem;
    }
    
    .project-item {
        flex: 0 1 calc(50% - 1rem);
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        position: relative;
        width: auto;
        padding: 10px;
        right: auto;
        left: 70px;
        top: -10px;
        margin-bottom: 10px;
    }
    
    .timeline-content {
        width: auto;
        margin-left: 70px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 51, 0.95);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0.5rem;
        text-align: center;
        z-index: 999;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .glitch-container {
        font-size: 2.5rem;
    }
    
    .project-item {
        flex: 0 1 100%;
    }
}

@media screen and (max-width: 576px) {
    .glitch-container {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Y2K Specific Effects */
/* CRT Scanlines */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.1) 50%
    );
    background-size: 100% 2px;
    pointer-events: none;
    z-index: 1002;
    opacity: 0.15;
}

/* VHS Tracking Lines */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1003;
    opacity: 0.1;
    animation: vhs-tracking 10s infinite linear;
}

@keyframes vhs-tracking {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

/* PlayStation Startup Animation */
@keyframes ps-startup {
    0% { clip-path: inset(0 0 100% 0); }
    25% { clip-path: inset(0 0 0 0); }
    75% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(100% 0 0 0); }
}

/* CD Loading Animation */
.cd-loading {
    position: fixed;
    top: 50%;
    left: -50px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    box-shadow: 0 0 20px var(--primary-color);
    animation: cd-loading 15s linear infinite;
    z-index: 1001;
    opacity: 0.7;
    pointer-events: none;
}

@keyframes cd-loading {
    0% { 
        left: -50px; 
        top: 20%;
        transform: scale(1);
    }
    50% { 
        left: calc(100% + 50px);
        top: 80%;
        transform: scale(1.5);
    }
    100% { 
        left: -50px;
        top: 20%;
        transform: scale(1);
    }
}date {
    position: absolute;
    width: 150px;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    color: var(--text-color);
    right: calc(50% + 45px);
    top: 0;
    box-shadow: 0 0 10px rgba(255, 51, 153, 0.3);
}

.timeline-content {
    width: calc(50% - 45px);
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    margin-left: calc(50% + 45px);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.timeline-content p {
    margin-bottom: 0.5rem;
}

/* ---------- EDUCATION SECTION ---------- */
.education-section {
    padding: 5rem 2rem;
    background-color: rgba(0, 0, 50, 0.5);
}

.education-container {
    max-width: 800px;
    margin: 0 auto;
}

.education-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.education-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
    padding: 10px;
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.education-details {
    flex: 1;
}

.education-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.education-details h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.education-year {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
    font-style: italic;
}

/* ---------- PROJECTS PAGE ---------- */
.projects-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.projects-filter {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.project-item {
    transition: all 0.5s ease;
}

.project-item.hidden {
    display: none;
}

.projects-grid .project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.projects-grid .project-img {
    height: 200px;
}

.project-details {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    font-size: 0.8rem;
    padding: 4px 8px;
    background-color: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
    border-radius: 4px;
}

.project-details p {
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.project-btn.demo {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.project-btn.code {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--secondary-color);
}

.project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-btn.demo:hover {
    background-color: var(--secondary-color);
}

.project-btn.code:hover {
    background-color: var(--secondary-color);
}

/* ---------- CONTACT PAGE ---------- */
.contact-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
}

.info-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form-container {
    flex: 1.5;
    min-width: 350px;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.form-header {
    margin-bottom: 2rem;
    position: relative;
}

.form-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-decoration {
    height: 4px;
    width: 100px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(0, 0, 30, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 4px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.submit-btn {
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 51, 153, 0.3);
}

/* ---------- SOCIAL GRID ---------- */
.social-section {
    padding: 5rem 2rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--text-color);
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.social-card span {
    font-weight: bold;
}

.social-card.github:hover {
    background-color: #333;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.linkedin:hover {
    background-color: #0077B5;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.twitter:hover {
    background-color: #1DA1F2;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.dev:hover {
    background-color: #0A0A0A;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.medium:hover {
    background-color: #00AB6C;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ---------- FOOTER ---------- */
footer {
    padding: 2rem 0;
    background-color: rgba(0, 0, 20, 0.8);
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.copyright {
    color: var(--text-color);
    opacity: 0.7;
}

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 992px) {
    .glitch-container {
        font-size: 3rem;
    }
    
    .project-item {
        flex: 0 1 calc(50% - 1rem);
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        position: relative;
        width: auto;
        padding: 10px;
        right: auto;
        left: 70px;
        top: -10px;
        margin-bottom: 10px;
    }
    
    .timeline-content {
        width: auto;
        margin-left: 70px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 51, 0.95);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0.5rem;
        text-align: center;
        z-index: 999;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .glitch-container {
        font-size: 2.5rem;
    }
    
    .project-item {
        flex: 0 1 100%;
    }
}

@media screen and (max-width: 576px) {
    .glitch-container {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- ADDITIONAL RETRO VFX ---------- */

/* CRT Pixels Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(
            rgba(18, 16, 16, 0) 50%, 
            rgba(0, 0, 0, 0.1) 50%
        ), 
        linear-gradient(
            90deg, 
            rgba(255, 0, 0, 0.02), 
            rgba(0, 255, 0, 0.02), 
            rgba(0, 0, 255, 0.02)
        );
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 1002;
    opacity: 0.15;
}

/* VHS Tracking Lines */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1003;
    opacity: 0.1;
    animation: vhs-tracking 10s infinite linear;
}

@keyframes vhs-tracking {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

/* Y2K CD-ROM Loading Effect */
.cd-loading-effect {
    position: fixed;
    top: 50%;
    left: -50px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    box-shadow: 0 0 20px var(--primary-color);
    animation: cd-loading 15s linear infinite;
    z-index: 1001;
    opacity: 0.7;
    pointer-events: none;
}

@keyframes cd-loading {
    0% { 
        left: -50px; 
        top: 20%;
        transform: scale(1);
    }
    50% { 
        left: calc(100% + 50px);
        top: 80%;
        transform: scale(1.5);
    }
    100% { 
        left: -50px;
        top: 20%;
        transform: scale(1);
    }
}

/* Page Transition Glitch Effect */
@keyframes page-transition {
    0% { clip-path: inset(0 0 100% 0); }
    25% { clip-path: inset(0 0 0 0); }
    75% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(100% 0 0 0); }
}

/* Holographic Elements */
.holographic {
    position: relative;
    overflow: hidden;
}

.holographic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(0, 255, 255, 0.1) 25%,
        rgba(255, 0, 255, 0.1) 50%,
        rgba(0, 255, 255, 0.1) 75%,
        transparent 100%
    );
    transform: translateX(-50%) translateY(-50%);
    animation: holographic-shift 5s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes holographic-shift {
    0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}

/* Animated Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    z-index: 9999;
    mix-blend-mode: exclusion;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    border-color: var(--secondary-color);
    background-color: rgba(255, 51, 153, 0.1);
}

/* Y2K Floppy Disk Corner Button */
.floppy-disk {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.floppy-disk:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.5);
}

/* Retro Grid Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(var(--primary-color-rgb), 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-color-rgb), 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    backface-visibility: hidden;
}

/* Windows 98 Button Style */
.win98-btn {
    padding: 8px 16px;
    background-color: #c0c0c0;
    color: #000;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.1s;
}

.win98-btn:active {
    border-color: #808080 #ffffff #ffffff #808080;
    transform: translateY(1px);
}

/* Matrix Code Rain Effect */
.matrix-code {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.05;
}

.matrix-code span {
    position: absolute;
    top: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
    animation: matrix-rain linear infinite;
}

@keyframes matrix-rain {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

/* Retro Audio Visualizer */
.audio-visualizer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 20px;
    background-color: rgba(0, 0, 20, 0.5);
    backdrop-filter: blur(5px);
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.audio-visualizer.show {
    transform: translateY(0);
}

.visualizer-bar {
    width: 5px;
    background-color: var(--primary-color);
    margin: 0 2px;
    border-radius: 2px 2px 0 0;
    animation: visualizer-anim 1.5s ease infinite;
    animation-delay: calc(var(--i) * 0.1s);
}

@keyframes visualizer-anim {
    0%, 100% { height: 5px; }
    50% { height: 30px; }
}

/* Dial-up Modem Loading Indicator */
.modem-loading {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    z-index: 1000;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
}

.modem-loading.show {
    opacity: 1;
    transform: translateY(0);
}

.modem-loading .dots {
    display: flex;
    margin-left: 8px;
}

.modem-loading .dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 2px;
    animation: modem-dot 1.5s infinite;
}

.modem-loading .dot:nth-child(2) {
    animation-delay: 0.5s;
}

.modem-loading .dot:nth-child(3) {
    animation-delay: 1s;
}

@keyframes modem-dot {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}item {
    width: 100%;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.timeline-content {
    width: calc(50% - 45px);
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    margin-left: calc(50% + 45px);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.timeline-content p {
    margin-bottom: 0.5rem;
}

/* ---------- EDUCATION SECTION ---------- */
.education-section {
    padding: 5rem 2rem;
    background-color: rgba(0, 0, 50, 0.5);
}

.education-container {
    max-width: 800px;
    margin: 0 auto;
}

.education-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.education-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
    padding: 10px;
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.education-details {
    flex: 1;
}

.education-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.education-details h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.education-year {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
    font-style: italic;
}

/* ---------- PROJECTS PAGE ---------- */
.projects-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.projects-filter {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.project-item {
    transition: all 0.5s ease;
}

.project-item.hidden {
    display: none;
}

.projects-grid .project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.projects-grid .project-img {
    height: 200px;
}

.project-details {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    font-size: 0.8rem;
    padding: 4px 8px;
    background-color: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
    border-radius: 4px;
}

.project-details p {
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.project-btn.demo {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.project-btn.code {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--secondary-color);
}

.project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-btn.demo:hover {
    background-color: var(--secondary-color);
}

.project-btn.code:hover {
    background-color: var(--secondary-color);
}

/* ---------- CONTACT PAGE ---------- */
.contact-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
}

.info-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form-container {
    flex: 1.5;
    min-width: 350px;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.form-header {
    margin-bottom: 2rem;
    position: relative;
}

.form-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-decoration {
    height: 4px;
    width: 100px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(0, 0, 30, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 4px;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.submit-btn {
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 51, 153, 0.3);
}

/* ---------- SOCIAL GRID ---------- */
.social-section {
    padding: 5rem 2rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--text-color);
}

.social-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.social-card span {
    font-weight: bold;
}

.social-card.github:hover {
    background-color: #333;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.linkedin:hover {
    background-color: #0077B5;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.twitter:hover {
    background-color: #1DA1F2;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.dev:hover {
    background-color: #0A0A0A;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-card.medium:hover {
    background-color: #00AB6C;
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ---------- FOOTER ---------- */
footer {
    padding: 2rem 0;
    background-color: rgba(0, 0, 20, 0.8);
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.copyright {
    color: var(--text-color);
    opacity: 0.7;
}

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 992px) {
    .glitch-container {
        font-size: 3rem;
    }
    
    .project-item {
        flex: 0 1 calc(50% - 1rem);
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        position: relative;
        width: auto;
        padding: 10px;
        right: auto;
        left: 70px;
        top: -10px;
        margin-bottom: 10px;
    }
    
    .timeline-content {
        width: auto;
        margin-left: 70px;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 51, 0.95);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0.5rem;
        text-align: center;
        z-index: 999;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .glitch-container {
        font-size: 2.5rem;
    }
    
    .project-item {
        flex: 0 1 100%;
    }
}

@media screen and (max-width: 576px) {
    .glitch-container {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Y2K PLAYSTATION EFFECTS ---------- */
/* CRT Scanlines */
.crt-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        transparent 50%, 
        rgba(0, 0, 0, 0.05) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1001;
    opacity: 0.2;
}

/* Matrix Code Rain */
.matrix-code {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
    pointer-events: none;
}

.matrix-code span {
    position: absolute;
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    animation: matrix-drop linear infinite;
}

@keyframes matrix-drop {
    0% {
        transform: translateY(-100vh);
    }
    100% {
        transform: translateY(100vh);
    }
}

/* CD Loading Effect */
.cd-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.7;
    box-shadow: 0 0 20px var(--primary-color);
    z-index: 1000;
    animation: cd-move 15s linear infinite;
}

@keyframes cd-move {
    0% {
        left: -20px;
        top: 20%;
    }
    50% {
        left: calc(100% + 20px);
        top: 80%;
    }
    100% {
        left: -20px;
        top: 20%;
    }
}

/* PS1 Memory Card Icons */
.ps1-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-color: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
}

.ps1-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 255, 255, 0.2) 100%);
}

/* Low-Poly 3D Effect */
.low-poly {
    position: relative;
    overflow: hidden;
}

.low-poly::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* PlayStation Controller Buttons */
.ps-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.ps-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ps-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.ps-button.circle {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.ps-button.x {
    background-color: var(--secondary-color);
    color: var(--bg-color);
}

.ps-button.square {
    background-color: #ff6b6b;
    color: var(--bg-color);
}

.ps-button.triangle {
    background-color: #6bff6b;
    color: var(--bg-color);
}