html {
    scroll-behavior: smooth;
}

body {
    scroll-padding-top: 0;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.shimmer-button {
    position: relative;
    overflow: hidden;
}

.shimmer-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 0.2s ease-in-out infinite;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-duration: 2s;
}

@keyframes liquidFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}


.liquid-border {
    background: linear-gradient(270deg, #3b82f6, #06b6d4, #10b981, #00ff88, #3b82f6);
    background-size: 200% 200%;
    animation: liquidFlow 6s linear infinite;
    filter: blur(2px) brightness(1.2);
}

@keyframes slideUpBlur {
    0% {
        opacity: 0;
        transform: translateY(50px);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

.slide-up-blur {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-up-blur.animate {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}

.slide-up-blur:nth-child(1) {
    animation-delay: 0.1s;
}

.slide-up-blur:nth-child(2) {
    animation-delay: 0.2s;
}

.slide-up-blur:nth-child(3) {
    animation-delay: 0.3s;
}

.slide-up-blur:nth-child(4) {
    animation-delay: 0.4s;
}

.slide-up-blur:nth-child(5) {
    animation-delay: 0.5s;
}

.dot-matrix {
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.15) 1px, transparent 0);
    background-size: 20px 20px;
    mask: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.3) 90%, rgba(0, 0, 0, 0) 100%);
}