* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}

/* 核心：左右分栏 */
.game-layout {
    display: flex;
    width: 1200px;
    margin: 30px auto;
    gap: 25px;
}

/* 左侧区域 */
.game-left {
    width: 780px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 右侧区域 */
.game-right {
    width: 370px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 游戏主体容器：只做白色卡片，不写任何内部样式 */
.game-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.game-title {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    text-align: center;
}

.game-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #0078ff;
    margin: 10px auto 0;
    border-radius: 3px;
    text-align: center;
}

.game-desc {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.game-desc h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0078ff;
    border-left: 4px solid #0078ff;
    padding-left: 10px;
    font-weight: 600;
}
.game-desc p {
    font-size: 15px;
    color: #475569;
    line-height: 1.5;
    text-indent: 2em;
}

/* 右侧通用卡片 */
.side-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}
.card-title {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
}

/* 热门游戏列表（和截图一致） */
.hot-game-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hot-game-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.hot-game-item:hover {
    background-color: #f0f7ff;
}
.game-icon {
    width: 40px;
    height: 40px;
    background: #e6f4ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #0078ff;
    font-weight: 500;
}
.game-name {
    font-size: 14px;
    font-weight: 500;
}



.game-hot {
    font-size: 12px;
    color: #64748b;
}

/* 玩家排行榜（和截图一致） */
.rank-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rank-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
}
.rank-item:last-child {
    border-bottom: none;
}
.rank-user {
    display: flex;
    align-items: center;
}
.rank-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e6f4ff;
    color: #0078ff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: 500;
}
.rank-num.top1 { background: #fff7e6; color: #fa8c16; }
.rank-num.top2 { background: #f5f5f5; color: #8c8c8c; }
.rank-num.top3 { background: #fff2e8; color: #fa541c; }
.rank-score {
    color: #0078ff;
    font-weight: 600;
}

/* 响应式 */
@media (max-width: 1200px) {
    .game-layout {
        width: 100%;
        flex-direction: column;
    }
    .game-left, .game-right {
        width: 100%;
    }
}