/* 游戏卡片样式 */
.game-card {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dark-mode .game-card {
    background-color: #2a2a2a;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.game-cover {
    position: relative;
    overflow: hidden;
    height: 60px;
}

.game-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.game-card:hover .game-cover img {
    transform: scale(1.05);
}

.game-info {
    padding: 20px 15px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    margin: 10px 0 15px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dark-mode .game-card-title {
    color: #eee;
}

.game-meta {
    margin-top: auto;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.dark-mode .game-meta {
    color: #aaa;
}

.game-meta i {
    margin-right: 4px;
}

.game-views, .game-update-time {
    margin-right: 10px;
}

/* 游戏详情模态框中的游戏状态栏 */
.game-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding: 15px;
    background-color: #f7f9fc;
    border-radius: 8px;
}

.dark-mode .game-stats {
    background-color: #2c3338;
}

.stat-item {
    display: flex;
    align-items: center;
    color: #555;
    font-size: 14px;
}

.dark-mode .stat-item {
    color: #bbb;
}

.stat-item i {
    margin-right: 8px;
    color: #3498db;
}

.stat-item span {
    font-weight: 500;
    margin-left: 5px;
    color: #333;
}

.dark-mode .stat-item span {
    color: #ddd;
}

/* 游戏详情模态框标题样式 */
.game-header .game-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 15px 0 25px;
    padding: 8px 0;
    color: #333;
    line-height: 1.3;
    position: relative;
}

.dark-mode .game-header .game-title {
    color: #eee;
}

/* 游戏介绍标题 */
.description-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 10px 0 15px;
    color: #333;
    position: relative;
}

.dark-mode .description-title {
    color: #eee;
}

/* 游戏描述区域 */
.game-description {
    line-height: 1.7;
    margin-bottom: 20px;
    color: #444;
    font-size: 1.05rem;
}

.dark-mode .game-description {
    color: #ccc;
}

/* 游戏详情模态框内容区布局 */
.game-header {
    padding: 5px 15px 25px;
}

/* 媒体展示区域 */
.media-showcase {
    margin: 25px 0 35px;
}

/* 游戏描述区域 */
.game-description-section {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 30px;
}

.dark-mode .game-description-section {
    background-color: #2c2c2c;
}

/* 下载区域 */
.download-section {
    margin-top: 35px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.dark-mode .download-section {
    border-top-color: #444;
} 