html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    background: #000;
    min-height: 100vh;
    color: #fff;
    font-family: system-ui, sans-serif;
}

body {
    position: relative;
    overflow-y: overlay;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    opacity: 0;
    animation: fadeIn 0.3s ease-in forwards;
}

/* 添加淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 添加一个遮罩层来实现发光效果 */
.grid-mask {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.12),
        transparent 40%
    );
}

/* 调整网格背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    opacity: 0.3;
}

/* 添加第二层网格 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 100px 100px;
    z-index: 0;
    opacity: 0.3;
}

.header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding: 60px 0 40px;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(255,255,255,0.01), transparent);
}

/* 添加几何背景装饰 */
.header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    margin: 0;
    padding: 0;
}

#geometryAnimation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

/* 添加渐变遮罩 */
.header-decoration::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, 1)
    );
    pointer-events: none;
}

.wave {
    position: absolute;
    width: 200%;
    height: 150%;
    background: linear-gradient(
        transparent 50%,
        rgba(255, 255, 255, 0.05) 51%,
        transparent 52%
    );
    background-size: 100% 20px;
    transform: translateY(-50%);
    animation: waveMove 10s linear infinite;
}

@keyframes waveMove {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

.header h1 {
    font-size: 48px;
    margin-bottom: 16px;
    background: linear-gradient(to bottom, #393939 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-weight: bold;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.header p {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 20px;
    animation: subtitleFloat 3s ease-in-out infinite 0.2s;
}

@keyframes subtitleFloat {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 1134px !important;
    max-width: 1134px !important;
    margin: 0 auto;
}

.cards-grid .card-item {
    position: relative;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 24px;
    padding: 32px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    z-index: 1;
    border: none;
}

/* 调整渐变描边效果 */
.card-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px; /* 减小边框粗细 */
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.1),  /* 更柔和的白色 */
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.3)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    background-size: 300% 100%;
    animation: moveGradient 8s linear infinite;
}

/* 调整发光效果 */
.card-item::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.2)
    );
    opacity: 0;
    filter: blur(16px);
    transition: opacity 0.3s;
}

/* 修改边框动画 */
@keyframes moveGradient {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 300% 0%;
    }
}

/* 悬停效果调整 */
.card-item:hover::before {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.4)
    );
    animation: moveGradient 3s linear infinite;
}

.card-item:hover::after {
    opacity: 0.1;
}

/* 添加四角光效 */
.card-item .corner {
    position: absolute;
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.card-item .corner::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.15),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s;
}

.card-item .corner-top-left { top: 0; left: 0; }
.card-item .corner-top-right { top: 0; right: 0; }
.card-item .corner-bottom-left { bottom: 0; left: 0; }
.card-item .corner-bottom-right { bottom: 0; right: 0; }

.card-item:hover .corner::before {
    opacity: 1;
}

.cards-grid .card-item .card-content {
    position: relative;
    z-index: 2;
}

.cards-grid .card-item * {
    box-sizing: border-box;
}

.card-text {
    transform-style: preserve-3d;
    transform: translateZ(80px);
}

.card-text h3 {
    font-size: 24px;
    margin: 0 0 12px 0;
    background: linear-gradient(to bottom, #393939 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateZ(10px);
}

.card-text p {
    color: #94a3b8;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.card-image {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateZ(100px);
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 新的按钮样式 - 方案1：极简科技风 */
.card-button {
    position: relative;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(60px);
    backdrop-filter: blur(10px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 添加内部光晕效果 */
.card-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

/* 添加外发光效果 */
.card-button::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05) 30%,
        rgba(255, 255, 255, 0.1)
    );
    border-radius: inherit;
    transition: opacity 0.4s ease;
    opacity: 0;
}

/* 悬停效果 */
.card-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateZ(60px) translateY(-2px);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.05),
        0 0 30px rgba(255, 255, 255, 0.03),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
}

.card-button:hover::before {
    transform: translateX(0);
}

