/* 游戏详情页样式 */
.game-detail-content {
    margin-top: var(--header-height);
    padding: 40px 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* 游戏标题和返回按钮 */
.game-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color var(--transition-speed);
}

.back-button:hover {
    color: var(--secondary-color);
}

.back-button i {
    font-size: 1.2rem;
}

.game-header h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin: 0;
}

/* 游戏信息栏 */
.game-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
}

.game-description {
    flex: 1;
    margin-right: 30px;
}

.game-description p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.game-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
}

.rating-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.rating-stars i {
    color: #ffd700;
}

.rating-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.average-score {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

/* 游戏内容区域 */
.game-content {
    display: flex;
    gap: 30px;
}

/* 游戏容器 */
.game-container {
    flex: 0 0 70%;
    background: white;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    position: relative;
    padding-top: 39.375%; /* 16:9 宽高比 */
}

.game-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 侧边栏 */
.game-sidebar {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.game-instructions,
.game-tips {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.game-instructions h2,
.game-tips h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.game-instructions ol,
.game-tips ul {
    list-style-position: inside;
    padding-left: 0;
}

.game-instructions li,
.game-tips li {
    margin-bottom: 12px;
    color: #666;
    line-height: 1.5;
}

.game-instructions li::marker {
    color: var(--primary-color);
    font-weight: bold;
}

.game-tips li::marker {
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .game-content {
        flex-direction: column;
    }

    .game-container {
        flex: none;
        padding-top: 56.25%; /* 16:9 宽高比 */
    }

    .game-sidebar {
        flex: none;
    }
}

@media (max-width: 768px) {
    .game-info-bar {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .game-description {
        margin-right: 0;
    }

    .game-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .game-header h1 {
        font-size: 2rem;
    }
} 