html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

.bg-gradient-radial {
    background: radial-gradient(circle at top right, rgba(103, 80, 164, 0.15), transparent 40%),
                radial-gradient(circle at bottom left, rgba(208, 188, 255, 0.15), transparent 40%);
}

.dark .bg-gradient-radial {
    background: radial-gradient(circle at top right, rgba(208, 188, 255, 0.1), transparent 40%),
                radial-gradient(circle at bottom left, rgba(103, 80, 164, 0.15), transparent 40%);
}

.material-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.material-btn:active {
    transform: scale(0.96);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.ripple-dark {
    background-color: rgba(103, 80, 164, 0.2);
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.view-section {
    display: none;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.view-section.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link.active::after {
    width: 100%;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #938F99;
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #49454F;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}