/* 防止按钮移动的全局样式 */
.home_btn_wrap,
.home_btn_wrap *,
.home_btn_wrap *::before,
.home_btn_wrap *::after {
    transform: none !important;
    animation: none !important;
    transition: none !important;
    will-change: auto !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    -moz-transform: none !important;
    -o-transform: none !important;
}

.productCarousel_mask{
    width: 1920px;
    height: 1320px;
    background: url(../images/lunbo/video_mask.png) no-repeat;
    position: absolute;
    top: 780px;
    left: 50%;
    margin-left: -960px;
    z-index: 16;
}

/* Game section z-index overrides to appear above productCarousel_mask */
.game-card,
.game-card__thumb,
.game-card__content,
.game-card__details,
.game-card__info,
.game-card__title,
.game-card__ratings,
.game-card__action,
.single-game,
.games-search-wrapper,
.feature-card,
.trailer,
.trailer__thumb,
.trailer-content-area,
.view-all-header,
.game-small-card {
    position: relative;
    z-index: 20;
}

/* Game elements with absolute positioning */
[class*="game-el"] {
    z-index: 20;
}

/* Section headers and titles */
.section-header,
.section-title,
.section-sub-title {
    position: relative;
    z-index: 20;
}

/* Container elements */
.container,
.row,
.col,
[class*="col-"] {
    position: relative;
    z-index: 20;
}

/* Modern Hero Section Styles - Reference Image Design */


.auto-play-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px);
}



/* 顶部导航栏 */



/* 游戏角色 */
.hero-character {
    text-align: center;
}

.character-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* 右侧社交链接 */
.social-sidebar {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.social-item {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    color: #fff;
    text-decoration: none;
}

.social-item i {
    font-size: 20px;
}

/* 视频下载按钮 */
.home_btn_wrap {
    display: flex;
    position: fixed;
    width: 100%;
    height: 80px;
    left: 0;
    bottom: 20px;
    justify-content: center;
    align-items: center;
    z-index: 99;
    background: rgba(255, 255, 255, 0.2); /* 临时背景色用于调试 */
    pointer-events: auto; /* 确保可以点击 */
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
}

.store_btn_box {
    width: 300px;
    height: 60px;
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative; /* 确保定位稳定 */
}

.store_a,.apk_box {
    width: 80px;
    height: 40px;
    z-index: 99;
    display: block; /* 确保显示 */
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    position: relative; /* 确保定位稳定 */
    transition: none; /* 移除任何过渡动画 */
}

.appStore {
    background: url(https://opmw.perfectworld.com/en/images/index2401/btn_appstore.png) no-repeat 0 0;
    background-size: 100% auto;
    z-index: 99;
}

.googleStore {
    background: url(https://opmw.perfectworld.com/en/images/index2401/btn_google.png) no-repeat 0 0;
    background-size: 100% auto;
    z-index: 99;
}

.huaweiStore {
    background: url(https://opmw.perfectworld.com/en/images/index2401/btn_huawei.png) no-repeat 0 0;
    background-size: 100% auto;
    z-index: 99;
}

/* 确保下载按钮可见 */
.btn_download {
    display: block;
    z-index: 99;
    margin-left: 20px;
    position: relative; /* 确保定位稳定 */
    transition: none; /* 移除任何过渡动画 */
}

.btn_download img {
    height: 40px;
    width: auto;
    transition: none; /* 移除任何过渡动画 */
}

.btn_head_v {
    display: none; /* 隐藏视频按钮 */
}

/* 游戏兼容平台图标样式优化 - 按照图片样式 */
.game-compatible {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    max-width: 600px;
}

.game-compatible .single {

    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}



.game-compatible .single:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.game-compatible .single img {
    width: 100%;
    height: auto;

    object-fit: contain;
}