/* Custom Styles for NEXUS SPA - Grandeur Theme */

/* Glassmorphism Utilities */
.glass-header {
    background: rgba(255, 255, 255, 0.85); /* white */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Glow Effects */
.text-glow {
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.3); /* Subtle Blue */
}

.card-glow {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1); /* Blue */
}
.card-glow:hover {
    box-shadow: 0 0 35px rgba(59, 130, 246, 0.25); /* Blue */
}

/* Button Pulse Animation */
@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.btn-pulse {
    animation: 2.5s ease-in-out 0s infinite normal none running pulse-blue;
}

/* Shine Effect */
.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
    z-index: 50;
    pointer-events: none;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc; /* slate-50 */
}
::-webkit-scrollbar-thumb {
    background: #dc2626; /* Red */
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b91c1c; 
}

/* Active Nav Link Styling */
.nav-link.active-link {
    background-color: #2563eb; /* bg-blue-600 */
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

/* Particles absolute positioning */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}
