body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #050505;
    color: #e5e5e5;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Premium Grid Effect */
.bg-grid {
    background-size: 50px 50px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

/* Anti-overflow Container Blobs */
.glow-blob {
    position: absolute;
    width: min(400px, 80vw);
    height: min(400px, 80vw);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    top: 5%;
    left: -10%;
    border-radius: 50%;
    z-index: -1;
    animation: floatGlow 15s infinite alternate ease-in-out;
}

.glow-blob-2 {
    position: absolute;
    width: min(500px, 90vw);
    height: min(500px, 90vw);
    background: radial-gradient(circle, rgba(147, 51, 234, 0.06) 0%, transparent 70%);
    bottom: 15%;
    right: -10%;
    border-radius: 50%;
    z-index: -1;
    animation: floatGlow 20s infinite alternate-reverse ease-in-out;
}

@keyframes floatGlow {
    0% { transform: translate(0px, 0px) scale(1); }
    100% { transform: translate(20px, 40px) scale(1.1); }
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, #a3a3a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-card:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
}

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #444;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: inline-flex;
    animation: marquee 25s linear infinite;
}
