body {
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #475569;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.0);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.dark .glass-nav.scrolled {
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#mobile-menu {
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: top;
    backdrop-filter: blur(20px);
}

.menu-closed {
    opacity: 0;
    transform: scaleY(0.95) translateY(-20px);
    pointer-events: none;
    visibility: hidden;
}

.menu-open {
    opacity: 1;
    transform: scaleY(1) translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark .glass-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-section.active {
    opacity: 1;
    transform: translateY(0);
}

.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 320px;
    filter: blur(2px);
    transition: 0.5s;
}

.swiper-slide-active {
    filter: blur(0px);
}

#about-type-2 + .typed-cursor {
    color: #6366f1;
    font-weight: bold;
}

@keyframes hover-edge-tl {
    0%, 100% { transform: translate(0px, 0px) rotate(12deg) scale(1); }
    50% { transform: translate(15px, 10px) rotate(16deg) scale(1.05); }
}

@keyframes hover-edge-br {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg) scale(1); }
    50% { transform: translate(-15px, -10px) rotate(-5deg) scale(1.05); }
}

@keyframes hover-edge-mid {
    0%, 100% { transform: translateY(0px) rotate(-45deg); }
    50% { transform: translateY(-15px) rotate(-35deg); }
}

.animate-hover-tl {
    animation: hover-edge-tl 6s ease-in-out infinite;
}

.animate-hover-br {
    animation: hover-edge-br 7s ease-in-out infinite;
}

.animate-hover-mid {
    animation: hover-edge-mid 8s ease-in-out infinite;
}