.footer {
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.footer-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    width: 100%;
    height: calc(100vh - 60px);
}

/* 左侧和右侧区域样式 */
.footer-section.links, 
.footer-section.info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 20px;
}

/* 简介部分样式 */
.intro {
    text-align: left;
}

/* 快速链接部分样式 */
.quick-links {
    text-align: left;
}

/* 中间logo区域 */
.footer-section.logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.footer-section.logo a {
    display: inline-block;
    text-decoration: none;
}

.footer-logo {
    max-width: 300px;
    height: auto;
}

/* 关于我们和联系我们区域 */
.about-us, 
.contact-us {
    text-align: left;
}

/* 通用样式 */
.footer-section h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.footer-section a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 1.1em;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-section p {
    font-size: 0.9em;
    line-height: 1.6;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .footer {
        padding: 20px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    /* Logo部分移到最上方 */
    .footer-section.logo {
        order: -1;
    }

    .footer-logo {
        max-width: 150px;
    }

    /* 左侧简介部分 */
    .footer-section.links {
        text-align: center;
    }

    .intro h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .intro p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    /* 快速链接部分 */
    .quick-links {
        padding: 15px 0;
    }

    .quick-links a {
        display: inline-block;
        margin: 5px 10px;
        font-size: 14px;
    }

    /* 右侧信息部分 */
    .footer-section.info {
        text-align: center;
    }

    .about-us {
        margin-bottom: 20px;
    }

    .about-us h3,
    .contact-us h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .about-us p,
    .contact-us p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* 调整段落间距 */
    .intro p + p,
    .about-us p + p {
        margin-top: 8px;
    }
}
/* Y9 brand fit overrides */
.y9-logo,
.section-logo {
  width: min(220px, 46vw) !important;
  max-width: 220px !important;
  max-height: 220px !important;
  height: auto !important;
  object-fit: contain !important;
}
.hero-content {
  max-width: 320px !important;
}
.footer-logo {
  max-width: 220px !important;
  max-height: 120px !important;
  object-fit: contain !important;
}
@media (max-width: 768px) {
  .y9-logo,
  .section-logo {
    width: min(150px, 38vw) !important;
    max-width: 150px !important;
    max-height: 150px !important;
  }
  .logo {
    height: 56px !important;
    max-width: 76px !important;
    object-fit: contain !important;
  }
  .header.mobile .nav-center {
    gap: .32rem !important;
  }
  .header.mobile .nav__link {
    font-size: .82rem !important;
    padding: 0 3px !important;
    white-space: nowrap !important;
  }
}

/* Y9 SEO content blocks */
.seo-guide,.seo-faq{min-height:auto!important;height:auto!important;padding:88px clamp(18px,5vw,72px);background:linear-gradient(180deg,rgba(3,15,38,.95),rgba(1,8,24,.98));color:#fff}.seo-guide-container{max-width:1180px;margin:0 auto}.seo-guide h2,.seo-faq h2{font-size:clamp(28px,4vw,46px);color:#ffd94a;margin:0 0 22px;text-align:center}.seo-guide p,.seo-faq p{line-height:1.85;color:rgba(255,255,255,.86);font-size:16px}.seo-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}.seo-columns article,.seo-faq details{border:1px solid rgba(255,217,74,.22);border-radius:18px;background:rgba(0,0,0,.28);padding:22px}.seo-columns h3{color:#fff;margin:0 0 10px}.seo-faq{display:grid;gap:14px}.seo-faq details{max-width:980px;width:100%;margin:0 auto}.seo-faq summary{cursor:pointer;color:#ffd94a;font-weight:800;font-size:18px}@media(max-width:800px){.seo-columns{grid-template-columns:1fr}.seo-guide,.seo-faq{padding:72px 16px 96px}.seo-guide p,.seo-faq p{font-size:15px}}

/* 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}}
