body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #0a0a0a;
    color: #fafafa;
}

.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gradient-border {
    position: relative;
    background: linear-gradient(#0a0a0a, #0a0a0a) padding-box,
                linear-gradient(45deg, #6366f1, #8b5cf6) border-box;
    border: 2px solid transparent;
}

.highlight {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1.5rem;
}

.tech-icon {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.tech-icon:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #8b5cf6;
}

.nav-link:hover::after {
    width: 100%;
}

.project-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px -15px rgba(99, 102, 241, 0.3);
}

.scroll-indicator {
    height: 50px;
    width: 2px;
    background: linear-gradient(to bottom, #6366f1, transparent);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gradient-text {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 1rem;
    }
}

#mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.menu-open {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hamburger {
    display: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
}

    .service-card {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .animated-banner {
        background: linear-gradient(45deg, #2a2a2a, #1a1a1a);
        overflow: hidden;
        position: relative;
    }

    .animated-banner::before {
        content: '';
        position: absolute;
        width: 200%;
        height: 200%;
        background: linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.1) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.1) 75%,
            transparent 75%
        );
        animation: banner-animation 15s linear infinite;
    }

    @keyframes banner-animation {
        0% {
            transform: translateX(-50%) translateY(-50%) rotate(0deg);
        }
        100% {
            transform: translateX(-50%) translateY(-50%) rotate(360deg);
        }
    }

    .discord-form {
        background: rgba(88, 101, 242, 0.1);
        border: 1px solid rgba(88, 101, 242, 0.3);
    }

    .service-icon {
        font-size: 2.5rem;
        background: linear-gradient(45deg, #6e57e0, #90f2ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .particles {
        position: absolute;
        width: 100%;
        height: 100%;
    }
    
    .particle {
        position: absolute;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: radial-gradient(circle at center, rgba(255,255,255,0.8) 0%, transparent 70%);
        animation: float 15s infinite;
        opacity: 0.3;
    }
    
    .particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
    .particle:nth-child(2) { top: 60%; left: 80%; animation-delay: -3s; }
    .particle:nth-child(3) { top: 40%; left: 50%; animation-delay: -6s; }
    .particle:nth-child(4) { top: 80%; left: 30%; animation-delay: -9s; }
    .particle:nth-child(5) { top: 10%; left: 70%; animation-delay: -12s; }
    
    @keyframes float {
        0%, 100% {
            transform: translateY(0) scale(1);
        }
        50% {
            transform: translateY(-20px) scale(1.1);
        }
    }
    
    /* Line Animation */
    .line {
        position: absolute;
        width: 1px;
        height: 100%;
        background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
        animation: scan 8s infinite;
    }
    
    .line:nth-child(1) { left: 30%; animation-delay: 0s; }
    .line:nth-child(2) { left: 50%; animation-delay: -2s; }
    .line:nth-child(3) { left: 70%; animation-delay: -4s; }
    
    @keyframes scan {
        0% {
            transform: translateY(-100%);
        }
        100% {
            transform: translateY(100%);
        }
    }
    
    /* Content Animations */
    .animate-title {
        animation: slideUp 1s ease-out forwards;
        opacity: 0;
    }
    
    .animate-fade-in {
        animation: fadeIn 1s ease-out 0.5s forwards;
        opacity: 0;
    }
    
    .animate-cards > div {
        animation: cardSlideUp 1s ease-out forwards;
        opacity: 0;
    }
    
    .animate-cards > div:nth-child(1) { animation-delay: 0.6s; }
    .animate-cards > div:nth-child(2) { animation-delay: 0.8s; }
    .animate-cards > div:nth-child(3) { animation-delay: 1s; }
    
    @keyframes slideUp {
        from {
            transform: translateY(30px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes cardSlideUp {
        from {
            transform: translateY(50px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

.perspective-1000 {
    perspective: 1000px;
}

/* Interactive Particle Animation */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle.interactive {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.8) 0%, transparent 70%);
    transition: transform 0.3s ease;
    opacity: 0.3;
}

/* Mouse Trail Effect */
.trail {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

/* 3D Card Effect */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.card-content {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.hover-zoom {
    transition: transform 0.3s ease;
}

.hover-zoom:hover {
    transform: scale(1.05);
}

/* Responsive height adjustments */
@media (max-width: 768px) {
    .animated-banner {
        min-height: 50vh;
    }
}