/* 
 * 自定义CSS样式
 * 用于电脑端首页的定制样式
 */

/* 全局样式 */
.custom-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.custom-header {
    background: linear-gradient(to right, #ffd36f, #ff8d48);
    padding: 10px 0;
}

/* 内容区域样式 */
.custom-content {
    padding: 20px 0;
}

/* 按钮样式 */
.custom-btn {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(#ffd36f, #ff8d48);
    color: #fff;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    box-shadow: 0 0 10px rgba(255, 141, 72, 0.5);
}

/* 登录导航样式 */
.login-nav a {
    color: #9e36ff;
    cursor: pointer;
    transition: all .5s;
}

/* sports-mbjs样式 */
.sports-mbjs {
    text-align: right;
}

.sports-mbjs img {
    aspect-ratio: 5/3;
    object-fit: cover;
    display: inline-block;
    object-position: right center;
    border-radius: 8px;
}

/* swiper-slide样式 */
.swiper-slide {
    text-align: right;
}

.swiper-slide img {
    aspect-ratio: 5/3;
    object-fit: cover;
    display: inline-block;
    object-position: right center;
    border-radius: 8px;
}

/* 导航菜单中的图片样式 */
.nav-drop .sports-mbjs img {
    width: 90% !important;
    margin: 0 auto !important;
    max-width: 150px;
    display: block !important;
}

/* 电子游艺菜单样式 - 修改为一排显示 */
.games-drop .swiper-container {
    height: auto !important;
    width: 100% !important;
    display: block !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    margin-top: 10px;
}

.games-drop .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start;
    width: max-content !important;
}

.games-drop .swiper-slide {
    width: auto !important;
    height: auto !important;
    margin: 5px 10px;
    flex: 0 0 auto;
}

.games-drop .swiper-slide > div {
    height: auto !important;
}

.games-drop .swiper-slide img {
    width: 90% !important;
    max-width: 150px;
    margin: 0 auto !important;
    display: block !important;
}

.games-drop .swiper-slide span {
    position: static !important;
    display: block !important;
    text-align: center;
    margin-top: 5px;
    font-size: 14px !important;
}

/* 响应式样式 */
@media screen and (max-width: 768px) {
    .custom-container {
        padding: 0 10px;
    }
} 

.header-top {
    height: 34px;
    background: linear-gradient(to right, #cc9aff 0%, #dab6ff 100%);
    justify-content: flex-end;
    display: flex
;
    align-items: center;
    padding: 0 20px;
}
/*登录提示*/
.login-nav {
    color: #000000;
    font-size: 14px;
    line-height: 24px;
    padding: 5px 0;
}

/*顶部导航*/
.header-bottom {
    height: 50px;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #fbfbfb, #ebebeb);
    padding-left: 20px;
}

.nav .cur a {
    border-bottom: 3px solid #9231f5;
}

.nav li:hover a, .nav .cur a, .nav li.hover>a {
    color: #9231f5;
}

.nav li a {
    display: block;
    height: 100%;
    color: #333333;
    font-size: 18px;
    box-sizing: border-box;
    transition: color .5s;
}

.hd-link a {
    display: inline-block;
    height: 18px;
    padding-left: 22px;
    margin-right: 5px;
    line-height: 18px;
    color: #a953ff;
}

.nav-drop {
    padding-top: 15px !important;
}

.nav-drop .sports-mbjs {
    margin-top: 10px;
}

.nav-drop {
    display: none;
    background: linear-gradient(to bottom, rgb(255 255 255), rgb(255 255 255 / 0.6));
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    box-shadow: 0px 5px 20px 0px #c5c5c5;
    position: absolute;
    width: 100%;
    height: 150px;
    left: 0;
    top: 100%;
}

.nav-promotion {
    position: relative;
    top: -20px;
}

.nav-drop small {
    position: relative;
    top: -30px;
    display: block;
}

.mod-home-float .dots li.active a, .mod-home-float .dots li:hover a {
    color: #fff;
    background: #a953ff;
}

.notice.pr {
    width: 98%;
    max-width: 100%;
    margin: 20px auto;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 增加上下元素之间的间距 */
.notice.pr + * {
    margin-top: 25px;
}

* + .notice.pr {
    margin-top: 25px;
}

.swiper-container.swiper-container-fade {
    width: 98% !important;
    max-width: 100%;
    margin: 20px auto 0;
    aspect-ratio: 8/3;
    border-radius: 10px;
    overflow: hidden;
}

.swiper-container.swiper-container-fade .swiper-slide {
    height: 100%;
}

.swiper-container.swiper-container-fade .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 底部点播按钮样式 */
.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    margin: 0 5px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #a953ff;
    width: 30px;
    border-radius: 6px;
}

/* 公告栏标题样式 */
.notice i {
    position: relative;
    left: 1%;
    padding-left: 10px;
    font-style: normal;
    font-weight: bold;
}

/* 导入自定义字体 */
@font-face {
    font-family: 'ShangShouYiFeiTi';
    src: url('/static/fonts/ShangShouYiFeiTi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* 应用字体到所有元素 */
* {
    font-family: 'ShangShouYiFeiTi', sans-serif;
}

.login-modal .modal-nav li:after {
    content: '';
    position: absolute;
    display: block;
    height: 2px;
    background: #a953ff;
    left: 50%;
    transform: translateX(-50%);
    bottom: -2px;
    transition: width .5s;
    width: 0;
}

.login-modal .log-btn, .login-modal .log-btn-disabled {
    display: block;
    text-align: center;
    color: #fff;
    margin-top: 35px;
    border-radius: 8px;
    background: linear-gradient(to right, #a953ff 0%, #d6aeff 100%);
    line-height: 50px;
}

.login-modal .bottom-text a {
    color: #a953ff;
    transition: color .5s;
}

.logined-nav {
    color: #2d2d2d;
}

.logined-nav a {
    padding: 3px 8px;
    color: #a953ff;
}

.logined-nav a:hover {
    color: #303030;
    text-decoration: underline;
}

.user-ctr .items-tab a.current, .user-ctr .items-tab a:hover {
    color: #a953ff;
    background: #ffffff;
    position: relative;
}

.user-ctr .items-tab a.current:after, .user-ctr .items-tab a:hover:after {
    content: "";
    width: 5px;
    height: 100%;
    background: #a953ff;
    position: absolute;
    top: 0;
    left: 0;
}

.mod-baseinfo .mod-forms-list .user-info a
 {
    width: 65px;
    margin: 0;
    color: #a953ff;
    position: absolute;
    top: 5px;
    left: 375px;
}

.mod-home-float .dots li:hover:before {
    background: #a953ff;
}

.mod-home-float .dots li:hover a:before {
    border-color: transparent transparent transparent #a953ff;;
}

#verificationPopup {
    width: 500px;
    margin-left: -280px;
    top: 300px;
    text-align: center;
    background-color: #fff;
    background-size: cover;
    background-position: center;
    border: 3px solid #a953ff;
}

.forms-btn-o .btn-sub {
    min-width: 135px;
    height: 35px;
    line-height: 35px;
    color: #fff;
    background: linear-gradient(90deg, #a953ff 0%, #ca95ff 100%);
}

.forms-btn-o .btn-sub:hover {
    color: #fff;
    background: linear-gradient(90deg, #ca95ff 0%, #a953ff 100%);
}

.user-ctr .item-tab.operation a.current, .user-ctr .item-tab.operation a:hover
 {
    background: #fff;
    border: 1px solid #a953ff;
    box-shadow: 0px 5px 8px 0px rgba(0, 0, 0, 0.1);
}

.user-ctr .item-title p {
    font-size: 20px;
    font-weight: normal;
}

.user-ctr .item-account .col-wallet a:hover
 {
    border: 1px solid #a953ff;
}

.current a[data-v-1bfbbd9b] {
    color: #a953ff !important;
    background: #fff;
    padding: 5px 45px;
}

.orange-btn {
    background: #a953ff;
    line-height: 36px;
    font-size: 16px;
    border-radius: 5px;
    color: #fff !important;
    text-align: center;
    display: inline-block;
    border: none;
    padding: 0 30px;
    transition: background .5s;
    cursor: pointer;
}
.orange-btn:hover {
    background: #a953ff;
}

.current a[data-v-1bfbbd9b]:hover {
    color: #a953ff !important;
}

.mod-transfer .main-account .main-account-num {
    color: #a953ff;
    min-width: 60px;
    font-size: 16px;
}