:root {
    --steam-blue: #66c0f4;
    --btn-blue: linear-gradient(to right, #47bfff 0%, #1a44c2 100%);
    --btn-grey: #3d4450;
    --diamond-pattern: url('https://store.akamai.steamstatic.com/public/images/applications/store/diamonds_tile.png');
}

body {
    background-color: #1b2838;
    margin: 0;
    align-items: center;
    height: 100vh;
    font-family: "Motiva Sans", Arial, sans-serif;
    color: white;
}


.store-point-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.store-point-modal-overlay.show {
    display: flex;
}

.store-point-modal-container {
    max-height: 90vh;
    overflow-y: auto;
    background: var(--diamond-pattern) repeat,
    linear-gradient(180deg, #213345 0%, #1b2838 100%);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
    padding: 20px 40px;
    position: relative;
    background-size: auto 100%;
    background-position: center top;
    border-top: 2px solid;
    border-image: linear-gradient(to right, #00ccff, #3366ff) 1;
}

.store-point-modal-container-2 {
    max-height: 90vh;
    overflow-y: auto;
    max-width: 470px;
    background: var(--diamond-pattern) repeat,
    linear-gradient(180deg, #213345 0%, #1b2838 100%);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
    padding: 20px 40px;
    position: relative;
    background-size: auto 100%;
    background-position: center top;
    border-top: 2px solid;
    border-image: linear-gradient(to right, #00ccff, #3366ff) 1;
}

.store-point-preview-area {
    width: 100%;
    max-height: 295px;
    height: min(45vw, 38vh);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px 0;
}

.store-point-preview-area-2 {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px 0;
    max-height: 403px;
    height: 80vw;
    max-width: 384px;
    filter: drop-shadow(2px 4px 4px black);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.store-point-preview-area-img1 {
    top: 16%;
    left: 8%;
    width: 26%;
    position: absolute
}

.store-point-preview-area-img2 {
    position: absolute;
    top: 45%;
    left: 32%;
    width: 18%;
}

.store-point-preview-area-img3 {
    top: 16%;
    left: 8%;
    width: 26%;
    position: absolute;
}

.store-point-preview-area-img4 {
    top: 47%;
    left: 33%;
    width: 15%;
    position: absolute;
}

.store-point-video-bg {
    position: absolute;
    height: 100%;
    z-index: 1;
}

.store-point-frame-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    object-fit: contain;
}

.store-point-header .store-point-title {
    font-size: 24px;
}

.store-point-header .store-point-subtitle {
    color: #82a2b1;
    font-size: 14px;
}

.store-point-description {
    color: #82a2b1;
    font-size: 13px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.store-point-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.store-point-btn {
    padding: 10px 30px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-weight: bold;
}

.store-point-btn-primary {
    background: var(--btn-blue);
    color: #fff;
}

.store-point-btn-secondary {
    background: var(--btn-grey);
    color: #d2d2d2;
}

.store-point-close-x {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #888;
    font-size: 24px;
    cursor: pointer;
}



/*轮播图样式*/
.main-wrapper {
    display: flex;
    min-height: 300px;
    max-width: 1200px;
    margin: 0 auto;
}

/*顶部菜单*/
.gamiFab-nav-container {
    background-color: #242930;
    padding: 10px 8px 0 8px;
    width: 100%;
    overflow: hidden;
    display: none;
}

.gamiFab-scroll-nav {
    display: flex;
    white-space: nowrap;
    overflow-x: auto;
    gap: 25px;
    scrollbar-width: none;
}

.gamiFab-scroll-nav::-webkit-scrollbar {
    display: none;
}

.gamiFab-nav-item {
    color: #d2d2d2;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s;
    flex-shrink: 0; /* 核心：防止文字被挤压换行 */
}

.gamiFab-nav-item:hover {
    color: #ffffff;
}

.gamiFab-nav-item-active {
    color: #fff;
    border-bottom: 2px solid #cccccc;
}

/*左侧菜单*/
.left-sidebar {
    min-width: 230px;
    height: 350px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    margin-right: 15px;
    flex-direction: column;
}

.left-sidebar-content{

}

.left-sidebar-content a{
    text-decoration: none;
}

.left-sidebar-title{
    color: #1999ff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .075em;
    padding: 20px 20px 0 20px;
    white-space: nowrap;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}




.left-sidebar-a{
    display: flex;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
    margin-top: 2px;
    line-height: 17px;
    font-size: 12px;
    padding: 5px 40px 5px 40px;
    color: #c5cbd8;
}

.left-sidebar-a:hover{
    background: linear-gradient(90deg, #536F86 0%, rgba(83, 111, 134, 0.29) 48.38%, rgba(83, 111, 134, 0.19) 82.74%);
    color: #fff
}



@media (max-width: 910px) {
    .left-sidebar {
        display: none !important;
    }

    .gamiFab-nav-container{
        display: block;
    }

}

.gamifab-container {
    flex-grow: 1;
    min-width: 0;
}

/* 商品尺寸固定 168x256 */
.gamifab-item {
    width: 168px !important;
    height: 256px !important;
    flex: 0 0 168px !important;
    margin: 0 5px 20px 5px;
}



/*4种展示容器样式*/
.content-box1 {
    position: relative;
    width: 168px;
    height: 256px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .14), 0 2px 1px -1px rgba(0, 0, 0, .12), 0 1px 3px 0 rgba(0, 0, 0, .2);
    display: flex;
    flex-direction: column;
    z-index: 1;
    background: rgba(76, 112, 168, .25);
    cursor: pointer;
    backdrop-filter: blur(20px) saturate(180%) brightness(60%);
    transition-duration: .4s;

}

.content-box1-up {
    position: relative;
    flex: 1;
    background: linear-gradient(144.37deg, rgba(130, 156, 219, 0) 68.22%, rgba(82, 125, 235, 0.32) 113.95%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-box1-down {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 12px;
    padding-top: 6px;
    padding-bottom: 6px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.11) 100%);
    perspective: 300px;
    height: 82px;
    perspective-origin: 50% 50%;
    transition-duration: .4s;
    transition-timing-function: cubic-bezier(0, 0.73, 0.48, 1);
    transition-property: transform;
    transform-origin: 50% 50%;
}

.content-box1-gameImg {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    z-index: 5;
    transition-duration: .4s;
    transition-timing-function: cubic-bezier(0, 0.73, 0.48, 1);
    transition-property: transform;
    transform-origin: 50% 50%;
}

.content-box1:hover {
    transform: scaleX(1) scaleY(1);
    filter: brightness(1.1) contrast(0.95) saturate(1);
    box-shadow: 3px 8px 8px 3px rgba(0, 0, 0, .596)
}

.content-img {
    transition-duration: .4s;
    transition-timing-function: cubic-bezier(0, 0.73, 0.48, 1);
}

.content-box1:hover .content-img {
    transform: scale(1.2);

}


.content-box2 {
    position: relative;
    width: 168px;
    height: 256px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .14), 0 2px 1px -1px rgba(0, 0, 0, .12), 0 1px 3px 0 rgba(0, 0, 0, .2);
    display: flex;
    flex-direction: column;
    z-index: 1;
    background: rgba(76, 112, 168, .25);
    cursor: pointer;
    backdrop-filter: blur(20px) saturate(180%) brightness(60%);
    transition-duration: .4s;
}

.content-box2-up {
    position: relative;
    flex: 1;
    background: linear-gradient(144.37deg, rgba(130, 156, 219, 0) 68.22%, rgba(82, 125, 235, 0.32) 113.95%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-box2-video {
    height: 163px;
    background-repeat: no-repeat;
    background-size: contain;
    transition-duration: .4s;
    transition-timing-function: cubic-bezier(0, 0.73, 0.48, 1);
    transform-origin: 50% 50%;
    transition-property: transform, filter;

    width: 160%;
    border-radius: 3px;
    transform: scaleX(0.55) scaleY(0.55);
}

.content-box2:hover {
    z-index: 2;
    transform: scaleX(1.5) scaleY(1);
    filter: brightness(1.1) contrast(0.95) saturate(1);
    box-shadow: 3px 8px 8px 3px rgba(0, 0, 0, .596)
}

.content-box2:hover .content-box1-gameImg {
    transform: scaleX(0.65);
}



.content-box2:hover .content-box2-video {
    transform: scaleX(0.55) scaleY(1);
}

.content-box3 {
    position: relative;
    width: 168px;
    height: 256px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .14), 0 2px 1px -1px rgba(0, 0, 0, .12), 0 1px 3px 0 rgba(0, 0, 0, .2);
    display: flex;
    flex-direction: column;
    z-index: 1;
    background: rgba(76, 112, 168, .25);
    cursor: pointer;
    backdrop-filter: blur(20px) saturate(180%) brightness(60%);
    transition-duration: .4s;
}

.content-box3-video {
    height: 176px;
    background-repeat: no-repeat;
    background-size: contain;
    transition-duration: .2s;
    transition-timing-function: cubic-bezier(0, 0.73, 0.48, 1);
    transform-origin: 50% 50%;
    transition-property: transform, filter;
    width: 160px;
    transform: scale(0.8);
    object-fit: cover;
}

.content-box3:hover {
    transform: scaleX(1) scaleY(1);
    filter: brightness(1.1) contrast(0.95) saturate(1);
    box-shadow: 3px 8px 8px 3px rgba(0, 0, 0, .596)
}

.content-box3:hover .content-box3-video {
    transform: scale(1);
    width: 200px;
}

.content-box-title {
    font-size: .75rem;
    letter-spacing: .1em;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1.4rem;
    color: #d7dbe3;
}

.content-box-title-{
    font-size: .9rem;
    letter-spacing: .1em;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1.4rem;
    color: #c5cbd8;

    display: flex;
    justify-content: end;
    padding: 8px;
}