.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(135deg, #9d4edd 0%, #4cc9f0 50%, #9d4edd 100%);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.text-gradient-subtle {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(90deg, #a78bfa, #67e8f9);
}
.nav-item {
    position: relative;
    overflow: hidden;
}
.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9d4edd, #4cc9f0);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-item:hover::before,
.nav-item.active::before {
    width: 100%;
}
.hero-bg {
    background: transparent;
}
.btn-primary {
    background: linear-gradient(135deg, #9d4edd 0%, #7c3aed 50%, #6d28d9 100%) !important;
    background-color: #9d4edd !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    opacity: 1;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before {
    left: 100%;
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 40px rgba(157, 78, 221, 0.4), 0 0 0 1px rgba(157, 78, 221, 0.2);
}
.card-hover {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #9d4edd, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.card-hover:hover::before {
    opacity: 1;
}
.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(30, 32, 50, 0.95);
    box-shadow: 
        0 20px 50px rgba(157, 78, 221, 0.15),
        0 0 0 1px rgba(157, 78, 221, 0.1);
}
.icon-glow {
    filter: drop-shadow(0 0 15px rgba(157, 78, 221, 0.5));
    transition: filter 0.4s ease;
}
.card-hover:hover .icon-glow {
    filter: drop-shadow(0 0 25px rgba(157, 78, 221, 0.8));
}
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-left.show {
    opacity: 1;
    transform: translateX(0);
}
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.scale-in.show {
    opacity: 1;
    transform: scale(1);
}
.cursor-light {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157,78,221,0.08) 0%, rgba(76,201,240,0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: transform 0.1s ease-out;
    transform: translate(-50%, -50%);
}
/* 背景容器样式 */
    #background-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: -10;
        overflow: hidden;
    }
    #background-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
body::-webkit-scrollbar {
    display: none;
}