/* 重置基本样式 */
.steam-game-page {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
}

.steam-game-page * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 控制游戏介绍和版本介绍中的图片大小 */
.steam-game-page .game-features img,
.steam-game-page .game-about img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

/* 页面背景 */
.steam-game-page {
    background: #fff;
}

/* 容器样式 */
.steam-game-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

/* 头部样式 */
.steam-game-page .game-header {
    margin-bottom: 20px;
}

.steam-game-page .game-title {
    font-size: 22px;
    margin: 0;
    color: #333;
}

.steam-game-page .game-subtitle {
    color: #666;
    font-size: 13px;
    margin-top: 5px;
}

/* 主要内容区域 */
.steam-game-page .main-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

/* 左侧区域 */
.steam-game-page .left-content {
    border-radius: 8px;
    overflow: hidden;
}

/* 轮播图区域 */
.steam-game-page .slider-container {
    position: relative;
    width: 100%;
}

.steam-game-page .main-image {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.steam-game-page iframe {
    width: 100%;
    height: 460px;
    border: none;
    border-radius: 8px;
    background: #000;
}

.steam-game-page .thumbnail-list {
    display: flex;
    gap: 8px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.05);
}

.steam-game-page .thumbnail {
    position: relative;
    width: 160px;
    height: 90px;
    cursor: pointer;
    margin-right: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.steam-game-page .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.steam-game-page .thumbnail img.active,
.steam-game-page .thumbnail:hover img {
    opacity: 1;
}

.steam-game-page .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent #ffffff;
    opacity: 0.8;
}

.steam-game-page .thumbnail:hover .play-icon {
    opacity: 1;
}

/* 游戏介绍区域 */
.steam-game-page .section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #eee;
}

.steam-game-page .section-title {
    font-size: 16px;
    margin: 0 0 15px 0;
    color: #333;
    display: flex;
    align-items: center;
}

.steam-game-page .section-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: #2d8cf0;
    margin-right: 8px;
    border-radius: 2px;
}

.steam-game-page .section-content {
    color: #666;
    font-size: 13px;
}

/* 版本介绍 */
.steam-game-page .version-intro {
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}

.steam-game-page .version-intro h3 {
    font-size: 15px;
    margin: 0 0 10px 0;
    color: #333;
}

.steam-game-page .version-intro ul {
    list-style: none;
    padding-left: 20px;
    margin: 0;
}

.steam-game-page .version-intro li {
    position: relative;
    margin-bottom: 8px;
}

.steam-game-page .version-intro li::before {
    content: '•';
    position: absolute;
    left: -15px;
    color: #2d8cf0;
}

/* 游戏介绍 */
.steam-game-page .game-features,
.steam-game-page .game-about {
    position: relative;
    max-height: none;
    overflow: visible;
    font-size: 13px;
    line-height: 1.6;
}

.steam-game-page .game-features.expanded,
.steam-game-page .game-about.expanded {
    max-height: none;
}

.steam-game-page .game-features::after,
.steam-game-page .game-about::after {
    display: none;
}

.steam-game-page .game-features.expanded::after,
.steam-game-page .game-about.expanded::after {
    display: none;
}

.steam-game-page .show-more-btn {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    padding: 8px 20px;
    background: none;
    border: none;
    color: #2d8cf0;
    text-align: center;
    cursor: pointer;
    font-size: 13px;
    transition: color 0.3s ease;
    position: relative;
}

.steam-game-page .show-more-btn::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #999;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.steam-game-page .show-more-btn:hover {
    color: #57a3f3;
}

.steam-game-page .show-more-btn:hover::after {
    border-top-color: #fff;
}

.steam-game-page .expanded + .show-more-btn::after {
    transform: rotate(180deg);
}

/* 系统配置 */
.steam-game-page .specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.steam-game-page .specs-box {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #eee;
    font-size: 13px;
}

.steam-game-page .specs-box h3 {
    font-size: 15px;
    margin: 0 0 10px 0;
    color: #2d8cf0;
}

.steam-game-page .specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.steam-game-page .specs-list li {
    margin-bottom: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* 右侧购买区域 */
.steam-game-page .buy-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.steam-game-page .game-info-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.steam-game-page .game-cover {
    width: 120px;
    height: 80px;
    border-radius: 8px;
}

.steam-game-page .game-region {
    font-size: 12px;
    color: #999;
}

/* 平台标签样式 */
.steam-game-page .platform-list {
    margin: 10px 0;
}

.steam-game-page .platform-label {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.steam-game-page .platform-label img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.steam-game-page .version-options {
    margin: 15px 0;
}

.steam-game-page .version-label {
    color: #666;
    margin-bottom: 8px;
    font-size: 13px;
}

.steam-game-page .version-tags {
    display: flex;
    gap: 10px;
}

.steam-game-page .version-tag {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    background: #f8f8f8;
    color: #666;
    border: 1px solid #eee;
}

.steam-game-page .version-tag.active {
    background: rgba(45, 140, 240, 0.1);
    border-color: #2d8cf0;
    color: #2d8cf0;
}

.steam-game-page .price-info {
    margin: 20px 0;
}

.steam-game-page .original-price-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.steam-game-page .original-price {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    margin-left: 5px;
}

.steam-game-page .current-price-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.steam-game-page .current-price {
    color: #FF4D4F;
    font-size: 32px;
    font-weight: bold;
    margin-left: 5px;
}

.steam-game-page .price-unit {
    color: #666;
    font-size: 14px;
    margin-left: 5px;
}

.steam-game-page .price-symbol {
    color: #FF4D4F;
    font-size: 24px;
    font-weight: bold;
    margin-right: 2px;
}

.steam-game-page .discount-tag {
    background: #4CAF50;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
}

.steam-game-page .button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.steam-game-page .buy-button {
    flex: 1;
    padding: 12px 0;
    background-color: #2196F3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.steam-game-page .buy-button:hover {
    background-color: #1E88E5;
}

.steam-game-page .cart-button {
    flex: 1;
    padding: 12px 0;
    background-color: #FF4D4F;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.steam-game-page .cart-button:hover {
    background-color: #F5222D;
}

/* 游戏信息卡片 */
.steam-game-page .info-card {
    margin-top: 20px;
}

.steam-game-page .info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #666;
    font-size: 13px;
}

.steam-game-page .info-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}



/* 响应式设计 */
@media (max-width: 768px) {
    .steam-game-page .main-content {
        grid-template-columns: 1fr;
    }
    
    .steam-game-page .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .steam-game-page .button-group {
        flex-direction: column;
    }
    
    .steam-game-page .container {
        padding: 10px;
    }
    
    .steam-game-page .game-title {
        font-size: 18px;
    }
    
    .steam-game-page .main-image {
        height: 300px;
    }
    
    .steam-game-page .thumbnail {
        width: 120px;
        height: 70px;
    }
}



























