/* 
 * 90s RETRO PORTFOLIO STYLES
 * Featuring: Bright colors, pixel fonts, animated elements, and Geocities vibes!
 */

/* Import retro fonts */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Comic+Neue:wght@400;700&display=swap');

/* Animated background pattern */
@keyframes moveBg {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rainbow {
    0% { color: #ff00ff; }
    16% { color: #ff0000; }
    33% { color: #ffff00; }
    50% { color: #00ff00; }
    66% { color: #00ffff; }
    83% { color: #0000ff; }
    100% { color: #ff00ff; }
}

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

:root {
    --hot-pink: #ff69b4;
    --neon-cyan: #00ffff;
    --neon-green: #00ff00;
    --bright-yellow: #ffff00;
    --purple: #800080;
    --retro-orange: #ff6600;
    --black: #000000;
    --white: #ffffff;
    --dark-bg: #000033;
}

body {
    font-family: 'Comic Neue', cursive, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 105, 180, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(0, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 50px 50px;
    animation: moveBg 20s linear infinite;
    overflow-x: hidden;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">✨</text></svg>'), auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, var(--hot-pink), var(--neon-cyan), var(--bright-yellow));
    border-bottom: 5px double var(--white);
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.5);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 24px;
}

.logo {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: var(--black);
    text-shadow: 2px 2px 0 var(--neon-cyan);
    animation: rainbow 3s linear infinite;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: var(--black);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 8px 16px;
    background: var(--bright-yellow);
    border: 3px outset var(--white);
    transition: all 0.2s;
    font-family: 'Comic Neue', cursive;
}

.nav-links a:hover {
    background: var(--hot-pink);
    color: var(--white);
    border-style: inset;
    transform: scale(1.1);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
    background: var(--bright-yellow);
    padding: 8px 12px;
    border: 3px outset var(--white);
}

/* MARQUEE BANNER */
.marquee-banner {
    background: var(--black);
    color: var(--neon-green);
    padding: 10px 0;
    margin-top: 70px;
    border-top: 3px solid var(--neon-cyan);
    border-bottom: 3px solid var(--neon-cyan);
    overflow: hidden;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
        repeating-linear-gradient(
            45deg,
            rgba(255, 105, 180, 0.1),
            rgba(255, 105, 180, 0.1) 10px,
            rgba(0, 255, 255, 0.1) 10px,
            rgba(0, 255, 255, 0.1) 20px
        ),
        linear-gradient(180deg, #000033 0%, #330033 100%);
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

.hero::before {
    content: '✨ 🌟 ⭐ 💫 ✨ 🌟 ⭐ 💫';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 2rem;
    animation: marquee 20s linear infinite;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    color: var(--neon-cyan);
    text-shadow: 
        3px 3px 0 var(--hot-pink),
        -3px -3px 0 var(--bright-yellow);
    margin-bottom: 20px;
    animation: blink 2s infinite;
}

.hero-text .tagline {
    font-size: 1.8rem;
    color: var(--bright-yellow);
    margin-bottom: 24px;
    font-weight: 700;
    text-shadow: 2px 2px 0 var(--black);
    animation: rainbow 4s linear infinite;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 32px;
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border: 3px dashed var(--neon-cyan);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Comic Neue', cursive;
    border: 4px outset var(--white);
    cursor: pointer;
}

.btn-primary {
    background: var(--hot-pink);
    color: var(--white);
    text-shadow: 2px 2px 0 var(--black);
}

.btn-primary:hover {
    background: var(--neon-cyan);
    transform: scale(1.15) rotate(-3deg);
    box-shadow: 0 0 30px var(--hot-pink);
}

.btn-secondary {
    background: var(--bright-yellow);
    color: var(--black);
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--neon-green);
    transform: scale(1.15) rotate(3deg);
    box-shadow: 0 0 30px var(--bright-yellow);
}

/* Profile Image */
.profile-image-container {
    position: relative;
    animation: bounce 2s ease-in-out infinite;
}

.profile-image {
    width: 280px;
    height: 280px;
    border: 8px double var(--neon-cyan);
    box-shadow: 
        0 0 20px var(--hot-pink),
        0 0 40px var(--neon-cyan),
        inset 0 0 20px rgba(255, 105, 180, 0.5);
    position: relative;
    overflow: hidden;
    background: var(--black);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    font-size: 6rem;
    animation: spin 10s linear infinite;
}

/* Retro Badge */
.retro-badge {
    display: inline-block;
    background: var(--black);
    color: var(--neon-green);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    padding: 10px 15px;
    border: 3px solid var(--neon-green);
    margin: 10px 5px;
    text-align: center;
}

.retro-badge img {
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto 5px;
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

section h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--neon-cyan);
    text-shadow: 
        3px 3px 0 var(--hot-pink),
        -3px -3px 0 var(--bright-yellow);
    animation: rainbow 5s linear infinite;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--bright-yellow);
    margin-bottom: 60px;
    text-align: center;
    font-weight: 700;
}

/* About Section */
#about {
    background: 
        linear-gradient(180deg, rgba(0, 0, 51, 0.9), rgba(51, 0, 51, 0.9)),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(255, 105, 180, 0.1) 20px,
            rgba(255, 105, 180, 0.1) 40px
        );
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-grid p {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border: 3px dotted var(--neon-cyan);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: linear-gradient(135deg, var(--hot-pink), var(--purple));
    padding: 20px;
    border: 4px double var(--white);
    text-align: center;
    box-shadow: 5px 5px 0 var(--neon-cyan);
    transform: rotate(-2deg);
    transition: transform 0.3s;
}

.stat-card:nth-child(even) {
    transform: rotate(2deg);
}

.stat-card:hover {
    transform: scale(1.1) rotate(0deg);
}

.stat-number {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    color: var(--bright-yellow);
    text-shadow: 2px 2px 0 var(--black);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
}

/* Tech Stack */
.tech-stack-title {
    font-family: 'Press Start 2P', cursive;
    color: var(--neon-green);
    text-shadow: 2px 2px 0 var(--black);
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-item {
    background: var(--black);
    color: var(--neon-cyan);
    padding: 10px 18px;
    border: 3px solid var(--neon-cyan);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    transition: all 0.3s;
    text-shadow: 0 0 10px var(--neon-cyan);
}

.tech-item:hover {
    background: var(--neon-cyan);
    color: var(--black);
    transform: scale(1.2) rotate(-5deg);
    box-shadow: 0 0 20px var(--neon-cyan);
}

/* Projects Section */
#projects {
    background: 
        linear-gradient(180deg, rgba(51, 0, 51, 0.9), rgba(0, 0, 51, 0.9)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff69b4' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.project-card {
    background: var(--black);
    border: 5px ridge var(--neon-cyan);
    overflow: hidden;
    transition: all 0.4s;
    cursor: pointer;
    box-shadow: 
        5px 5px 0 var(--hot-pink),
        10px 10px 0 var(--bright-yellow);
}

.project-card:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 
        0 0 30px var(--neon-cyan),
        0 0 60px var(--hot-pink);
    border-color: var(--hot-pink);
}

.project-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--hot-pink), var(--purple));
    position: relative;
    overflow: hidden;
    border-bottom: 5px double var(--neon-cyan);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    image-rendering: pixelated;
}

.project-card:hover .project-image img {
    transform: scale(1.2) rotate(5deg);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    font-size: 4rem;
    animation: spin 10s linear infinite;
}

.project-content {
    padding: 24px;
}

.project-card h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.1rem;
    color: var(--neon-green);
    margin-bottom: 12px;
    text-shadow: 2px 2px 0 var(--black);
}

.project-card p {
    color: var(--white);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-badge {
    background: var(--hot-pink);
    color: var(--white);
    padding: 6px 12px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
    border: 2px solid var(--white);
    text-shadow: 1px 1px 0 var(--black);
}

.project-links {
    display: flex;
    gap: 16px;
}

.project-link {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--black);
    border: 3px outset var(--neon-cyan);
    transition: all 0.3s;
    font-family: 'Comic Neue', cursive;
}

.project-link:hover {
    background: var(--neon-cyan);
    color: var(--black);
    border-style: inset;
    transform: scale(1.1);
}

/* Experience Section */
#experience {
    background: 
        linear-gradient(180deg, rgba(0, 0, 51, 0.9), rgba(0, 51, 0, 0.9)),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 255, 0, 0.05) 10px,
            rgba(0, 255, 0, 0.05) 20px
        );
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--hot-pink), var(--neon-cyan), var(--bright-yellow));
    border: 2px solid var(--white);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-content {
    background: var(--black);
    padding: 24px;
    border: 4px ridge var(--neon-green);
    width: calc(50% - 40px);
    position: relative;
    box-shadow: 5px 5px 0 var(--hot-pink);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 32px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--bright-yellow);
    border: 3px solid var(--black);
    box-shadow: 0 0 10px var(--bright-yellow);
    animation: spin 4s linear infinite;
}

