/* Custom Global Styles & Animations */

/* Disable scrollbar but keep functionality */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: #1f1f22;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4f46e5; /* Brand color */
}

/* Glassmorphism */
.nav-glass {
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.glass-card {
    background: rgba(15, 15, 17, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-code-block {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(5, 5, 5, 0.6) 100%);
    backdrop-filter: blur(12px);
}

/* Blob Animation */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.blob-anim {
    animation: blob 7s infinite alternate ease-in-out;
}

/* Image wrapper hover effect */
.img-wrapper {
    box-shadow: 0 0 40px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.1);
}

.img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.1);
    pointer-events: none;
}

.border-decor {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}

/* Skill card floating hover */
.skill-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.15);
}

/* Base link animations */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #6366f1;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}
