/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background: linear-gradient(135deg, 
        #0d0d0d 0%, 
        #1a1a1a 25%,
        #2a2a2a 50%,
        #1a1a1a 75%,
        #0d0d0d 100%);
    background-attachment: fixed;
    background-size: 400% 400%;
    color: #ffffff;
    line-height: 1.5;
    font-size: 15px; /* 全局缩小字体基础大小 */
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(255, 215, 0, 0.05) 0%, 
        transparent 50%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.03) 50%,
        transparent 100%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 星星效果 */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    background-color: #ffd700;
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.8),
                    0 0 30px rgba(255, 215, 0, 0.4);
    }
}

/* Header Styles */
.site-header {
    text-align: center;
    padding: 30px 0 20px 0;
    background: linear-gradient(135deg, 
        #1a1a1a 0%, 
        #2a2a2a 50%,
        #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 4px 16px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

/* 页头星星效果 */
.header-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.header-star {
    position: absolute;
    background-color: #ffd700;
    border-radius: 50%;
    animation: headerTwinkle var(--duration) ease-in-out infinite;
}

@keyframes headerTwinkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.8),
                    0 0 30px rgba(255, 215, 0, 0.4);
    }
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 215, 0, 0.6) 25%,
        rgba(255, 215, 0, 0.9) 50%,
        rgba(255, 215, 0, 0.6) 75%,
        transparent 100%);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.logo-container {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.logo-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(135deg, 
        #ffd700 0%, 
        #ffb800 25%,
        #ffaa00 50%,
        #ffcc00 75%,
        #ffd700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3),
                 0 0 15px rgba(255, 215, 0, 0.2);
    position: relative;
    display: inline-block;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    padding: 0 50px;
    animation: textGradient 4s ease infinite;
}

@keyframes textGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.logo-container h1::before,
.logo-container h1::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 4px;
    border-radius: 2px;
    transition: width 0.3s ease, left 0.3s ease, right 0.3s ease;
}

.logo-container h1::before {
    left: 10px;
    background: linear-gradient(90deg, transparent, #ffd700, #ffaa00);
}

.logo-container h1::after {
    right: 10px;
    background: linear-gradient(90deg, #ffaa00, #ffd700, transparent);
}

.logo-container h1:hover::before {
    width: 50px;
    left: -10px;
}

.logo-container h1:hover::after {
    width: 50px;
    right: -10px;
}

@keyframes logoGlow {
    0%, 100% {
        text-shadow: 0 6px 20px rgba(255, 215, 0, 0.6),
                     0 3px 8px rgba(0, 0, 0, 0.4),
                     0 0 30px rgba(255, 215, 0, 0.3);
    }
    50% {
        text-shadow: 0 8px 24px rgba(255, 215, 0, 0.8),
                     0 4px 12px rgba(0, 0, 0, 0.5),
                     0 0 40px rgba(255, 215, 0, 0.4);
    }
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        background-position: 0% 50%;
    }
    50% {
        transform: scale(1.03);
        background-position: 100% 50%;
    }
}

@keyframes logoGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.banner {
    color: #ffd700;
    padding: 10px 0;
    font-size: 1.1rem;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        rgba(255, 184, 0, 0.05) 50%,
        rgba(255, 215, 0, 0.1) 100%);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5),
                 0 0 10px rgba(255, 215, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* 顶部导航栏样式 */
.top-navigation {
    background: linear-gradient(135deg, 
        #2a2a2a 0%, 
        #333333 30%,
        #2a2a2a 60%,
        #3a3a3a 100%);
    background-size: 200% 200%;
    padding: 0 10px;
    margin: 0 auto 0px;
    max-width: 1180px;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5), 
                0 8px 24px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.15),
                0 0 40px rgba(255, 215, 0, 0.15);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    width: calc(100% - 20px);
    animation: gradientShift 8s ease-in-out infinite;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.top-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 215, 0, 0.7) 25%,
        rgba(255, 215, 0, 1) 50%,
        rgba(255, 215, 0, 0.7) 75%,
        transparent 100%);
    animation: shimmer 4s ease-in-out infinite;
    z-index: 1;
}

