* {
    box-sizing: border-box;
}
:root {
    --speed: 0.85;
    --primary: #fff;
    --size: 20;
    --ease: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
body {
    /* background: #fafafa; */
    /* font-family: 'Alata', sans-serif; */
    min-height: 100vh;
    overflow-x: hidden;
    padding: 0;
}
main {
    height: 100vh;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

.main-game {
    height: 100%;
    overflow: hidden;
}

section {
    /* align-items: center;
    display: flex;
    font-size: 3rem; */
    /* height: 100vh; */
    /* justify-content: center;
    scroll-snap-align: center;
    width: 100vw; */
}
.menu {
    position: fixed;
}
.menu__toggle {
    opacity: 0;
    position: absolute;
}
.menu__toggle:checked ~ .menu__content .menu__item {
    --active-x: var(--x);
    --active-y: var(--y);
    --scale: 1;
}
.menu__toggle:checked ~ .menu__toggle-label:not(.menu__toggle-label--closer) {
    --clip: circle(1000% at 0% 0%);
    height: 100vh;
    width: 100vw;
    backdrop-filter: blur(10px);
}
.menu__toggle:checked ~ .menu__toggle-label .menu__icon:nth-of-type(1) {
    --scale: 0;
}
.menu__toggle:checked ~ .menu__toggle-label .menu__icon:nth-of-type(2) {
    --scale: 1;
}
.menu__toggle-label {
    cursor: pointer;
    height: calc(var(--size, 20) * 0.5vmin);
    width: calc(var(--size, 20) * 0.5vmin);
    display: block;
    --clip: circle(100% at 0% 0%);
    -webkit-clip-path: var(--clip);
    clip-path: var(--clip);
    position: absolute;
    top: 0;
    left: 0;
    transition: backdrop-filter calc(var(--speed, 1) * 1s) var(--ease), clip-path 0s, -webkit-clip-path 0s;
}
.menu__toggle-label--closer {
    z-index: 3;
    --scale: 0;
}
.menu__icon {
    --scale: 1;
    height: calc(var(--size, 20) * 0.25vmin);
    width: calc(var(--size, 20) * 0.25vmin);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-70%, -70%) scale(var(--scale, 1));
    fill: var(--primary);
    transition: all calc(var(--speed, 1) * 1s) var(--ease);
}
.menu__icon:nth-of-type(2) {
    --scale: 0;
}
.menu__content {
    background: hsl(var(--hue, 0), 50%, 50%);
    margin: 0;
    display: block;
    list-style-type: none;
    z-index: -1;
    filter: url("#goo");
    position: absolute;
    top: 0;
    height: 0;
    width: 0;
    left: 0;
    z-index: 2;
}
.menu__content:after {
    background: hsl(var(--hue, 0), 50%, 50%);
    content: '';
    border-radius: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    height: calc(var(--size, 20) * 1vmin);
    width: calc(var(--size, 20) * 1vmin);
    top: 0;
    left: 0;
}
.menu__item {
    background: hsl(var(--hue, 0), 50%, 50%);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    list-style-type: none;
    font-size: 1rem;
    height: calc(var(--size, 20) * 1vmin);
    left: calc(var(--active-x, 0) * 1vw);
    overflow: hidden;
    place-items: center;
    position: absolute;
    text-align: center;
    top: calc(var(--active-y, 0) * 1vh);
    transform: translate(-50%, -50%) scale(var(--scale, 0.75));
    transition: all calc(var(--speed, 1) * 1s) calc(var(--delay, 0) * 1s) var(--ease);
    width: calc(var(--size, 20) * 1vmin);
}
@media (min-width: 768px) {
    .menu__item {
        font-size: 2rem;
    }
}
.menu__item:nth-of-type(1) {
    --delay: 0.1;
    --x: 35;
    --y: 35;
}
.menu__item:nth-of-type(2) {
    --delay: 0.2;
    --x: 65;
    --y: 35;
}
.menu__item:nth-of-type(3) {
    --delay: 0.3;
    --x: 35;
    --y: 65;
}
.menu__item:nth-of-type(4) {
    --delay: 0.4;
    --x: 65;
    --y: 65;
}
.menu__item:nth-of-type(5) {
    --delay: 0.5;
    --x: 65;
    --y: 65;
}
.menu__item:nth-of-type(6) {
    --delay: 0.6;
    --x: 65;
    --y: 65;
}
.menu__link {
    align-items: center;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-decoration: none;
}
.menu__link:hover {
    /* text-decoration: underline;
    */
}

/* Local NCB menu restyle */
.menu {
    position: fixed;
    inset: 0 auto auto 0;
    z-index: 10000;
    width: 0;
    height: 0;
}

.menu__toggle {
    pointer-events: none;
}

.menu__toggle-label {
    clip-path: none;
    -webkit-clip-path: none;
}

.menu__toggle-label:not(.menu__toggle-label--closer) {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    pointer-events: none;
    background: rgba(1, 3, 35, 0.58) !important;
    backdrop-filter: blur(8px);
    transition: opacity 0.28s ease, backdrop-filter 0.28s ease;
    z-index: 5;
}

.menu__toggle:checked ~ .menu__toggle-label:not(.menu__toggle-label--closer) {
    width: 100vw;
    height: 100vh;
    opacity: 1;
    pointer-events: auto;
    clip-path: none;
    -webkit-clip-path: none;
}

.menu__toggle-label--closer {
    position: fixed;
    top: clamp(14px, 2vw, 24px);
    left: clamp(14px, 2vw, 24px);
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(7, 10, 47, 0.82) !important;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32), inset 0 0 18px rgba(40, 168, 252, 0.08);
    backdrop-filter: blur(12px);
    transition: left 0.3s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    z-index: 7;
}

