/* Custom global styles and effects for developer-portfolio */

/* Global Smooth scrolling & Custom selections */
::selection {
    background-color: rgba(6, 182, 212, 0.25);
    color: #ffffff;
}

/* Custom Webkit scrollbar matching dark slate design */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #030712;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 9999px;
    border: 2px solid #030712;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Base Body Tech Grid Mesh overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: radial-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* Radial Pointer Mouse Glow tracking stylesheet style */
#pointer-glow {
    background: radial-gradient(450px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(6, 182, 212, 0.08) 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
    position: fixed;
    inset: 0;
    z-index: 2;
}

/* Floating Blobs animation & classes */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(40px, -60px) scale(1.15); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}
.animate-blob {
    animation: blob 12s infinite ease-in-out;
}
.animation-delay-2000 {
    animation-delay: 3s;
}
.animation-delay-4000 {
    animation-delay: 6s;
}

/* Active Nav Links Bottom Indicator Bar transition */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background-color: #06b6d4;
    border-radius: 999px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.active-nav-link::after {
    transform: translateX(-50%) scaleX(1);
    background-color: #06b6d4;
}
.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
    background-color: #8b5cf6;
}

/* Typing animation cursor indicator */
#typing-text::after {
    content: "";
    animation: blink 0.7s infinite alternate;
}
@keyframes blink {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Glassmorphism glass card details */
.glass-panel {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Smooth active highlight filter transitions */
.project-card {
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.project-card.filtered-out {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: none;
}