.lock-scroll {
    overflow: hidden;
    height: 100%
}

a {
    text-decoration: auto;
}

html {
    scroll-behavior: smooth
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0
}

main {
    font-family: Lexend !important;
}

.logo-a {
    display: flex;
    margin-left: 10px;
}

.header-search-icon {
    background-position: center;
    background-size: cover;
    width: 24px;
    height: 24px;
    margin: -4px 0;
    background-repeat: no-repeat;
    display: flex;
    cursor: pointer
}

.header-search-input {
    background: #FFF;
    border-radius: 10px;
    display: flex;
    position: absolute;
    padding: 0 10px;
    flex-direction: column;
    font-family: 'Lexend';
    flex-direction: row;
    width: 426px;
    height: 60px;
    top: 45px;
    right: 10px;
    z-index: 9999999999;
    justify-content: space-between;
    filter: drop-shadow(0 5px 17px rgba(39, 39, 39, .25));
    opacity: 1;
    transition: opacity .6s ease
}

.header-search-input::placeholder {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    color: #ACACAC
}

.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s ease
}

.header-search-input .active {
    display: block
}

.header-search-input input {
    direction: ltr;
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    align-items: center;
    color: #1E1E1E;
    margin-left: 10px;
    width: 80%;
}

.header-search-input input::placeholder {
    direction: ltr;
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 25px;
    align-items: center;
    color: #ABB7C2
}

.header-search-input input:focus {
    outline: none
}

.header-search-input button {
    cursor: pointer;
    margin: auto 5px;
    background-color: #FFA500;
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: 50%
}

.header .icon {
    width: 24px;
    height: 27px
}

@media screen and (max-width: 1009px) {
    .header-search-input input {
        width: 80%
    }

    .header-search-input button {
        padding: 7px
    }
}

header .mobile-menu-items {
    width: 446px;
    background: #1F7AEA;
    z-index: 999;
    top: 0;
    left: 0;
    overflow-y: scroll;
    position: fixed;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: height 1s ease, opacity 1s ease, transform 1s ease
}

header .mobile-menu-items.active {
    position: fixed;
    top: 70px;
    height: 100vh;
    padding-bottom: 65px;
    overflow-y: auto;
    opacity: 1;
    transform: translateY(0);
    transition: height 1s ease, opacity 1s ease, transform 1s ease
}


.line-menu {
    width: 100%;
    height: 1px;
    background-color: #fff;
    opacity: .26;
    margin: 30px auto;
}

header .mobile-menu-items > ul .menu-item a {
    width: 100%;
    color: #FAFAFA;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-item img {
    width: 20px;
    height: 20px;
}

.ul-mobile {
    list-style-type: none;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

header .navigation-bar {
    width: 100%;
    background: #1F7AEA;
    box-shadow: 0 2px 1px rgba(0, 0, 0, .04);
    z-index: 100001;
    position: fixed;
    top: 0
}

header .navigation-bar.active {
    width: 446px
}

header .navigation-bar .navigation-menu {
    width: 100%;
    max-width: 1240px;
    margin: auto;
    padding: 10px;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
}


header .navigation-bar .mobile-menu-icon {
    height: 38px;
    width: 38px;
    background-color: #FFFFFF1A;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center
}

header .navigation-bar .mobile-menu-icon .active, header .navigation-bar .mobile-menu-icon .close {
    display: inline-block;
    height: 34px;
    width: 34px;
    background-position: left;
    background-repeat: no-repeat;
    position: inherit
}

header .navigation-bar .mobile-menu-icon .active {
    width: 24px;
    height: 24px
}

header .navigation-bar .menu-items .menu-item > span {
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    color: #FFF
}

@media screen and (max-width: 1439px) {
    header .navigation-bar .menu-items .menu-item > span {
        font-weight: 700;
        font-size: 16px;
        line-height: 20px;
        color: #FFF
    }
}

header .navigation-bar .menu-items .menu-item > span a {
    color: #FAFAFA;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    gap: 5px;
    align-items: center
}

header .navigation-bar .menu-items .menu-item a:hover {
    color: #B3E5FC;
    filter: initial
}

body, h1, h2, h3, h4, h5, h6, p, span, a, ul, ol, li, input, textarea, label, button {
    font-family: Lexend
}

a {
    color: #0838E0
}

body {
    background-color: #eeeeee;
}

.page > h1 {
    margin-bottom: 13px
}

footer {
    width: 100%;
    background: #1F7AEA;
    box-shadow: 0 2px 1px rgba(0, 0, 0, .04);
    padding: 18px 0 0
}

footer .footer-tags {
    text-align: center;
    width: 100%;
    margin: 0 auto 20px;
    max-width: 1240px
}

footer .footer-tags a {
    height: 26px;
    border-radius: 68px;
    background: #FAFAFA;
    margin: 0 3px 6px;
    padding: 5px 13px;
    display: inline-block;
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    color: #2D2D2D;
    text-decoration: none;
    text-transform: capitalize
}

@media screen and (max-width: 768px) {
    footer .footer-tags a {
        margin: 0 5px 10px
    }
}

footer .footer-tags a:hover {
    color: #FAFAFA;
    background-color: #FFA500
}

footer .footer-links {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: auto;
    max-width: 1240px;
    padding-top: 50px;
}

@media screen and (max-width: 768px) {
    footer .footer-links {
        width: calc(100% - 20px);
        padding-top: 20px
    }
}

footer .footer-links .footer-link-item {
    width: 100%;
    text-align: center;
}


footer .footer-links .footer-link-item a {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    text-decoration: none;
    text-transform: capitalize;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word
}

footer .footer-bottom {
    width: 95%;
    margin: 20px auto 0;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #dcdcdc;
}

.footer-btn {
    text-align: center;
    display: block;
    margin: 0 0 20px;
}

.btn-all-game {
    color: #FFF;
    border-radius: 50px;
    text-decoration: none;
    padding: 10px 26px;
    background-color: #FFA500;
    font-size: 20px;
    font-weight: 500;
    margin: auto;
    display: inline-flex;
    gap: 6px;
    position: relative;
    overflow: hidden
}


.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(.4rem);
    background-color: rgba(255, 255, 255, .5);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    -webkit-backdrop-filter: blur(.4rem)
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all
}