.timeline-content h3 {
    font-family: 'Press Start 2P', cursive;
    color: var(--neon-cyan);
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-shadow: 2px 2px 0 var(--black);
}

.company {
    color: var(--hot-pink);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.date {
    color: var(--bright-yellow);
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
}

.timeline-content ul {
    color: var(--white);
    margin-left: 20px;
}

.timeline-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Contact Section */
#contact {
    text-align: center;
    background: 
        linear-gradient(180deg, rgba(0, 51, 0, 0.9), rgba(0, 0, 51, 0.9)),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(255, 105, 180, 0.1) 20px,
            rgba(255, 105, 180, 0.1) 40px
        );
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.contact-card {
    background: var(--black);
    padding: 30px 24px;
    border: 5px double var(--hot-pink);
    transition: all 0.3s;
    box-shadow: 
        5px 5px 0 var(--neon-cyan),
        10px 10px 0 var(--bright-yellow);
}

.contact-card:hover {
    transform: scale(1.1) rotate(-3deg);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px var(--hot-pink);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--hot-pink), var(--neon-cyan));
    border: 3px solid var(--white);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
    animation: spin 10s linear infinite;
}

.contact-card h3 {
    margin-bottom: 12px;
    color: var(--neon-green);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    text-shadow: 2px 2px 0 var(--black);
}

