@import url('./reset.css');
body {
    width: 100%;
    min-height: 100vh;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background-image: url('../img/bg/red-abstract-clean-soft-dynamic-wallpaper-background-desktop-with-generative-ai.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(30%);
    width: 100%;
    min-height: 100%;
}

#preloader {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999999999;
    background: #000000da;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#preloader img {
    animation: grow 1s linear;
    width: 100%;
    max-width: 200px;
}

@keyframes grow {
    0% {
        transform: scale(1.4);
    }
    40% {
        transform: scale(1.2);
    }
    80% {
        transform: scale(1);
    }
}

nav {
    height: 70px;
    background: var(--color-gradient);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 30px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: 0 0 10px 0 #1d1717;
}

nav .menuLogo {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
}

nav .logo {
    width: 100%;
    max-width: 250px;
}

nav .logo img {
    width: 100%;
}

nav a {
    width: 35px;
    text-decoration: none;
}

nav a .menuLine {
    height: 4px;
    width: 30px;
    border-radius: 10px;
    border: 2px solid #ffffff;
    box-shadow: inset 0 0 10px 0 #ffffff, 0 0 10px 0 #ffffff;
}

nav a .menuLine:nth-child(1) {
    animation: menuLine 1.5s infinite;
}

nav a .menuLine:nth-child(2) {
    animation: menuLine 1.5s infinite;
    animation-delay: 1s;
    border: 2px solid #ffffff;
    box-shadow: inset 0 0 5px 0 #e9e9e9, 0 0 5px 0 #e9e9e9;
}

nav a .menuLine:nth-child(3) {
    animation: menuLine 1.5s infinite;
    animation-delay: 2s;
}


/* @keyframes menuLine {
    50% {
        width: 20px;
    }
} */

nav .menuLine:not(:last-child) {
    margin-bottom: 7px;
}

nav .btnLogin {
    background: var(--color-gradient);
    width: 100px;
    height: 40px;
    border-radius: var(--border-radus-10);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 0 10px 0 #1d1717;
    transition: all .2s ease-in-out;
    margin-left: 10px;
}

nav .btnLogin:hover {
    box-shadow: none;
}

nav .menuNavR {
    display: flex;
    align-items: center;
    gap: 10px;
}

nav .menuNavR .menuItem a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-decoration: none;
    gap: 5px;
    text-align: center;
    width: 85px;
    height: 90px;
    border: 2px solid #ffffff;
    box-shadow: 0 0 10px 0 #1d1717;
    transition: all .2s ease-in-out;
    padding: 10px;
    border-radius: 0 0 10px 10px;
    background: var(--color-gradient);
    transition: all .5s;
}

nav .menuNavR .menuItem a:hover {
    background: linear-gradient(180deg, #bbbbbb, #474747);
}

nav .menuNavR .menuItem a.active {
    background: linear-gradient(180deg, #bbbbbb, #474747);
}

nav .menuNavR .menuItem img {
    width: 2rem;
}

nav .menuNavR .menuItem p {
    width: max-content;
}

nav .containerBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

nav .containerBtn .btnRegister {
    background: var(--color-gradient);
    width: 100px;
    height: 40px;
    border-radius: var(--border-radus-10);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 0 10px 0 #1d1717;
    transition: all .2s ease-in-out;
}

.sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    width: calc(200px + 70px);
    position: fixed;
    top: 0;
    left: 0;
    padding-top: calc(70px + 10px);
    z-index: 9;
    height: 100%;
    background: var(--color-black-green);
}

.sidebar img {
    width: 12rem;
    margin-bottom: 20px;
    margin-top: auto;
}

.sidebar .itemMenu a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    background: var(--color-gradient);
    width: 220px;
    height: 80px;
    border-radius: var(--border-radus-10);
    padding: 5px;
    border: 2px solid #ffffff;
    box-shadow: 0 0 10px 0 #1d1717;
}