.menu__toggle-label--closer:hover {
    border-color: rgba(40, 168, 252, 0.72);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36), 0 0 22px rgba(40, 168, 252, 0.28);
}

.menu__toggle:checked ~ .menu__toggle-label--closer {
    left: min(284px, calc(100vw - 70px));
    background: #28a8fc !important;
    border-color: rgba(255, 255, 255, 0.34);
}

.menu__icon {
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(var(--scale, 1));
    fill: #ffffff;
}

.menu__content {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, calc(100vw - 72px));
    height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 92px 18px 28px;
    margin: 0;
    overflow-y: auto;
    background:
        radial-gradient(circle at 18% 10%, rgba(40, 168, 252, 0.28), transparent 34%),
        linear-gradient(180deg, rgba(5, 5, 103, 0.98) 0%, rgba(2, 5, 37, 0.98) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 24px 0 70px rgba(0, 0, 0, 0.44);
    filter: none;
    transform: translateX(-105%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s ease, opacity 0.24s ease;
    z-index: 6;
}

.menu__toggle:checked ~ .menu__content {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.menu__content:before {
    content: none;
}

.menu__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    margin: 0 0 16px;
    padding: 0 8px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.menu__brand img {
    width: 150px;
    max-width: 76%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.24));
}

.menu__content:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 4px;
    border-radius: 0;
    background: linear-gradient(90deg, #28a8fc 0%, #9c8dff 50%, #f9de55 100%);
    transform: none;
}

.menu__item {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 52px;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06) !important;
    transform: translateX(-18px);
    opacity: 0;
    transition: transform 0.24s ease, opacity 0.24s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.menu__toggle:checked ~ .menu__content .menu__item {
    transform: translateX(0);
    opacity: 1;
}

.menu__toggle:checked ~ .menu__content .menu__item:nth-child(1) {
    transition-delay: 0.04s;
}

.menu__toggle:checked ~ .menu__content .menu__item:nth-child(2) {
    transition-delay: 0.07s;
}

