html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 15px;
}

.bg-red-color {
    background-color: #ba2f7b;
}

.bg-grey {
    background-color: #969595;
}

.text-color-grey {
    color: grey;
}

#back-to-top {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 65px;
    height: 65px;
    background-color: #ba2f7b;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

    #back-to-top svg {
        fill: white;
        width: 30px;
        height: 30px;
    }

.div-layout-center {
    margin: 0 auto;
}

.login-btn {
    display: inline-block;
    color: aliceblue;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    user-select: none;
    cursor: pointer;
    border-radius: 50rem !important;
    padding: 0.6rem 1.8rem;
    letter-spacing: 0.5px;
    background: linear-gradient(171deg, rgba(120,137,247,1) 0%, rgba(168,110,198,1) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
    transition: background 0.1s ease, box-shadow 0.4s ease, transform 0.6s ease;
    overflow: hidden;
}

    .login-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
        background: linear-gradient(357deg, #8fa6ff, #502ea9);
        animation: pulse 1.5s infinite;
    }

    .login-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 10px rgba(67, 97, 238, 0.25);
        box-shadow: 0 2px 10px rgba(67, 97, 238, 0.25);
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(67, 97, 238, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
    }
}

.navbar .navbar-nav .nav-link.active {
    color: #ba2f7b;
}

.navbar .navbar-nav .nav-link:hover {
    color: #ba2f7b;
}

.input-container {
    position: relative;
}

.input-recommend {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 10px);
    left: -280px;
    width: 560px;
    max-height: 300px;
    border-radius: 14px;
    display: none;
}

.input-container:focus-within .input-recommend {
    display: block;
}

.home-logo-img {
    width: 65px;
    height: 65px;
}

.navbar-bg {
    background-color: white;
}

.home-page-bg {
    /*background-color: #f7f7f7;*/
    background-color: #f3f6f6;
}

.home-module-title{
    font-size: 22px;
    font-weight: 700;
}

.more-choice-text{
    color: #969595;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
}
.more-choice-text:hover{
    color: #252424;
}

.home-type-nav{
    font-size: 18px;
    border-radius: 50rem !important;
}

.notice-item{
    display: inline-flex;
    align-items: center;
    padding: .25em .5em 1.2em .5em;
}

    .notice-item a {
        color: #747474;
        font-size: 15px;
        max-width: 160px;
        text-decoration: none;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .notice-item a:hover{
        color: #5c5757;
        text-decoration:underline;
    }

    .notice-item span {
        margin-left: auto;
        font-size: 14px;
        color: #747474;
    }

.fs-12px {
    font-size: 12px;
}

.link-hover-dark:hover {
    color: black;
}

.link-hover-underline {
    text-decoration: none;
}

    .link-hover-underline:hover {
        text-decoration: underline;
        text-decoration-color: #696868;
    }


.w-78 {
    width: 78%;
}

.w-22 {
    width: 22%;
}

.row-cols-8 > * {
    flex: 0 0 12.5%;
    max-width: 12.5%;
}

.fixed-area-75px {
    width: 75px;
    height: 75px;
    min-width: 75px;
    min-height:75px;
}

.fixed-area-40px {
    width: 40px;
    height: 40px;
}

.fixed-width-1200px {
    width: 1200px;
    min-width: 1200px;
}

.fixed-width-120px {
    width: 120px;
}

.fixed-height-390px {
    height: 390px;
}

.fixed-height-72px {
    height: 72px;
}

.img-object-fit-cover {
    /*width: 100%;
    height: 100%;*/
    object-fit: cover;
}

.img-object-fit-contain {
    object-fit: contain;
}

.account-card {
    border-radius: 10px;
    cursor: pointer;
    margin: 8px;
    max-width: 281px !important;
    min-width: 281px !important;
}

    .account-card:hover {
        box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.3);
    }

.account-card:hover img {
    transform: scale(1.03);
}

        .account-card:hover p, .account-card:hover .text-color-grey {
            color: #dea02d;
        }

.img-hover-scale:hover {
    transform: scale(1.1);
}

