@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    scroll-behavior: smooth;
    background-color: #f8f9fa;
    color: #111;
}

.dark body {
    background-color: #111;
    color: #f8f9fa;
}

.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(90deg, #06f, #7928ca);
    background-size: 200% 200%;
    animation: text-gradient 5s ease infinite;
}

.gradient-bg {
    background-image: linear-gradient(90deg, #06f, #7928ca);
    background-size: 200% 200%;
    animation: gradient-x 8s ease infinite;
}

.blob {
    filter: blur(60px);
    opacity: 0.15;
    z-index: -1;
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-overlay {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: currentColor;
    opacity: 0.2;
}

.timeline-item:last-child::before {
    height: 50%;
}

.skill-pill {
    transition: all 0.3s ease;
}

.skill-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dark .skill-pill:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}
