
        :root {
            --primary: #8b5cf6;
            --secondary: #06b6d4;
            --accent: #10b981;
            --dark: #0f172a;
            --light: #f8fafc;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: #e2e8f0;
            overflow-x: hidden;
            min-height: 100vh;
        }
        
        /* Glass morphism effect */
        .glass {
            background: rgba(30, 41, 59, 0.7);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }
        
        .gradient-text {
            background: linear-gradient(90deg, #8b5cf6, #06b6d4, #10b981);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .gradient-bg {
            background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #10b981 100%);
        }
        
        /* Particle background */
        #particles-js {
            position: fixed;
            width: 100%;
            height: 100%;
            z-index: -1;
        }
        
        /* Animated border */
        .animated-border {
            position: relative;
            border-radius: 1rem;
        }
        
        .animated-border::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, #8b5cf6, #06b6d4, #10b981, #8b5cf6);
            border-radius: 1.1rem;
            z-index: -1;
            animation: rotate 3s linear infinite;
        }
        
        @keyframes rotate {
            0% { filter: hue-rotate(0deg); }
            100% { filter: hue-rotate(360deg); }
        }
        
        /* Floating animation */
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }
        
        .floating {
            animation: float 6s ease-in-out infinite;
        }
        
        /* Typewriter effect */
        .typewriter {
            overflow: hidden;
            border-right: 3px solid #8b5cf6;
            white-space: nowrap;
            animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
        }
        
        @keyframes typing {
            from { width: 0 }
            to { width: 100% }
        }
        
        @keyframes blink-caret {
            from, to { border-color: transparent }
            50% { border-color: #8b5cf6 }
        }
        
        /* Glow effect */
        .glow {
            box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
        }
        
        .glow:hover {
            box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
        }
        
        /* Progress bars */
        .progress-bar {
            height: 8px;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.1);
            overflow: hidden;
        }
        
        .progress-fill {
            height: 100%;
            border-radius: 4px;
            background: linear-gradient(90deg, #8b5cf6, #06b6d4);
        }
        
        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }
        
        ::-webkit-scrollbar-track {
            background: rgba(30, 41, 59, 0.5);
        }
        
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, #8b5cf6, #06b6d4);
            border-radius: 5px;
        }
        
        /* Section transitions */
        .section-hidden {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease;
        }
        
        .section-visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Card hover effects */
        .card-hover {
            transition: all 0.3s ease;
        }
        
        .card-hover:hover {
            transform: translateY(-10px) scale(1.02);
        }
        
        /* Gradient underline */
        .gradient-underline {
            position: relative;
            display: inline-block;
        }
        
        .gradient-underline::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -5px;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, #8b5cf6, #06b6d4);
            border-radius: 2px;
        }

        /* Pure Dark Mode Overrides */
body.pure-dark {
    background: #0a0a0a; /* true black */
    color: #e2e8f0; /* text color stays light */
}

body.pure-dark .glass {
    background: #0a0a0a; /* remove transparency */
    backdrop-filter: none;
    border: none;
    box-shadow: none;
}

body.pure-dark .gradient-text,
body.pure-dark .gradient-bg {
    background: none;
    color: #8b5cf6; /* optional: keep primary color for highlights */
}

body.pure-dark .progress-fill {
    background: #8b5cf6; /* optional highlight */
}



  /* Entrance Animation */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .animate-skills {
    animation: fadeInUp 0.8s ease-out forwards;
  }

  /* Hover effect for the card */
  .skill-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  }

  /* Glow effects for indicators */
  .glow-yellow { color: #fbbf24; text-shadow: 0 0 8px #fbbf24; }
  .glow-green  { color: #34d399; text-shadow: 0 0 8px #34d399; }
  .glow-blue   { color: #60a5fa; text-shadow: 0 0 8px #60a5fa; }
  
  /* Skill tag styling (optional but looks good) */
  .blue-skill { color: #60a5fa; font-weight: 500; }
  .green-skill { color: #34d399; font-weight: 500; }
