*, *:before, *:after {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #0d0c19;
    color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 900
}

.container {
    width: 100%;
    margin: 0 auto
}

.game-List-Section {
    display: block;
    margin: 1vh auto
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    box-shadow: 0 2px 6px 2px #01132f51;
    background-color: #fff
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.header .container .logo {
    display: block;
    padding: 0 20px
}

.header .container .logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e8dfff;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px
}

.header .container .logo a .logo-img {
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center
}

.header .container .logo a .logo-img img {
    width: 100%;
    height: 100%
}

.header .container .menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #e8dfff
}

.header .container .menu-toggle:hover {
    color: #6842ff
}

.header .container .nav-links {
    display: block
}

.header .container .nav-links ul {
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 0 20px
}

.header .container .nav-links ul li {
    margin: 10px 0
}

.header .container .nav-links ul li a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #e8dfff;
    font-size: 1rem;
    font-weight: bold;
}

.header .container .nav-links ul li a:hover {
    color: #6842ff
}

.main-content {
    padding: 0;
    text-align: center;
    background-color: #0c0d14;
    position: relative;
    z-index: 1
}

.footer {
    padding: 20px 0;
    text-align: center;
    color: #e8dfff9f;
    font-size: .9rem
}

.footer .logo {
    display: block;
    padding: 0 20px
}

.footer .logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e8dfff;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px
}

.footer .logo a .logo-img {
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center
}

.footer .logo a .logo-img img {
    width: 100%;
    height: 100%
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0
}

.footer ul li {
    display: inline;
    margin: 0 10px
}

.footer ul li a {
    text-decoration: none;
    color: #e8dfff;
    font-size: .8rem
}

.footer ul li a:hover {
    text-decoration: underline
}

@media (max-width: 768px) {
    .header {
        position: sticky !important;
        top: 0;
        left: 0;
        background-color: #fff
    }

    .menu-toggle {
        display: block !important
    }

    .nav-links {
        position: fixed !important;
        top: 70px;
        right: -100%;
        height: 100vh;
        width: 100%;
        min-width: 280px;
        transition: right .3s ease-in-out;
        z-index: 9999999;
        background-color: #0d0c19;
        scale: 0
    }

    .nav-links ul {
        display: flex;
        flex-direction: column;
        padding: 20px !important
    }

    .nav-links ul li {
        width: 100%
    }

    .nav-links.open {
        display: block;
        position: absolute;
        top: 70px;
        box-shadow: 0 4px 8px #0000001a;
        border-radius: 5px;
        background-color: #fff;
        right: 0;
        transition: right .3s ease-in-out;
        scale: 1
    }

    .main-content {
        padding: 15px 0
    }

    .game-box-section {
        width: 100% !important;
        height: 170px
    }

    .horizontal-game-slider .game-slider .game-box-section .game-overlay {
        opacity: 1 !important;
    }

    .game-grid-with-ad .left-section .game-grid .game-box .game-overlay {
        opacity: 1 !important;
    }
}

.category-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: #fff
}

.category-details .category-name h3 {
    font-size: 1.2rem;
    margin: 0
}

.category-details .goto-category-link {
    display: flex;
    justify-content: center;
    align-items: center
}

.category-details .goto-category-link a {
    width: 100%;
    height: 100%;
    font-size: .7rem;
    text-decoration: none;
    color: #e8dfff;
    border-radius: 6px;
    padding: 5px;
    transition: background-color .3s ease, transform .2s ease
}

.category-details .goto-category-link a:hover {
    background-color: #212233e6;
    color: #6842ff
}

.horizontal-game-slider {
    position: relative;
    align-items: center;
    width: 100%;
    overflow: hidden;
    padding: 10px 20px;
    background-color: #0d0c19;
    margin: 0
}

.horizontal-game-slider .game-slider {
    display: flex;
    gap: 18px;
    flex-direction: row;
    flex-wrap: wrap
}