.contact-card a {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    word-break: break-all;
    transition: all 0.3s;
    border-bottom: 2px dashed var(--neon-cyan);
}

.contact-card a:hover {
    color: var(--hot-pink);
    border-bottom-style: solid;
    text-shadow: 0 0 10px var(--hot-pink);
}

/* Footer */
footer {
    background: var(--black);
    color: var(--neon-green);
    text-align: center;
    padding: 40px 0;
    border-top: 5px double var(--neon-cyan);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
}

footer p {
    margin-bottom: 20px;
    animation: rainbow 3s linear infinite;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--neon-cyan);
    font-size: 1.5rem;
    padding: 10px;
    background: var(--black);
    border: 3px solid var(--neon-cyan);
    transition: all 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--hot-pink);
    border-color: var(--hot-pink);
    transform: scale(1.3) rotate(360deg);
    box-shadow: 0 0 20px var(--hot-pink);
}

/* Visitor Counter */
.visitor-counter {
    background: var(--black);
    color: var(--neon-green);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
    padding: 10px 20px;
    border: 3px solid var(--neon-green);
    display: inline-block;
    margin: 20px 0;
    text-align: center;
}

.visitor-counter .counter-number {
    font-size: 1.2rem;
    color: var(--bright-yellow);
    animation: blink 1s infinite;
}

/* Under Construction */
.under-construction {
    text-align: center;
    margin: 40px 0;
    animation: bounce 1s ease-in-out infinite;
}

.under-construction img {
    width: 150px;
    height: auto;
    border: 3px solid var(--neon-yellow);
}

/* Scroll reveal animation - 90s style */
.reveal {
    opacity: 0;
    transform: translateY(40px) rotate(-5deg);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content,
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-image {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-dot {
        left: 0;
        transform: translateX(0);
    }

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

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .logo {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 73px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 73px);
        background: var(--black);
        flex-direction: column;
        padding: 40px;
        border-left: 5px double var(--neon-cyan);
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu {
        display: block;
    }

    section h2 {
        font-size: 1.2rem;
    }
}

/* Web Ring */
.web-ring {
    text-align: center;
    padding: 20px;
    background: var(--black);
    border-top: 3px double var(--neon-cyan);
    border-bottom: 3px double var(--neon-cyan);
    margin: 40px 0;
}

.web-ring a {
    color: var(--neon-cyan);
    text-decoration: none;
    margin: 0 10px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
}

.web-ring a:hover {
    color: var(--hot-pink);
    text-shadow: 0 0 10px var(--hot-pink);
}