.dx-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}

.mobile-nav {
    display: none;
    background: linear-gradient(180deg, #00AAFF, #0077CC, #003366); /* 上浅下深的渐变 */
    width: 100%;
}

.mobile-nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.mobile-nav-item {
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 15px 0;
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

/* 移除下划线 */
.mobile-nav-item a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.mobile-nav-item a:hover {
    color: #FFD700;
}

.mobile-nav-item.active a {
    color: #FFD700;
}

.powered-by {
    width: 100%;
    padding: 10px;
    background: linear-gradient(180deg, #003366, #0077CC, #00AAFF); /* 上浅下深 */
    color: #fff;
    text-align: center;
    position: relative; /* 让子元素相对于 .powered-by 定位 */
}

.animation-line {
    position: absolute;
    top: 0; /* 紧贴顶部 */
    left: 0;
    width: 100%;
    height: 2px;
    background: #FFD700; /* 设置亮色以突出 */
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}


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

    .mobile-nav-item {
        font-size: 14px; /* 减小字体大小 */
        padding: 12px 0; /* 减小内边距，降低高度 */
    }

    .powered-by {
        padding: 5px; /* 减小内边距 */
        font-size: 11px; /* 略微减小字体大小 */
    }

    .animation-line {
        height: 1px;
    }
}

/* 添加更小屏幕的优化 */
@media screen and (max-width: 480px) {
    .mobile-nav-item {
        font-size: 12px; /* 更小屏幕下进一步减小字体 */
        padding: 10px 0; /* 更小屏幕下进一步减小高度 */
    }
    
    .powered-by {
        padding: 4px; /* 更小屏幕下进一步减小内边距 */
    }
}

/* Y9 button/link interaction fixes */
.anchor-target{position:absolute;top:0;left:0;width:1px;height:1px;pointer-events:none}#games,#sports,#esports,#live,#slots,#chess,#lottery,#fishing,#seo-guide,#faq,#security{scroll-margin-top:90px}.nav__link.is-active,.btn--icon.is-active{color:#ffd700!important;filter:drop-shadow(0 0 8px rgba(255,215,0,.5))}.image-link,.nav-link,.quick-links a,.start-game-btn{cursor:pointer}.image-link:active,.nav-link:active,.quick-links a:active,.start-game-btn:active{transform:scale(.98)}.carousel-item{scroll-margin-top:110px}.carousel-item:target .image-wrapper{outline:3px solid rgba(255,217,74,.75);outline-offset:6px;border-radius:18px}

/* Y9 final responsive hero carousel fix */
body #app main > .hero.hero-cover-carousel{box-sizing:border-box!important;position:relative!important;width:100vw!important;max-width:100vw!important;height:auto!important;min-height:0!important;aspect-ratio:718/304!important;margin:80px 0 0 calc(50% - 50vw)!important;padding:0!important;display:block!important;overflow:hidden!important;background:#050b18!important}.hero-cover-carousel .hero-slider{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;overflow:hidden!important}.hero-cover-carousel .hero-slide{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;display:block!important;object-fit:cover!important;object-position:center center!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;opacity:0;transform:none!important;transition:opacity .35s ease!important}.hero-cover-carousel .hero-slide.is-active{opacity:1!important}.hero-cover-carousel .hero-cover-overlay{position:absolute!important;inset:0!important;background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.16))!important;pointer-events:none!important}.hero-cover-carousel .hero-cta-only{position:absolute!important;left:0!important;right:0!important;bottom:clamp(10px,2.4vw,26px)!important;top:auto!important;z-index:4!important;display:flex!important;justify-content:center!important;align-items:center!important;margin:0!important;padding:0!important;transform:none!important}.hero-cover-carousel .start-game-btn{margin:0!important;min-width:clamp(160px,24vw,260px)!important;padding:clamp(9px,1.4vw,15px) clamp(20px,3vw,38px)!important;font-size:clamp(18px,2.4vw,30px)!important;line-height:1.15!important;background:rgba(2,10,24,.38)!important;backdrop-filter:blur(4px)!important}.hero-cover-carousel::before,.hero-cover-carousel .y9-starfield{display:none!important}@media(max-width:900px){body #app main > .hero.hero-cover-carousel{margin-top:66px!important;aspect-ratio:718/304!important}.hero-cover-carousel .hero-cta-only{bottom:8px!important}.hero-cover-carousel .start-game-btn{min-width:150px!important;font-size:18px!important;padding:8px 18px!important}}@media(max-width:420px){body #app main > .hero.hero-cover-carousel{margin-top:66px!important}.hero-cover-carousel .hero-cta-only{bottom:6px!important}.hero-cover-carousel .start-game-btn{min-width:136px!important;font-size:16px!important;padding:7px 16px!important}}

/* Y9 button below hero cover */
body #app main > .hero.hero-cover-carousel{display:flex!important;flex-direction:column!important;height:auto!important;aspect-ratio:auto!important;margin:80px 0 0 calc(50% - 50vw)!important;padding:0 0 clamp(14px,2vw,24px)!important;background:#050b18!important;overflow:visible!important}.hero-cover-carousel .hero-slider{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;aspect-ratio:718/304!important;overflow:hidden!important;flex:0 0 auto!important}.hero-cover-carousel .hero-cover-overlay{display:none!important}.hero-cover-carousel .hero-cta-only{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;z-index:4!important;width:100%!important;margin:clamp(10px,1.8vw,18px) 0 0!important;padding:0!important;display:flex!important;justify-content:center!important;align-items:center!important;transform:none!important}.hero-cover-carousel .hero-cta-only .start-game-btn{position:relative!important;margin:0!important;background:rgba(2,10,24,.86)!important;backdrop-filter:none!important;box-shadow:0 0 0 2px rgba(255,217,74,.9),0 10px 28px rgba(0,0,0,.25)!important}@media(max-width:900px){body #app main > .hero.hero-cover-carousel{margin-top:66px!important;padding-bottom:14px!important}.hero-cover-carousel .hero-cta-only{margin-top:10px!important}}@media(max-width:420px){body #app main > .hero.hero-cover-carousel{padding-bottom:12px!important}.hero-cover-carousel .hero-cta-only{margin-top:8px!important}}

/* Y9 centered CTA below carousel */
body #app main > .hero.hero-cover-carousel > .hero-cta-only{box-sizing:border-box!important;position:relative!important;left:50%!important;right:auto!important;bottom:auto!important;top:auto!important;width:100vw!important;max-width:100vw!important;margin:clamp(10px,1.8vw,18px) 0 0!important;padding:0 12px!important;transform:translateX(-50%)!important;display:flex!important;justify-content:center!important;align-items:center!important;text-align:center!important}.hero-cover-carousel > .hero-cta-only > .start-game-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:nowrap!important;margin-left:auto!important;margin-right:auto!important;min-width:clamp(150px,24vw,260px)!important;width:auto!important;max-width:calc(100vw - 32px)!important}@media(max-width:480px){body #app main > .hero.hero-cover-carousel > .hero-cta-only{padding:0 10px!important;margin-top:8px!important}.hero-cover-carousel > .hero-cta-only > .start-game-btn{min-width:150px!important;max-width:calc(100vw - 24px)!important}}

/* Y9 remove X decoration and compact band */
.band{height:auto!important;min-height:0!important;padding:clamp(36px,6vw,72px) clamp(16px,5vw,56px)!important;background:linear-gradient(180deg,#020814,#06142d)!important}.band-container{width:min(1180px,100%)!important;height:auto!important;min-height:0!important;display:grid!important;grid-template-columns:minmax(180px,.75fr) minmax(280px,1.25fr)!important;gap:clamp(18px,4vw,48px)!important;align-items:center!important;padding:0!important}.band-center,.x-text,.diagonal,.diagonal-left,.diagonal-right{display:none!important}.band-left{position:relative!important;z-index:2!important}.band-right{position:relative!important;z-index:2!important}.band-right p{max-width:760px!important;margin:0!important;line-height:1.75!important}@media(max-width:768px){.band{padding:34px 16px!important}.band-container{grid-template-columns:1fr!important;gap:18px!important;text-align:left!important}.band-left h2{font-size:clamp(24px,7vw,36px)!important}.band-right p{font-size:15px!important;line-height:1.75!important}}