.card-button:hover::after {
    opacity: 1;
}

/* 点击效果 */
.card-button:active {
    transform: translateZ(60px) translateY(0);
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(255, 255, 255, 0.03),
        inset 0 0 10px rgba(255, 255, 255, 0.04);
}

/* 按钮文字样式 */
.card-button span {
    position: relative;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 1)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

/* 添加微光动画 */
@keyframes glow {
    0%, 100% {
        box-shadow: 
            0 0 15px rgba(255, 255, 255, 0.03),
            0 0 30px rgba(255, 255, 255, 0.02);
    }
    50% {
        box-shadow: 
            0 0 25px rgba(255, 255, 255, 0.05),
            0 0 50px rgba(255, 255, 255, 0.03);
    }
}

.card-button:hover {
    animation: glow 3s infinite;
}

.card-hover-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
}

.card-item:hover .card-hover-effect {
    opacity: 1;
}

.card-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.03)
    );
    transform: perspective(1000px) translateZ(10px);
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 32px;
    }
    
    .header p {
        font-size: 14px;
    }
}

@keyframes spotlight {
    0% {
        opacity: 0;
        transform: translate(-72%, -80%) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -70%) scale(1);
    }
}

.animate-spotlight {
    animation: spotlight 2s ease .75s 1 forwards;
}

/* 添加 Spotlight 容器样式 */
.spotlight-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

#spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 添加噪点背景图片类 */
.noise-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./image/Arrow\ Dynamics\ –\ Framer\ Library\ to\ build\ Interactive\ Animations.png'); /* 替换为你的噪点图片路径 */
    background-repeat: repeat;
    opacity: 0.35; /* 调整透明度使噪点效果更微妙 */
    mix-blend-mode: overlay; /* 使用叠加混合模式 */
    pointer-events: none; /* 确保不会影响卡片的交互 */
    z-index: 1;
}

/* 修改卡片样式 */
.cards-grid .card-item {
    position: relative;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 24px;
    padding: 32px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    z-index: 1;
}

/* 确保卡片内容在噪点层之上 */
.cards-grid .card-item .card-content {
    position: relative;
    z-index: 2;
}

/* 调整卡片内容布局 */
.card-content {
    display: flex;
    flex-direction: column;
    gap: 12px; /* 从24px改为12px */
}

.card-text {
    margin-bottom: 12px; /* 从24px改为12px */
}

.card-image {
    margin-bottom: 12px; /* 从24px改为12px */
}

/* 或者如果你想保持现有的样式，只调整特定间距，可以这样写：*/
.card-image {
    margin-bottom: 12px; /* 从24px改为12px */
}

/* 可以添加hover果让描边更明显 */
.card-item:hover .card-image {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* 悬浮球样式 */
.floating-button {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* 发光边框效果 */
.floating-button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.1)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate 4s linear infinite;
}

/* 内部光效 */
.floating-button::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    animation: pulse 2s ease-out infinite;
}

/* 按钮容容器 */
.button-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* 动画定义 */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* 悬停效果 */
.floating-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.1),
        0 0 40px rgba(255, 255, 255, 0.05);
}

.floating-button:hover .button-content {
    color: rgba(255, 255, 255, 1);
    background: rgba(0, 0, 0, 0.3);
}

/* 点击效果 */
.floating-button:active {
    transform: translateY(0) scale(0.95);
}

/* 添加波纹效果 */
.floating-button .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.5;
    animation: ripple 1s ease-out infinite;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* 降低背景遮罩的不透明度 */
    backdrop-filter: blur(10px);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 400px;
    margin: auto;
    background: rgba(20, 20, 20, 0.6); /* 降低背景不透明度 */
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 0 40px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.8);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* 添加内部光效 */
.modal-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 0%, 
        rgba(255, 255, 255, 0.1),
        transparent 70%
    );
    opacity: 0.5;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    position: relative;
    padding: 20px 20px 0 20px;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.02);
}