.img-hover-transform {
    transition: transform 0.3s;
}

    .img-hover-transform:hover {
        transform: translateX(8px);
    }

.cursor-pointer {
    cursor: pointer;
}

/* 隐藏左右按钮 */
.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
    transition: opacity 1s;
}
/* 鼠标悬停时显示左右按钮 */
.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.bg-game-nav {
    background-color: #f7f7f7;
}

.truncate-text {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 设置行数 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.account-img {
    min-height: 155px;
    height: 155px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: .5rem;
    vertical-align: middle;
}


.account-whole-label {
    width: 90px;
    height: 24px;
    background: linear-gradient(315deg,#e1241b 0%,#ef4034 100%);
    border-radius: 4px
}

.account-hj-label {
    width: 45px;
    height: 24px;
    background: linear-gradient(270deg,#45485b 0%,#222438 100%);
    border-radius: 4px 0 8px 4px;
    font-size: 14px;
    font-weight: 500;
    color: #fdf3cd;
    display: flex;
    align-items: center;
    justify-content: center
}

.account-zb-label {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    height: 24px;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    padding: 0 6px
}

.account-game-label {
    height: 24px;
    color: #969595;
    font-size: 12px;
    justify-content: center;
    display: inline-flex;
    border-radius: 6px;
    align-items: center;
    padding: 0 6px;
    background: #f2f2f2;
    max-width: calc(100% - 12px);
    overflow: hidden
}

.clickable-div {
    position: relative;
}

    .clickable-div a {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
    }

.rounded-slide {
    border-radius: 10px;
    overflow: hidden; /* 确保内容不会溢出圆角 */
}

.service-text-black {
    font-size: 16px;
    font-family: PingFang SC, PingFang SC-Medium;
    font-weight: 500;
    color: #787878;
}

.service-text-grey {
    font-size: 14px;
    font-family: PingFang SC, PingFang SC-Light;
    font-weight: 300;
    color: #9d9d9d;
}

.nav-pills .nav-link.active {
    background-color: #8414f1;
}

.nav-link {
    color: #1f1c1c;
}

    .nav-link:hover {
        color: #6f2da8;
    }

.text-border-darkgolden {
    color: #d09e23;
    border-color: #d09e23 !important;
}

@media (max-width: 768px) {
    .navbar {
        width: 1200px;
    }

    .navbar-nav {
        flex-direction: row; /* 小屏幕上水平布局 */
    }

        .navbar-nav .nav-item {
            margin-right: 10px; /* 菜单项之间的间距 */
        }
}


.notice-bg {
    background: linear-gradient(135deg, #f0f9ff 0%,#c9ebff 55%);
}

/*.game-recommend-bg {
    background: radial-gradient(circle at 10% 20%, rgb(226, 240, 254) 0%, rgb(255, 247, 228) 90%);
}*/

.sum-div-bg {
    background: #283748;
}

.rounded-lg-div {
    border-radius: 20px;
}

.rounded-top15 {
    border-top-left-radius: 15px; /* 左下角 */
    border-top-right-radius: 15px; /* 右下角 */
}

.video-slide img {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    cursor: pointer;
}

.about-main-div{
    width: 70%;
    margin: 0 auto;
}

.bg-gradient-animation {
    background: linear-gradient(45deg, #e8beef, #f7a7b4, #979eee, #57c1b1);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.sell-index-mainDiv2 {
    width: 100%;
    height: 500px;
    padding: 50px 50px 0 50px;
}

.sell-index-upload-recover {
    height: 35%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #edf0f4;
    padding: 3% 6%;
    margin-bottom: 40px;
    border-radius: 6px;
    position: relative;
}

    .sell-index-upload-recover a {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
    }

.upload-recover-imgDiv {
    width: 30%;
    height: 80%;
    max-width: 80px;
    max-height: 80px;
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.upload-recover-textDiv {
    width: 40%;
    display: flex;
    flex-direction: column;
}

.upload-recover-text1 {
    font-size: 22px;
    font-weight: 600;
    line-height:2;
}

.upload-recover-text2 {
    font-size: 16px;
}