        :root {
            --primary: #a855f7;
            --primary-color: #a855f7;
            --dark-bg: #111827;

            --primary-light: #c084fc;
            --primary-dark: #7c3aed;
            --accent: #06b6d4;
            --gradient: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
        }
        
        * {
            font-family: 'Inter', sans-serif;
        }
        
        body {
            overflow-x: hidden;
        }
        
        #particles-js {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
            background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
        }
        
        .glow-button {
            background: var(--gradient);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .glow-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }
        
        .glow-button:hover::before {
            left: 100%;
        }
        
        .glow-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(168, 85, 247, 0.5);
        }
        
        .nav-link {
            position: relative;
            transition: all 0.3s ease;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient);
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }
        
        .nav-link:hover {
            color: var(--primary-light);
            text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
        }
        
        .typewriter {
            overflow: hidden;
            border-right: 0.15em solid var(--primary);
            white-space: nowrap;
            margin: 0 auto;
            letter-spacing: 0.15em;
            animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
        }
        
        @keyframes typing {
            from { width: 0 }
            to { width: 100% }
        }
        
        @keyframes blink-caret {
            from, to { border-color: transparent }
            50% { border-color: var(--primary); }
        }
        
        .skill-icon {
            transition: all 0.3s ease;
        }
        
        .skill-icon:hover {
            transform: scale(1.1) rotate(5deg);
            filter: drop-shadow(0 0 15px var(--primary));
        }
        
        .project-card {
            background: rgba(15, 15, 35, 0.8);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(168, 85, 247, 0.2);
            transition: all 0.3s ease;
        }
        
        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3);
            border-color: var(--primary);
        }
        
        .timeline {
            position: relative;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 4px;
            background: var(--gradient);
            transform: translateX(-50%);
            border-radius: 2px;
            box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
        }
        
        .timeline-item {
            position: relative;
            margin-bottom: 4rem;
            width: 100%;
        }
        
        .timeline-item:nth-child(odd) .timeline-content {
            margin-right: calc(50% + 30px);
            text-align: right;
        }
        
        .timeline-item:nth-child(even) .timeline-content {
            margin-left: calc(50% + 30px);
            text-align: left;
        }
        
        .timeline-dot {
            position: absolute;
            left: 50%;
            top: 30px;
            transform: translateX(-50%);
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--gradient);
            border: 4px solid #0f0f23;
            z-index: 2;
            box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.3), 0 0 20px rgba(168, 85, 247, 0.6);
            transition: all 0.3s ease;
        }
        
        .timeline-item:hover .timeline-dot {
            transform: translateX(-50%) scale(1.3);
            box-shadow: 0 0 0 8px rgba(168, 85, 247, 0.2), 0 0 30px rgba(168, 85, 247, 0.8);
        }
        
        .timeline-content {
            background: rgba(15, 15, 35, 0.8);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(168, 85, 247, 0.2);
            border-radius: 20px;
            padding: 2rem;
            position: relative;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }
        
        .timeline-content::before {
            content: '';
            position: absolute;
            top: 30px;
            width: 0;
            height: 0;
            border: 15px solid transparent;
        }
        
        .timeline-item:nth-child(odd) .timeline-content::before {
            right: -30px;
            border-left-color: rgba(15, 15, 35, 0.8);
        }
        
        .timeline-item:nth-child(even) .timeline-content::before {
            left: -30px;
            border-right-color: rgba(15, 15, 35, 0.8);
        }
        
        .timeline-content:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
            border-color: var(--primary);
        }
        
        .floating-animation {
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }
        
        .rotate-animation {
            animation: rotate 20s linear infinite;
        }
        
        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        .pulse-animation {
            animation: pulse 4s ease-in-out infinite;
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 0.7; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.05); }
        }
        
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--gradient);
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
        }
        
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(168, 85, 247, 0.5);
        }
        
        .contact-form input,
        .contact-form textarea {
            background: rgba(15, 15, 35, 0.8);
            border: 1px solid rgba(168, 85, 247, 0.3);
            color: white;
            transition: all 0.3s ease;
        }
        
        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
            outline: none;
        }
        
        @media (max-width: 768px) {
            .timeline::before {
                left: 30px;
            }
            
            .timeline-item:nth-child(odd) .timeline-content,
            .timeline-item:nth-child(even) .timeline-content {
                margin-left: 60px;
                margin-right: 0;
                text-align: left;
            }
            
            .timeline-dot {
                left: 30px;
            }
            
            .timeline-item:nth-child(odd) .timeline-content::before,
            .timeline-item:nth-child(even) .timeline-content::before {
                left: -30px;
                right: auto;
                border-right-color: rgba(15, 15, 35, 0.8);
                border-left-color: transparent;
            }
        }

.logo-svg {
  font-size: 2rem;
  font-weight: 700;
  display: inline-block;
  text-decoration: none;

  background: linear-gradient(to right, #A78BFA, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  transition: transform 0.3s ease;
}

.logo-svg:hover {
  transform: rotate(-10deg) scale(1.1);
}
.fade-cursor {
  position: fixed;
  width: 0.75rem;
  height: 0.75rem;
  background-color: #34d399; /* Tailwind’s emerald-300 */
  border-radius: 50%;
  opacity: 1;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-cursor.hide {
  opacity: 0;
  transform: scale(0.3);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), #c084fc);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c084fc, var(--primary-color));
}
