@font-face {
    font-family: 'Mitr';
    src: url('../fonts/Mitr-Medium.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
}


@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}


html,
body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    margin: 0;
}

section {
    padding-top: 30px;
    padding-bottom: 0px;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
    width: 100%;
}


.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x))
}

.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y)
}

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

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    text-decoration: none;
}

a h2:hover {
    color: #333 !important;
    text-decoration: underline;
    text-decoration-color: #333;
    text-underline-offset: 2px;
}

h2,
p {
    margin: 0
}

p {
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 18px;
    color: #333;
    line-height: 24px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

.align-items-center {
    align-items: center;
}

.back-to-top {
    border: none;
    position: fixed;
    bottom: 160px;
    right: 65px;
    z-index: 99;
    cursor: pointer;
    display: none;
    border-radius: 50%;
    padding: 0px;
}

.back-to-top img {
    width: 40px;
    vertical-align: bottom;
}


.t_1l {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.t_12 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.t_13 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.t_14 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}


header {
    background: #fff;
    position: relative;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    padding: 0px;
    max-width: 1300px;
    margin: auto;
    flex-wrap: nowrap;
    overflow: hidden;
}


.nav-links {
    display: flex;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding-left: 20px;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.nav-links li {
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
}

.nav-links li a {
    color: #fff;
    font-feature-settings: 'liga' off;
    font-family: 'Poppins';
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
    text-transform: capitalize;
}

.nav-links li a:hover {
    color: #F3F300;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.nav-links li a img {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    vertical-align: super;
}

.nav-links .search-btn {
    border-radius: 40px 0px 30px 40px;
    background: #FD5444;
    padding: 5px 20px;
}

.nav-links .search-btn a {
    line-height: 1;
}

.nav-links .search-btn img {
    width: 20px;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}


header .share {
    display: flex;
}

header .home a {
    margin-left: 50%;
    padding: 20px;
    display: flex;
}

header .share a {
    padding: 20px 15px;
    display: flex;
}

header .home a img,
header .share a img {
    width: 16px;
    height: 16px;

}

.logo a {
    color: #FF0095;
    font-family: 'Mitr';
    font-size: 32px;
    font-style: normal;
    line-height: 40px;
    font-weight: 500;
    padding: 10px 15px;
}

.h5-search,
.h5-search-menu {
    display: none;
}

.search-main {
    width: 38%;
    position: relative;
    margin-left: 15%;
}

.search {
    width: 100%;
    margin: auto;
    position: relative;
    display: flex;
}

.search input {
    width: 100%;
    height: 32px;
    background: #FFFFFF;
    color: #999;
    font-family: 'Poppins';
    outline: none;
    border-radius: 100px;
    border: 1px solid #FF0095;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    padding: 8px 24px;
}

.search input::placeholder {
    width: 100%;
    font-family: 'Poppins';
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    line-height: normal;
    text-align: left;
    font-style: normal;
    text-transform: none;
    padding: 0;

}

.search_btn img {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translate(0, -50%);
}

.h5menu {
    display: none;
}

@media (max-width:992px) {
    .search-main {
        width: 38%;
        margin-left: 10%;
    }

    header .share a {
        padding: 20px 10px;
    }

    .logo a {
        padding: 10px;
    }
}

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

    .home {
        display: none;
    }

    .h5menu.head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-right: 100px;
    }

    .h5menu.head .home {
        display: block;
    }

    header .home a img {
        width: 20px;
        height: 20px;
    }

    .search-main {
        width: 100%;
        margin-left: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        /* 将导航链接改为纵向布局 */
        background-color: #fff;
        /* 为导航链接添加背景色 */
        padding: 0 20px;
        /* 为导航链接添加内边距 */
        position: absolute;
        top: 0px;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        z-index: 9999;
        height: 100vh;
        align-items: stretch;
        justify-content: flex-start;
    }

    .nav-links.nav-active {
        display: flex;
        position: fixed;
        z-index: 999999;
    }

    .logo a {
        font-size: 26px;
        line-height: 32px;
    }

    .burger {
        display: flex;
        padding: 10px 15px 15px;
    }

    .toggle {
        position: fixed;
        z-index: 9999;
        right: 20px;
        font-size: 24px;
        top: 10px;
        z-index: 999999;
    }

    .burger img {
        width: 20px;
        display: block;
    }

    .h5-search-menu {
        display: block;
    }

    .h5menu.cate-ul {
        padding-top: 30px;
    }

    .h5menu.cate-ul .title {
        text-align: center;
        margin-bottom: 10px;
    }

    .h5menu.cate-ul div {
        display: flex;
        flex-wrap: wrap;
    }

    .h5menu.cate-ul a {
        flex: 0 0 50%;
        padding: 7px;
    }

    .h5menu.cate-ul a .item {
        border-radius: 8px;
        border: 1px solid #FF0095;
        background: #FFF;
        padding: 12px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .h5menu.cate-ul a .item p {
        color: #FF0095;
        font-size: 14px;
        font-weight: 600;
        line-height: 18px;
        text-transform: capitalize;
    }

    .h5menu.cate-ul a img {
        width: 24px;
        height: 24px;
    }

    header .share {
        position: absolute;
        bottom: 50px;
    }

    header .share span {
        color: #FF0095;
        padding: 18px 10px;
    }
}

@media (max-width:500px) {
    .nav-links {
        padding: 5px 12px;
    }

 

    .logo a {
        font-size: 22px;
        line-height: 30px;
    }

    .h5menu.cate-ul a .item {
        gap: 8px;
    }

    .h5menu.cate-ul a .item p {
        font-size: 12px;
        line-height: 16px;
    }
}

.home-top {
    background-image: url(../images/home-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 20px;
    position: relative;
    background-position: center;
}

.home-top::after {
    content: '';
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    position: absolute;
    background:
        linear-gradient(182deg, rgba(255, 255, 255, 0.00) 80%, rgba(255, 255, 255, 1) 100%),
        linear-gradient(178deg, rgba(255, 255, 255, 0.00) 80%, rgba(255, 255, 255, 1) 100%),
        linear-gradient(2deg, rgba(255, 255, 255, 0.00) 80%, rgba(255, 255, 255, 1) 100%),
        linear-gradient(358deg, rgba(255, 255, 255, 0.00) 80%, rgba(255, 255, 255, 1) 100%);
}

.home-top h1 {
    color: #FFF;
    text-align: left;
    /* text-shadow: 4px 0px 10px #fff;
    -webkit-text-stroke-width: 3px;
    -webkit-text-stroke-color: #FF0095; */
    font-family: 'Poppins';
    font-size: 50px;
    font-style: normal;
    font-weight: 600;
    line-height: 58px;
    /* 113.333% */
    letter-spacing: 0px;
    position: relative;
    z-index: 1;
}

.home-top h1 span {
    font-family: 'Poppins';
    font-size: 50px;
    font-style: normal;
    font-weight: 600;
    line-height: 58px;
    margin-right: 12px;
    z-index: -1;
    color: transparent;
    -webkit-text-stroke-width: 5px;
    -webkit-text-stroke-color: #FF0095;
    position: absolute;
    top: 1px;
    left: 50%;
    transform: translate(calc(-50% + 2px), 0);
    width: 100%;
    text-shadow: 0px 0px 10px #fff;
    width: calc();
}

.home-top .cate-list {
    padding-top: 40px;
}

.cate-list {
    z-index: 9;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.cate-list .title {
    color: #FF0095;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    position: relative;
    z-index: 1;
    flex: 0 0 100%;
}


.cate-list .title span {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    margin-right: 12px;
    z-index: -1;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #fff;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(calc(-50% - 1px), 0);
    width: 100%;
}

.cate-list a {
    flex: 0 0 25%;
    width: 25%;
    padding: 16px;
}

.cate-list a .item {
    border-radius: 8px;
    border: 1px solid #FF0095;
    background: #FFF;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cate-list a .item p {
    color: #FF0095;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    text-transform: capitalize;
}

.game-1 .heading,
.game-2 .heading,
.game-3 .heading,
.game-4 .heading,
.game-5 .heading,
.cate-list .title,
.cate-main .heading {
    color: #FF0095;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 1px;
    padding-bottom: 8px;
}

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

.game-1 .grid a,
.game-5 .grid a,
.sear .grid a,
.dt-game a {
    display: block;
    padding: 8px;
    width: 100%;
    grid-column: span 1;
    grid-row: span 1;
}

.game-1 .grid a img,
.game-3 .grid a img,
.game-5 .grid a img,
.sear .grid a img,
.dt-game a img {
    border-radius: 16px;
    background: #D9D9D9;
    width: 100%;
    aspect-ratio: 1/0.8;
    margin-bottom: 8px;
    display: block;
    object-fit: cover;
}

.game-1 .grid a p,
.game-5 .grid a p,
.sear .grid a p,
.cate-main .grid a p,
.dt-game a p {
    font-size: 16px;
    line-height: 20px;
}

.game-1 .grid a:hover p,
.game-5 .grid a:hover p,
.sear .grid a:hover p,
.cate-main .grid a:hover p,
.dt-game a:hover p {
    color: #824262;
}

.game-1 .grid a:nth-child(1) {
    grid-column: 5/7;
    grid-row: 1/3;
    position: relative;
}

.game-3 .grid a .playnow,
.game-1 .grid a:nth-child(1) .playnow,
.cate-main .grid .big .playnow {
    border-radius: 4px;
    background: #FF0095;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.game-1 .grid a:nth-child(1) .bg,
.game-3 .grid a .bg {
    position: absolute;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    margin: 0;
}

.game-1 .grid a:nth-child(1) .playnow img,
.game-3 .grid a .playnow img,
.cate-main .grid .big .playnow img {
    position: absolute;
    background: transparent;
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin: 0;
    border-radius: 0;

}

.game-1 .grid a:nth-child(1)::after,
.game-3 .grid a::after,
.cate-main .grid .big::after {
    content: '';
    position: absolute;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    top: 8px;
    left: 8px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 60%, #000 100%);
}

.game-1 .grid a:nth-child(1) .playnow span,
.game-3 .grid a .playnow span,
.cate-main .grid .big .playnow span {
    color: #FFF;
    font-size: 14px;
    line-height: 20px;
    padding-left: 25px;
}

.game-1 .grid a:nth-child(1) .t_1l {
    position: absolute;
    bottom: 26px;
    padding: 0 32px;
    color: #FFF;
    z-index: 99;
    font-size: 20px;
    line-height: 24px;
}

.cate-main .grid .big .t_1l {
    position: absolute;
    bottom: 20px;
    padding: 0 16px;
    color: #FFF;
    z-index: 99;
    font-size: 16px;
    line-height: 20px;
}

.game-1 .grid a:nth-child(1):hover .t_1l,
.game-3 .grid a:hover .t_1l,
.cate-main .grid .big:hover .t_1l {
    text-decoration: underline;
}

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

.game-2 .grid a {
    display: flex;
    padding: 8px;
    width: 100%;
    grid-area: span 1;
    grid-column: span 1;
    align-items: center;
}


.game-2 .grid a .img {
    flex: 0 0 100px;
    width: 100px;
    aspect-ratio: 1/0.8;
    object-fit: cover;
    margin: 0;
    background-color: #D9D9D9;
    border-radius: 8px;
}

.game-2 .grid a .text {
    flex: 0 0 calc(100% - 100px);
    padding-left: 16px;
}

.game-2 .grid a .text .t_1l {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 16px;
}

.game-2 .grid a .text .playnow {
    display: flex;
    gap: 16px;
    align-items: center;
}

.game-2 .grid a .text .playnow img {
    width: 24px;
    height: 24px;
}

.game-2 .grid a .text .playnow span {
    font-size: 14px;
    color: #824262;
    line-height: 18px;
}

.game-2 .grid a:hover .t_1l {
    text-decoration: underline;
}

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

.game-3 .grid a {
    grid-column: span 1;
    grid-row: span 1;
    display: flex;
    position: relative;
    padding: 8px;
    width: 100%;
    aspect-ratio: 1/0.75;
}


.game-3 .grid a .t_1l {
    position: absolute;
    bottom: 20px;
    padding: 0 16px;
    color: #FFF;
    z-index: 99;
    font-size: 16px;
    line-height: 20px;
}

.game-3 .grid a .playnow img {
    width: 18px;
    height: 18px;
}

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

.game-4 .grid a {
    display: block;
    padding: 8px;
    grid-row: span 1;
    grid-column: span 1;
    position: relative;
}

.game-4 .grid a .item {
    display: flex;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 4px 8px 0px rgba(128, 0, 74, 0.10);
    align-items: center;
    justify-content: space-between;
}

.game-4 .grid a .item p {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 16px;
    line-height: 20px;
}

.game-4 .grid a .item img {
    display: block;
    flex: 0 0 120px;
    width: 120px;
    aspect-ratio: 1/0.8;
    object-fit: cover;
    background-color: #D9D9D9;
    border-radius: 0 8px 8px 0;
}

.game-4 .grid a:hover p {
    text-decoration: underline;
}

.game-4 .grid a:nth-child(1)::after {
    content: '';
    position: absolute;
    width: 66px;
    height: 28px;
    background-image: url(../images/new.svg);
    top: 8px;
    left: 2px;
    background-repeat: no-repeat;
    background-size: contain;
}

.game-4 .grid a:nth-child(4)::after {
    content: '';
    position: absolute;
    width: 66px;
    height: 28px;
    background-image: url(../images/hotbg.svg);
    top: 8px;
    left: 2px;
    background-repeat: no-repeat;
    background-size: contain;
}

.game-4 .grid a:nth-child(7)::after {
    content: '';
    position: absolute;
    width: 66px;
    height: 28px;
    background-image: url(../images/top.svg);
    top: 8px;
    left: 2px;
    background-repeat: no-repeat;
    background-size: contain;
}

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


.about {
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 0px 4px 1px #FF0095;
    padding: 32px 32px 6px;
}

.about p {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    padding-bottom: 16px;
}

.about .h1 {
    color: #FF0095;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    padding-bottom: 8px;
}

.about .pt a {
    color: #333;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    /* 125% */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    padding: 10px 32px 16px 0;
    display: inline-block;
}

.about .share a {
    display: inline-block;
    padding: 10px 16px;
}


#copy-message {
    position: fixed;
    z-index: 9999999;
    bottom: 10%;
    width: 60px;
    height: 30px;
    left: 50%;
    transform: translate(-50%, 0);
    background: #fff;
    border: 1px solid #E6E6E6;
    color: #333;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 30px;
    border-radius: 20px;
}

footer {
    padding: 32px 0;
}

footer p {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
}

.sear {
    padding-top: 0;
}


.sear .bg {
    background-image: url(../images/search-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    background-position: top center;
    height: 450px;
}

.sear .bg::after {
    content: '';
    width: 100%;
    height: 450px;
    top: 0;
    left: 0;
    position: absolute;
    background:
        linear-gradient(182deg, rgba(255, 255, 255, 0.00) 80%, rgba(255, 255, 255, 1) 100%),
        linear-gradient(178deg, rgba(255, 255, 255, 0.00) 80%, rgba(255, 255, 255, 1) 100%),
        linear-gradient(2deg, rgba(255, 255, 255, 0.00) 80%, rgba(255, 255, 255, 1) 100%),
        linear-gradient(358deg, rgba(255, 255, 255, 0.00) 80%, rgba(255, 255, 255, 1) 100%);
}


@media (min-width:2200px) {

    .sear .bg,
    .sear .bg::after {
        height: 550px;
    }

}

.sear .container {
    position: relative;
    margin-top: -250px;
    z-index: 9998;
}

.sear-search-main {
    width: 80%;
}

.sear h2 {
    color: #FF0095;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 1px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.sear .grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.cate-main .grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.cate-main .grid a {
    display: block;
    padding: 8px;
    width: 100%;
    grid-column: span 2;
    grid-row: span 2;
}

.cate-main .grid a img {
    border-radius: 16px;
    background: #D9D9D9;
    width: 100%;
    aspect-ratio: 1 / 0.8;
    margin-bottom: 8px;
    display: block;
    object-fit: cover;
}

.cate-main .grid .big {
    grid-column: span 3;
    grid-row: span 2;
    position: relative;
}

.cate-main .grid .big {
    margin: 0;
}

.cate-main .grid .big img {
    margin-bottom: 0px;
}

.dt {
    padding-top: 0 !important;
}

.dt .head {
    background: #FFC5DD;
}

.dt .head a {
    color: #666;
    font-weight: 500;
    line-height: 20px;
    font-size: 16px;
    text-transform: capitalize;
    padding: 8px 12px;
    display: inline-block;
}

.dt .head a.active {
    color: #824262;
    text-decoration: underline;
}

.dt .title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-top: 32px;
    padding-bottom: 32px;
    align-items: center;
}

.dt .title h2 {
    color: #333;
    font-family: Poppins;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
}

.star img {
    width: 24px;
    cursor: pointer;
    margin: 0 5px;
}

.dt .likes-list a {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: 24px;
    background-repeat: no-repeat;
    padding: 10px 30px;
    background-position: center;
}

.dt .likes-list .like-1 {
    background-image: url(../images/love.svg);
}

.dt .likes-list .like-2 {
    background-image: url(../images/down.svg);
}

.dt .likes-list .like-1.active {
    background-image: url(../images/love-active.svg);
}

.dt .likes-list .like-2.active {
    background-image: url(../images/down-active.svg);
}

.star img.active {
    content: url(/static/images/star-active.svg);
}

.dt .play {
    background: #FFF;
    box-shadow: 0px 0px 16px 8px rgba(128, 0, 74, 0.10);
    border-radius: 16px;
    position: relative;
    max-width: 800px;
    width: 90%;
    aspect-ratio: 1 / 1;
    margin: auto;
}

.play .palymain {
    position: relative;
    width: 100%;
    height: calc(100% - 50px);
    display: flex;
    justify-content: center;
}

.play .palymain .play-bg {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
}

#gameIframe {
    width: 100%;
    height: 100%;
    max-width: 50%;
    z-index: 999;
}

.play .palybtn {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -45%);
    z-index: 9999;

}

.play .palybtn .game-img {
    border-radius: 12px;
    background: #D9D9D9;
    max-width: 186px;
    width: 100%;
    aspect-ratio: 1/0.7;
    object-fit: cover;
    margin-bottom: 24px;
    display: block;
}

.play .palybtn button {
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    padding: 10px 20px;
    max-width: 186px;
    width: 100%;
    border-radius: 100px;
    background: #FF0095;
    cursor: pointer;
    border: none;
    font-family: Poppins;
}

.play .palybottom {
    position: absolute;
    bottom: 0;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 30px;
    width: 100%;
    justify-content: space-between;
    border-radius: 0px 0px 16px 16px;
    border-top: 1px solid #FF0095;
    background: #FFF;
}

.play .palybottom p {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    /* 150% */
}

.botton-full {
    background-image: url(../images/full.svg);
    background-repeat: no-repeat;
    background-position: 10px;
    background-size: 24px;
    flex: 0 0 40px;
    height: 50px;
    cursor: pointer;
    background-color: transparent;
    border: none;
}

.dt-game {
    max-width: 800px;
    width: 90%;
    margin: auto;
    border-radius: 0px 0px 16px 16px;
    background: #FFC5DD;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 20px;
}

.dt .more {
    border-radius: 0px 0px 16px 16px;
    background: #FF0095;
    width: 100px;
    height: 30px;
    margin: auto;
    text-align: center;
}

.dt .more img,
.dt .retract img {
    width: 16px;
}

.dt .more.active,
.dt .retract.active {
    display: none;
}

.dt .retract {
    border-radius: 0px 0px 16px 16px;
    background: #FFC5DD;
    width: 100px;
    height: 30px;
    margin: auto;
    text-align: center;
}

.dt-game.grid {
    transition: all 0.3s ease;
    /* 可选：平滑展开/收起动画 */
}

.more,
.retract {
    cursor: pointer;
    /* 让用户知道可以点击 */
}

.dt-text {
    max-width: 800px;
    width: 90%;
    margin: auto;
    padding: 12px 0;
}

.dt-text h2 {
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 8px;
}

.dt-text p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    height: 73px;
    overflow: auto;
    padding-right: 10px;
}

