/* style.css */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: white;
    overflow-x: hidden;
}

/* 背景流光动画 */
.bg-glow {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
    z-index: -1;
}

.card-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-glass:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* 鼠标分类发光效果 */
.group-mouse:hover .icon-box {
    color: #38bdf8;
    filter: drop-shadow(0 0 15px #0ea5e9);
}

/* 键盘分类发光效果 */
.group-keyboard:hover .icon-box {
    color: #c084fc;
    filter: drop-shadow(0 0 15px #a855f7);
}

.btn-action {
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.btn-action:active {
    transform: scale(0.95);
}

/* 标题渐变 */
.text-gradient {
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}