.walletWrapper {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999999;
    background: rgb(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgb(60, 60, 60);
    height: 100vh;
    padding: 20px;
    width: 330px;
    text-align: justify;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    animation: slide-left 0.3s ease-in-out;
    display: none;
}

@keyframes slide-left {
    0% {
        transform: translateX(400px);
    }

    100% {
        transform: translateX(0);
    }
}

.walletTop {
    border: 1px solid rgb(60, 60, 60);
    padding: 10px;
    border-radius: 10px;
}

.walletTop h3 {
    font-size: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.walletTop p {
    font-size: 16px;
    line-height: 25px;
    font-weight: 300;
    color: rgb(200, 200, 200);
}

.walletBottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
    border: 1px solid rgb(60, 60, 60);
    padding: 10px;
    border-radius: 10px;
}

.walletItem {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    border: 1px solid rgb(255, 255, 255, 0.3);
}

.walletItem:hover {
    transform: scale(1.03);
}

.walletItem img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.walletCloseBtn {
    width: 100%;
    background: rgb(255, 255, 255);
    padding: 8px 12px;
    border-radius: 5px;
    text-align: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: black;
}

.accountWrapper {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999999;
    background: rgb(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgb(60, 60, 60);
    height: 100vh;
    padding: 20px;
    width: 330px;
    text-align: justify;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    animation: slide-left 0.3s ease-in-out;
    display: none;
}

.accountBox {
    width: 100%;
    background: rgb(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: 1px solid rgb(255, 255, 255, 0.3);
}

.accountTop {
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.accountTop p {
    width: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 25px;
    font-weight: 300;
    color: rgb(200, 200, 200);
    border-radius: 5px;
    padding: 6px 10px;
    background: rgb(50, 50, 50);
    cursor: default;
}

.accountDisconnectBtn {
    width: 100%;
    background: crimson;
    padding: 8px 12px;
    border-radius: 5px;
    text-align: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.accountBottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    border: 1px solid rgb(60, 60, 60);
    padding: 10px 20px;
    border-radius: 5px;
}

.accountBalance {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
}

/* ---win-promt--- */
.winWrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    z-index: 9999999;
    display: none;
}

.winBox {
    width: 38%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    border-radius: 20px;
    padding: 50px 40px;
    background: linear-gradient(to bottom, rgb(10, 10, 10), rgb(30, 30, 30), rgb(10, 10, 10));
    border: 5px solid rgb(40, 40, 40);
    box-shadow: inset 0px 0px 20px rgb(0, 0, 0, 0.8);
    position: relative;
    animation: open-win 0.8s ease-in-out;
}

@keyframes open-win {
    0% {
        transform: scale(0.1) scaleX(-1);
    }

    100% {
        transform: scale(1) scaleX(1);
    }
}

.winCloseBtn {
    position: absolute;
    right: -12px;
    top: -12px;
    color: white;
    background: linear-gradient(27deg, crimson, rgb(121, 0, 20));
    border-radius: 50%;
    text-align: center;
    width: 35px;
    height: 35px;
    font-size: 20px;
    box-shadow: 0px 0px 20px rgb(0, 0, 0, 0.8);
    cursor: pointer;
    border: 1px solid crimson;
}

.winCloseBtn:hover {
    border: 1px solid white;
    transform: rotate(-90deg);
}

.winCloseBtn i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}

.winTrophy {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0px 0px 5px orange);
    border: 8px dashed orange;
    padding: 8px;
    margin-bottom: 15px;
}

.winBox h2 {
    font-size: 20px;
    color: rgb(200, 200, 200);
}

.winAmountWrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.winAmountWrapper img {
    width: 36px;
    height: 36px;
    animation: flip-coin 1.6s linear infinite;
    filter: drop-shadow(0px 2px 2px black);
}

@keyframes flip-coin {
    0% {
        transform: scaleX(1);
    }

    50% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

.winAmountWrapper p {
    font-size: 36px;
    letter-spacing: 1px;
    background: linear-gradient(to bottom, rgb(127, 82, 0), orange, yellow);
    color: transparent;
    font-weight: 600;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 1px orange;
}

.winNumberWrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.winNumberItem {
    font-size: 20px;
    padding: 8px 14px;
    border-radius: 50%;
}

.winClaimBtn {
    font-size: 15px;
    padding: 8px 20px;
    border-radius: 8px;
    color: black;
    border: 2px solid orange;
    background: linear-gradient(to bottom, orange, rgb(131, 85, 0));
    cursor: pointer;
    text-align: center;
    box-shadow: 0px 2px 5px black;
    width: 45%;
}

.winClaimBtn:hover {
    border: 2px solid rgb(178, 117, 3);
    color: rgb(50, 50, 50);
}

.winClaimRoller {
    font-size: 15px;
    padding: 8px 20px;
    border-radius: 8px;
    color: black;
    border: 2px solid rgb(50, 50, 50);
    background: rgb(20, 20, 20);
    cursor: not-allowed;
    text-align: center;
    box-shadow: 0px 2px 5px black;
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.winClaimRoller div {
    width: 22px;
    height: 22px;
    border: 4px solid white;
    border-radius: 50%;
    border-bottom: 4px solid rgb(20, 20, 20);
    animation: roller 0.5s linear infinite;
}

@keyframes roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* // all-games */

.gamesWrapper {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999999;
    background: rgb(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgb(60, 60, 60);
    height: 100vh;
    padding: 20px;
    width: 330px;
    text-align: justify;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    animation: slide-left 0.3s ease-in-out;
    display: none;
}

.gameTop {
    border: 1px solid rgb(60, 60, 60);
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    min-height: 85vh;
    max-height: 85vh;
}

.gameTop h3 {
    font-size: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.gamesList {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 3px;
    overflow-y: scroll;
    height: 90%;
    padding-right: 5px;
}

.gameItem {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgb(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 12px 10px;
    font-size: 13px;
    border: 1px solid rgb(30, 30, 30);
}

.gameItemLeft {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.gameItemLeft p {
    color: gray;
    font-size: 11px;
}

.gameItemLeft p span {
    color: white;
    letter-spacing: 1px;
    font-size: 12px;
}

.gameItemRight {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.gameItemRight a {
    width: 100%;
    text-align: center;
    padding: 3px 10px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 12px;
}

.win {
    background: black;
    border: 1px solid rgb(60, 60, 60);
}

.lost {
    background: crimson;
}

.gameItemAction {
    background: rgb(70, 0, 167);
    color: white;
    cursor: pointer;
}

.gameItemActionDull {
    background: rgb(51, 51, 51);
    color: gray;
    cursor: not-allowed;
}

.gamesCloseBtn {
    width: 100%;
    background: rgb(255, 255, 255);
    padding: 8px 12px;
    border-radius: 5px;
    text-align: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: black;
}

.gameListRoller {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gameListRoller div {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 4px solid white;
    border-bottom: 4px solid rgb(20, 20, 20, 0.9);
    animation: roller 0.8s linear infinite;
}

.preloaderWrapper {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10000;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    background: black;
    /* display: none; */
}

.preloaderWrapper img {
    width: 100px;
}

.preloaderWrapper p {
    color: gray;
    font-size: 10px;
    text-transform: uppercase;
}

.allGamesBtnM {
    position: fixed;
    left: 0;
    top: 25%;
    background: rgb(104, 10, 163);
    padding: 5px 8px;
    border-radius: 0px 10px 10px 0px;
    cursor: pointer;
    display: none;
}

.allGamesBtnM i {
    font-size: 22px;
}

@media (max-width: 720px) {
    .allGamesBtnM {
        display: block;
    }
}

@media (max-width: 600px) {
    #metamask,
    #trustwallet,
    #enkrypt {
        display: none;
    }
}