@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600&family=Creepster&display=swap');

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

:root {
    --neon-cyan: #00ffff;
    --neon-pink: #ff00ff;
    --neon-green: #00ff41;
    --neon-purple: #8a2be2;
    --neon-orange: #ff6600;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --grid-color: rgba(0, 255, 255, 0.1);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated grid background */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
    z-index: -1;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Floating particles */
.particles {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--neon-cyan);
    border-radius: 50%;
    animation: float 15s infinite linear;
    opacity: 0.7;
    box-shadow: 0 0 12px var(--neon-cyan), 0 0 24px var(--neon-cyan);
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neon-cyan);
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Audiowide', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--neon-cyan);
    transform: rotate(-2deg);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 20px var(--neon-cyan);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 2rem;
}

.hero-content h1 {
    font-family: 'Audiowide', sans-serif;
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 400;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-pink), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 50px var(--neon-cyan);
    animation: glow 3s ease-in-out infinite alternate;
    transform: rotate(-1deg);
    letter-spacing: 4px;
}

@keyframes glow {
    0% { filter: drop-shadow(0 0 20px var(--neon-cyan)); }
    100% { filter: drop-shadow(0 0 40px var(--neon-pink)); }
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--neon-green);
    font-weight: 300;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    padding: 1rem 3rem;
    background: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    color: black;
    box-shadow: 0 0 50px var(--neon-cyan);
    transform: translateY(-2px);
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-cyan);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover:before {
    left: 0;
}

/* Projects Section */
.projects {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-img {
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-img img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,255,255,0.12);
    object-fit: cover;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.project-card-link {
    text-decoration: none;
    color: inherit;
}

.project-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-pink);
    box-shadow: 0 20px 40px rgba(255, 0, 255, 0.2);
}

.project-card.coming-soon {
    opacity: 0.6;
    border-color: rgba(138, 43, 226, 0.3);
}

.project-card.coming-soon:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.2);
}

.project-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neon-green);
}

.project-card p {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--neon-cyan);
}

.project-tag.tag-soon {
    background: rgba(138, 43, 226, 0.1);
    border-color: var(--neon-purple);
    color: var(--neon-purple);
}

.project-links {
    margin-top: auto;
    padding-top: 1rem;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    border-radius: 20px;
    color: var(--neon-cyan);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.github-link:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

.github-icon {
    font-size: 1.2rem;
}

/* Manifesto Section */
.manifesto {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.05), rgba(0, 255, 255, 0.05));
    position: relative;
}

.manifesto-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.manifesto-text {
    font-size: 1.4rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

/* Footer */
footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--neon-cyan);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 20px var(--neon-pink);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}