.dt-text p::-webkit-scrollbar {
    background-color: #ebebeb;
    width: 6px;
}

.dt-text p::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #FF0095;
}



@media (max-width:1500px) {
    .sear .bg {
        height: 350px;
    }

    .sear .bg::after {
        height: 350px;
    }

}

@media (max-width:1200px) {

    .home-top h1,
    .home-top h1 span {
        font-size: 34px;
        line-height: 40px;
        margin: 0;
    }

    .cate-list a .item {
        padding: 20px;
    }

    .cate-list a {
        padding: 10px;
    }

    .cate-list {
        padding-top: 20px;
    }
}

@media (max-width:992px) {
    .sear .bg {
        height: 300px;
    }

    .sear .bg::after {
        height: 300px;
    }

    section {
        padding-top: 20px;
        padding-bottom: 10px;
    }

    .cate-list {
        padding-top: 10px;
    }

    .cate-list a .item {
        padding: 10px 20px;
    }

    .cate-list a .item img {
        width: 20px;
    }

    .game-4 .grid a,
    .game-1 .grid a,
    .game-5 .grid a,
    .game-2 .grid a,
    .game-3 .grid a,
    .sear .grid a,
    .cate-main .grid a,
    .dt-game a,
    .dt-game a {
        padding: 5px;
    }

    .game-1 .grid a:nth-child(1)::after,
    .game-3 .grid a::after,
    .cate-main .grid .big::after {
        width: calc(100% - 10px);
        height: calc(100% - 10px);
        top: 5px;
        left: 5px;
    }

    .game-1 .grid a img,
    .game-3 .grid a img,
    .game-5 .grid a img,
    .dt-game a img {
        margin-bottom: 5px;
    }

    .game-1 .grid a p,
    .game-5 .grid a p,
    .game-2 .grid a .text .t_1l,
    .game-3 .grid a .t_1l,
    .game-4 .grid a .item p,
    .cate-main .grid a p,
    .dt-game a p {
        font-size: 14px;
    }

    .game-1 .grid a:nth-child(1) .t_1l,
    .cate-main .grid .big .t_1l {
        padding: 0 15px;
        font-size: 16px;
        line-height: 20px;
    }

    .game-2 .grid a .text {
        padding-left: 8px;
    }

    .game-2 .grid a .text .playnow img {
        width: 20px;
        height: 20px;
    }

    .game-2 .grid a .text .playnow {
        gap: 8px;
    }

    .game-2 .grid a .text .t_1l {
        margin-bottom: 10px;
    }

    .game-1 .grid a:nth-child(1) .bg,
    .game-3 .grid a .bg {
        width: calc(100% - 10px);
        height: calc(100% - 10px);
    }

    .game-3 .grid a .t_1l {
        padding: 0px 10px;
        bottom: 15px;
    }

    .game-3 .grid a .playnow,
    .game-1 .grid a:nth-child(1) .playnow,
    .cate-main .grid .big .playnow {
        padding: 4px 10px;
    }

    .game-1 .grid a:nth-child(1) .playnow img,
    .game-3 .grid a .playnow img,
    .cate-main .grid .big .playnow img {
        width: 14px;
        height: 14px;
    }

    .game-1 .grid a:nth-child(1) .playnow span,
    .game-3 .grid a .playnow span,
    .cate-main .grid .big .playnow span {
        padding-left: 20px;
    }

    .game-4 .grid a .item p {
        padding-left: 10px;
        padding-right: 10px;
    }

    .about {
        padding: 20px 20px 6px;
    }

    .about p {
        font-size: 14px;
        line-height: 18px;
    }

    .about .h1 {
        font-size: 16px;
        line-height: 24px;
    }

    .back-to-top img {
        width: 30px;
    }

    .cate-list a {
        padding: 10px 5px;
    }

    .dt .title h2 {
        width: 100%;
        padding-bottom: 16px;
    }

    .dt .title {
        padding: 16px 10px;
        justify-content: space-between;
    }

    .dt .likes-list a {
        background-size: 20px;
    }

    .star img {
        width: 20px;
    }
}

