@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==================== RESET & BASE ==================== */

html {
    background-color: #09090b;
    scroll-behavior: smooth;
}

body {
    background-color: #09090b;
    color: #f4f4f5;
    margin: 0;
    padding: 0;
}

* {
    font-family: 'Inter', sans-serif;
}

#root {
    background-color: #09090b;
    min-height: 100vh;
}

/* ==================== GRADIENTES & ANIMAÇÕES ==================== */

.gradient-text {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background: linear-gradient(135deg, #10b981, #14b8a6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    50% {
        background: linear-gradient(135deg, #14b8a6, #06b6d4);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.15);
}

/* ==================== COMPONENTES ==================== */

.project-card {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    border-color: #10b981;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: linear-gradient(135deg, #10b981, #14b8a6);
    color: white;
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}