* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

@font-face {
    font-family: "euphemia";
    src: url(../../fonts/euphemia.7acfb32.ttf) format("truetype");
    font-display: swap;
}

body {
    font-family: euphemia;
}

.gptslot {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    margin: 16px auto;
    margin-top: 0px;
    min-height: 250px;
    max-width: 300px;
}

.ad-label {
    color: rgb(171, 171, 171);
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    position: relative;
    padding: 5px 0px 2px 0px;
    font-size: 14px;
}

a {
    text-decoration: none;
}

a:link,
a:visited {
    color: inherit;
    text-decoration: none;
}

.ad p {
    width: 100%;
    line-height: 50px;
    text-align: center;
    height: 50px;
}

header {
    width: 100%;
}

.fav {
    width: 160px;
    height: 60px;
    border-radius: 0 0 10px 10px;
    padding: 0 10px;
}

.main {
    width: 98%;
    margin: 15px auto;
    color: #fff;
}

.rootbg {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    cursor: pointer;
}

.search-box {
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    position: absolute;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 80%;
    top: 30%;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    height: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    float: left;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 199;
}

.search-cancel {
    position: absolute;
    top: 25%;
    right: 10%;
    width: 30px;
    aspect-ratio: 1;
    background-image: url(../../images/close-white.27d0d87.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 999;
    display: none;
}

.myInput {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    height: 100%;
    outline: 0;
    font-size: 1rem;
    border: 0;
    background-color: transparent;
    padding: 0 1em;
    color: #333;
}

.search-btn-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    padding: 5px;
    height: 90%;
    margin-right: 2%;
    border-radius: 20px;
}

.search-btn {
    width: 25px;
    aspect-ratio: 1;
    background-image: url(../../images/search.ed91e46.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

.myInput {
    color: #000;
    height: 40px;
    width: 100%;
    outline: 0;
    font-size: 1rem;
    border-radius: 6px;
    border: 0;
    background-color: rgba(0, 0, 0, 0);
    display: inline-block;
    padding: 0 1em;
    text-decoration: none;
}

#search-suggestions {
    position: absolute;
    width: 92%;
    top: 40px;
    left: 4%;
    max-height: 250px;
    overflow-y: auto;
    background-color: rgb(252, 252, 252);
    border: 0 1px 1px 1px solid #e6e6e69e;
    z-index: 1;
    border-radius: 0 0 10px 10px;
}

#search-suggestions div {
    padding: 6px 12px;
    cursor: pointer;
}

#search-suggestions div:hover {
    background-color: #555555b5;
}

.footer {
    padding: 30px 20px;
    width: 95%;
    margin: 10px auto;
    box-shadow: 0 12px 12px rgba(0, 0, 0, 0.1);
}

.bottom-desc {
    padding-bottom: 20px;
}

.footer-category .footer-category-item {
    text-decoration: underline;
}

.bottom {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    padding: 10px;
    width: 95%;
    margin: 0 auto;
    border-radius: 10px;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}

.bottom-title {
    color: #000;
    margin-top: 0;
    font-weight: bold;
}

.bottomfav {
    width: 160px;
    height: 70px;
    margin: 10px 0;
}

.btxt {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.bt_iframe {
    width: 100%;
    min-height: 1900px;
    overflow-y: auto;
}

.self_B_00_title {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    margin: 0 1% 10px;
    height: 40px;
    color: #000;
    border-radius: 10px;
}

.self_B_00_title .text-box {
    height: 40px;
    padding: 0 15px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    font-size: 20px;
    font-weight: bold;
    background-color: #33b59d;
    border-radius: 15px;
    border: 4px solid #f2fdc5;
}

.self_B_00_title .title-icon {
    width: 24px;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 5px;
}

.text-box p {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 40px;
}

.self_B_00_title .more-btn {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    -webkit-flex-shrink: 0;
            flex-shrink: 0;
    border-radius: 15px;
}

.game-list {
    display: grid;
    gap: 10px;
    padding: 0 15px;
    grid-template-columns: repeat(15, 1fr);
    grid-auto-flow: row dense;
    padding-bottom: 20px;
}

.game-card-list {
    grid-template-columns: repeat(5, 1fr);
}

.game-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    grid-column: span 2;
    grid-row: span 1;
    background-color: #fff;
    border-radius: 12px;
}

.game-header .fav {
    width: 70%;
}

.game-header .nav-icons {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    border-left: 1px solid #eaeaea;
    height: 100%;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
}

.game-header .nav-icons {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    border-left: 1px solid #eaeaea;
    height: 100%;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
}

.nav-icons .nav-line {
    width: 100%;
    height: 1px;
    background-color: #eaeaea;
}

.nav-icons .nav-home,
.nav-icons .nav-search {
    height: 50%;
    aspect-ratio: 1;
    margin: 5px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.nav-icons .nav-home {
    background-image: url(../../images/home.ecb9885.png);
}

.nav-icons .nav-search {
    background-image: url(../../images/search.ed91e46.png);
}

.nav-icons .nav-home:hover,
.nav-icons .nav-search:hover {
    opacity: 0.8;
}

.game-child-item {
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 12px 12px rgba(0, 0, 0, 0.1);
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    overflow: hidden;
}

.game-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.game-text-box {
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    background: #eeeeee;
    border-radius: 0 0 8px 8px;
    opacity: 0;
}

.game-name {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    font-size: 12px;
    font-weight: 500;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    color: #000;
    text-align: center;
}

.game-child-item:hover .game-text-box {
    opacity: 0.8;
}

.game-category-list {
    display: grid;
    gap: 10px;
    padding: 0 15px;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-flow: row dense;
    padding-bottom: 20px;
}

.category-item {
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
}

.category-icon {
    width: 50px;
    aspect-ratio: 1;
    margin-right: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    border-radius: 10px;
}

.item-text-box {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
}

.category-name {
    margin-right: auto;
    font-size: 16px;
    color: #333;
    height: 25px;
}

.view-btn {
    background-color: #5cb85c;
    color: #fff;
    padding: 3px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.view-btn:hover {
    background-color: #4cae4c;
}

@media screen and (max-width:900px) {
    .bottomfav {
        margin: 10px auto;
        height: 70px;
    }

    .btxt {
        -webkit-flex-wrap: wrap;
                flex-wrap: wrap;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
           -moz-box-pack: center;
                justify-content: center;
        gap: 5px 10px;
    }

    .bottom-left-container,
    .bottom-right-container {
        width: 100%;
        padding: 10px;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
           -moz-box-pack: justify;
                justify-content: space-between;
        -webkit-box-align: center;
        -webkit-align-items: center;
           -moz-box-align: center;
                align-items: center;
    }

    .game-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .game-category-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width:480px) {

    .game-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .game-card-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .game-category-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
body {
    min-height: 100vh;
}

.text-box .casual-game-icon {
    background-image: url(../../images/CasualGames.b918b8d.png);
}

.text-box .survival-game-icon {
    background-image: url(../../images/SurvivalGames.c4080ae.png);
}

.text-box .grcade-game-icon {
    background-image: url(../../images/GrcadeGames.120192c.png);
}

.text-box .category-game-icon {
    background-image: url(../../images/GameCategory.7145b23.png);
}

.best-game-list .game-child-item:nth-child(4),
.best-game-list .game-child-item:nth-child(12),
.best-game-list .game-child-item:nth-child(18){
    grid-column: span 2;
    grid-row: span 2;
}

@media screen and (max-width:900px) {
    .game-category-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width:480px) {
    .game-category-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