.modal-header h3 {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

.close-button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.close-button:hover {
    color: rgba(255, 255, 255, 0.8);
}

.modal-body {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.01);
}

.qr-code {
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: white;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.qr-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 16px;
    text-align: center;
}

/* Tab 样式 */
.tabs {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
}

.tab-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    font-weight: 500;
    padding: 0 0 8px 0;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0.2)
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tab-btn.active {
    color: rgba(255, 255, 255, 1);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Tab 内容样式 */
.tab-content {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 30px;
}

.tab-content.active {
    display: flex;
}

/* 显示动画 */
.modal.show .modal-content {
    transform: scale(1);
}

/* 适配移动端 */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .qr-code {
        max-width: 180px;
    }
}

.gradient-text {
    display: inline-block;
    position: relative;
    /* 修改渐变始颜色从纯黑(#000000)改为深灰(#333333) */
    background: linear-gradient(to bottom, #333333 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 8px;
    transition: all 0.3s ease;
}

/* 悬浮时的渐变效果也相应调整 */
.gradient-text:hover {
    transform: translateY(-2px);
    background: linear-gradient(to bottom, #444444 20%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 添加响应式布局 */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.particle-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    z-index: 0;
}

.header {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    min-height: 200px;
}

/* 确保标题在粒子效果上层 */
.header h1, .header p {
    position: relative;
    z-index: 1;
}

/* 添加 TAB 筛选样式 */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.filter-tab {
    padding: 8px 16px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.filter-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.filter-tab:hover::before {
    transform: translateX(100%);
}

.filter-tab.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.1),
        inset 0 0 15px rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
    font-weight: 600;
}

/* 添加底部发光线条 */
.filter-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    animation: tabGlow 2s ease-in-out infinite;
}

/* 添加发光动画 */
@keyframes tabGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* 悬停效果 */
.filter-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

/* 点击效果 */
.filter-tab:active {
    transform: translateY(0);
    transition: transform 0.1s;
}

/* 添加卡片动画效果 */
.card-item {
    transition: all 0.3s ease-in-out;
    opacity: 1;
    transform: scale(1);
}

.card-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute; /* 防止占用空间 */
    visibility: hidden; /* 完全隐藏 */
}

@media (max-width: 768px) {
    .filter-tabs {
        gap: 6px;
    }
    
    .filter-tab {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* 修改移动端适配样式 */
@media (max-width: 1200px) {
    .container {
        padding: 20px;
    }

    .cards-grid {
        width: calc(100% - 40px) !important; /* 减去左右padding */
        max-width: 100% !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin: 0 auto; /* 居中显示 */
        padding: 0; /* 移除内边距 */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .cards-grid {
        width: calc(100% - 30px) !important; /* 减去左右padding */
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 0 auto;
    }

    .header {
        padding: 30px 0;
    }

    .header h1 {
        font-size: 32px;
    }

    .header p {
        font-size: 14px;
        padding: 0 20px;
    }

    .filter-tabs {
        gap: 8px;
        padding: 0 10px;
        margin-bottom: 20px;
    }

    .filter-tab {
        padding: 6px 12px;
        font-size: 12px;
    }

    .card-item {
        padding: 20px;
    }

    .card-text h3 {
        font-size: 20px;
    }

    .card-text p {
        font-size: 13px;
    }

    .card-image {
        height: 160px;
    }

    .card-button {
        padding: 10px 20px;
    }
}

/* 添加小屏幕适配 */
@media (max-width: 480px) {
    .header h1 {
        font-size: 28px;
    }

    .filter-tabs {
        gap: 6px;
    }

    .filter-tab {
        padding: 5px 10px;
        font-size: 11px;
    }

    .card-item {
        padding: 16px;
    }

    .card-image {
        height: 140px;
    }
}

/* 添加横屏模式适配 */
@media (max-width: 1200px) and (orientation: landscape) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}