.copyright {
    font-size: 11px;
    color: #fff;
    font-weight: 600;
    padding: 0 0 20px;
}

.scroll-top {
    background: #fff;
    width: 48px;
    height: 48px;
    text-align: center;
    border-radius: 50%;
    z-index: 100;
    position: absolute;
    top: -43px;
    outline: 5px solid #FFFFFF4A;

    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-top img {
    width: 24px;
    height: 24px;
}

@media (max-width: 743px) {
    header .mobile-menu-items {
        width: 330px
    }

    header .navigation-bar.active {
        width: 330px
    }

    .footer-up {
        display: flex;
        justify-content: center;
        position: relative;
        margin-bottom: 36px
    }

    .footer-background {
        background-color: #186BD1;
        mask-image: radial-gradient(ellipse 150% 15% at 50% 0%, transparent 35%, black 0)
    }

    .header-search-input {
        margin-left: 10px;
        width: calc(100% - 20px);
        top: 65px
    }
}

@media (min-width: 744px) and (max-width: 1439px) {

    .header-search-input {
        top: 65px
    }

    .footer-up {
        display: flex;
        justify-content: center;
        position: relative;
        margin-bottom: 36px
    }

    .copyright {
        font-size: 11px;
        color: #fff;
        font-weight: 600;
        padding: 20px
    }

    .footer-background {
        background-color: #186BD1;
        mask-image: radial-gradient(ellipse 120% 30% at 50% -7%, transparent 50%, black 0)
    }
}

@media (min-width: 1440px) {
    .footer-background {
        background-color: #186BD1;
        mask-image: radial-gradient(ellipse 120% 30% at 50% -7%, transparent 50%, black 0)
    }

    .footer-up {
        display: flex;
        justify-content: center;
        position: relative;
        margin-bottom: 36px
    }

    .copyright {
        font-size: 12px;
        color: #fff;
        font-weight: 600;
        padding: 20px
    }
}


.main-content {
    max-width: 1240px;
    margin: 80px auto 0;
    padding-bottom: 50px;
}

.type-title {
    margin: 20px 0 10px;
    color: #000c1b;
    font-weight: 800;
    font-size: 30px;
    text-align: center;
}

.title-underline {
    width: 82px;
    height: 4px;
    display: block;
    border-radius: 6px;
    background: #FDBA21;
    margin: 10px auto 20px;
}

.new-game-item {
    width: 100%;
}

.new-game-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #fff;
    border-radius: 16px;
    text-decoration: none;
    color: #000c1b;
    min-height: 119px;
}

.new-games-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.new-game-icon img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
}

.new-game-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.new-game-title, .hot-game-title, .game-1-title, .game-2-title {
    font-size: 20px;
    font-weight: bold;
    color: #2D2D2D;
}

.new-game-type, .hot-game-type, .game-1-desc, .game-2-desc {
    font-size: 16px;
    font-weight: 500;
    color: #919090;
}

.max-line-1 {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.max-line-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}

.max-line-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}

.hot-games-list, .game-2-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.game-1-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hot-game-item, .game-1-item, .game-2-item {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    text-align: center;
}

.hot-game-item a, .game-1-item a, .game-2-item a {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hot-game-icon img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
}

.hot-game-info, .game-1-info, .game-2-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-1-icon img {
    width: 100%;
    aspect-ratio: 4/2.25;
    border-radius: 12px;
}

.game-2-icon img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
}

.website-logo {
    width: 160px;
    height: 50px;
}

@media screen and (max-width: 768px) {
    .main-content {
        margin: 80px 10px 0;
    }

    .new-game-item a {
        min-height: 166px;
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .new-game-info {
        text-align: center;
    }

    .hot-games-list, .game-1-list, .game-2-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .new-game-title, .hot-game-title, .game-1-title, .game-2-title {
        font-size: 17px;
    }

    .new-game-type, .hot-game-type, .game-1-desc, .game-2-desc {
        font-size: 14px;
    }

    .new-game-icon img {
        width: 100%;
        aspect-ratio: 1;
        height: auto;
    }
}

.game-content {
    max-width: 968px;
}

.game-detail {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.game-title {
    font-size: 24px;
    font-weight: bold;
    color: #404040;
    line-height: 1.5;
}

.game-banner {
    width: 100%;
}

.play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.game-preview {
    width: 100%;
    aspect-ratio: 4/2.25;
}

.game-btn {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, .7);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    gap: 1rem;
}

.game-btn-icon {
    width: 60px;
    height: 60px;
}

.game-btn span {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
}

.game-desc {
    background: #FFF;
    box-shadow: 0 3px 10px 1px rgba(45, 45, 45, .08);
    border-radius: 10px;
    padding: 15px 10px;
}

.desc-title {
    font-weight: bold;
    font-size: 20px;
    color: #222;
    margin-bottom: 15px;
}

.detail-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #5e5e5e;
}

.detail-desc {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.desc_btn {
    background: #34a7fa;
    padding: 5px 10px;
    border-radius: 5px;
    width: fit-content;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-top: 1rem;
}

@media screen and (min-width: 768px) {
    .detail-desc {
        -webkit-line-clamp: 3;
    }
}
