/* Minimal styles for Portfolio site */
:root{
  --bg:#04060a;
  --content-bg: rgba(2,6,10,0.6);
}
html,body{height:100%;margin:0;padding:0;background:var(--bg);font-family:Inter,system-ui,Arial,monospace}
canvas{position:fixed;left:0;top:0;width:100%;height:100%;z-index:0}
.content-layer{position:relative;z-index:5}
#loader{position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(180deg,rgba(0,0,0,0.6),rgba(0,0,0,0.8));z-index:50;color:#9ca3af;transition:opacity .5s}
.boot-text{font-family:JetBrains Mono, monospace;color:#94a3b8;margin:2px}
.progress-bar{width:220px;height:6px;background:rgba(255,255,255,0.06);border-radius:4px;overflow:hidden;margin-top:12px}
.progress-fill{width:0%;height:100%;background:linear-gradient(90deg,#06b6d4,#10b981);animation:fill 3s forwards}
@keyframes fill{to{width:100%}}

.nav-container{display:flex;justify-content:space-between;align-items:center;padding:20px 40px}
.nav-links a{margin-left:18px;color:#cbd5e1;text-decoration:none}
.nav-link.active{color:#06b6d4}

.hero-grid{display:grid;grid-template-columns:260px 1fr;gap:40px;align-items:center;padding:80px}
.profile-container{position:relative}
.profile-pic{width:220px;height:220px;border-radius:14px;background:linear-gradient(135deg,#0f172a,#0b1220);display:flex;align-items:center;justify-content:center}
.profile-placeholder{font-size:72px;color:#0ea5a5}

.section-container{padding:80px}
.section-title{font-size:20px;margin-bottom:20px}

.skill-card,.project-card,.stat-card{background:var(--content-bg);padding:20px;border-radius:12px;border:1px solid rgba(255,255,255,0.03)}

.social-icons{position:fixed;left:16px;bottom:16px;display:flex;flex-direction:column;gap:8px}
.social-icon{display:flex;align-items:center;gap:10px;color:#cbd5e1;text-decoration:none}
.social-label{display:none}

.cta-btn{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(90deg,#06b6d4,#10b981);color:#041014;padding:10px 16px;border-radius:8px;text-decoration:none;font-weight:700}

/* Responsive */
@media(max-width:900px){.hero-grid{grid-template-columns:1fr;padding:30px}.nav-container{padding:12px 20px}.section-container{padding:30px}}
 :root {
            --bg-primary: #050b14;
            --bg-secondary: #0a1120;
            --accent-cyan: #06b6d4;
            --accent-purple: #8b5cf6;
            --accent-green: #10b981;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-primary);
            color: #e5e7eb;
            overflow-x: hidden;
        }
        
        .font-mono {
            font-family: 'JetBrains Mono', monospace;
        }
        
        /* Matrix Rain Background */
        #matrix-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            pointer-events: none;
            opacity: 0.4;
        }
        
        /* Particle Network Background */
        #particle-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
            pointer-events: none;
            opacity: 0.5;
        }
        
        /* Content Layer */
        .content-layer {
            position: relative;
            z-index: 10;
        }
        
        /* Loading Screen */
        #loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg-primary);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            transition: opacity 0.5s;
        }
        
        .boot-text {
            color: var(--accent-green);
            font-family: 'JetBrains Mono', monospace;
            font-size: 14px;
            margin: 8px 0;
            opacity: 0;
            animation: fadeIn 0.3s forwards;
        }
        
        @keyframes fadeIn {
            to { opacity: 1; }
        }
        
        .progress-bar {
            width: 400px;
            height: 4px;
            background: var(--bg-secondary);
            border-radius: 2px;
            overflow: hidden;
            margin-top: 30px;
        }
        
        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-green));
            width: 0;
            animation: fillBar 2.5s ease-out forwards;
            box-shadow: 0 0 20px var(--accent-cyan);
        }
        
        @keyframes fillBar {
            to { width: 100%; }
        }
        
        /* Navigation */
        nav {
            position: fixed !important;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(10, 17, 32, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(6, 182, 212, 0.2);
            z-index: 9999 !important;
            padding: 1rem 5%;
        }
        
        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .nav-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.3rem;
            font-weight: 700;
        }
        
        .terminal-dots {
            display: flex;
            gap: 6px;
        }
        
        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }
        
        .dot-red { background: #ff5f56; }
        .dot-yellow { background: #ffbd2e; }
        .dot-green { background: #27c93f; }
        
        .nav-links {
            display: flex;
            gap: 2.5rem;
            align-items: center;
        }
        
        .nav-link {
            color: #9ca3af;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            position: relative;
            transition: color 0.3s;
            padding: 0.5rem 0;
        }
        
        .nav-link:hover {
            color: var(--accent-cyan);
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
            transition: width 0.3s;
            box-shadow: 0 0 10px var(--accent-cyan);
        }
        
        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }
        .nav-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 25px;
            height: 20px;
            cursor: pointer;
            z-index: 10000;
        }

        .bar {
            height: 3px;
            width: 100%;
            background-color: #9ca3af;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

/* Hamburger Animation */
.bar.active:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.bar.active:nth-child(2) {
  opacity: 0;
}
.bar.active:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hide menu by default on small screens */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    position: absolute;
    top: 100%;
    right: 5%;
    background: rgba(10, 17, 32, 0.95);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}
        
        /* RGB Profile Picture */
        .profile-container {
            position: relative;
            width: 350px;
            height: 350px;
        }
        
        .rgb-border {
            position: absolute;
            inset: -6px;
            border-radius: 50%;
            background: conic-gradient(
                from 0deg,
                var(--accent-cyan) 0deg 120deg,
                var(--accent-purple) 120deg 240deg,
                var(--accent-green) 240deg 360deg
            );
            filter: blur(15px);
            animation: rotateGlow 8s linear infinite;
        }
        
        @keyframes rotateGlow {
            0% { filter: blur(15px) brightness(1); }
            50% { filter: blur(20px) brightness(1.2); }
            100% { filter: blur(15px) brightness(1); }
        }
        
        .profile-pic {
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: var(--bg-secondary);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border: 4px solid var(--bg-primary);
        }
        
        .profile-placeholder {
            font-size: 120px;
            color: var(--accent-cyan);
            opacity: 0.3;
        }
        
        /* Social Icons */
        .social-icons {
            position: fixed;
            bottom: 40px;
            left: 40px;
            display: flex;
            gap: 1rem;
            z-index: 100;
        }
        
        .social-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(6, 182, 212, 0.1);
            border: 2px solid var(--accent-cyan);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent-cyan);
            font-size: 1.3rem;
            transition: all 0.3s;
            position: relative;
            cursor: pointer;
        }
        
        .social-icon:hover {
            background: var(--accent-cyan);
            color: var(--bg-primary);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(6, 182, 212, 0.5);
        }
        
        .social-label {
            position: absolute;
            left: 60px;
            background: var(--bg-secondary);
            padding: 0.5rem 1rem;
            border-radius: 8px;
            border: 1px solid var(--accent-cyan);
            font-size: 0.85rem;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
        }
        
        .social-icon:hover .social-label {
            opacity: 1;
        }
        
        /* Hero Section */
        #hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 120px 5% 80px;
        }
        
        .hero-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 400px 1fr;
            gap: 6rem;
            align-items: center;
        }
        
        .typing-text {
            overflow: hidden;
            border-right: 2px solid var(--accent-green);
            white-space: nowrap;
            animation: typing 3s steps(30) 1s forwards, blink 0.75s step-end infinite;
        }
        
        @keyframes typing {
            from { width: 0; }
            to { width: 100%; }
        }
        
        @keyframes blink {
            50% { border-color: transparent; }
        }
        
        /* Stats Cards */
        .stat-card {
            background: rgba(10, 17, 32, 0.6);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(6, 182, 212, 0.2);
            border-radius: 16px;
            padding: 1.5rem;
            text-align: center;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        
        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
        }
        
        .stat-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(6, 182, 212, 0.3);
            border-color: var(--accent-cyan);
        }
        
        /* Section Styles */
        section {
            padding: 100px 5%;
            position: relative;
        }
        
        .section-container {
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .section-title {
            font-size: 3rem;
            font-weight: 800;
            text-align: center;
            margin-bottom: 4rem;
            background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* Skills Cards */
        .skill-card {
            background: rgba(10, 17, 32, 0.6);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(6, 182, 212, 0.2);
            border-radius: 20px;
            padding: 2.5rem;
            transition: all 0.3s;
        }
        
        .skill-card:hover {
            border-color: var(--accent-cyan);
            box-shadow: 0 10px 40px rgba(6, 182, 212, 0.2);
        }
        
        .skill-tag {
            background: rgba(6, 182, 212, 0.1);
            border: 1px solid rgba(6, 182, 212, 0.3);
            padding: 0.6rem 1.2rem;
            border-radius: 20px;
            font-size: 0.9rem;
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .skill-tag:hover {
            background: var(--accent-cyan);
            color: var(--bg-primary);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(6, 182, 212, 0.5);
        }
        
        /* Project Cards */
        .project-card {
            background: rgba(10, 17, 32, 0.6);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(6, 182, 212, 0.2);
            border-radius: 20px;
            padding: 2.5rem;
            transition: all 0.4s;
            position: relative;
            overflow: hidden;
        }
        
        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
        }
        
        .project-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 50px rgba(6, 182, 212, 0.3);
            border-color: var(--accent-cyan);
        }
        
        /* Timeline */
        .timeline {
            position: relative;
            padding-left: 60px;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            left: 15px;
            top: 0;
            height: 100%;
            width: 3px;
            background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), var(--accent-green));
        }
        
        .timeline-dot {
            position: absolute;
            left: -52px;
            top: 2rem;
            width: 20px;
            height: 20px;
            background: var(--accent-cyan);
            border-radius: 50%;
            box-shadow: 0 0 20px var(--accent-cyan);
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); box-shadow: 0 0 20px var(--accent-cyan); }
            50% { transform: scale(1.2); box-shadow: 0 0 30px var(--accent-cyan); }
        }
        
        .timeline-dot::after {
            content: '';
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            width: 30px;
            height: 2px;
            background: var(--accent-cyan);
        }
        
        /* CTA Button */
        .cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 1rem 2.5rem;
            background: var(--accent-green);
            color: var(--bg-primary);
            border: none;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
        }
        
        .cta-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
        }
        
        @media (max-width: 1024px) {
            .hero-grid {
                grid-template-columns: 1fr;
                gap: 3rem;
                text-align: center;
            }
            
            .profile-container {
                margin: 0 auto;
            }
            
            .nav-links {
                display: none;
            }
            
            .social-icons {
                left: 50%;
                transform: translateX(-50%);
                bottom: 20px;
            }
        }
        
        @media (max-width: 768px) {
            .profile-container {
                width: 280px;
                height: 280px;
            }
            
            .section-title {
                font-size: 2rem;
            }
        }