.menu__toggle:checked ~ .menu__content .menu__item:nth-child(3) {
    transition-delay: 0.1s;
}

.menu__toggle:checked ~ .menu__content .menu__item:nth-child(4) {
    transition-delay: 0.13s;
}

.menu__toggle:checked ~ .menu__content .menu__item:nth-child(5) {
    transition-delay: 0.16s;
}

.menu__toggle:checked ~ .menu__content .menu__item:nth-child(6) {
    transition-delay: 0.19s;
}

.menu__toggle:checked ~ .menu__content .menu__item:nth-child(7) {
    transition-delay: 0.22s;
}

.menu__toggle:checked ~ .menu__content .menu__item:nth-child(8) {
    transition-delay: 0.25s;
}

.menu__toggle:checked ~ .menu__content .menu__item:nth-child(9) {
    transition-delay: 0.28s;
}

.menu__item:hover {
    border-color: rgba(40, 168, 252, 0.42);
    background: rgba(40, 168, 252, 0.16) !important;
}

.menu__link {
    min-height: 52px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
    text-align: left;
    white-space: normal;
    transition: color 0.2s ease, transform 0.2s ease;
}

.menu__link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.menu__link:before {
    content: "";
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #28a8fc;
    background: rgba(40, 168, 252, 0.14);
    border: 1px solid rgba(40, 168, 252, 0.2);
    font-family: "Font Awesome 5 Free";
    font-size: 14px;
    font-weight: 900;
}

.menu__link.nav_home:before {
    content: "\f015";
}

.menu__link.nav_about:before {
    content: "\f05a";
}

.menu__link.nav_signIn:before {
    content: "\f2f6";
}

.menu__link.nav_Games:before {
    content: "\f11b";
}

.menu__link.nav_Tournaments:before {
    content: "\f091";
}

.menu__link.nav_services:before {
    content: "\f013";
}

.menu__link.nav_Gallery:before {
    content: "\f302";
}

.menu__link.nav_House:before {
    content: "\f46d";
}

.menu__link.nav_Contact:before {
    content: "\f0e0";
}

.menu__link.nav_Support:before {
    content: "\f05a";
}

