/* Copyright 2025, MFAK (Modern Frontend Animation Kit v0.5.1) by @w3nabil, licensed under MIT */

/* No Scrollbar */
html,
body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

/* Glowing text */

.glow-text {
    color: var(--text-color);
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: gradientShift 6s ease-in-out infinite;
    position: relative;
}

.glow-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: inherit;
    filter: blur(12px) brightness(1.2);
    opacity: 0.4;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.4;
        filter: blur(12px) brightness(1.2);
    }

    50% {
        opacity: 0.7;
        filter: blur(16px) brightness(1.5);
    }
}

@media (prefers-color-scheme: dark) {
    .glow-text {
        --text-color: #fff;
    }
}

@media (prefers-color-scheme: light) {
    .glow-text {
        --text-color: #000;
    }
}

.transition-navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, color 0.3s ease;
}