.sidebar .itemMenu a.active {
    background: linear-gradient(180deg, #bbbbbb, #474747);
}

.sidebar .itemMenu a:hover {
    background: linear-gradient(180deg, #bbbbbb, #474747);
}

.sidebar .itemMenu a img {
    margin: 0;
    margin-left: 10px;
    padding: 5px;
}

.sidebar .itemMenu a img {
    width: 4rem;
}

.sidebar .itemMenu a .text p {
    filter: drop-shadow(0 2px 5px #000);
}

.flexR {
    width: 100%;
    min-height: 100vh;
    padding-top: 45px;
    padding-left: 270px;
}

.header .container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.header .container img {
    width: 3rem;
}

.footer {
    color: #fff;
    background: #272727;
    padding: 10px;
}

.footer span {
    color: #fff;
}

.footer .textTop {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.footer .textTop .textL p {
    color: #fff;
}

.footer .bankFooter {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    /* margin-top: 10px; */
    margin: 20px auto;
}

.footer .bankFooter img {
    margin-top: 10px;
    width: 100%;
    max-width: 500px;
}

.menuMobile {
    position: fixed;
    bottom: -150%;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--color-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0 0;
    height: 70px;
    transition: all 1s;
    border-top: 2px solid #ffffff;
    box-shadow: 0 0 10px 0 #1d1717;
}

.menuMobile .itenMenuMobile a {
    width: 5.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.menuMobile .itenMenuMobile a img {
    width: 2rem;
    margin-bottom: 5px;
}

.menuMobile .itenMenuMobile a .logo {
    background: linear-gradient(0deg, #453400, #ffd036);
    ;
    width: 75px;
    height: 75px;
    transform: translateY(-25px);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 20px 0 #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.menuMobile .itenMenuMobile a .logo img {
    width: 100%;
    margin: 0;
}


/* .menuMobile .itenMenuMobile a .logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-image: url('../img/logo/Logo-Worldslot2-04.png');
    background-size: cover;
    width: 60px;
    height: 60px;
} */

.menuMobile .itenMenuMobile:nth-child(3) a p {
    transform: translateY(-20px);
}

.overlay {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    background: #0000009d;
    opacity: 0;
    pointer-events: none;
    transition: all .2s;
}

.overlay.active {
    opacity: 1;
    pointer-events: unset;
}

.menuNavHide {
    position: fixed;
    top: 150%;
    left: 50%;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: all .2s;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 10px;
    opacity: 0;
}

.menuNavHide.active {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.menuNavHide .itemMenuNavHide a {
    background: var(--color-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-decoration: none;
    width: 150px;
    height: 150px;
    border-radius: 20px;
}

.menuNavHide .itemMenuNavHide a img {
    width: 90px;
    margin-bottom: 10px;
}

.menuNavHide .closeMenu {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -250%);
    font-size: 3rem;
}

.form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}

.form form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    background: #0000006e;
    width: 650px;
    margin-bottom: 20px;
}

.form form .itemForm {
    width: 370px;
}

.form form .itemForm {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding-left: 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #fff;
    overflow: hidden;
}

.form form .itemForm.trueid {
    border: 2px solid orange;
    box-shadow: 0 0 10px 0 orange;
}

.form form .itemForm i {
    font-size: 1rem;
    color: #646464;
}

.form form label {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #fff;
}

.form form .itemForm input {
    width: 100%;
    height: 40px;
    border: none;
    outline: none;
    position: relative;
    padding-left: 10px;
    font-size: 1rem;
}

.form form .itemForm select {
    width: 100%;
    height: 40px;
    border: none;
    outline: none;
    position: relative;
    padding-left: 10px;
    font-size: 1rem;
    background: #fff;
}

.form form button {
    width: 370px;
    height: 40px;
    outline: none;
    border: none;
    font-size: 1rem;
    border-radius: 10px;
    color: #fff;
    background: var(--color-gradient);
    cursor: pointer;
}

.form .bottomLink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.form .bottomLink a {
    text-decoration: none;
    color: #fff;
}

.form .trueImg {
    width: 300px;
    border-radius: 20px;
    box-shadow: 0 0 10px 0 orange;
    margin-bottom: 20px;
    display: none;
}

.form .trueImg.active {
    display: block;
}

.containerPromo {
    margin-top: 10px;
    margin-bottom: 10px;
}

.containerPromo .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}

.containerPromo .container .item a {
    display: flex;
}

.containerPromo .container .item a img {
    width: 100%;
    border-radius: 10px;
}

.wellcomePage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.wellcomePage {
    display: flex;
    flex-direction: column;
}

.wellcomePage img {
    width: 40%;
}

.wellcomePage a {
    font-size: 1rem;
    outline: none;
    border: none;
    border-radius: 10px;
    color: #fff;
    background: var(--color-gradient);
    box-shadow: inset 0 0 10px 0 #272727, 0 0 10px 0 #272727;
    cursor: pointer;
    text-decoration: none;
    padding: 10px 20px;
}

.container-sood .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.container-sood .top img {
    width: 13rem;
}

.container-sood .top .profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(0deg, #0c85d6, #074d7c);
    padding: 10px;
    border-radius: 10px;
}

.container-sood .top .profile img {
    width: 2rem;
}

.container-sood .mid {
    text-align: center;
    margin-top: 20px;
}

.container-sood .mid .row-games {
    width: 80%;
    margin: 20px auto;
    margin-bottom: 100px;
}

.container-sood .mid .row-games a img {
    filter: grayscale(100%);
    transition: all .2s;
    width: 13rem;
}

.container-sood .mid .row-games a img:hover {
    filter: grayscale(0%);
}

.sood-all-games {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sood-all-games .header {
    margin: 20px 0;
    text-align: center
}

.sood-all-games .header a {
    color: #fff;
}

.sood-all-games .container-games {
    width: 100%;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 10px;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    margin-bottom: 100px;
}

.sood-all-games .container-games .item-game {
    background: #00000065;
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
    padding: 10px;
    text-align: center;
}

.sood-all-games .container-games .item-game img {
    width: 100%;
    object-fit: cover;
}

.sood-all-games .container-games .item-game .persen {
    color: yellow;
    font-weight: 700;
    font-size: 1.5rem;
}

.sood-all-games .container-games .item-game .grade {
    background: #fff;
    width: calc(100% - 10px);
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.sood-all-games .container-games .item-game .grade .inner-grade {
    background: linear-gradient(0deg, #837b52, #ccbf80);
}

.popup-pass-genarate {
    position: fixed;
    top: -150%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;
    opacity: 0;
    transition: all 1s;
}

.popup-pass-genarate.active {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;
    opacity: 1;
}

.popup-pass-genarate .container {
    background: #fff;
    width: 280px;
    padding: 10px;
    border-radius: 20px;
    display: grid;
    align-items: center;
    justify-content: center;
}

.popup-pass-genarate .container img {
    width: 60px;
    margin: 0 auto;
}

.popup-pass-genarate .container p,
.popup-pass-genarate .container h2 {
    color: #363636;
}

.popup-pass-genarate .container h2 {
    margin: 20px auto;
}

.popup-pass-genarate .container p {
    font-size: 1rem;
}

.popup-pass-genarate .container p:not(:last-child) {
    margin-bottom: 5px;
}

.popup-pass-genarate .container button {
    height: 45px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: linear-gradient(45deg, #313131, #494949, #4e4e4e);
    color: #fff;
}

.popup-pass-genarate .container a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    height: 45px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: linear-gradient(45deg, #42d856, #39db6a, #42d892);
    color: #fff;
}

.popup-pass-genarate .container #submit-signup {
    margin-top: 10px;
}

.container-spin {
    width: 100%;
}

.spin-container {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
}

.spin-container .spin-btn {
    position: absolute;
    z-index: 991;
    width: 60px;
    height: 60px;
    background: rgb(223, 172, 77);
    box-shadow: inset 0 0 10px #000;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.spin-container .spin-btn::before {
    content: "";
    position: absolute;
    top: -28px;
    width: 20px;
    height: 30px;
    background: rgb(223, 172, 77);
    clip-path: polygon(50% 0%, 9% 100%, 89% 100%);
    box-shadow: inset 0 0 10px #000;
}

.spin-container .spin-btn p {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: #ffffff;
}

.spin-container .wheel {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #c5c5c5;
    border-radius: 50%;
    overflow: hidden;
    /* box-shadow: 0 0 0 5px #333, 0 0 0 15px #fff, 0 0 0 18px #111, inset 0 0 10px #000;; */
    transition: all 2s;
}

.spin-container .wheel .outsite {
    position: absolute;
    z-index: 9;
}

.spin-container .wheel .outsite img {
    width: 100%;
    max-width: 500px;
}

.spin-container .wheel .item-spin {
    position: absolute;
    width: 50%;
    height: 50%;
    background: var(--clr);
    transform-origin: bottom right;
    transform: rotate(calc(45deg * var(--i)));
    clip-path: polygon(0 0, 57% 0, 100% 100%, 0 57%);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    cursor: pointer;
}

.spin-container .wheel .item-spin p {
    position: relative;
    transform: rotate(45deg);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 3px 5px 2px #0000003f;
}

.spin-container .wheel .item-spin img {
    width: 100%;
    max-width: 80px;
    transform: rotate(-45deg);
}

.btn-spin {
    width: 100%;
    max-width: 300px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    border: none;
    border-radius: 20px;
    font-size: 1.5rem;
    background: linear-gradient(180deg, #0ca911, #004e06);
    color: #fff;
    text-shadow: 2px 3px 5px #000;
    cursor: pointer;
    transition: .6s;
}

.btn-spin:hover {
    background: linear-gradient(180deg, #474747, #bbbbbb);
}

.btn-spin:active {
    transform: scale(.9);
}

.history-spin .spin-display {
    background: #262727;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 20px;
}

.history-spin .spin-display .historyscrollbar {
    display: grid;
    grid-gap: 10px;
}

.history-spin .spin-display .inner-history {
    background: #3b3b3b;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.history-spin .spin-display .inner-history i,
.history-spin .spin-display .inner-history h3 {
    color: #c69a5d;
}

.btn-back {
    color: #fff;
    position: absolute;
    top: 100px;
    left: 40px;
    font-size: 2rem;
    z-index: 1;
}

.btn-back:active {
    transform: scale(.8);
}

@media screen and (max-width: 1440px) {
    nav .menuNavR .menuItem {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .sidebar {
        position: sticky;
        top: 80px;
        left: 0;
        width: max-content;
        height: max-content;
        border-radius: 10px;
        padding: 10px 10px;
        /* margin-left: 10px; */
    }
    .sidebar .itemMenu a {
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: 90px;
        width: 85px;
    }
    .sidebar .itemMenu a img {
        width: 3rem;
        margin: 0;
    }
    .sidebar .itemMenu a .subText {
        display: none;
    }
    .flexR {
        padding-left: 0px;
    }
    .flexL {
        display: flex;
        gap: 5px;
        padding: 0 10px;
    }
    .menuMobile {
        /* display: flex; */
        bottom: 0;
    }
    .containerFlex {
        margin-bottom: 50px;
    }
    .footer {
        padding-bottom: 40px;
    }
    .menuNavHide {
        grid-template-columns: repeat(3, 1fr);
    }
    .menuNavHide .itemMenuNavHide a {
        width: 100px;
        height: 100px;
    }
    .menuNavHide .itemMenuNavHide a img {
        width: 40px;
    }
    .menuNavHide .closeMenu {
        font-size: 2rem;
        transform: translate(-50%, -450%);
    }
    .spin-container {
        width: 400px;
        height: 400px;
    }
    .spin-container .wheel .item-spin img {
        width: 100%;
        max-width: 70px;
        transform: rotate(-45deg);
    }
}

@media (max-width: 800px) {
    .containerPromo .container {
        grid-template-columns: repeat(1, 1fr);
    }
    .spin-container {
        width: 250px;
        height: 250px;
    }
    .spin-container .wheel .item-spin img {
        width: 100%;
        max-width: 50px;
        transform: rotate(-45deg);
    }
    .sood-all-games .container-games {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media screen and (max-width: 650px) {
    .form form {
        width: calc(100% - 20px);
    }
    .form form .itemForm {
        width: 100%;
    }
    .form form button {
        width: 100%;
    }
    .wellcomePage img {
        width: 100%;
    }
}

@media screen and (max-width: 580px) {
    nav .btnLogin {
        display: none;
    }
    .container-sood .mid .row-games a img {
        width: 8rem;
    }
}

@media screen and (max-width: 565px) {
    .review {
        height: 100%;
    }
    .header .container img {
        width: 2rem;
    }
    .header .container h2 {
        font-size: .9rem;
    }
}

@media screen and (max-width: 545px) {
    nav {
        padding: 0 5px;
    }
    .sidebar {
        padding-top: 10px;
    }
    .footer .container {
        text-align: center;
    }
    .footer .container .textTop {
        flex-direction: column;
        gap: 20px;
    }
}

@media screen and (max-width: 495px) {
    nav .btnLogin {
        margin-left: 0;
    }
}

@media screen and (max-width: 425px) {
    nav .btnLogin {
        display: none;
    }
    .containerPromo .container {
        grid-template-columns: 1fr;
    }
    .menuMobile .itenMenuMobile a {
        width: 4.7rem;
    }
    .container-sood .mid .row-games a img {
        width: 6rem;
    }
}

@media screen and (max-width: 375px) {
    .menuMobile .itenMenuMobile a {
        width: 4.7rem;
    }
}

@media screen and (max-width: 320px) {
    .menuMobile .itenMenuMobile a {
        width: 4rem;
    }
}