@media (max-width: 480px) {
    .menu__toggle-label--closer {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .menu__toggle:checked ~ .menu__toggle-label--closer {
        left: calc(100vw - 62px);
    }

    .menu__content {
        width: calc(100vw - 58px);
        padding: 82px 14px 22px;
    }

    .menu__brand {
        min-height: 58px;
        margin-bottom: 12px;
        padding-bottom: 14px;
    }

    .menu__brand img {
        width: 132px;
    }

    .menu__link {
        min-height: 50px;
        padding: 9px 12px;
        font-size: 14px;
    }
}

/* Local NCB header action buttons */
.nav-right.row {
    position: fixed;
    top: clamp(14px, 2vw, 24px);
    right: clamp(12px, 2vw, 22px);
    z-index: 10001;
    width: auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.nav-right.row:before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 18px;
    background: rgba(3, 5, 35, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
    z-index: -1;
}

.nav-right.row > .nav_signIn {
    min-width: 104px;
    min-height: 46px;
    margin: 0 !important;
    padding: 0 16px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(40, 168, 252, 0.5) !important;
    border-radius: 13px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(40, 168, 252, 0.96), rgba(43, 63, 249, 0.92)) !important;
    box-shadow: 0 10px 28px rgba(40, 168, 252, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.24);
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.nav-right.row > .nav_signIn:before {
    content: "\f2f6";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 13px;
}

.nav-right.row > .nav_signIn:hover,
.nav-right.row > .nav_signIn:focus {
    transform: translateY(-1px);
    border-color: rgba(249, 222, 85, 0.8) !important;
    box-shadow: 0 14px 34px rgba(40, 168, 252, 0.32), 0 0 0 3px rgba(249, 222, 85, 0.16);
    text-decoration: none;
}

.nav-right.row > .nav_signIn:active {
    transform: translateY(0);
}

.nav-right.row ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-right.row li {
    width: auto !important;
    height: auto !important;
    min-width: 78px;
    min-height: 46px;
    border-radius: 13px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nav-right.row li:hover,
.nav-right.row li:focus-within {
    transform: translateY(-1px);
    background: rgba(249, 222, 85, 0.14) !important;
    border-color: rgba(249, 222, 85, 0.6);
    box-shadow: 0 12px 30px rgba(249, 222, 85, 0.16);
}

.nav-right.row li a,
.nav-right.row li a.en.right-dir {
    width: 100%;
    min-height: 46px;
    height: auto;
    padding: 0 14px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #ffffff;
    font-size: 14px !important;
    line-height: 1;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
}

.nav-right.row li a:before {
    content: "\f0ac";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #f9de55;
    font-size: 13px;
}

.nav-right.row li a:hover,
.nav-right.row li a:focus {
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 640px) {
    .nav-right.row {
        top: 14px;
        right: 12px;
        gap: 8px;
    }

    .nav-right.row:before {
        inset: -5px;
        border-radius: 16px;
    }

    .nav-right.row > .nav_signIn {
        min-width: 74px;
        min-height: 42px;
        padding: 0 12px !important;
        font-size: 13px;
    }

    .nav-right.row > .nav_signIn:before {
        display: none;
    }

    .nav-right.row li {
        min-width: 54px;
        min-height: 42px;
        border-radius: 12px !important;
    }

    .nav-right.row li a,
    .nav-right.row li a.en.right-dir {
        min-height: 42px;
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    .nav-right.row li a:before {
        display: none;
    }
}

@media (max-width: 370px) {
    .nav-right.row {
        right: 8px;
        gap: 6px;
    }

    .nav-right.row > .nav_signIn {
        min-width: 68px;
        padding: 0 9px !important;
    }

    .nav-right.row li {
        min-width: 48px;
    }
}


.games {
    /* margin-top: 10rem; */
}

.games .row {
    padding: 1rem;
}

.game {
    /* background-image: url("https://placehold.co/600x400/EEE/31343C");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat; */
    /* background: linear-gradient(180deg, rgba(252, 182, 20, 0.5) -0.03%, rgba(18, 21, 24, 0.5) 100.03%); */
    /* border: 1px solid #ffffff8e; */
    padding: 1rem .6rem;
    margin-top: 1rem;
    text-align: center;
}

.val {
   /*background-image: url("../img/Vector\ \(26\).png") !important;*/
    padding: 1rem;
}

.apex {
    /*background-image: url("../img/Vector\ \(27\).png") !important;*/
    padding: 1rem;
}

.ass {
    /*background-image: url("../img/Vector\ \(28\).png") !important;*/
    padding: 1rem;
}

.bat {
    /*background-image: url("../img/Vector\ \(29\).png") !important;*/
    padding: 1rem;
}

.night {
    /*background-image: url("../img/Vector\ \(30\).png") !important;*/
    padding: 1rem;
}

.night img {
    height: 100% !important;
}

.night {
    margin-top: 0;
}

.game h2 {
    color: #FFFFFF;
    font-size: 22px;
    font-weight: bold;
    margin: 0;
}

.game span {
    color: #ADB0BC;
    font-size: 12px;
}

.game img {
    width: 100%;
    margin-bottom: 0.2rem;
    height: 280px;
    object-fit: cover;
}

.games .form-control {
    display: block;
    width: 100%;
    padding: 0.7em 1.5rem;
    font-size: 14px;
    color: #FFF;
    background-color: #4848488F;
    background-clip: padding-box;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0;
    background-image: url("https://placehold.co/600x400/EEE/31343C");
    background-position: calc(100% - 1.5rem) 50%;
    background-repeat: no-repeat;
    background-size: 1.5%;
}

.games .form-control::placeholder {
    color: #ADB0BC;
    font-size: 12px;
}

.games .form-control:focus {
    background-color: #4848488F !important;
}
.mobile {
    padding-top: 10rem;
    padding-bottom: 5rem;
    display: none;
}

.mobile-slide {
    height: 400px;
    display: flex;
    justify-content: end;
    flex-flow: column;
    padding: 1.5rem;
    /* text-align: center; */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: 8px;
}

.mobile-slide h2 {
    color: #FFFFFF;
    font-size: 26px;
    font-weight: bold;
}

.mobile .swiper-slide:first-child {
    width: 100% !important;
}

.mobile .swiper-slide:nth-last-child(3){
    width: 100% !important;
}

.new-games .swiper-container {
    overflow: hidden;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 480px) {
    .new-games .swiper-container {
        min-height: 320px;
    }
}
.new-games .swiper-container-wrapper {
    display: flex;
    flex-flow: column-reverse nowrap;
    /* height: 100vh; */
    width: 100%;
}
@media (min-width: 768px) {
    .new-games .swiper-container-wrapper {
        flex-flow: row nowrap;
    }
    .games {
        margin-top: 5rem;
        padding-bottom: 5rem;
    }
}

.new-games .swiper-button-next, .swiper-button-prev {
    color: #000;
}

.new-games .gallery-thumbs {
    padding: 1rem;
}

.new-games .gallery-thumbs img {
    height: 60px;
    width: 60px;
}

.new-games .gallery-thumbs span {
    color: #FFFFFF;
    font-size: 16px;
}

.new-games .gallery-top img {
    height: 100%;
    width: 100%;
     object-fit: cover;
    border-radius: 22px;
    /* margin-left: 2rem; */
}

.new-games {
    margin-top: 12rem;
}

.new-games .swiper-slide .description,
.new-games .swiper-slide .title {
    display: block;
    opacity: 0;
    transition: 0.5s ease 0.5s;
}
.new-games .swiper-slide-active .description,
.new-games .swiper-slide-active .title {
    opacity: 1;
}
.new-games .swiper-slide-active .title {
    margin-bottom: 0.5rem;
    font-size: 24px;
    color: #000;
    transition: opacity 0.5s ease 0.5s;
}
.new-games .swiper-slide-active .description {
    font-size: 16px;
    color: #777;
    transition: opacity 0.5s ease 0.75s;
}

.new-games .gallery-top {
    position: relative;
    width: 100%;
    height: 75vh;
}
@media (min-width: 768px) {
    .new-games .gallery-top {
        width: 74%;
        height: 70vh;
        margin-right: 10px;
    }
}

.game__content {
    font-size: 45px;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #FFF;
    text-align: center;
}

.new-games .gallery-thumbs {
    width: 100%;
    /* height: 25vh; */
    padding-top: 10px;
   /* margin-top: 1rem;*/
}
@media (min-width: 768px) {
    .new-games .gallery-thumbs {
        width: 24%;
        margin-right: 2%;
        height: 70vh;
        padding: 0;
    }
}
.new-games .gallery-thumbs .swiper-wrapper {
    flex-direction: row;
}
@media (min-width: 768px) {
    .new-games .gallery-thumbs .swiper-wrapper {
        flex-direction: column;
    }
}
.new-games .gallery-thumbs .swiper-slide {
    width: 25%;
    flex-flow: row nowrap;
    height: 100%;
    opacity: 0.75;
    cursor: pointer;
}
@media (min-width: 768px) {
    .new-games .gallery-thumbs .swiper-slide {
        flex-flow: column nowrap;
        width: 100%;
    }
}
.new-games .gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    background-color: #252525;
    border-radius: 10px;
    padding: .45rem;
}

@media (max-width: 768px) {
    .games .form-control {
        background-size: 3%;
    }
    .new-games {
        display: none;
    }
    .mobile {
        display: block;
    }
    .games {
        margin-top: 5rem;
    }
}
