* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #1a2238;
    color: #fff;
    padding-top: 132px; /* 为固定导航栏预留空间 */
}
.meteor {
    position: absolute;
    width: 1px;
    /* 流星头部在前，拖尾向后 */
    background: linear-gradient(to bottom, transparent, #fff);
    opacity: 0;
    z-index: 0;
}
/* 顶部导航栏 - 吸顶 + 半透明朦胧效果 */
.headers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 132px;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-logo-box {
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}
.nav-btn-box {
    display: flex;
    align-items: center;
}
.nav-logo-box .nav-logo {
    width: fit-content;
    height: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.nav-logo-box .nav-logo  img {
    display: block;
    width: auto;
    height: 100%;
}
.nav-container {
    width: 90%;
    max-width: 1420px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    height: 72px;
}

.nav-logo {
    font-size: 24px;
    font-weight: bold;
    color: #d4af37;
    margin-right: 40px;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.nav-item:hover {
    color: #d4af37;
}

/* 主内容区 */
.main-content {
    width: 90%;
    max-width: 1420px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    padding-top:130px;
}

.app-box {
    width: 100%;
    height: fit-content;
    display: none;
    padding:0px 10px;
}
/* 公告滚动容器 */
.app-box .notice {
    width: 100%;
    height: 30px;
    line-height: 30px;
    color: #c0a8ff;
    font-size: 15px;
    overflow: hidden;
    position: relative;
    margin: 15px 0;
}
.app-box .notice-box {
    width: 100%;
    display: flex;
    align-items: center;
}

.app-box .notice .text {
    position: absolute;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
}
.app-box .notice-box .logo {
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.app-box .notice-box .logo img {
    display: block;
    width: 60%;
    height: auto;
    object-fit: contain;
}
.app-box .txt{color:#c0a8ff;margin:20px 0;font-size:16px}
.app-box .grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:0 auto; width: 100%;}
.app-box .btn{border:none;border-radius:12px;padding:18px;color:#fff;font-size:16px;justify-content: center;}
.app-box .purple{background:linear-gradient(90deg,#7a3ddb,#a784e8)}
.app-box .orange{background:linear-gradient(90deg,#ff6b35,#f7b348)}

/* 横幅广告区 */
.banner {
    grid-column: 1 / 2;
    overflow: hidden;
    position: relative;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.promo-table {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 350px;
    color: #fff;
}
.promo-table img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* 右侧用户信息区 */
.user-panel {
    height: 100%;
    grid-column: 2 / 3;
    background-color: #0D1629;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 148px;
}

.avatar {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: #35486F;
    position: absolute;
    top: 20px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a2238;
    font-size: 30px;
    overflow: hidden;
}
.avatar img {
    display: block;
    width: 90%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    z-index: 1;
}

.user-info {
    text-align: center;
    font-size: 15px;
}

.user-info .id {
    color: #ffffff;
    margin-bottom: 5px;
}

.balance-row {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 10px 0;
    font-size: 14px;
}

.balance-col {
    flex: 1;
    text-align: center;
}

.balance-col .label {
    color: #ffd700;
    font-size: 12px;
    white-space: nowrap;
}

.balance-col .value {
    color: #ffd700;
    font-weight: bold;
    line-height: 31px;
}

.btn-group {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-withdraw {
    background-color: #ff4444;
}

.btn-deposit {
    background-color: #ff3333;
}

/* 游戏列表区 - PC端三列布局 */
.games-section {
    grid-column: 1 / 3;
    margin-top: 20px;
}

.games-section h3 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #fff;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.game-card {
    height: 200px;
    background: linear-gradient(90deg, #1e739300 0%, #1e658f 100%);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.game-card .game-name {
    flex: 1;
    padding: 15px 15px 15px 20px;
    font-size: 16px;
    color: #fff;
}

.game-card .game-cover {
    width: auto;
    height: 200px;
    object-fit: cover;
}

/* 游戏等级卡片 - 移动端专用样式 */
.game-category {
    font-size: 22px;
    font-weight: bold;
    margin: 25px 0 15px;
}

.level-card {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    height: 120px;
}

.level-text {
    flex: 2;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 28px;
    font-weight: bold;
}

.level-image {
    flex: 1;
    background-color: #000;
}

.level-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.basic {
    background: linear-gradient(90deg, #2c6e68, #2a52be);
}
.intermediate {
    background: linear-gradient(90deg, #4a3b9b, #2a52be);
}
.advanced {
    background: linear-gradient(90deg, #6a2da2, #2a52be);
}
.vip {
    background: linear-gradient(90deg, #f9e710, #c4b810);
    color: #fff;
}
.lang_style {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 10px auto;
    gap: 12px;

}
.lang_style a {
    color: #ffffff;
}
/* 页脚 */
.app-footer-container {
    background: #020407;
    width: 100%;
    box-sizing: border-box
}

.app-footer-container .language {
    display: flex;
    align-items: center
}

.app-footer-container .language-container {
    position: relative
}

.app-footer-container .language-container button span {
    margin-right: 4px;
    font-size: 16px
}

.app-footer-container .language-container button p {
    font-weight: 400;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: 0px;
    text-align: left
}

.app-footer-container .language-container button em {
    width: 16px;
    height: 16px
}

.app-footer-container .language-container button.active {
    color: #ff7400
}

.app-footer-container .language-container button.active span,.app-footer-container .language-container button.active p {
    color: #ff7400!important
}

.app-footer-container .language-container button.active em {
    width: 16px;
    height: 16px
}

.app-footer-container .language-container .footer-language-content {
    z-index: 2;
    top: -104px;
    right: 0;
    width: 152px;
    border-radius: 8px;
    background: #31313f;
    background: none!important;
    overflow: hidden
}

.app-footer-container .language-container .footer-language-content:before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -1;
    background: rgba(49,49,63,.5);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px)
}

.app-footer-container .language-container .footer-language-content .footer-language-content-single.selected p,.app-footer-container .language-container .footer-language-content .footer-language-content-single.selected span {
    color: #ff7400
}

.app-footer-container .language-container .footer-language-content .footer-language-content-single {
    height: 48px;
    display: flex;
    align-items: center
}

.app-footer-container .language-container .footer-language-content .footer-language-content-single p {
    flex: 1;
    color: #fff9;
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    letter-spacing: 0px;
    text-align: left;
    margin-left: 16px
}

.app-footer-container .language-container .footer-language-content .footer-language-content-single span {
    color: #fff9;
    font-size: 16px;
    margin-right: 16px
}

.app-footer-container .app-footer-content {
    margin: 0 auto;
    max-width: 1420px
}

.app-footer-container .app-footer-content .app-footer-content-bto {
    border-bottom: 1px solid rgba(255,255,255,.08)
}

.app-footer-container .app-footer-content-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 24px;
    position: relative
}

.app-footer-container .app-footer-content-top .app-footer-single-content {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.app-footer-container .app-footer-content-top-right {
    width: 272px
}

.app-footer-container .app-footer-content-bto {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 130px;
    box-sizing: border-box;
    padding: 32px 0 24px;
    position: relative
}

.app-footer-container .app-footer-content-bto .payment {
    height: 100%;
    grid-column: span 2
}

.app-footer-container .app-footer-content-bto .payment p {
    color: #e2e6eb;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    margin-bottom: 13px
}

.app-footer-container .app-footer-content-bto .global-partner {
    cursor: pointer
}

.app-footer-container .app-footer-content-bto .global-partner p {
    color: #e2e6eb;
    font-weight: bolder;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 16px
}

.app-footer-container .app-footer-content-bto .global-partner img {
    height: 40px;
    margin-right: 24px
}

.app-footer-container .app-footer-content-bto .global-partner .fiba-and-j9 {
    display: inline-flex
}

.app-footer-container .app-footer-content-bto .licences {
    cursor: pointer
}

.app-footer-container .app-footer-content-bto .licences p {
    color: #e2e6eb;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 16px;
    font-weight: 600
}

.app-footer-container .app-footer-content-bto .licences .curacao {
    height: 40px;
    margin-right: 12px
}

.app-footer-container .app-footer-content-bto .licences .eigten {
    height: 34px
}

.app-footer-container .app-footer-content .support-list {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-weight: 700;
    flex-direction: column;
    width: 288px;
    height: 135px
}

.app-footer-container .app-footer-content .support-list dt {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700
}

.app-footer-container .app-footer-content .support-list dd {
    padding-top: 16px
}

.app-footer-container .app-footer-content .support-list dd a {
    color: #888;
    font-size: 14px;
    line-height: 20px
}

.app-footer-container .app-footer-content .support-list dd a:hover {
    color: #b0b0b0
}

.app-footer-container .app-footer-content .pics-list {
    overflow: hidden;
    width: 560px
}

.app-footer-container .app-footer-content .pics-list p {
    color: #e2e6eb;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 16px;
    font-weight: 600
}

.app-footer-container .app-footer-content .pics-list-wrap {
    width: 820px
}

.app-footer-container .app-footer-content .pics-list-wrap .rowanimation {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
    overflow: hidden;
    animation: 15s rowup linear infinite normal
}

.app-footer-container .app-footer-content .pics-list-wrap .rowanimation li {
    margin-left: 32px
}

.app-footer-container .app-footer-content .pics-list-wrap .rowanimation li img {
    height: 40px
}

.app-footer-container .app-footer-content .path-list {
    padding: 40px 0
}

.app-footer-container .app-footer-content .path-list li {
    margin: 0 35px
}

.app-footer-container .app-footer-content .path-list li a {
    color: #ffffffb3;
    font-weight: 400;
    font-size: 14px
}

.app-footer-container .app-footer-content .icon-list p {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0px;
    text-align: left;
    margin-bottom: 16px;
    font-weight: 700
}

.app-footer-container .app-footer-content .icon-list ul {
    display: flex;
    align-items: center
}

.app-footer-container .app-footer-content .icon-list ul li {
    margin-right: 16px
}

.app-footer-container .app-footer-content .icon-list ul li img {
    width: 32px
}

.app-footer-container .all-rights-reserved {
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0px;
    text-align: left;
    color: #fff9
}

.app-footer-container .website-info {
    display: flex;
    gap: 48px;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0px;
    text-align: left;
    margin-bottom: 16px;
    margin-top: 24px;
    color: #fff9
}

.app-footer-container .bottomTextlanguage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding-bottom: 16px
}

.app-footer-container .instruction-list {
    padding: 0 20px;
    height: 50px;
    line-height: 50px;
    opacity: .7;
    background-color: #2a2c3c
}

.app-footer-container .instruction-list a {
    font-size: 16px;
    margin-right: 30px
}

.app-footer-container .footerpc_nav {
    position: relative;
    display: grid;
    gap: 48px;
    grid-template-columns: repeat(4,auto)
}

.app-footer-container .footerpc_nav div {
    color: #7e8894;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    text-align: left;
    white-space: nowrap
}

.app-footer-container .footerpc_nav div:hover {
    cursor: pointer
}

.app-footer-container .app-download {
    grid-row-start: span 2
}

.app-footer-container .app-download .app-download-qrcode {
    height: 120px;
    max-width: 285px;
    background-color: #1f222e;
    border-radius: 8px;
    display: flex;
    padding: 8px 0 8px 8px
}

.app-footer-container .app-download .app-download-qrcode .qrcode {
    padding: 8px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff
}

.app-footer-container .app-download .app-download-qrcode .qrcode img {
    height: 100px
}

.app-footer-container .app-download .app-download-qrcode .j9com {
    text-align: center
}

.app-footer-container .app-download .app-download-qrcode .j9com>img {
    margin: 10px 20px;
    height: 28px
}

.app-footer-container .app-download .app-download-qrcode .j9com-platform-icon {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    margin: 20px 0 8px
}

.app-footer-container .app-download .app-download-qrcode .j9com-platform-icon img {
    width: 15px
}

.app-footer-container .app-download .app-download-qrcode .j9com-platform-icon:after {
    content: "";
    position: absolute;
    opacity: .63;
    background-color: #858ca6;
    height: 8px;
    width: 1px;
    top: 50%;
    transform: translateY(-50%)
}

.app-footer-container .app-download .app-download-qrcode .j9com-platform p {
    line-height: initial;
    font-size: 16px;
    color: #858ca6;
    font-weight: 400;
    text-align: center
}

.app-footer .payment-list {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}


.footer-nav{
    display: none;
}
#indexbtn {
    left: 90%;
}
/* 响应式适配 - 移动端（屏幕宽度 < 768px） */
@media (max-width: 768px) {
    body {
        padding-top: 30px;
        background: url(./images/pc.png) no-repeat center center / cover;
    }
    .footer-nav{
        display: block;
    }
    .app-footer, .nav-btn-box {
        display: none;
    }
    .headers .nav-container {
        display: none;
    }
    .headers {
        background: #171C41;
        height: 45px;
    }
    .headers .nav-logo-box .nav-logo {
        height: 30px;
    }

    .nav-container {
        gap: 15px;
    }

    .nav-logo {
        font-size: 20px;
        margin-right: 20px;
    }

    .nav-item {
        font-size: 13px;
    }


    .main-content {
        grid-template-columns: 1fr;
        width: 95%;
        padding-top: 40px;
    }
    .lang_style {
        gap: 5px;
        padding-bottom: 70px;
    }
    .lang_style a {
        font-size: 12px;
        display: flex;
        text-decoration: none;
        white-space: nowrap;
        color: #aaa;
    }
    .app-box {
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .banner {
        grid-column: 1 / 2;
        height: fit-content;

    }

    .user-panel {
        grid-column: 1 / 2;
        display: none;
    }

    .games-section {
        grid-column: 1 / 2;
    }

    .games-section h3 {
        color: #7EC3FF;
    }

    .games-grid {
        padding: 0px 5px;
        grid-template-columns: 1fr  1fr  1fr;
    }

    .game-card {
        width:100%;
        height: 140px;
        position: relative;
    }

    .game-card .game-cover {
        width: 100%;
        height: 100%;
        position: absolute;
    }

    .game-card .game-name {
        position: absolute;
        width: 100%;
        bottom: 0px;
        padding: 5px;
        font-size: 12px;
        text-align: center;
        z-index: 1;
        background: url(../../images/ssbg.png) no-repeat center center / 100% 100%;
    }

    .promo-table {
        position: relative;
        z-index: 1;
        width: 100%;
        height: fit-content;
        color: #fff;
    }
    .promo-table img {
        width: 100%;
        height: auto;
        display: block;
    }
    #indexbtn {
        left: 80%;
    }
}



.pop_slider {
    width: 100vw;
    height: 100vh;
    position: relative;
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 9999;
    transform:translate(-50%,-50%);
    background: rgba(0,0,0,0.8);
}
.slider_box {
    width: 700px;
    height: 400px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform:translate(-50%,-50%);
    background: #fff;
}
.slider_box .title {
    color: #fff;
    height: 50px;
    font-size:20px;
    margin: 0;
}
.slider-wrapper {
    width: 100%;
    height: 310px;
    display: block;
    background: #FFF;
    overflow: hidden;
    color: #333333 !important;
    position: relative;
}
.slider_boxs {
    position: absolute;
    display: flex;
    color: #333333;
    height: 310px;
    -webkit-transition: -webkit-transform 1000ms;
    transition: -webkit-transform 1000ms, transform 1000ms;
}
.slider {
    width: 100%;
    height: 100%;
    background: #fff;
    overflow-y:scroll;
}

.slider_boxs .slider > div {
    line-height: 24px;
    font-size: 15px;
    text-align: left;
    padding: 10px;
    text-indent: 2em;
    padding-bottom: 35px;
}
/* Slider Pagger */
.slider-pagination {
    width:100%;
    height:20px;
    background: #fff;
    position: absolute;
    bottom: 0px;
    display: flex;
    width: 100%;
    left: 0;
    z-index: 1000;
}
.slider-pagination span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    background: rgba(0,0,0,0.2);
    margin: 0 4px;
    border: solid 1px rgba(255,255,255,0.4);
    cursor: pointer;
}
.slider-pagination .active {
    background: rgba(0,0,0,0.8);
}

@media only screen and (max-width: 767px) {
    .slider_box {
        width: 80%;
    }
}
.slider_btn {
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: 0px;
}

.slider_btn .button {
    flex: 1;
    height: 40px !important;
    margin: 0px;
    padding: 0px;
    border-radius: 0px !important;
}

.btn_red {
    color: #fff !important;
    background: rgb(237,42,20);
    background: linear-gradient(3deg, rgba(237,42,20,1) 0%, rgba(246,68,32,1) 33%, rgba(239,54,24,1) 100%) !important;
}
.flexs {
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.button_slider {
    FILTER: progid: DXImageTransform . Microsoft . Gradient(startColorStr = '#FFFFFF', endColorStr = '#C1D3DC', gradientType = '0');
    COLOR: #333333;
    FONT-FAMILY: verdana;
    FONT-SIZE: 16px;
    height: 24px;
    text-align: center;
    vertical-align: bottom;
    cursor: pointer;
    border: 1px solid #999999;
    margin-left: 0px;
    margin-right: 0px;
    border-bottom: none;
    cursor: pointer;
}
.title {
    height: 40px;
    background: rgb(91,91,91);
    background: linear-gradient(180deg, rgba(91,91,91,1) 43%, rgba(136,136,136,1) 100%);
    font-size: 12px;
    font-weight: normal;
    color: #fff;
}
.bg_color {
    background: linear-gradient(90deg, #1e739300 0%, #1e658f 100%);
    color: #fff !important;
}


/*开奖*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    background: #0a1428 url('/statics/images/PC-Background-d2a73e39.png') no-repeat center / cover;
    color: #fff;
    min-height: 100vh;
    padding-bottom: 20px;
    padding-top: 80px;
}

/* 顶部导航 */
.header {
    width: 100%;
    background: #0C1D36;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    position: relative;
    position: fixed;
    top: 0px;
    z-index: 99;
}
.header h1 {
    font-size: 0.3rem;
    font-weight: normal;
}
.filter-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

/* 列表容器 - 移动端一行1个，PC端一行3个 */
.list-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 15px;
}

/* PC端：屏幕≥768px时一行3个 */
@media (min-width: 768px) {
    .list-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 每个项目卡片 */
.item-card {
    background-color: rgba(30, 40, 70, 0.6);
    border-radius: 8px;
    padding: 0.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.item-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    position: relative;
}
.icon-text {
    font-size: 1.2rem;
    line-height: 1;
}
.icon-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: #fff;
    color: #333;
    font-size: 0.7rem;
    padding: 2px 4px;
    border-radius: 4px;
}

/* 不同颜色的图标背景 */
.icon-orange {
    background: linear-gradient(135deg, #ff9500, #ffb74d);
}
.icon-green {
    background: linear-gradient(135deg, #4cd964, #8bc34a);
}
.icon-red {
    background: linear-gradient(135deg, #ff6b6b, #ff4081);
}
.icon-red-alt {
    background: linear-gradient(135deg, #ff6e40, #ff5252);
}

.item-content {
    flex: 1;
}
.item-title {
    color: #ffd60a;
    width: 100%;
    overflow: hidden;
    word-wrap: nowrap;
    text-overflow: ellipsis;
    font-size: 0.3rem;
    margin-bottom: 0.2rem;
}
.item-subtitle {
    color: #aaa;
    font-size: 0.2rem;
}
.trend-link {
    color: #ff3b30;
    font-size: 0.2rem;
    text-decoration: underline;
    margin-top: 0.3rem;
    display: inline-block;
}
.arrow-right {
    position: absolute;
    right:8px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.7;
}
.arrow-right::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

/*我的*/


/* 顶部用户信息栏 */


.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info p {
    font-size: 16px;
    margin: 20px 0;
}

.user-info .username {
    color: #ffc107;
    font-weight: bold;
}

.settings-icon {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: url('../../../images/set.png') no-repeat center center / 100% 100%;
}

/* 主内容区 - 桌面端横向排列 */
.main-container {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1420px;
    margin:  0 auto;
}

.buttons {
    max-width: 600px;
}

/* 左侧大卡片 */
.left-card {
    flex: 1;
    background: linear-gradient(90deg, #7a20d3, #4b1b88);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header {
    margin-bottom: 15px;
}

.card-header .tag {
    font-size:16px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.card-header h2 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.crypto-icons {
    display: flex;
    gap: 10px;
}

.crypto-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #fff;
}

/* 按钮组 */
.button-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom:15px;
}

.button-group.row2 {
    grid-template-columns: repeat(2, 1fr);
}

.left-card .btn {
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* 右侧小卡片列 */
.right-column {
    display: flex;
    gap: 15px;
    width: 500px;
}

.small-card {
    flex: 1;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.small-card .title {
    font-size: 14px;
    font-weight: bold;
    background: none;
}

.small-card .card-img {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
}

/* 卡片背景色 */
.card-1 {
    background: linear-gradient(135deg, #00838f, #43cea2);
}
.card-2 {
    background: linear-gradient(135deg, #606c88, #3f4c6b);
}
.card-3 {
    background: linear-gradient(135deg, #8b5a42, #d47a5a);
}
.icon__img {
    display: block;
    width: 100%;
    height: 100%;
}


/* ========== 移动端样式：768px 及以下 单列垂直排列 ========== */
@media (max-width: 768px) {
    body {
        /*padding: 0.8rem;*/
        /*padding-top: 60px;*/
    }
    /* 主容器改为纵向，一行一个 */
    .main-container {
        flex-direction: column;
    }
    .crypto-icons {
        flex-wrap: wrap;
    }
    /* 右侧卡片宽度铺满 */
    .right-column {
        width: 100%;
        flex-direction: column;
        padding-bottom: 80px;
    }
    /* 按钮组改为 1 列，一行一个按钮 */
    .button-group {
        grid-template-columns: 1fr;
    }
    .button-group.row2 {
        grid-template-columns: 1fr;
    }
    /* 调整字体、内边距适配手机 */
    .left-card {
        padding: 15px;
    }
    .left-card .btn {
        justify-content: center;
    }
    .card-header h2 {
        font-size: 14px;
    }
    .btn {
        padding:10px;
        font-size:16px;
    }
}

/*大厅*/

/* 主内容区 */
.main-content {
    width: 90%;
    max-width: 1420px;
    margin: 20px auto;
}
.home_page {
    margin: 0 auto;
}
.home_page>section {
    max-width: 1424px;
    margin: 0 auto;
}
.home_page .game_item_1_1 {
    background:  linear-gradient(90deg, #1e935859 0%, #214ded 100%);
}
.home_page .game_item_1_2 {
    background:  linear-gradient(90deg, #954ed54a 0%, #214ded 100%);
}
.home_page .game_item_1_3 {
    background:  linear-gradient(90deg, #db00e963 0%, #214ded 100%);
}
.home_page .game_item_1_4 {
    background:  linear-gradient(90deg, #ffe30e 0%, #e8ed2161 100%);
}
.home_page .game_item {
    height: 170px;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    flex: 1;
    transition: all linear .15s;
}
.home_sports_game-content {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.home_page .sports-and-lottery .home_sports_game .top_game_tit, .home_page .sports-and-lottery .home_lottery_game .top_game_tit {
    position: absolute;
    max-width: 100%;
    right: 17%;
    top: 50% !important;
    transform: translateY(-50%);
}
.home_page .game_item>img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    transition: transform .2s linear;
}
.home_sports_game_title {
    margin-bottom: 10px;
    font-size: 22px;
}
@media (max-width: 768px) {
    body {
        padding-top: 50px;
    }

    .home_page .game_item {
        height:150px;
    }

    .home_page .sports-and-lottery .home_sports_game .top_game_tit h5 {
        font-size: 19px;
    }
    .home_sports_game-content {
        flex-direction: column;
        height: 600px;
    }
}