.top-navigation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.05) 0%, 
        transparent 50%,
        rgba(255, 215, 0, 0.05) 100%);
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.top-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 215, 0, 0.6) 25%,
        rgba(255, 215, 0, 0.9) 50%,
        rgba(255, 215, 0, 0.6) 75%,
        transparent 100%);
    animation: shimmer 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.top-navigation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, 
        rgba(255, 255, 255, 0.15) 0%, 
        transparent 50%);
    pointer-events: none;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(30px);
    border-radius: 12px;
    position: relative;
    z-index: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-btn {
    flex: 1;
    max-width: 180px;
    padding: 16px 20px;
    background: linear-gradient(145deg, 
        #333333 0%, 
        #2a2a2a 50%,
        #333333 100%);
    color: #ffffff;
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 16px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: "Microsoft YaHei", Arial, sans-serif;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4),
                0 3px 10px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.15),
                0 0 20px rgba(255, 215, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    backdrop-filter: blur(10px);
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 215, 0, 0.8) 25%,
        rgba(255, 215, 0, 1) 50%,
        rgba(255, 215, 0, 0.8) 75%,
        transparent 100%);
    border-radius: 16px 16px 0 0;
    z-index: 1;
}

.nav-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 215, 0, 0.6) 50%,
        transparent 100%);
    border-radius: 0 0 16px 16px;
    transition: all 0.4s ease;
    z-index: 1;
}

/* 星星效果 */
.nav-btn.active {
    position: relative;
}

.nav-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 215, 0, 0.8) 25%,
        rgba(255, 215, 0, 1) 50%,
        rgba(255, 215, 0, 0.8) 75%,
        transparent 100%);
    border-radius: 16px 16px 0 0;
    z-index: 1;
}

.nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        #ffd700 0%, 
        #ffb800 30%,
        #ffaa00 60%,
        #ffd700 100%);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    z-index: 1;
}



@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.nav-btn span {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.nav-btn i {
    font-size: 1.25rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-btn:hover {
    background: linear-gradient(145deg, 
        #444444 0%, 
        #333333 50%,
        #444444 100%);
    color: #ffd700;
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
                0 5px 15px rgba(255, 215, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                0 0 25px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.7);
}

.nav-btn:hover::after {
    width: 80%;
}

.nav-btn:hover span {
    transform: translateY(-3px);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.nav-btn:hover i {
    transform: scale(1.3) rotate(12deg) translateY(-3px);
    color: #ffd700;
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.5));
}

.nav-btn:active {
    transform: translateY(-3px) scale(0.98);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4),
                0 3px 10px rgba(255, 215, 0, 0.3),
                inset 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.1s ease;
}

.nav-btn.active {
    background: linear-gradient(145deg, 
        #ffd700 0%, 
        #ffb800 30%,
        #ffaa00 60%,
        #ffd700 100%);
    background-size: 200% 200%;
    color: #1a1a1a;
    position: relative;
    box-shadow: 0 12px 36px rgba(255, 215, 0, 0.6),
                0 6px 18px rgba(255, 184, 0, 0.4),
                inset 0 2px 0 rgba(255, 255, 255, 0.8),
                inset 0 -2px 0 rgba(255, 170, 0, 0.5),
                0 0 30px rgba(255, 215, 0, 0.4);
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.7),
                 0 0 15px rgba(255, 215, 0, 0.5);
    border-color: rgba(255, 215, 0, 1);
    transform: translateY(-5px) scale(1.05);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: activePulse 2s ease-in-out infinite;
}

.nav-btn.active {
    position: relative;
}

.nav-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 215, 0, 0.8) 25%,
        rgba(255, 215, 0, 1) 50%,
        rgba(255, 215, 0, 0.8) 75%,
        transparent 100%);
    border-radius: 16px 16px 0 0;
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes activePulse {
    0%, 100% {
        transform: translateY(-5px) scale(1.05);
    }
    50% {
        transform: translateY(-7px) scale(1.07);
    }
}

.nav-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 215, 0, 0.8) 25%,
        rgba(255, 215, 0, 1) 50%,
        rgba(255, 215, 0, 0.8) 75%,
        transparent 100%);
    border-radius: 16px 16px 0 0;
}

