/* Scoped X100 Game CSS */

.x100-game-container {
    padding: 20px;
    background: transparent;
}

.x100-game-container .x30__wheel {
    position: relative;
    margin: 0 auto;
    width: 320px;
    padding-top: 60px;
}

.x100-game-container .x30__wheels {
    position: relative;
    width: 300px;
    height: 300px;
}

.x100-game-container .x30__wheel-image {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
}

.x100-game-container .x30__wheel-image img {
    width: 300px;
    height: 300px;
    transition: all 30s cubic-bezier(0, 0.49, 0, 1);
}

.x100-game-container .x30__wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: #fff;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.x100-game-container .x30__timer {
    text-align: center;
}

.x100-game-container .x30__timer b {
    display: block;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
}

.x100-game-container .x30__timer span {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.x100-game-container .x30__cursor {
    position: absolute;
    top: -13px;
    left: 47%;
    transform: translateX(-50%);
    width: 120px;
    height: 80px;
    z-index: 100;
    background: url('../images/x100/cursor.svg') no-repeat center top;
    background-size: contain;
    filter: brightness(0.2) drop-shadow(0 4px 6px rgba(0,0,0,0.8));
    pointer-events: none;
}

.x100-game-container .x30__history-box {
    background: #f8f9fa;
    border-radius: 10px;
    min-height: 100px;
}

.x100-game-container .x100__history-items {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding: 10px 0;
}

.x100-game-container .x100__history-item {
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    color: #fff;
    min-width: 45px;
    text-align: center;
}

.x100-game-container .x100__history-item.x2 { background: #1F2872; }
.x100-game-container .x100__history-item.x3 { background: #33C9C0; }
.x100-game-container .x100__history-item.x10 { background: #FF8049; }
.x100-game-container .x100__history-item.x15 { background: #7A49FF; }
.x100-game-container .x100__history-item.x20 { background: #FFD849; }
.x100-game-container .x100__history-item.x100 { background: #FF5247; }

.x100-game-container .x30__bet-item {
    transition: transform 0.2s;
    overflow: hidden;
}

.x100-game-container .x30__bet-item:hover {
    transform: translateY(-3px);
}

.x100-game-container .x30__bet-heading {
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.x100-game-container .x30__bet-heading.x2 { background: #1F2872; }
.x100-game-container .x30__bet-heading.x3 { background: #33C9C0; }
.x100-game-container .x30__bet-heading.x10 { background: #FF8049; }
.x100-game-container .x30__bet-heading.x15 { background: #7A49FF; }
.x100-game-container .x30__bet-heading.x20 { background: #FFD849; }
.x100-game-container .x30__bet-heading.x100 { background: #FF5247; }

.x100-game-container .admin-go-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    cursor: pointer;
    z-index: 5;
}

.x100-game-container .x100__bet-users {
    font-size: 12px;
}

.x100-game-container .avatar.w-20 {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

/* Mobile responsive for x100 wheel */
@media (max-width: 576px) {
    .x100-game-container .x30__wheel {
        width: 260px;
        padding-top: 40px;
    }
    .x100-game-container .x30__wheels {
        width: 240px;
        height: 240px;
    }
    .x100-game-container .x30__wheel-image {
        width: 240px;
        height: 240px;
    }
    .x100-game-container .x30__wheel-image img {
        width: 240px;
        height: 240px;
    }
    .x100-game-container .x30__wheel-center {
        width: 80px;
        height: 80px;
    }
    .x100-game-container .x30__cursor {
        width: 100px;
        height: 60px;
        top: -10px;
    }
    .x100-game-container .x30__timer span {
        font-size: 20px;
    }
}

@media (max-width: 375px) {
    .x100-game-container .x30__wheel {
        width: 220px;
        padding-top: 30px;
    }
    .x100-game-container .x30__wheels {
        width: 200px;
        height: 200px;
    }
    .x100-game-container .x30__wheel-image {
        width: 200px;
        height: 200px;
    }
    .x100-game-container .x30__wheel-image img {
        width: 200px;
        height: 200px;
    }
    .x100-game-container .x30__wheel-center {
        width: 70px;
        height: 70px;
    }
    .x100-game-container .x30__cursor {
        width: 90px;
        height: 55px;
        top: -8px;
    }
    .x100-game-container .x30__timer span {
        font-size: 18px;
    }
}
