.container2 {
    background: url("../../images/games/img/bg.png") repeat;
     display: flex;
    flex-direction: column;
    position: relative;
    height: 100vh;
    overflow: hidden;
    width: 55vw;
}

.main_inner:after {
    display: none;
}

@media (max-width: 540px) {
    .container2 {
        width: 100vw;
    }
}

.main_inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items:center;
    gap: 10px;
}

/* 上邊框 */
.container2 .head-img {
    position: relative;
    top: 0;
    height: 3vh;
    width: 100%;
    flex: 0 0 3vh;
}
/* 下邊框 */
.container2 .foot-img {
    position: relative;
    bottom: 0;
    height: 3vh;
    width: 100%;
    flex: 0 0 3vh;
}


.main {
    background: url("../../images/games/img/bg.png") repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.main_Footer {
    width: 100%;
    height: 88%;
    position: absolute;
    bottom: 0;
    object-fit: contain;
    object-position: bottom;
    transform: translateY(-5%);
}

.wheel-container {
    text-align: center;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    flex: 1 1 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.game-title {
    width: 90%;
    height: auto;
    max-width: 600px;
    max-height: 300px;
    margin: 0;
    object-fit: contain;
}
@media (max-width: 540px) {
    .game-title {
        max-height: 200px;
    }
}

.game-heading {
    display: none;
}

.actions {
    display: block;
    padding: 10px;
    margin-top: 20px;
    text-align: center;
}

/* 遊戲 */
.game-wheel {
    position: relative;
    margin: 0;
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-sizing: border-box;
    background-color: transparent;
}

/* 轉盤架 */
.game-wheel_stand {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: auto;
    display: block;
}

.game-wheel_board {
    position: absolute;
    top: 3%;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100% !important;
    height: 75% !important;
    margin: 0 auto;
    object-fit: contain;
}

.game-wheel_shadow {
    position: absolute;
    top: 5%;
    left: 0;
    right: 0;
    width: 88%;
    margin: 0 auto;
    z-index: 2;
    filter: brightness(0.01);
}

.outSide {
    width: 100%;
    height: 100vh; /* 使外部容器的高度等于视窗高度 */
    display: block; /* 使用 Flexbox 布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    background-color: blue;
}
