* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.ad {
    width: 90%;
    height: auto;
    margin: 15px auto;
}

.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;
}

.ad-label {
    color: rgb(167, 167, 167);
    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;
}

.ad p {
    width: 100%;
    line-height: 50px;
    text-align: center;
    height: 50px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
}

.header-box {
    max-width: 1400px;
    margin: 0 auto;
    height: 64px;
    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;
    padding: 0 24px;
}

.content-category-row {
    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;
    gap: 12px;
    padding: 12px 24px;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    background: rgba(10, 10, 26, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 64px;
}

.fav {
    height: 44px;
    line-height: 44px;
    font-size: 1.5rem;
    font-weight: 700;
    background: -webkit-linear-gradient(315deg, #00f0ff, #ff00ff);
    background: linear-gradient(135deg, #00f0ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.rootbg {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    cursor: pointer;
}

.header-menu {
    width: 45%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-justify-content: space-around;
            justify-content: space-around;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    gap: 8px;
}

.play-online,
.other,
.home,
.played-games {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
}

.play-online:hover,
.other:hover,
.home:hover,
.played-games:hover {
    background: rgba(0, 240, 255, 0.15);
    color: #00f0ff;
}

.header-list,
.other-list {
    position: absolute;
    top: -webkit-calc(100% + 8px);
    top: calc(100% + 8px);
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    height: auto;
    min-width: 180px;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    z-index: 100;
    display: none;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 60px rgba(0, 240, 255, 0.1);
}

.other-list {
    width: auto;
    min-width: 160px;
}

.play-item {
    width: 50%;
    height: 44px;
    line-height: 44px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 13px;
    padding: 0 12px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.play-item:hover {
    background: rgba(0, 240, 255, 0.15);
    color: #00f0ff;
}

.bepic-list .home,
.other-list .other-link {
    width: 100%;
    height: 44px;
    line-height: 44px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 13px;
    padding: 0 12px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.home:hover,
.other-link:hover {
    background: rgba(0, 240, 255, 0.15);
    color: #00f0ff;
}

.search-box {
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    position: relative;
    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;
    width: 220px;
    height: 42px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 21px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.search-btn {
    background-color: rgba(255, 255, 255, 0);
    margin-right: 8px;
    width: 22px;
    height: 22px;
    background-image: url(../../images/search-black.305f356.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    border: none;
    cursor: pointer;
    -webkit-filter: brightness(0) invert(1);
            filter: brightness(0) invert(1);
    opacity: 0.8;
}

.myInput {
    height: 32px;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    max-width: 85%;
    outline: 0;
    font-size: 14px;
    border-radius: 17px;
    border: 0;
    display: inline-block;
    padding: 0 14px;
    text-decoration: none;
    background: transparent;
    color: #fff;
}

.myInput::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.myInput::-moz-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.myInput::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#search-suggestions {
    position: absolute;
    width: -webkit-calc(100% - 8px);
    width: calc(100% - 8px);
    top: -webkit-calc(100% + 8px);
    top: calc(100% + 8px);
    left: 4px;
    max-height: 280px;
    overflow-y: auto;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    z-index: 1000;
    display: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

#search-suggestions div {
    padding: 12px 16px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85);
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#search-suggestions div:last-child {
    border-bottom: none;
}

#search-suggestions div:hover {
    background: rgba(0, 240, 255, 0.15);
    color: #00f0ff;
}

.aside-menu {
    display: none;
    width: 40px;
    height: 40px;
    background-image: url(../../images/menu.7889495.png);
    background-position: center;
    background-size: 100%;
    cursor: pointer;
    -webkit-filter: brightness(0) invert(1);
            filter: brightness(0) invert(1);
}

aside {
    width: 320px;
    max-width: 85%;
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 240, 255, 0.15);
    z-index: 2000;
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    padding: 24px;
    overflow-y: scroll;
}

.close {
    width: 100%;
    position: relative;
    height: 40px;
    margin-bottom: 20px;
}

.close-icon {
    position: absolute;
    right: 0;
    width: 32px;
    height: 32px;
    background-image: url(../../images/close.007b66b.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    cursor: pointer;
    -webkit-filter: brightness(0) invert(1);
            filter: brightness(0) invert(1);
    opacity: 0.8;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.close-icon:hover {
    opacity: 1;
}

.aside-home,
.aside-play-online,
.aside-played-games,
.other {
    margin: 12px 0;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    border-radius: 10px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.aside-home:hover,
.aside-play-online:hover,
.aside-played-games:hover,
.other:hover {
    background: rgba(0, 240, 255, 0.12);
    color: #00f0ff;
}

.aside-home {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
}

.home {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
}

.main {
    padding-top: 0;
}

.bottom {
    position: relative;
    left: 0;
    width: 100%;
    padding: 40px 0 30px;
    background: rgba(10, 10, 26, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bottom a {
    text-decoration: none;
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.7);
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.bottom a:hover {
    cursor: pointer;
    color: #00f0ff;
}

.bottom .btxt {
    margin: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    text-align: center;
}

.bottom .text-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    -webkit-justify-content: space-around;
            justify-content: space-around;
    padding: 0 24px;
}

.bottom .left-box {
    width: 50%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 24px;
}

.bottom .right-box {
    width: 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-justify-content: space-around;
            justify-content: space-around;
}

.left-box .pre {
    width: 80%;
}

.latest-game {
    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;
    text-align: center;
    gap: 4px;
}

.latest-title,
.btxt-title {
    height: 44px;
    line-height: 44px;
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.latest-item {
    height: 36px;
    line-height: 36px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.latest-item:hover {
    color: #00f0ff;
    cursor: pointer;
}

@media screen and (max-width:1200px) {

    .main {
        width: 100%;
    }

    .bottom {
        width: 100%;
    }

    .bottom .text-box {
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
    }

    .bottom .left-box,
    .bottom .right-box {
        width: 100%;
    }

    .bottom .pre {
        margin: 0 auto 10px;
    }

    header,
    .header-box,
    .main {
        width: 100%;
    }

    .header-box .header-menu {
        display: none;
    }

    .search-box {
        width: 60%;
    }


    .aside-menu {
        display: block;
    }

    .content-category-row {
        padding: 10px 16px;
        gap: 8px;
        margin-top: 64px;
    }

}

@media screen and (max-width: 768px) {
    .header-box {
        padding: 0 16px;
    }

    .search-box {
        width: 140px;
    }

    .myInput {
        font-size: 12px;
    }

    .content-category-row {
        padding: 8px 12px;
        gap: 6px;
    }

    .content-category-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .bottom .text-box {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
           -moz-box-align: center;
                align-items: center;
    }

    .bottom .left-box,
    .bottom .right-box {
        width: 100%;
        text-align: center;
    }

    .latest-title,
    .btxt-title {
        font-size: 0.85rem;
    }
}

.content-list-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
       -moz-box-orient: horizontal;
       -moz-box-direction: normal;
            flex-direction: row;
    background: rgba(20, 20, 45, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.content-list-item:hover {
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.15),
                0 0 60px rgba(0, 240, 255, 0.08);
}

.content-item-img {
    width: 160px;
    height: 120px;
    -webkit-flex-shrink: 0;
            flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-item-text {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    padding-left: 16px;
    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;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
}

.content-item-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.content-item-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 600px) {
    .content-list-item {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
    }

    .content-item-img {
        width: 100%;
        height: 180px;
    }

    .content-item-text {
        padding-left: 0;
        padding-top: 12px;
    }
}

.content-category-btn {
    padding: 10px 24px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 25px;
    color: #00f0ff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.content-category-btn:hover {
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    background: rgba(0, 240, 255, 0.2);
    border-color: rgba(0, 240, 255, 0.5);
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.25);
}

.content-main {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

.content-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-back-btn {
    display: none;
}

.content-title {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
    text-align: center;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.content-body {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    background: rgba(20, 20, 45, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 16px;
}

.content-body h2 {
    font-size: 22px;
    font-weight: bold;
    color: #00f0ff;
    margin: 28px 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    line-height: 1.4;
}

.content-body h2 strong {
    font-size: 22px;
    font-weight: bold;
    color: #00f0ff;
}

.content-body p {
    margin-bottom: 18px;
    text-align: justify;
    color: rgba(255, 255, 255, 0.85);
}

.content-body ul,
.content-body ol {
    margin: 16px 0;
    padding-left: 28px;
    color: rgba(255, 255, 255, 0.85);
}

.content-body li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.content-body .img {
    text-align: center;
    margin: 24px 0;
}

.content-body .img img,
.content-body img {
    max-width: 100% !important;
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 16px auto;
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}

.content-body strong {
    font-weight: bold;
    color: #00f0ff;
}

.content-body a {
    color: #00f0ff;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.content-body a:hover {
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.content-body a:hover {
    text-decoration: underline;
}

.content-body br {
    display: block;
    margin: 10px 0;
    content: "";
}

