.wrapper {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 100px;
}

.user-avatar-wrapper {
    border: 2px solid #fff;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    overflow: hidden;
    padding: 5px;
    margin-right: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-avatar {
    width: 100%;
    border-radius: 50%;
}

.profile-username {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.profile-container {
    background: #FFD59E;
    border-radius: 20px 20px 0px 0px;
    padding: 30px;
    margin-top: -120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.withdraw-btn {
    display: block;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    transition: all 0.5s;
    padding: 11px 32px;
    background: linear-gradient(351.09deg, #F029A0 4.36%, #F0B000 117.5%);
    box-shadow: 0px 4px 10px rgb(0 0 0 / 25%);
    border-radius: 25px;
    z-index: 0;
    border: none;
    cursor: pointer;
    color: #fff;
    height: 50px;
}

.user-stats-card {
    background: #FFD59E;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    min-width: 280px;
}

.user-stats-card-text {
    margin-left: 20px;
}

.user-stats-card-text .stats-title {
    font-weight: 400;
    font-size: 20px;
    line-height: 21px;
}

.user-stats-card-text .number {
    font-size: 35px;
    color: #111;
}

.profile-detail {
    display: flex;
    width: 70%;
    padding: 20px;
}

@media screen and (max-width: 768px) {
    .wrapper {
        width: 100%;
    }

    .profile-detail {
        width: 100%;
    }

}


.user-stats-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 50px 0;
}

.user-stats-card-img {
    width: 70px;
    height: 70px;
    padding: 10px;
    background: #F9FFA4;
    border-radius: 50%;
}

.user-balance {
    font-size: 25px;
}

@media screen and (max-width: 600px) {
    .user-stats-card {
        width: 100%;
    }
}

.game-history-container {
    width: 100%;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}


.game-history {
    width: 75%;
    background: #FFD59E;
    border-radius: 10px;
    padding: 30px;
    margin-right: 20px;
}

.game-earn {
    background: #FFD59E;
    border-radius: 10px;
    padding: 30px 20px;
    margin-bottom: 30px;
    width: calc(25% - 20px);
    height: 450px;
}


.game-history-header h4 {
    font-size: 24px;
}

.game-history-header p {
    font-size: 20px;
}

.game-history-title h4 {
    font-size: 26px;
}

.game-history-header p {
    font-size: 20px;
}

#add-token-btn {
    display: block;
    border: none;
    outline: none;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    background: transparent;
    margin-top: 20px;
    font-size: 14px;
    background: linear-gradient(351.09deg, #F029A0 4.36%, #F0B000 117.5%);
    box-shadow: 0px 4px 10px rgb(0 0 0 / 25%);
    border-radius: 20px;
    padding: 10px 15px;
}

.game-histories {
    width: 100%;
    margin-top: 50px;
}

.game-history-card {
    width: 100%;
    padding: 24px;
    display: flex;
    background: #F9FFA4;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    border-radius: 15px;
}

.history-left {
    display: flex;
    align-items: center;
    width: 50%;
}

.history-img {
    width: 80px;
    height: 165px;
    margin-right: 25px;
}

.res-win {
    color: #4609C3;
}

.res-loose {
    color: red;
}

.play-game {
    display: flex;
    align-items: center;
    padding: 7px 15px;
    font-weight: 100;
    border-radius: 10px;
    background: #4609C3;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none;
}

.play-game i {
    margin-right: 10px;
}

@media screen and (max-width: 500px) {
    .user-stats-card {
        width: 100%;
    }

}

@media screen and (max-width: 992px) {
    .game-history {
        width: 100%;
        margin-bottom: 20px;
        border-radius: 0;
        margin-right: 0;
    }

    .game-earn {
        width: 100%;
        border-radius: 0;
    }
}

#prev, #next {
    padding: 10px;
    font-size: 22px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: .5s;

}

#next:hover, #prev:hover {
    color: yellow;
}

#next:disabled, #prev:disabled {
    display: none;
}

.game-earn-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 20px 10px;
    margin-bottom: 10px;
    width: 100%;
    display: flex;
}

.earn-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.yellow {
    background: #FFB130;
}

.red {
    background: #66C205;
}

.blue {
    background: #00ACF6;
}

.game-history-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.filer-btn {
    padding: 5px 20px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 40px;
    border: none;
    outline: none;
    margin: 0 5px;
    color: #fff;
    background: #343444;
    cursor: pointer;
}

.filer-btn:hover, .filer-btn.selected {
    background: #00ACF6;
}


.filter {
    width: 200px;
    padding: 5px 10px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}