.content-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    width: 80%;
    margin: 0 auto 20px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.news-list {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}

.news-list li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: default;
}

.news-list li:hover {
    background: none;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list-item {
    display: flex;
    gap: 15px;
}

.news-list-img {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
}

.news-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-list-img:hover img {
    transform: scale(1.05);
}

.news-list-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-list-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-list-title a:hover {
    color: #008bff;
}

.news-list-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-meta {
    font-size: 13px;
    color: #999;
}

.news-list-meta span {
    margin-right: 15px;
}

.sidebar {
    width: 320px;
    flex-shrink: 0;
}

.sidebar-section {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-title a {
    font-size: 13px;
    font-weight: normal;
    color: #666;
    text-decoration: none;
}

.sidebar-title a:hover {
    color: #008bff;
}

.sidebar-game-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-game-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.sidebar-game-item:hover .sidebar-game-name {
    color: #008bff;
}

.sidebar-game-icon {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-game-info {
    flex: 1;
    min-width: 0;
}

.sidebar-game-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
    transition: color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-game-size {
    font-size: 12px;
    color: #999;
}

.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-news-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.sidebar-news-item:last-child {
    border-bottom: none;
}

.sidebar-news-item:hover .sidebar-news-title {
    color: #008bff;
}

.sidebar-news-rank {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #f0f0f0;
    color: #666;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
}

.sidebar-news-rank.top3 {
    background: #ff4d4f;
    color: #fff;
}

.sidebar-news-title {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    flex: 1;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination {
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 15px;
    text-align: center;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    color: #666;
    background: #f5f5f5;
}

.pagination a:hover {
    background: #008bff;
    color: #fff;
}

.pagination a.active {
    background: #008bff;
    color: #fff;
}

.pagination a.disabled,
.pagination span.disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .news-list-img {
        width: 150px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .news-list-item {
        flex-direction: column;
    }

    .news-list-img {
        width: 100%;
        height: 180px;
    }

    .news-list-title {
        font-size: 16px;
    }
}

/* 最新应用部分 */
.latest-apps-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    width: 80%;
    margin: 0 auto 20px;
}

.section-title {
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.app-card:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    margin-bottom: 8px;
    object-fit: cover;
}

.app-info {
    width: 100%;
}

.app-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-size {
    font-size: 12px;
    color: #999;
}

/* 回到顶部按钮 */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 9999;
}

.back-to-top-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}