/* 游戏和应用详情页样式 */

.game-detail-container,
.app-detail-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.game-header,
.app-header {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.game-icon,
.app-icon {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.game-icon img,
.app-icon img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.game-info,
.app-info {
    flex: 1;
    min-width: 300px;
}

.game-info h1,
.app-info h1 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

.game-info p,
.app-info p {
    font-size: 16px;
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.game-meta,
.app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.meta-label {
    font-weight: 500;
    color: #333;
}

.game-description, .app-description {
    margin-bottom: 30px;
    text-align: left;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.game-description h2, .app-description h2 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #008bff;
    position: relative;
}

.game-description h2::after, .app-description h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: #008bff;
}

.game-description p, .app-description p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 16px 0;
    text-align: left;
}

.game-description img, .app-description img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.game-description ul, .game-description ol, .app-description ul, .app-description ol {
    text-align: left;
    margin: 15px 0;
    padding-left: 24px;
}

.game-description li, .app-description li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #666;
}

.game-description h3, .app-description h3 {
    margin: 20px 0 16px;
    line-height: 1.4;
    font-size: 18px;
    color: #333;
    font-weight: 700;
    padding: 8px 12px;
    background-color: #f0f7ff;
    border-left: 4px solid #008bff;
    border-radius: 0 4px 4px 0;
}

.game-description h4, .app-description h4 {
    margin: 16px 0 12px;
    line-height: 1.4;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.game-description table, .app-description table {
    margin: 15px 0;
    border-collapse: collapse;
    width: 100%;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.game-description th, .app-description th {
    background: #f5f5f5;
    padding: 10px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #ddd;
}

.game-description td, .app-description td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    color: #666;
}

.game-description tr:hover, .app-description tr:hover {
    background: #f9f9f9;
}

/* 最新更新部分样式 */
.latest-updates {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.latest-updates h2 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    text-align: center;
}

.latest-games-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.latest-game-item {
    flex: 0 0 calc(20% - 16px);
    box-sizing: border-box;
    min-width: 200px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.latest-game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.txtImgBox {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.imgBox {
    width: 150px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
    display: block;
}

.imgBox img {
    width: 150px;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s;
}

.imgBox:hover img {
    transform: scale(1.05);
}

.txtBox {
    flex: 1;
}

.name {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
}

.name p {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s;
}

.name:hover p {
    color: #007bff;
}

.sizeTimeBox {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 12px;
    color: #666;
}

.sizeTimeBox p {
    margin: 0;
    line-height: 1.3;
}

.space {
    margin: 0 8px;
    color: #999;
}

.brief {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}

.btnTear-up-out {
    background: #007bff;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.btnTear-up-out:hover {
    background: #0069d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.4);
}

@media (max-width: 1200px) {
    .latest-game-item {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 768px) {
    .latest-game-item {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 480px) {
    .latest-game-item {
        flex: 0 0 calc(50% - 10px);
    }
}

.download-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #007bff;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.download-btn:hover {
    background: #0069d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.4);
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #007bff;
}

@media (max-width: 768px) {
    .game-detail-container,
    .app-detail-container {
        padding: 20px;
    }
    
    .game-header,
    .app-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .game-icon,
    .app-icon {
        width: 120px;
        height: 120px;
    }
    
    .game-info h1,
    .app-info h1 {
        font-size: 24px;
    }
    
    .game-meta,
    .app-meta {
        justify-content: center;
    }
}


.apCont{padding:20px}.apCont .contHid{position:relative;height:1180px;overflow:hidden}.apCont .cont{padding:6px 0 0;font-size:15px;color:#666;line-height:1.5}.apCont .cont a{line-height:25px;text-indent:0;color:#ffa200}.apCont .cont a:hover{border-bottom:.01px solid #ffa200}.apCont .cont p{line-height:26px;color:#666;margin-bottom:16px}.apCont .cont br{height:2px}.apCont .cont img{max-width:788px;display: block;margin: 0 auto;padding: 25px 0px 38px;}.apCont .cont p img{max-width:788px;display: block;margin: 0 auto;padding: 25px 0px 38px;}.apCont .cont h3{margin-bottom:16px;line-height:34px;font-size:18px;color:#333;font-weight:700;padding:0 0 0 18px;border-left:4px solid #008bff;background-color:#f5f5f5}.apCont .cont iframe{width:600px;height:340px;margin:0 auto;display:block;border:none}.apCont .openAp{padding:4px 0 8px;overflow:hidden}.apCont .openAp p{float:left;display:block}.apCont .openAp p span{display:inline-block;margin-right:20px;color:#ababab;font-size:14px}.apCont .openAp p span i{display:inline-block;margin-right:5px;position:relative}.apCont .openAp p span:nth-child(1) i{width:16px;height:13px;background-position:-520px -54px;top:2px}.apCont .openAp p span:nth-child(2) i{width:16px;height:16px;background-position:-555px -54px;top:3px}.apCont .openAp p span:nth-child(3) i{width:14px;height:16px;background-position:-590px -54px;top:3px}.apCont .aopen{text-indent:15px;display:block;float:right;width:70px;height:22px;font-size:12px;color:#fff;line-height:22px;cursor:pointer;margin-right:22px;border-radius:10px;background:linear-gradient(to right,#009cff 66%,#008bff 33%);box-shadow:0 5px 6px 0 rgba(0,156,255,.28)}.apCont .aopen i{display:block;float:right;width:9px;height:5px;position:relative;right:8px;background:url(../img/icon.png) no-repeat;background-size:1000px 1000px}.apCont .aopen i.down{background-position:-530px -162px;top:9px}.apCont .aopen i.up{background-position:-506px -162px;top:8px}.apCont .aopen:hover i.down,.apCont .aopen:hover i.up{border-color:#008bff}.apCont .linear{position:absolute;height:40px;bottom:0;width:100%;background-image:linear-gradient(-180deg,rgba(255,255,255,0) 0,#fff 70%)}.apInfo{padding:20px 20px 23px 20px}.apInfo ul{width:788px;padding-top:6px;overflow:hidden}.apInfo ul li{float:left;display:inline-block;width:375px;margin-right:18px;height:36px;line-height:36px;font-size:15px;color:#666;overflow:hidden;white-space:nowrap}.apInfo ul li span{font-size:15px;color:#666;line-height:36px}