.nav-btn.active::after {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        #ffd700 0%, 
        #ffb800 30%,
        #ffaa00 60%,
        #ffd700 100%);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.nav-btn.active i {
    color: #1a1a1a;
    transform: scale(1.3);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.7));
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(1.4) translateY(-2px) rotate(5deg);
    }
}

/* 页面内容区域 */
.page-content {
    display: none;
}

.page-content.active {
    display: block;
}

/* 占位页面样式 */
.page-placeholder {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-placeholder h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 15px;
}

.page-placeholder p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* 统一容器 - 包含搜索框和主内容区 */
.unified-container {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 10px;
    box-sizing: border-box;
    width: calc(100% - 20px);
}

/* 控件布局 - 新的布局结构 */
.controls-layout {
    display: flex;
    margin-bottom: 0; /* 移除底部间距 */
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, 
        #333333 0%, 
        #3a3a3a 100%);
}

/* 侧边栏宽度容器 */
.sidebar-width {
    width: 200px; /* 与侧边栏宽度一致 */
    flex-shrink: 0; /* 防止收缩 */
    padding-right: 0; /* 移除右侧间距 */
    position: relative;
}

.sidebar-width::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.3) 50%,
        transparent 100%);
}

/* 安装教程按钮样式 */
.tutorial-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 0;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    width: 100%; /* 占满容器宽度 */
    height: 48px; /* 增加高度，更舒适 */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tutorial-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    transition: left 0.6s ease;
    z-index: -1;
}

.tutorial-button:hover::before {
    left: 100%;
}

.tutorial-button i {
    margin-right: 8px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.tutorial-button:hover i {
    transform: rotate(15deg) scale(1.1);
}

.tutorial-button:hover {
    background: linear-gradient(135deg, #ffcc00 0%, #ffd700 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    letter-spacing: 1px;
}

/* 搜索区域 */
.search-area {
    flex: 1; /* 占据剩余空间 */
    position: relative;
}

.search-container-full {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    height: 100%;
}

.search-box-full {
    display: flex;
    background: linear-gradient(135deg, 
        #3a3a3a 0%, 
        #333333 100%);
    border-radius: 0;
    border: none;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
    height: 48px; /* 与教程按钮高度一致 */
    width: 100%; /* 占满容器宽度 */
    position: relative;
}

.search-box-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        transparent 50%,
        rgba(255, 215, 0, 0.1) 100%);
    pointer-events: none;
}

.search-box-full:focus-within {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(255, 215, 0, 0.2);
}

.search-box-full input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.search-box-full input::placeholder {
    color: #888888;
    font-style: italic;
    letter-spacing: 1px;
}

.search-box-full button {
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
    color: #1a1a1a;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.search-box-full button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    transition: left 0.6s ease;
    z-index: -1;
}

.search-box-full button:hover::before {
    left: 100%;
}

.search-box-full button i {
    font-size: 1.1rem;
    margin-right: 8px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.search-box-full button:hover i {
    transform: scale(1.1) rotate(15deg);
}

.search-box-full button:hover {
    background: linear-gradient(135deg, #ffcc00 0%, #ffd700 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    letter-spacing: 1px;
}

/* Main Layout */
.main-container {
    display: flex;
    width: 100%;
    background: linear-gradient(135deg, 
        #333333 0%, 
        #2a2a2a 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 4px 16px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    margin-top: 0; /* 确保与上方控件无缝连接 */
    position: relative;
}

.main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.3) 50%,
        transparent 100%);
}

/* Sidebar Styles */
.sidebar {
    width: 200px; /* 缩小侧边栏宽度 */
    background: linear-gradient(135deg, 
        #3a3a3a 0%, 
        #333333 100%);
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3),
                inset -1px 0 0 rgba(255, 215, 0, 0.1);
    flex-shrink: 0; /* 防止侧边栏收缩 */
    min-height: 500px; /* 确保侧边栏有足够的高度 */
    position: relative;
    overflow: hidden;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.2) 50%,
        transparent 100%);
}

.sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.05) 0%, 
        transparent 50%,
        rgba(255, 215, 0, 0.05) 100%);
    pointer-events: none;
}

/* 原侧边栏教程按钮样式 - 不再使用但保留代码 */
.sidebar-tutorial-container {
    display: none; /* 隐藏旧的侧边栏教程按钮 */
}

