* {cpu-z.download-btn span
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* 按钮组布局 */
.button-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* 详情按钮样式 */
.detail-btn {
    flex: 0 0 auto;
    padding: 10px 15px;
    background: #2d2d2d;
    color: #ccc;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s;
    cursor: pointer;
    text-align: center;
    min-width: 80px;
}

.detail-btn:hover {
    background: #3d3d3d;
}

/* 下载按钮样式 */
.download-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background: #4a8cff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
    cursor: pointer;
    text-align: center;
    margin-left: 10px;
    min-height: 50px;
}

.download-btn:hover {
    background: #3a7ce0;
}

.download-btn:disabled {
    background: #555;
    cursor: not-allowed;
}

/* 密码提示样式 */
.password-hint {
    font-size: 12px;
    color: #f7f3f3;
    margin-top: 4px;
    font-weight: normal;
    display: block;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .button-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .download-btn {
        margin-left: 0;
        width: 100%;
    }
    
    .detail-btn {
        width: 100%;
    }
}
.download-btn span {
    display: block !important;
    font-size: 12px !important;
    color: #f7f3f3 !important;
    margin-top: 4px !important;
}
body {
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #333;
    margin-bottom: 30px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
}

.logo span {
    color: #4a8cff;
}

.search-box {
    display: flex;
    width: 50%;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 4px 0 0 4px;
    color: #fff;
    outline: none;
}

.search-box button {
    padding: 12px 20px;
    background: #4a8cff;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4a8cff;
}

.main-content {
    display: flex;
    gap: 30px;
    min-height: 600px;
}

.sidebar {
    flex: 0 0 250px;
    background: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
}

.categories h2 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #fff;
}

.category-list {
    list-style: none;
}

.category-list li {
    padding: 10px 0;
    border-bottom: 1px solid #2d2d2d;
    cursor: pointer;
    transition: color 0.3s;
}

.category-list li:hover {
    color: #4a8cff;
}

.category-list li.active {
    color: #4a8cff;
    font-weight: 600;
}

.content-area {
    flex: 1;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.software-card {
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.software-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.software-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.software-description {
    font-size: 14px;
    color: #aaa;
}

.card-details {
    padding: 15px 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.detail-label {
    color: #888;
}

.detail-value {
    color: #ddd;
}

.card-footer {
    padding: 15px 20px;
    background: #252525;
    text-align: center;
}

.download-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #4a8cff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
    cursor: pointer;
}

.download-btn:hover {
    background: #3a7ce0;
}

.detail-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #2d2d2d;
    color: #ccc;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s;
    cursor: pointer;
    margin-right: 10px;
}

.detail-btn:hover {
    background: #3d3d3d;
}

.page-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 14px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.pagination button {
    padding: 8px 15px;
    background: #2d2d2d;
    color: #ccc;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.pagination button:hover {
    background: #3d3d3d;
}

.pagination button.active {
    background: #4a8cff;
    color: white;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 18px;
}

@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        flex: 1;
    }
    
    .search-box {
        width: 100%;
        margin-top: 15px;
    }
    
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-links {
        margin-top: 15px;
        width: 100%;
        justify-content: space-around;
    }
}
/* 密码提示样式 */
.password-hint {
    display: block;
    font-size: 12px;
    color: #f7f3f3;
    margin-top: 4px;
    font-weight: normal;
}

/* 下载按钮容器，用于更好地控制内部元素 */
.download-btn {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

/* 确保密码提示正确显示 */
.card-footer .download-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
