@import url("https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    font-family: "Onest", sans-serif;
    box-sizing: border-box;
    color: #fff;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}
* {
    scrollbar-width: thin;
    scrollbar-color: #231452 rgb(18 10 41);
}
*::-webkit-scrollbar {
    width: 12px;
}

*::-webkit-scrollbar-thumb {
    background-color: #231452;
    border-radius: 20px;
    border: 2px solid rgb(18 10 41);
}
html {
    scroll-behavior: smooth;
}
body {
    --tw-bg-opacity: 1;
    background-color: rgb(18 10 41 / var(--tw-bg-opacity));
}
button {
    cursor: pointer;
    text-transform: none;
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}
.header {
    padding: 20px 24px;
    gap: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    height: fit-content;
    max-width: 80rem;
    margin: 0 auto;
    width: 100%;
    flex-direction: column;
    align-items: center;
}
.header-wrapper {
    display: flex;
    flex-direction: row;
    width: fit-content;
    gap: 20px;
    align-items: center;
}
.header-menu {
    display: none;
    width: 48px;
    height: 48px;
    background-color: rgb(18 10 41);
}
.header-menu-svg {
    display: inline-block;
    width: 24px;
    height: 24px;
    color: inherit;
    vertical-align: middle;
    fill: none;
    stroke: currentColor;
}
.header-logo {
    color: inherit;
    text-decoration: inherit;
}
.logo-svg {
    max-width: 144px;
    height: 30px;
    display: block;
    fill: currentColor;
    stroke: none;
}
.lang-button {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    padding: 0 12px;
    align-items: center;
    width: 100%;
    display: flex;
    position: relative;
    background-color: rgb(18 10 41);
    padding-right: 40px;
    display: none;
}
.lang-button span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
.lang-svg {
    display: flex;
    align-items: center;
    right: 16px;
    top: 0px;
    bottom: 0px;
    position: absolute;
    pointer-events: none;
}
.lang-svg svg {
    fill: #6d3dff;
    stroke: none;
    display: inline-block;
    width: 16px;
    height: 16px;
    color: inherit;
    vertical-align: middle;
}
.reg-button {
    z-index: 10;
    width: fit-content;

    background: rgb(81, 205, 203);
    background: linear-gradient(
        90deg,
        rgba(81, 205, 203, 1) 0%,
        rgba(81, 111, 195, 1) 56%,
        rgba(81, 45, 189, 1) 100%
    );
    min-height: 40px;
    min-width: 40px;
    padding-left: 32px;
    padding-right: 32px;
    line-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 8px;
    font-size: 14px;

    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
}
.reg-button:hover {
    --tw-shadow: 0px 1px 40px rgba(81, 45, 189, 0.8);
    --tw-shadow-colored: 0px 1px 40px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.sign-button {
    width: fit-content;

    background-color: rgb(18 10 41);
    border: 2px solid rgb(81 45 189);
    min-height: 40px;
    min-width: 40px;
    padding-left: 32px;
    padding-right: 32px;
    line-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 8px;
    font-size: 14px;

    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
}
.sign-button:hover {
    --tw-shadow: 0px 1px 40px rgba(81, 45, 189, 0.8);
    --tw-shadow-colored: 0px 1px 40px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.banner-container {
    display: flex;
    flex-direction: column-reverse;
    position: relative;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 40px;
    overflow: hidden;
    z-index: 10;
}
.banner-info-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.banner-info-title {
    --tw-text-opacity: 1;
    display: inline-block;
    font-weight: 700;
    font-size: 32px;
    line-height: 45px;
}
.banner-info-title .title-yellow {
    color: rgb(238 197 70 / var(--tw-text-opacity));
}
.banner-info-text {
    font-size: 16px;
    line-height: 21px;
    margin-top: 24px;
}

.banner-info-text .text-yellow {
    --tw-text-opacity: 1;
    color: rgb(238 197 70 / var(--tw-text-opacity));
}
.banner-info-button-wrap {
    color: inherit;
    text-decoration: inherit;
}
.banner-info-button {
    width: fit-content;
    margin-top: 32px;

    background: rgb(81, 205, 203);
    background: linear-gradient(
        90deg,
        rgba(81, 205, 203, 1) 0%,
        rgba(81, 111, 195, 1) 56%,
        rgba(81, 45, 189, 1) 100%
    );
    min-height: 40px;
    min-width: 40px;
    padding-left: 32px;
    padding-right: 32px;
    line-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 8px;
    font-size: 14px;

    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
}
.banner-info-button:hover {
    --tw-shadow: 0px 1px 20px rgba(81, 45, 189, 0.64);
    --tw-shadow-colored: 0px 1px 20px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.banner-img-container {
    width: 374px;
    height: 272px;
}
.banner-img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    height: auto;
}
.games {
    padding: 0 40px 50px;
    margin: 0 auto;
    max-width: 80rem;
}

.game-nav {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}
.game-buttons {
    display: flex;
    padding-top: 32px;
    overflow-y: auto;
}
.sort-button {
    font-size: 12px;
    line-height: 18px;
    padding-left: 8px;
    padding-right: 8px;
    --tw-bg-opacity: 1;
    background-color: rgb(35 20 82 / var(--tw-bg-opacity));
    border-radius: 8px;
    margin-right: 24px;
    position: relative;
    background-color: transparent;
    background-image: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-shrink: 0;
    height: 78px;
    width: 78px;
    background-color: #231452;
}
.sort-button:hover {
    background-color: #2e1a6b;
}

.sort-button-svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    stroke: none;
    display: inline-block;
    color: inherit;
    vertical-align: middle;
}

.game-sorts-prov {
    width: 50%;
    position: relative;
    padding-top: 32px;
    display: flex;
    align-items: center;
}
.game-sorts-prov-button {
    padding: 8px 12px;
    --tw-border-opacity: 1;
    border-color: rgb(81 45 189 / var(--tw-border-opacity));
    border-width: 2px;
    border-radius: 8px;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    height: 46px;
    display: flex;
    background-color: transparent;
    background-image: none;
}
.prov-button-text {
    --tw-text-opacity: 1;
    color: rgb(123 114 151 / var(--tw-text-opacity));
    font-size: 12px;
    line-height: 18px;
}
.prov-button-svg {
    fill: currentColor;
    stroke: none;
    margin-left: auto;
    display: inline-block;
    width: 16px;
    height: 16px;
    color: inherit;
    vertical-align: middle;
    overflow-clip-margin: content-box;
    overflow: hidden;
}

.grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-columns: minmax(0, 1fr);
    margin-bottom: 48px;
}

.flex-col {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.game-card {
    position: relative;
}

.game-card-small {
    display: flex;
    background-color: rgb(35 20 82);
    border-radius: 8px;
    overflow: hidden;
}

.game-card-big {
    display: flex;
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    background-color: rgb(35 20 82);
    border-radius: 8px;
    overflow: hidden;
}

.game-card-small img {
    width: 100%;
    height: 140px;
}

.game-card-big img {
    width: 100%;
    height: 360px;
}

.card-text {
    padding: 10px 16px;
    color: #fff;
}
.card-text p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.card-text p:first-child {
    font-weight: 700;
    font-size: 14px;
}
.card-text p:nth-child(2) {
    font-size: 12px;
    line-height: 18px;
    color: rgb(123 114 151);
}

.game-card-small .popup-blur {
    height: 140px;
}
.game-card-big .popup-blur {
    height: 360px;
}

.game-card-small .popup-button {
    top: calc(70px - 22px);
}
.game-card-big .popup-button {
    top: calc(180px - 22px);
}
.popup-blur {
    width: 100%;
    position: absolute;
    backdrop-filter: blur(4px);
    --tw-bg-opacity: 0.6;
    background-color: rgb(35 20 82 / var(--tw-bg-opacity));
}

.popup-button {
    left: calc(50% - 22px);
    height: 44px;
    width: 44px;
    position: absolute;
}
.showmore-button {
    width: fit-content;
    height: 48px;
    padding: 0 40px;
    font-size: 14px;
    border-radius: 8px;
    --tw-bg-opacity: 1;
    background-color: rgb(81 45 189 / var(--tw-bg-opacity));
}
.showmore-button:hover {
    --tw-shadow: 0px 1px 40px rgba(81, 45, 189, 0.8);
    --tw-shadow-colored: 0px 1px 40px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.games-button-up-wrap {
    display: flex;
    justify-content: center;
    position: relative;
}
.games-button-up {
    position: absolute;
    right: 16px;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    --tw-bg-opacity: 1;
    background-color: rgb(81 45 189 / var(--tw-bg-opacity));
    --tw-shadow: 0px 1px 40px rgba(81, 45, 189, 0.8);
    --tw-shadow-colored: 0px 1px 40px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.button-up-svg {
    display: inline-block;
    width: 16px;
    height: 16px;
    color: inherit;
    vertical-align: middle;
    fill: none;
    stroke: currentColor;
}

.footer {
    padding: 40px 0;
    display: flex;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
    text-align: center;
    --tw-bg-opacity: 1;
    background-color: rgb(26 15 61 / var(--tw-bg-opacity));
    align-items: center;
    flex-direction: column;
}
.footer-wrap {
    padding: 0 40px;
    max-width: 80rem;
    margin: 0 auto;
}
.footer-links-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.logo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 24px;
}

.footer-links-text {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    gap: 20px;
}
.footer-logo-container {
    display: flex;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 16px;
}
.footer-logo-wrap {
    margin-right: 24px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}
.footer-logo {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    background-color: rgb(26 15 61);
}
.footer-adult-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}
.adult-logo {
    width: 40px;
    height: 40px;
    fill: currentColor;
    stroke: none;
    display: inline-block;
    color: inherit;
    vertical-align: middle;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
}
.footer-subtext {
    --tw-text-opacity: 0.3;
    color: rgb(255 255 255 / var(--tw-text-opacity));
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    display: block;
}

@media (min-width: 640px) {
    .header {
        flex-direction: row;
        padding: 0 24px;
        height: 88px;
        gap: 0;
    }
    .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .header-menu {
        display: block;
    }
    .lang-button {
        display: flex;
    }
    .banner-container {
        flex-direction: row;
    }
    .banner-img-container {
        align-items: center;
        flex-shrink: 0;
        display: flex;
    }
    .banner-info-container {
        width: max-content;
    }
    .footer {
        flex-direction: row;
    }
    .footer-links-logo-container {
        margin-right: 54px;
    }
    .footer-links-list-container {
        padding-top: 10px;
        align-self: flex-end;
        flex-direction: row;
    }
}
@media (min-width: 1170px) {
    .banner-container {
        max-width: 80rem;
    }
    .banner-img-container {
        width: 583px;
        height: 424px;
    }
    .game-nav {
        justify-content: space-between;
    }
    .game-sorts-prov {
        width: 180px;
    }
    .grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .game-card-small {
        height: max-content;
    }

    .game-card-big {
        height: max-content;
        grid-column: span 2 / span 2;
    }

    .game-card-small img {
        height: 140px;
    }

    .game-card-big img {
        height: 360px;
    }
    .footer-links-logo-container {
        flex-direction: column;
        margin-bottom: 0;
    }
    .logo-container {
        flex-direction: row;
        justify-content: flex-start;
    }
}
