:root {
    --primary: #00ff9d; /* Neon Green */
    --accent: #00ccff;  /* Cyber Blue */
    --bg-dark: #050505;
    --card-bg: rgba(20, 20, 20, 0.7);
    --font-mono: 'JetBrains Mono', monospace;
    --font-heading: 'Orbitron', sans-serif;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    cursor: none; /* For custom cursor */
}

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

/* Background Effects */
#matrixCanvas {
    position: fixed; top: 0; left: 0; z-index: -2;
    filter: brightness(0.4);
}

.vignette {
    position: fixed; inset: 0; z-index: -1;
    background: radial-gradient(circle, transparent 30%, rgba(0,0,0,0.8) 100%);
}

/* Custom Cursor */
.cursor {
    width: 20px; height: 20px; border: 2px solid var(--primary);
    position: fixed; pointer-events: none; z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

/* Preloader */
#loader {
    position: fixed; inset: 0; background: #000; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
}
.load-bar {
    width: 300px; height: 4px; background: #1a1a1a;
    margin: 20px auto; overflow: hidden;
}
.load-progress {
    width: 0%; height: 100%; background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
}

/* Glitch Animation */
.glitch {
    position: relative; font-family: var(--font-heading);
}
.glitch::after {
    content: attr(data-text); position: absolute; left: 2px;
    text-shadow: -1px 0 red; top: 0; background: black;
    overflow: hidden; clip: rect(0,900px,0,0);
    animation: noise-2 3s infinite linear alternate-reverse;
}

/* Navigation */
nav {
    padding: 1.5rem 5%; position: fixed; top: 0; width: 100%;
    z-index: 100; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; color: var(--primary); text-decoration: none; }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { color: #fff; text-decoration: none; font-size: 0.9rem; font-family: var(--font-mono); }
.nav-links a:hover { color: var(--primary); }

/* Hero Section */
.hero {
    height: 100vh; display: flex; align-items: center; padding: 0 10%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070') center/cover;
}
.cyber-badge {
    background: rgba(0, 255, 157, 0.1); border: 1px solid var(--primary);
    color: var(--primary); padding: 5px 15px; display: inline-block;
    font-size: 0.7rem; letter-spacing: 2px; margin-bottom: 1rem;
}
.main-title { font-family: var(--font-heading); font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1; }
.highlight { color: var(--primary); text-shadow: 0 0 20px rgba(0,255,157,0.5); }
.typing-container { font-family: var(--font-mono); font-size: 1.2rem; color: var(--accent); margin: 1.5rem 0; }

/* Cards & Sections */
.section { padding: 80px 10%; }
.section-header { 
    font-family: var(--font-heading); margin-bottom: 3rem; 
    color: var(--primary); border-left: 5px solid var(--primary); padding-left: 20px;
}
.glass-card {
    background: var(--card-bg); border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(15px); padding: 2.5rem; border-radius: 4px;
}

/* Skills Grid */
.skills-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px;
}
.skill-item {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(0,255,157,0.1);
    padding: 2rem; text-align: center; transition: 0.4s;
}
.skill-item:hover {
    background: rgba(0,255,157,0.05); border-color: var(--primary);
    transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,255,157,0.1);
}
.skill-item i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }

/* Soft Skills Tags */
.soft-skills-container { display: flex; flex-wrap: wrap; gap: 15px; }
.soft-tag {
    background: #111; border: 1px solid #333; padding: 10px 20px;
    font-family: var(--font-mono); transition: 0.3s;
}
.soft-tag:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.05); }

/* Interest Cards (Anime Style) */
.interests-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.interest-card {
    height: 250px; position: relative; overflow: hidden; border-radius: 8px;
    display: flex; align-items: flex-end; padding: 2rem;
}
.anime-style { background: url('https://images.unsplash.com/photo-1578632292335-df3abbb0d586?q=80&w=500') center/cover; }
.tech-style { background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=500') center/cover; }
.media-style { background: url('https://images.unsplash.com/photo-1512820790803-83ca734da794?q=80&w=500') center/cover; }

.interest-overlay {
    position: absolute; inset: 0; background: linear-gradient(to top, #000, transparent);
    transition: 0.5s;
}
.interest-card:hover .interest-overlay { background: linear-gradient(to top, var(--primary), transparent); opacity: 0.8; }
.interest-info { position: relative; z-index: 1; }

/* Scroll Reveal Animation */
.reveal { opacity: 0; transform: translateY(30px); transition: 1s all ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Footer */
footer { padding: 4rem 10%; text-align: center; background: #000; }
.footer-line { height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); margin-bottom: 2rem; }
.socials { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1rem; }
.socials a { color: #fff; font-size: 1.5rem; transition: 0.3s; }
.socials a:hover { color: var(--primary); transform: translateY(-3px); }

@keyframes noise-2 {
    0% { clip: rect(20px, 999px, 40px, 0); }
    100% { clip: rect(80px, 999px, 100px, 0); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 0 5%; }
}
