/* Global Reset & Base */
body {
    background-color: #0F172A; /* Fallback */
    color: #E0E0E0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Mesh Gradient Background */
/* We use pseudo-elements on body to create the mesh effect so it stays fixed */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(147, 51, 234, 0.15), transparent 25%); /* Added a touch of purple/brand accent */
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(30, 41, 59, 0.4); /* Semi-transparent slate */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-button {
    background: rgba(59, 130, 246, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.glass-button:hover {
    background: rgba(37, 99, 235, 1);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

/* Animations */
.animate-on-load {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0F172A; 
}
::-webkit-scrollbar-thumb {
    background: #334155; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569; 
}

/* Glow Effect Behind Images */
.glow-behind {
    position: relative;
}
.glow-behind::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
    filter: blur(40px);
}