@media (max-width: 768px) {
    .horizontal-game-slider .game-slider {
        gap: 10px;
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.horizontal-game-slider .game-slider::-webkit-scrollbar {
    display: none
}

.horizontal-game-slider .game-slider .game-box {
    flex: 0 0 auto;
    width: 20%;
    height: 170px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 2px 2px 10px #0003;
    border: solid 2px transparent;
    background-color: #1c1b2a;
    padding: 5px
}

.horizontal-game-slider .game-slider .game-box:hover {
    transform: scale(1);
    box-shadow: 0 8px 16px #0003;
    border-color: #6842ff
}

.horizontal-game-slider .game-slider .game-box .game-image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.horizontal-game-slider .game-slider .game-box .game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 10px 10px;
    background-image: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
    color: #e8dfff;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    opacity: 0;
    transition: opacity .3s ease
}

.horizontal-game-slider .game-slider .game-box .game-overlay h3 {
    font-size: .8rem;
    text-align: left;
    margin: 0;
}

.horizontal-game-slider .game-slider .game-box:hover .game-overlay {
    opacity: 1
}

.horizontal-game-slider .game-slider .game-box-section {
    flex: 0 0 auto;
    width: 15.4%;
    max-width: 225px;
    height: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 2px 2px 10px #0003;
    border: solid 2px transparent;
    background-color: #1c1b2a
}

.horizontal-game-slider .game-slider .game-box-section:hover {
    transform: scale(1);
    box-shadow: 0 8px 16px #0003;
    border-color: #6842ff
}

.horizontal-game-slider .game-slider .game-box-section .game-image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.horizontal-game-slider .game-slider .game-box-section .game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 10px 10px;
    background-image: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
    color: #e8dfff;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    opacity: 0;
    transition: opacity .3s ease
}

.horizontal-game-slider .game-slider .game-box-section .game-overlay h3 {
    font-size: .8rem;
    text-align: left;
    margin: 0%
}

.horizontal-game-slider .game-slider .game-box-section:hover .game-overlay {
    opacity: 1
}

.horizontal-game-slider.phomo-orignals .game-slider {
    gap: 13px;
}

.horizontal-game-slider.phomo-orignals .game-slider .game-box-section {
    max-width: 100%;
    width: 13%;
    min-width: 160px;
    aspect-ratio: 1/1;
    padding: 0;
}

@media (max-width: 768px) {
    .horizontal-game-slider.phomo-orignals .game-slider .game-box-section {
        width: 49%;
        min-width: 120px;
    }

    .horizontal-game-slider.phomo-orignals .game-slider {
        gap: 10px
    }

    .horizontal-game-slider {
        padding: 10px
    }
}

.game-grid-with-ad {
    display: flex;
    gap: 20px;
    background: transparent;
    padding: 10px 20px
}

.game-grid-with-ad .left-section {
    flex: 8;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.game-grid-with-ad .left-section .game-grid {
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px
}

.game-grid-with-ad .left-section .game-grid .game-box {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 2px 2px 20px 2px #0003;
    border: solid 2px transparent;
    background-color: #0d0c19
}

.game-grid-with-ad .left-section .game-grid .game-box.big-box {
    grid-column: span 2;
    grid-row: span 2
}

.game-grid-with-ad .left-section .game-grid .game-box.small-box {
    grid-column: span 1;
    grid-row: span 1
}

.game-grid-with-ad .left-section .game-grid .game-box:hover {
    transform: scale(1);
    box-shadow: 0 8px 16px #0003;
    border-color: #6842ff
}

.game-grid-with-ad .left-section .game-grid .game-box .game-image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.game-grid-with-ad .left-section .game-grid .game-box .game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 10px 10px;
    background-image: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
    color: #e8dfff;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    opacity: 0;
    transition: opacity .3s ease
}

.game-grid-with-ad .left-section .game-grid .game-box .game-overlay h3 {
    font-size: .8rem;
    text-align: left;
    margin: 0%
}

.game-grid-with-ad .left-section .game-grid .game-box:hover .game-overlay {
    opacity: 1
}

@media (max-width: 768px) {
    .game-grid-with-ad {
        padding: 10px
    }
}

.home-page {
    margin: 0 auto
}

.game-description-page {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.game-description-page .main-description-layout {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 10px auto
}

.game-description-page .main-description-layout .ad-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    max-width: 70%
}

.game-description-page .main-description-layout .ad-layout .game-details-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 auto;
    border-radius: 2px;
    padding: 40px 20px;
    background-color: #161424b4
}

.game-description-page .main-description-layout .ad-layout .game-details-layout .game-image {
    flex: 0 1 300px;
    max-width: 300px;
    max-height: 300px;
    margin: 0 auto
}