/* 原搜索框样式保留，但不使用 */
.search-container {
    padding: 15px;
    margin-bottom: 10px;
    background-color: #f0f3f6;
    border-bottom: 1px solid #eee;
    display: none; /* 隐藏原搜索框 */
}

/* 软件分类列表样式 - 简化版 */
.category-list {
    list-style: none;
    position: relative;
    z-index: 1;
}

.category-list li {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
}

.category-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.1) 50%,
        transparent 100%);
    transition: left 0.6s ease;
    z-index: -1;
}

.category-list li:hover::before {
    left: 100%;
}

.category-list li:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0.05) 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.category-list li.active {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.2) 0%, 
        rgba(255, 184, 0, 0.15) 50%,
        rgba(255, 215, 0, 0.2) 100%);
    color: #ffd700;
    font-weight: 700;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3),
                inset 0 0 15px rgba(255, 215, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateX(12px);
    letter-spacing: 1px;
}

/* 为活跃项添加左侧金黄色指示条 */
.category-list li.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, 
        #ffd700 0%, 
        #ffb800 50%,
        #ffd700 100%);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6),
                0 0 25px rgba(255, 215, 0, 0.3);
    z-index: 2;
}

/* 为活跃项添加右侧装饰效果 */
.category-list li.active::after {
    content: '✨';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0.8;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-50%) scale(1.2);
        opacity: 1;
    }
}

/* Content Styles */
.content {
    flex: 1;
    padding: 25px;
    background: linear-gradient(135deg, 
        #2a2a2a 0%, 
        #252525 100%);
    position: relative;
    overflow: hidden;
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.03) 0%, 
        transparent 50%,
        rgba(255, 215, 0, 0.03) 100%);
    pointer-events: none;
}

/* 软件列表布局 - 单列 */
.software-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: fadeInUp 1s ease-out;
}

.software-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3),
                0 1px 2px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(135deg, 
        #333333 0%, 
        #2a2a2a 100%);
    position: relative;
}

.software-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.3) 50%,
        transparent 100%);
}

.software-item:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 4px 16px rgba(255, 215, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.3);
}

.software-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, 
        #3a3a3a 0%, 
        #333333 100%);
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 3px solid transparent;
    overflow: hidden;
}

.software-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.1) 50%,
        transparent 100%);
    transition: left 0.6s ease;
}

.software-header:hover::before {
    left: 100%;
}

.software-header:hover {
    background: linear-gradient(135deg, 
        #444444 0%, 
        #3a3a3a 100%);
    border-left-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.software-item.expanded .software-header {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.15) 0%, 
        rgba(255, 184, 0, 0.1) 50%,
        rgba(255, 215, 0, 0.15) 100%);
    border-left-color: #ffd700;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.25),
                inset 0 0 15px rgba(255, 215, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.software-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    object-fit: contain;
    background: linear-gradient(135deg, 
        #444444 0%, 
        #3a3a3a 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.software-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        transparent 50%,
        rgba(255, 215, 0, 0.1) 100%);
    border-radius: 8px;
    pointer-events: none;
}

.software-header:hover .software-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.software-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.software-header:hover .software-name {
    color: #ffd700;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
    transform: translateX(8px);
}

.software-item.expanded .software-name {
    color: #ffd700;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

.dropdown-icon {
    color: #888888;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-left: 12px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.software-header:hover .dropdown-icon {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    transform: scale(1.2);
}

.software-item.expanded .dropdown-icon {
    color: #ffd700;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.8),
                 0 0 24px rgba(255, 215, 0, 0.4);
    transform: scale(1.3);
    animation: starPulse 1.5s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1.3);
        opacity: 1;
        text-shadow: 0 0 12px rgba(255, 215, 0, 0.8),
                     0 0 24px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.5);
        opacity: 0.8;
        text-shadow: 0 0 20px rgba(255, 215, 0, 1),
                     0 0 40px rgba(255, 215, 0, 0.6),
                     0 0 60px rgba(255, 215, 0, 0.3);
    }
}