@media (max-width:768px) {
    .play .palymain .play-bg {
        max-width: 150px;
    }

    .sear .bg {
        height: 200px;
    }

    .sear .bg::after {
        height: 200px;
    }

    .sear .container {
        margin-top: -140px;
    }

    .sear-search-main {
        margin: auto;
    }

    .sear h2 {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .container {
        padding: 0 5px;
    }

    .home-top .cate-list {
        display: none;
    }

    .cate-list a {
        flex: 0 0 33.333%;
    }

    .cate-list a .item p {
        font-size: 14px;
    }

    .cate-list a .item {
        padding: 10px 10px;
    }

    .home-top h1 {
        margin: 30px 20px 20px;
    }

    .home-top h1,
    .home-top h1 span {
        font-size: 30px;
        line-height: 36px;
    }

    .home-top::after {
        background:
            linear-gradient(182deg, rgba(255, 255, 255, 0.00) 70%, rgba(255, 255, 255, 1) 100%),
            linear-gradient(178deg, rgba(255, 255, 255, 0.00) 70%, rgba(255, 255, 255, 1) 100%),
            linear-gradient(2deg, rgba(255, 255, 255, 0.00) 80%, rgba(255, 255, 255, 1) 100%),
            linear-gradient(358deg, rgba(255, 255, 255, 0.00) 80%, rgba(255, 255, 255, 1) 100%);
    }

    .game-1 .grid,
    .game-5 .grid,
    .sear .grid,
    .cate-main .grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .game-1 .grid a:nth-child(1) {
        grid-column: 3 / 5;
        grid-row: 1 / 3;
    }

    .game-4 .grid a,
    .game-1 .grid a,
    .game-5 .grid a,
    .game-2 .grid a,
    .game-3 .grid a,
    .cate-main .grid a,
    .dt-game a {
        padding: 8px;
    }

    .game-1 .grid a:nth-child(1)::after,
    .game-3 .grid a::after,
    .cate-main .grid .big::after {
        width: calc(100% - 16px);
        height: calc(100% - 16px);
        top: 8px;
        left: 8px;
    }

    .game-1 .grid a:nth-child(1) .bg,
    .game-3 .grid a .bg {
        width: calc(100% - 16px);
        height: calc(100% - 16px);
    }

    .game-1 .grid a p,
    .game-5 .grid a p,
    .game-2 .grid a .text .t_1l,
    .game-4 .grid a .item p,
    .dt-game a p {
        -webkit-line-clamp: 2;
    }

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

    .about {
        padding: 16px 16px 6px;
        margin: 10px;
    }

    .about .h5menu {
        display: none !important;
    }

    .back-to-top {
        bottom: 140px;
        right: 40px;
    }

    .game-1 .grid a p,
    .game-5 .grid a p,
    .sear .grid a p,
    .cate-main .grid a p,
    .dt-game a p {
        font-size: 14px;
        line-height: 20px;
    }

    .cate-main .grid a {
        grid-column: span 1;
        grid-row: span 1;
    }

    .cate-main .grid .big {
        grid-column: span 2;
    }
}

@media (max-width:520px) {

.toggle{        top: 0px;}
    .cate-list a {
        flex: 0 0 50%;
    }

    .sear .grid a .t_1l {
        -webkit-line-clamp: 2;
    }

    .sear .bg {
        height: 150px;
    }

    .sear .bg::after {
        height: 150px;
        background:
            linear-gradient(182deg, rgba(255, 255, 255, 0.00) 80%, rgb(255, 255, 255, 1) 100%),
            linear-gradient(178deg, rgba(255, 255, 255, 0.00) 80%, rgba(255, 255, 255, 1) 100%),
            linear-gradient(2deg, rgba(255, 255, 255, 0.00) 85%, rgba(255, 255, 255, 1) 100%),
            linear-gradient(358deg, rgba(255, 255, 255, 0.00) 85%, rgba(255, 255, 255, 1) 100%)
    }

    .sear .container {
        margin-top: -140px;
    }

    .sear h2 {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 16px;
        padding-left: 5px;
    }

    .home-top h1,
    .home-top h1 span {
        font-size: 20px;
        line-height: 28px;
    }

    .home-top h1 {
        margin: 10px 20px 10px;
    }

    .home-top {
        padding-top: 20px;
    }

    section {
        padding-top: 0px;
        padding-bottom: 10px;
    }

    .game-1 .heading,
    .game-2 .heading,
    .game-3 .heading,
    .game-4 .heading,
    .game-5 .heading,
    .cate-list .title,
    .cate-main .heading {
        font-size: 16px;
        line-height: 18px;
    padding-bottom: 0px;
    }

    header .home a {
        padding: 10px 20px;
    }

   
    .game-1 .grid,
    .game-5 .grid,
    .sear .grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .game-1 .grid a:nth-child(1) {
        grid-column: 1 / 4;
        grid-row: 1 / 3;
    }

    .game-1 .grid a:nth-child(1) .bg {
        position: relative;
    }

    .game-1 .grid a:nth-child(1) .bg {
        width: calc(100% - 0px);
        height: calc(100% - 0px);
        aspect-ratio: 1/0.7;
    }

    .game-3 .grid a .bg {
        width: calc(100% - 12px);
        height: calc(100% - 12px);
    }

    .game-3 .grid a::after,
    .cate-main .grid .big::after {
        top: 6px;
        left: 6px;
        width: calc(100% - 12px);
        height: calc(100% - 12px);
    }

    .game-4 .grid a,
    .game-1 .grid a,
    .game-5 .grid a,
    .game-2 .grid a,
    .game-3 .grid a,
    .cate-main .grid a,
    .dt-game a {
        padding: 6px;
    }

    .game-1 .grid a:nth-child(1)::after {
        width: calc(100% - 12px);
        height: calc(100% - 12px);
        top: 6px;
        left: 6px;
    }

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

    .about {
        padding: 12px 12px 6px;
        margin: 10px;
    }

    .about p {
        font-size: 12px;
        line-height: 16px;
        padding-bottom: 10px;
    }

    .about .h1 {
        font-size: 14px;
        line-height: 20px;
        padding-bottom: 6px;
    }

    .about .pt a,
    footer p {
        font-size: 12px;
        line-height: 14px;
        color: #333;
    }

    .about .share a {
        padding: 5px 10px;
    }

    .cate-main .grid .big .t_1l {
        padding: 0 10px;
        font-size: 14px;
        line-height: 20px;
        bottom: 12px;
    }

    .cate-main .grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .cate-main .grid a {
        grid-column: span 2;
    }

    .cate-main .grid .big {
        grid-column: span 3;
    }

    .cate-main .grid .big .playnow {
        font-size: 12px;
        line-height: 16px;
        padding: 2px 10px;
    }

    .cate-main .grid .big .playnow img {
        width: 12px;
        height: 12px;
    }

    .cate-main .grid .big .playnow span {
        padding-left: 15px;
    }

    .cate-main .grid a img {
        margin-bottom: 5px;
    }

    .dt .head a,
    .dt .title h2,
    .dt-text h2,
    .dt-text p {
        font-size: 14px;
        line-height: 18px;
    }

    .dt .title h2 {
        padding-bottom: 10px;

    }

    .dt .title {
        padding: 12px 10px;
    }

    .star img {
        width: 16px;
    }

    .dt .likes-list a {
        background-size: 16px;
    }

    .play .palymain .play-bg {
        max-width: 100px;
    }

    .dt .play {
        width: 97%;
        aspect-ratio: 1 / 1.2;
    }

    .dt-game,
    .dt-text {
        width: 97%;
    }

    .dt-game {
        padding: 5px;
        grid-template-columns: repeat(3, 1fr);
    }

    .play .palybtn .game-img {
        max-width: 140px;
        margin-bottom: 12px;
    }

    .play .palybtn button {
        font-size: 14px;
        padding: 5px 20px;
    }

    #gameIframe {
        max-width: 100%;
    }

    .botton-full {
        background-size: 20px;
        height: 35px;
    }

    .play .palybottom {
        height: 35px;
        padding: 0 10px;
    }

    .play .palymain {
        height: calc(100% - 35px);
    }

    footer {
        padding: 16px 0;
    }

    .sear .bg {
        background-position: 70% 0%;
    }

    .sear .container {
        margin-top: -100px;
    }

    .sear .bg,
    .sear .bg::after {
        height: 120px;
    }
}