.game-description-page .main-description-layout .ad-layout .game-details-layout .game-image img {
    width: 100%;
    height: 100%;
    border-radius: 10px
}

.game-description-page .main-description-layout .ad-layout .game-details-layout .game-details {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    gap: 5px;
    padding: 0 10px
}

.game-description-page .main-description-layout .ad-layout .game-details-layout .game-details span {
    color: #765eb3
}

.game-description-page .main-description-layout .ad-layout .game-details-layout .game-details h1 {
    font-size: 1.6rem;
    color: #f8f5ff;
    margin: 0;
}

.game-description-page .main-description-layout .ad-layout .game-details-layout .game-details #description_view {
    font-size: .9rem;
    line-height: 1.6;
    margin: .5rem auto;
    color: #e8dfff;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis
}

.game-description-page .main-description-layout .ad-layout .game-details-layout .game-details .play-now-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f06800;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color .3s ease;
    border: solid 2px transparent;
    margin-bottom: 0
}

.game-description-page .main-description-layout .ad-layout .game-details-layout .game-details .play-now-btn:hover {
    background-color: #ea7f2e;
    border-color: #fff
}

@media (max-width: 768px) {
    .game-description-page .main-description-layout .ad-layout .game-details-layout {
        padding: 10px 0
    }

    .game-description-page .main-description-layout .ad-layout {
        max-width: 100%
    }
}

.search-form {
    width: 100%;
    max-width: 350px;
    margin: auto;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-form input {
    width: 100%;
    height: 100%;
    background: #3f3f3f;
    color: #fff;
    border: none;
    font-size: 1.2rem;
    padding: 0 2rem 0 1rem;
    border-radius: 50px;
    outline: none;
}

.search-form button {
    height: 30px;
    width: 30px;
    background: none;
    border: none;
    position: absolute;
    right: .5rem;
}

.search-form button img {
    width: 20px;
    height: 20px;
}


#back-to-top {
    position: fixed;
    right: 2rem;
    bottom: 3rem;
    height: 40px;
    width: 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 0;
    background: #fff;
    border: none;
}


.desc_btn {
    border: solid 1px #00add7;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 8px;
    background: #00add7;
    font-size: 1rem;
    margin-bottom: .5rem;
    max-width: 105px;
}

@media screen and (min-width: 768px) {
    /*.desc_btn {*/
    /*    display: none !important;*/
    /*}*/
    /*#description_view {*/
    /*    -webkit-line-clamp: 100 !important;*/
    /*}*/
}

@media screen and (max-width: 768px) {
    .desc_btn {
        display: block;
    }
}

a {
    text-decoration: auto;
}


.header {
    box-shadow: 0 2px 6px 2px #6ca7ff00;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: #252533e6
}

.header .container {
    padding: 7px
}

.header .container .logo a {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    cursor: pointer
}

.header .container .logo a .logo-img {
    height: 40px
}

.header .container .nav-links ul {
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 20px
}

.header .container .nav-links ul li {
    margin: 10px 0
}

.header .container .nav-links ul li a:hover {
    color: #6842ff
}

.active {
    color: #6842ff
}

.main-content {
    padding: 15px 0;
    max-width: 1240px;
    margin: auto;
}

@media (max-width: 768px) {
    .header {
        padding: 8px 0;
        box-shadow: 0 2px 6px 2px #6ca7ff00
    }

    .header .container {
        margin: 0;
        border-radius: 0%
    }

    .nav-links.open {
        display: block;
        position: absolute;
        top: 70px;
        right: 0;
        box-shadow: 0 4px 8px #0000001a;
        border-radius: 5px;
        background-color: #0d0c19;
        transition: right .3s ease-in-out
    }
}

.lazy-load-image-background.blur.lazy-load-image-loaded {
    filter: blur(0);
    transition: filter .3s;
    height: 100%;
}

.lazy-load-image-background.blur > img {
    opacity: 1;
    transition: opacity .3s
}

.lazy-load-image-background.blur.lazy-load-image-loaded > img {
    opacity: 1;
    transition: opacity .3s;
    height:100%;
}


.cate-list-img{
    height: 100%;
    aspect-ratio: 4 / 2.5;
}
