 ::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.dark ::-webkit-scrollbar-track {
    background: #1f2937;
}
::-webkit-scrollbar-thumb {
    background: #4f46e5;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4338ca;
}
.animated-bg {
    background: linear-gradient(-45deg, #0F2027, #203A43, #23a6d5, #2C5364);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

#main-nav {
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out, background-color 0.3s;
}
#main-nav.visible-nav {
    transform: translateY(0);
}
.profile-blob {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blob-bounce 5s ease-in-out infinite;
}
@keyframes blob-bounce {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}