/* 搜索结果消息动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 版本高亮动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Software Content (展开/折叠部分) - 移除动画 */
.software-content {
    display: none; /* 默认隐藏，不使用max-height动画 */
    background: linear-gradient(135deg, 
        #3a3a3a 0%, 
        #333333 100%);
    padding: 10px 15px;
    position: relative;
}

.software-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.3) 50%,
        transparent 100%);
}

.software-content.show {
    display: block; /* 显示时直接显示，不使用动画 */
}

/* 版本列表 - 两列布局 */
.software-versions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.version-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, 
        #444444 0%, 
        #3a3a3a 100%);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-height: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.version-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.1) 50%,
        transparent 100%);
    transition: left 0.6s ease;
}

.version-item:hover::before {
    left: 100%;
}

.version-item:hover {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.15) 0%, 
        rgba(255, 184, 0, 0.1) 50%,
        rgba(255, 215, 0, 0.15) 100%);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.version-info {
    display: flex;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.version-name {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.version-item:hover .version-name {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.download-links {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.download-btn {
    display: inline-block;
    padding: 6px 12px;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.75rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    min-width: 60px;
    text-align: center;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%);
    transition: left 0.6s ease;
    z-index: -1;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

.download-btn.thunder {
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
}

.download-btn.thunder:hover {
    background: linear-gradient(135deg, #ffcc00 0%, #ffd700 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.download-btn.quark {
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
}

.download-btn.quark:hover {
    background: linear-gradient(135deg, #ffcc00 0%, #ffd700 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.download-btn.baidu {
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
}

.download-btn.baidu:hover {
    background: linear-gradient(135deg, #ffcc00 0%, #ffd700 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.download-btn.jiaocheng {
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
    color: #1a1a1a;
}

.download-btn.jiaocheng:hover {
    background: linear-gradient(135deg, #ffcc00 0%, #ffd700 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, 
        #1a1a1a 0%, 
        #0d0d0d 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.5) 50%,
        transparent 100%);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.05) 0%, 
        transparent 50%,
        rgba(255, 215, 0, 0.05) 100%);
    pointer-events: none;
}

.site-footer p {
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.site-footer .disclaimer {
    font-size: 0.85rem;
    color: #bdc3c7;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.8;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.site-footer .copyright {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #ffd700;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Responsive Styles - 优化移动端 */
@media (max-width: 980px) {
    .software-versions {
        grid-template-columns: 1fr;
    }
}

/* 移动端响应式样式调整 */
@media (max-width: 768px) {
    /* 禁用移动端的动画效果，提高性能 */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    body::after {
        background: none;
    }

    .logo-container h1 {
        font-size: 1.8rem; /* 移动端缩小标题 */
        animation: none;
        text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
    }

    .top-navigation {
        border-radius: 8px;
        margin-bottom: 2px;
        padding: 0 5px;
        max-width: 100%;
        animation: none;
    }

    .top-navigation::before {
        height: 2px;
        animation: none;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 5px;
        padding: 6px;
        animation: none;
    }

    .nav-btn {
        flex: 1 1 calc(50% - 3px);
        max-width: none;
        font-size: 0.8rem;
        padding: 10px 12px;
        border-radius: 6px;
        gap: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        border-width: 1px;
        animation: none;
        transform: none;
    }

    .nav-btn i {
        font-size: 1.1rem;
        animation: none;
        transform: none;
    }

    .nav-btn span {
        display: inline-block;
    }

    .nav-btn:nth-child(5) {
        flex: 1 1 100%;
        margin-top: 3px;
    }

    .nav-btn:hover {
        transform: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .nav-btn.active {
        box-shadow: 0 2px 4px rgba(255, 215, 0, 0.4);
        transform: none;
        animation: none;
    }

    .nav-btn.active::after {
        height: 2px;
        width: 50%;
    }

    /* 控件布局在移动端改为垂直排列 */
    .controls-layout {
        flex-direction: column;
    }

    .sidebar-width {
        width: 100%;
        padding-right: 0;
        margin-bottom: 0; /* 确保与搜索框无缝衔接 */
    }

    .tutorial-button {
        height: 38px; /* 移动端按钮高度稍小 */
        border-radius: 4px 4px 0 0; /* 移动端两个上角都有圆角 */
        animation: none;
    }

    .tutorial-button:hover {
        transform: none;
        box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
    }

    .search-area {
        width: 100%;
    }

    .search-box-full {
        height: 38px;
        border-radius: 0 0 4px 4px; /* 移动端两个下角都有圆角 */
        border-left: 1px solid #444444; /* 移动端恢复左侧边框 */
        border-top: none; /* 移动端移除上边框 */
    }

    .search-box-full button {
        min-width: auto;
        padding: 0 10px;
        animation: none;
    }

    .search-box-full button:hover {
        transform: none;
        box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
    }

    .search-box-full button span {
        display: none; /* 隐藏按钮文字，只保留图标 */
    }

    .search-box-full button i {
        margin-right: 0;
        animation: none;
        transform: none;
    }

    .main-container {
        margin: 0px 0 0; /* 移动端与上方控件有一定间隔 */
        /* 移动端保持左侧菜单右侧软件的结构 */
        flex-direction: row;
        border-radius: 4px; /* 恢复四角圆角 */
    }

    .sidebar {
        width: 35%; /* 移动端减小侧边栏宽度 */
        min-width: 120px;
    }

    .category-list li {
        padding: 10px 8px;
        font-size: 0.9rem;
        animation: none;
    }

    .category-list li:hover {
        transform: none;
        box-shadow: none;
    }

    .category-list li.active {
        transform: none;
        box-shadow: none;
    }

    .content {
        width: 65%;
        padding: 10px 8px;
    }

    .content::before {
        background: none;
    }

    .software-header {
        padding: 10px 8px;
        animation: none;
    }

    .software-header:hover {
        transform: none;
        box-shadow: none;
    }

    .software-name {
        font-size: 0.9rem;
        animation: none;
    }

    .software-name:hover {
        transform: none;
        text-shadow: none;
    }

    .software-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
        animation: none;
    }

    .software-icon:hover {
        transform: none;
        box-shadow: none;
    }

    .dropdown-icon {
        animation: none;
    }

    .dropdown-icon:hover {
        transform: none;
        text-shadow: none;
    }

    .software-item:hover {
        transform: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .software-versions {
        grid-template-columns: 1fr;/* 移动端一列显示 */
    }

    .version-item {
       padding: 8px;
       flex-direction: column;
       align-items: flex-start;
       animation: none;
    }

    .version-item:hover {
        transform: none;
        box-shadow: none;
    }

    .download-links {
        margin-top: 6px;
        width: 100%;
        justify-content: space-between;
    }

    .download-btn {
        flex: 1;
        text-align: center;
        padding: 5px 6px; /* 调整移动端按钮高度以便点击 */
        animation: none;
    }

    .download-btn:hover {
        transform: none;
        box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
    }
}

/* 针对小屏手机的优化 */
@media (max-width: 480px) {
    /* 禁用小屏手机的动画效果，进一步提高性能 */
    * {
        animation: none !important;
        transition: none !important;
    }

    .logo-container h1 {
        font-size: 1.6rem;
        animation: none;
    }

    .banner {
        font-size: 0.7rem;
        padding: 5px 0;
        animation: none;
    }

    .tutorial-button {
        font-size: 0.8rem;
        padding: 6px;
        animation: none;
    }

    .search-box-full input {
        padding: 6px;
        font-size: 0.9rem;
    }

    .sidebar {
        width: 38%; /* 小屏幕稍微调整比例 */
        min-width: 90px;
    }

    .content {
        width: 62%;
    }

    .category-list li {
        padding: 6px 4px;
        font-size: 0.75rem;
        animation: none;
    }

    .software-name {
        font-size: 0.8rem;
        animation: none;
    }

    .software-icon {
        width: 16px;
        height: 16px;
        margin-right: 4px;
        animation: none;
    }

    .download-btn {
        font-size: 0.65rem;
        padding: 3px 4px;
        animation: none;
    }

    /* 简化小屏手机的布局，提高性能 */
    .nav-btn {
        font-size: 0.7rem;
        padding: 8px 10px;
    }

    .nav-btn i {
        font-size: 1rem;
    }

    .software-header {
        padding: 8px 6px;
    }

    .version-item {
        padding: 6px;
    }

    .download-links {
        gap: 4px;
    }
}