@media (max-width: 400px) {
    .dt .play {
        width: 97%;
        aspect-ratio: 1 / 1.3;
    }

    .h5menu.cate-ul a {
        flex: 0 0 100%;
    }


}

@media (max-width: 375px) {

    .toggle {
        right: 0px;
    }

    .game-1 .grid,
    .game-5 .grid,
    .sear .grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

.h5game {
    display: none;
}

@media (max-width:768px) {

.playAd{    width: 100vw;
    margin-left: -5px;}


    .pcgame{
        display: none !important;
    }
    .dt .head{
        background: transparent;
    }
    .h5game {
        display: block;
    }

    .h5game a {
        padding: 10px 20px;
        display: block;
    }

    .h5game .game-img {
        width: 120px;
        height: 100px;
        object-fit: cover;
        display: block;
        margin: auto;
        border-radius: 12px;
    }

    .h5game h2 {
        font-size: 14px;
        font-weight: 600;
        line-height: 18px;
        text-align: center;
        padding-top: 7px;
    }

    .h5game .star {
        display: flex;
        justify-content: center;
    }

    .h5game .star img {
        width: 15px;
        height: 15px;
        margin: 0 5px;
    }

    .h5game .btn {
        position: relative;
        padding: 12px;
        color: #FFF;
        text-align: center;
        font-size: 16px;
        font-weight: 700;
        line-height: 16px;
        letter-spacing: 0.8px;
        border-radius: 20px;
        background: linear-gradient(91deg, #FF0095 23.41%, #FF7BC8 83.3%);
    }

    .h5game .btn img {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 60px;
    }

    .dt-text {
        padding: 10px 0;
    }

}
@media (max-width:500px) {
  
    .toggle {
        top: 5px;
        right: 10px;
    }
    }

@media (max-width:550px) {
    .h5game .btn img {
        width: 60px;
    }
}