/* --- CSS :root 全局颜色控制变量 --- */
:root {
    --bg-primary: #020603;
    --bg-sidebar: rgba(0, 0, 0, 0.75);
    --bg-overlay-menu: rgba(10, 20, 14, 0.98);
    --accent-gold: #d4af37;
    --accent-gold-glow: rgba(212, 175, 55, 0.6);
    --text-light: #d4bd9a;
    --text-muted: #aaaaaa;
    --border-glow: rgba(212, 175, 55, 0.25);
    --border-subtle: rgba(255, 255, 255, 0.08);
}

/* --- 基础布局重置（PC端锁定无滚动条） --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
}

body,
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-light);
}

.casino {
    background: url(../images/bg3.jpg) center / cover no-repeat;
    /* padding-top: 193px; */
}

.logo img {
    height: 40px;
}

/* --- PC端动态大背景 Slider --- */
.bg-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bg-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 15%, rgba(0, 0, 0, 0.75) 85%);
    z-index: 2;
}

/* --- 核心 Grid 框架布局 (PC端) --- */
.app-container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 85px 1fr 85px;
    grid-template-rows: 70px 1fr;
    grid-template-areas:
        "header header header"
        "left-nav main-content right-nav";
}

/* --- 顶部 Header --- */
header {
    grid-area: header;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    background: linear-gradient(to bottom, rgb(1 18 16), transparent);
    position: relative;
    z-index: 120;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-brand {
    display: contents;
}

.logo i {
    color: var(--accent-gold);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    order: 2;
    margin-left: auto;
    /* margin-right: 15px; */
}

.announcement-btn,
.burger-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgb(150 125 83);
    color: var(--accent-gold);
    font-size: 18px;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.announcement-btn:hover,
.burger-btn:hover {
    border-color: var(--accent-gold);
    color: #fff;
}

.burger-btn {
    order: 3;
    display: none;
}

.btn-login {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgb(150 125 83);
    color: var(--text-light);
    padding: 12px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.btn-register {
    background: #885215;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: inset 0px 0px 7px 2px #efb54b;
    color: var(--text-light);
    text-shadow: 1px 1px #00000091;
}

/* --- 左侧面板 --- */
.left-panel {
    grid-area: left-nav;
    position: relative;
    height: 100%;
    z-index: 100;
}

.main-sidebar {
    width: 85px;
    height: 100%;
    background: #011210 url(../images/side-menu-bg.png);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
    gap: 20px;
    position: relative;
    z-index: 102;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 100px;
    color: #ffffff;
    cursor: pointer;
    border-radius: 8px;
    font-size: 12px;
    gap: 6px;
    transition: all 0.3s;
    text-shadow: 0 0 4px #dcb670;
    font-weight: bold;
    text-transform: uppercase;
}

.nav-item a {
    text-shadow: 0 0 4px #dcb670;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
}

.nav-item span {
    text-align: center;
}

.nav-item:hover,
.nav-item.active {
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
}

.nav-item img {
    height: 60px;
}

/* --- 二级弹窗基础滑出菜单 (PC默认展开Games项目) --- */
.slide-menu {
    position: absolute;
    top: 0;
    left: 85px;
    height: 100%;
    width: 240px;
    background: rgb(1 18 16 / 34%);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-glow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 15px;
    z-index: 101;
    transform: translateX(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s;
    /* background-image: url('../images/side-menu-bg.png'); */
    border-radius: 0px 20px;
}

.slide-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.sub-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05)); */
    /* border: 1px solid var(--border-subtle); */
    /* padding: 12px 14px; */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-direction: column;
    gap: 15px;
}

.sub-menu-item:hover {
    /* border-color: var(--accent-gold); */
    /* background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.15)); */
    transform: translateX(4px);
}

.sub-menu-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
}

.sub-menu-info i {
    color: var(--accent-gold);
    width: 18px;
    text-align: center;
}

.sub-menu-item>i {
    font-size: 10px;
    color: #555;
}

/* 移动端内置专属嵌套组件（PC端基础状态下进行隐藏） */
.mobile-nested-header,
.mobile-jackpot-block,
.mobile-bonus-block {
    display: none;
}

/* --- 右侧固定栏 --- */
.right-sidebar {
    grid-area: right-nav;
    width: 85px;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.7); */
    backdrop-filter: blur(10px);
    /* border-left: 1px solid rgba(255, 255, 255, 0.05); */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
    gap: 20px;
    z-index: 90;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

.right-sidebar.slide-down {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;

}

/* --- PC端中央展示区域 --- */
.main-content {
    grid-area: main-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 50px;
    position: relative;
}

.mobile-bottom-nav {
    display: none;
}

/* --- PC端首页双 Slider（Promotions + Hot Games） --- */
.thumb-slider-wrap {
    transition: transform 0.5s ease, opacity 0.4s ease;
}

.thumb-slider-wrap.hide-by-auth {
    transform: translateY(30px);
    opacity: 0.2;
}

.home-sliders {
    --home-slider-body-height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 0px 20px;
}

.home-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.home-slider__title {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-gold);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
    margin: 0;
    line-height: 1;
    text-align: right;
    width: 100%;
    position: absolute;
    top: 20px;
    font-weight: bold;
    text-shadow: 1px 3px 5px black;
}

.home-slider__frame--games h2 {
    position: absolute;
    top: -20px;
}

.home-slider__row {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.home-slider__nav {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(212, 175, 55, 0.85);
    background: rgba(8, 18, 14, 0.72);
    color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
    position: relative;
    /* top: 30px; */
}

.home-slider--games .home-slider__nav {
    position: relative;
    top: -21px;
}

.home-slider__nav i {
    font-size: 14px;
}

.home-slider__nav:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: #d4af37;
    transform: scale(1.05);
}

.home-slider__nav:active {
    transform: scale(0.96);
}

.home-slider__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

.home-slider__frame {
    /* overflow: hidden; */
    height: var(--home-slider-body-height);
    position: relative;
}

.home-slider__frame--promo {
    width: 487px;
}

.home-slider__frame--games {
    width: 500px;
    display: flex;
    align-items: center;
    height: 144px;
    margin-bottom: 15px;
}

.home-slider--games .home-slider__frame--games {
    width: 500px;
}

.home-slider__track--promo {
    position: relative;
    width: 100%;
    height: 100%;
}

.promo-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.promo-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.promo-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.home-slider__viewport {
    overflow: hidden;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 14px;
    background: rgba(4, 12, 9, 0.55);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.35);
    padding: 0 12px;
    --games-gap: 10px;
    --games-visible: 4;
    --slide-w: calc((100% - var(--games-gap) * (var(--games-visible) - 1)) / var(--games-visible));
}

.home-slider--games .game-slide {
    flex: 0 0 var(--slide-w);
    width: var(--slide-w);
}

.home-slider__track--games {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    padding: 15px 5px;
}

.game-slide {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.game-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.footer-credit {
    position: absolute;
    bottom: 15px;
    right: 25px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.15);
}

/* --- 底部浮动 Jackpot 老虎机 --- */
.floating-jackpot {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
    z-index: 140;
    pointer-events: none;
    will-change: auto;
}

.floating-jackpot.is-hidden {
    display: none;
}

.floating-jackpot__inner {
    position: relative;
    width: 300px;
    pointer-events: auto;
}

.floating-jackpot__close {
    position: absolute;
    top: 6px;
    right: 8px;
    z-index: 5;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: var(--accent-gold);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.floating-jackpot__close:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
    color: #fff;
    transform: scale(1.08);
}

.floating-jackpot__machine {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.65));
}

.floating-jackpot__display {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 64%;
    text-align: center;
    pointer-events: none;
}

.jackpot-amount {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: clamp(22px, 7.2vw, 30px);
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1;
    background: linear-gradient(180deg, #fff6c8 0%, #f0c85a 38%, #c9922a 72%, #8f5f12 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.85));
}

.jackpot-slider {
    position: absolute;
    left: 50%;
    bottom: 5%;
    transform: translateX(-50%);
    width: 44%;
}

.jackpot-slider__viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.55);
    touch-action: pan-y;
}

.jackpot-slider__track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 4px;
    min-height: 58px;
}

.jackpot-slide {
    flex: 0 0 48px;
    width: 48px;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    opacity: 0.32;
    transform: scale(0.82);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), filter 0.45s ease;
    filter: brightness(0.55) saturate(0.7);
}

.jackpot-slide.prev,
.jackpot-slide.next {
    opacity: 0.32;
    transform: scale(0.82);
    filter: brightness(0.55) saturate(0.7);
}

.jackpot-slide img {
    display: block;
    width: 100%;
    height: 42px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.jackpot-slide.active {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1) saturate(1);
    z-index: 2;
}

.jackpot-slide.active img {
    height: 50px;
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.jackpot-slide-amount {
    margin-top: 4px;
    text-align: center;
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: 15px;
    letter-spacing: 0.4px;
    color: #f2c96b;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.jackpot-slide-amount__currency {
    margin-right: 4px;
    font-size: 13px;
    opacity: 0.9;
}

/* --- 注册登录中央滑出式控制台 --- */
.auth-slide-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 100vh) scale(0.9);
    width: 440px;
    background: linear-gradient(135deg, #0a1810, #030d08);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(212, 175, 55, 0.2);
    z-index: 600;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.125), opacity 0.4s ease;
}

.auth-slide-panel.slide-up {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.auth-panel-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 550;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.auth-panel-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.panel-close-btn {
    position: absolute;
    top: 20px;
    right: 22px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 22px;
    gap: 20px;
}

.modal-tab {
    font-size: 17px;
    font-weight: bold;
    color: var(--text-muted);
    padding-bottom: 8px;
    cursor: pointer;
    position: relative;
}

.modal-tab.active {
    color: var(--accent-gold);
}

.modal-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
    box-shadow: 0 0 8px var(--accent-gold);
}

.auth-form-content {
    display: none;
}

.auth-form-content.active {
    display: block;
}

.input-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    color: var(--accent-gold);
    font-size: 13px;
}

.input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 11px 15px 11px 40px;
    color: #fff;
    font-size: 13px;
    outline: none;
}

.auth-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #a67c1e, var(--accent-gold));
    border: none;
    color: #111;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
}


.m-show {
    display: none;
}

.d-show {
    display: block;
}

.tournament-countdown {
    display: flex;
    gap: 5px;
    justify-content: space-between;
    align-items: center;
    background: #000000a1;
    border-radius: 10px;
    padding: 0px 10px;
}

.tournament-countdown__unit {
    /* background: #000000a1; */
    padding: 8px 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

span.tournament-countdown__label {
    font-size: 9px;
}

span.tournament-countdown__value {
    font-weight: bold;
    color: #fff;
    font-size: 14px;
}

.tournament-prize-block {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}

span.tournament-prize-value {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

span.tournament-prize-label {
    font-size: 12px;
}

.tournament-card {
    position: relative;
    min-height: 124px;
    border-radius: 14px;
    overflow: hidden;
    background: url(../images/tournament-wow.png) center / cover no-repeat;
    background-size: cover;
    padding: 10px;
}

.product-wrap ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    gap: 20px;
}

.main-content-all {
    grid-area: main-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0px auto;
}

/* --- Casino 产品页：桌面端 slide-menu 常驻，product-wrap 在右侧 --- */
@media (min-width: 769px) {
    body.casino .app-container {
        grid-template-columns: 325px 1fr 85px;
    }

    body.casino .left-panel {
        display: flex;
        width: 325px;
        height: 100%;
    }

    body.casino .main-sidebar {
        flex-shrink: 0;
    }

    body.casino .left-panel .slide-menu {
        position: relative;
        left: 0;
        top: 0;
        flex-shrink: 0;
        transform: none;
        transition: none;
    }

    body.casino .left-panel .slide-menu:not(.open) {
        display: none;
    }

    body.casino .left-panel .slide-menu.open {
        transform: none;
        opacity: 1;
        pointer-events: auto;
        display: flex;
    }

    body.casino .main-content-all {
        /* justify-content: end; */
        align-items: stretch;
        width: 100%;
        max-width: none;
        margin: 0;
        min-height: 0;
        overflow-y: auto;
    }

    body.casino .product-wrap {
        flex: 1;
        width: 100%;
        padding: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.tournament-wrap {
    position: absolute;
    bottom: 2%;
    width: 88%;
}

/* ==========================================================================
   📱 【响应式升级适配】：当判定为 Mobile 手机端时，触发全景侧滑大改版
   ========================================================================== */
@media (max-width: 768px) {

    body,
    html {
        overflow: hidden;
    }

    .m-show {
        display: block;
        flex: 1;
        min-height: 0;
        position: relative;
        z-index: 130;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .m-container {
        pointer-events: auto;
        padding: 0 8px calc(68px + env(safe-area-inset-bottom, 0px) + 16px);
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: relative;
        top: calc(25vh + 40px);
    }

    .header-controls {
        gap: 5px;
    }

    .product-wrap ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 10px;
    }

    .product-wrap ul li a {
        display: flex;
        justify-content: center;
    }

    .m-promo-slider-wrap {
        /* width: calc(100% + 16px); */
        /* margin-left: -8px; */
        /* margin-right: -8px; */
        position: relative;
        z-index: 150;
        pointer-events: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .m-promo-slider {
        position: relative;
        width: 100%;
        aspect-ratio: 523 / 183;
        height: auto;
        overflow: hidden;
        touch-action: pan-y;
    }

    .m-promo-slider__track {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .m-promo-card {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.45s ease;
        pointer-events: none;
    }

    .m-promo-card.active {
        opacity: 1;
        visibility: visible;
        z-index: 1;
    }

    .m-promo-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        pointer-events: auto;
        margin-bottom: 10px;
    }

    .m-promo-pagination__dot {
        width: 12px;
        height: 12px;
        border: none;
        padding: 0;
        border-radius: 50%;
        background: rgba(10, 30, 18, 0.75);
        cursor: pointer;
        transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
    }

    .m-promo-pagination__dot.active {
        width: 22px;
        height: 6px;
        border-radius: 3px;
        background: var(--text-light);
    }

    .m-hot-games-wrap {
        width: 100%;
        position: relative;
        z-index: 150;
        pointer-events: auto;
        margin-top: 4px;
    }

    .m-hot-games__title {
        margin: 0 0 10px;
        font-family: 'Times New Roman', Georgia, serif;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        text-align: center;
        color: var(--accent-gold);
        text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.85);
    }

    .m-hot-games__row {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .m-hot-games__nav {
        flex-shrink: 0;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 1.5px solid rgba(212, 175, 55, 0.85);
        background: rgba(8, 18, 14, 0.85);
        color: #d4af37;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.12);
        padding: 0;
    }

    .m-hot-games__nav i {
        font-size: 12px;
    }

    .m-hot-games__nav:disabled {
        opacity: 0.35;
        pointer-events: none;
    }

    .m-hot-games__viewport {
        flex: 1;
        min-width: 0;
        height: 124px;
        --games-gap: 8px;
        --games-visible: 3;
        --slide-w: calc((100% - var(--games-gap) * (var(--games-visible) - 1)) / var(--games-visible));
        border: 1px solid rgba(212, 175, 55, 0.55);
        border-radius: 12px;
        background: rgba(4, 12, 9, 0.65);
        box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.35);
        padding: 8px 10px;
        overflow: hidden;
        touch-action: pan-y;
    }

    .m-hot-games-wrap .home-slider__track--games {
        gap: var(--games-gap);
        padding: 0;
        height: 100%;
    }

    .m-hot-games-wrap .game-slide {
        flex: 0 0 var(--slide-w);
        width: var(--slide-w);
        height: 100%;
        border-radius: 8px;
    }

    .m-hot-games-wrap .game-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        border-radius: 8px;
    }

    .tournament-wrap {
        margin-top: 0;
        flex-shrink: 0;
        /* margin-bottom: 25%; */
        position: relative;
        width: 100%;
    }

    .tournament-wrap h4 {
        position: absolute;
        top: 18px;
        font-size: 22px;
    }

    .tournament-title {
        margin: 0 0 6px 4px;
        font-size: 18px;
        font-weight: 700;
        color: var(--accent-gold);
        letter-spacing: 0.3px;
    }

    .slide-menu .tournament-card {
        position: relative;
        min-height: 190px;
        border-radius: 14px;
        overflow: hidden;
        background: url('../images/tournament-wow.png') center / cover no-repeat;
        background-size: contain;
        padding: 0px 10px;
    }

    .tournament-card {
        position: relative;
        min-height: 190px;
        border-radius: 14px;
        overflow: hidden;
        background: url('../images/mobile/tournament-wow.png') center / cover no-repeat;
        background-size: contain;
        padding: 0px 15px;
    }

    .tournament-info {
        position: absolute;
        z-index: 2;
        width: 62%;
        max-width: 240px;
        padding: 0px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 10px;
        /* min-height: 124px; */
        bottom: 12%;
    }

    .tournament-prize-label {
        display: block;
        font-size: 11px;
        color: #c5a367;
        margin-bottom: 4px;
    }

    .tournament-prize-value {
        display: block;
        font-size: 26px;
        font-weight: 800;
        color: #fff;
        line-height: 1.1;
        letter-spacing: 0.4px;
    }

    .tournament-countdown {
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 0px 10px;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .tournament-countdown__unit {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 30px;
    }

    .tournament-countdown__value {
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        font-variant-numeric: tabular-nums;
        line-height: 1.2;
    }

    .tournament-countdown__label {
        margin-top: 2px;
        font-size: 9px;
        color: #c5a367;
    }

    .tournament-countdown__sep {
        padding-top: 1px;
        font-size: 14px;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.2;
    }

    .d-show {
        display: none !important;
    }

    /* 手机端背景 hero 居中 */
    .bg-slider {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 45vh;
        overflow: hidden;
    }

    .slide {
        background-size: cover;
        background-position: center 18%;
        background-repeat: no-repeat;
    }

    .bg-slider::after {
        background: radial-gradient(circle at 50% 35%, transparent 8%, rgba(0, 0, 0, 0.55) 88%);
    }

    .app-container {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        grid-template-rows: none;
        top: -1px;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }

    /* 顶部 Header 结构重组对齐 Draft */
    header {
        height: auto;
        min-height: 60px;
        padding: 10px 10px 8px;
        background: none;
        border-bottom: none;
        gap: 10px;
        align-items: flex-start;
        flex-shrink: 0;
    }

    .header-brand {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .logo {
        margin-right: 0;
    }

    .logo img {
        margin-right: 0;
        height: 20px;
    }

    .header-controls {
        order: unset;
        margin-left: 0;
        flex-shrink: 0;
        margin: 0px;
    }

    .btn-login,
    .btn-register {
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 6px;
    }

    .announcement-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
        border-radius: 6px;
        order: 2;
    }

    .burger-btn {
        display: flex;
        width: 34px;
        height: 34px;
        font-size: 16px;
        border-radius: 50px;
        order: unset;
        background: #000000a1;
    }

    /* 彻底移除 PC 端的旧右侧边栏和主内容舞台，首屏默认不展示多余网格组件 */
    .main-sidebar,
    .main-content {
        display: none !important;
    }

    .right-sidebar {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        position: fixed;
        left: 0;
        gap: 20px;
        border-right: 1px solid var(--border-glow);
        border-radius: 0 16px 16px 0;
        transform: translateX(-110%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 140;
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, visibility 0.3s ease;
        box-shadow: 15px 0 40px rgba(0, 0, 0, 0.85);
        width: 100%;
        padding: 8px 0px;
        justify-content: center;
        top: 86px;
        border-radius: 10px;
        background: linear-gradient(135deg, hsl(150deg 40% 4% / 50%), #020603);
        height: auto;
        flex-direction: row;
    }

    .right-sidebar.slide-down {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        flex-direction: row;
        width: 100%;
        padding: 8px 0px;
        justify-content: center;
        top: 86px;
        border-radius: 10px;
        background: linear-gradient(135deg, hsl(150deg 40% 4% / 50%), #020603);
        height: auto;
        flex-direction: row;
    }

    .right-sidebar .nav-item {
        width: auto;
        font-size: 10px;
        height: auto;
    }

    .right-sidebar .nav-item img {
        height: 41px;
    }

    /* ==========================================================================
       🎪 【手机核心改动】：默认全部收起来，按了按钮才滑出的侧滑菜单
       ========================================================================== */
    .left-panel {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        pointer-events: none;
        z-index: 1200;
    }

    .slide-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 290px;
        height: calc(100% - 68px);
        /* 留出底下常驻金轨导航栏的绝对距离 */
        background: linear-gradient(135deg, #060e0a, #020603);
        border-right: 1px solid var(--border-glow);
        border-top: none;
        border-radius: 0 16px 16px 0;
        padding: 15px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        overflow-y: auto;
        z-index: 300;

        /* 【核心修改】：初始化状态下全部收拢向左位移隐藏 */
        transform: translateX(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s;
        box-shadow: 15px 0 40px rgba(0, 0, 0, 0.85);
    }

    /* 只有在被动态挂载上 open 类后才执行滑出显示 */
    .slide-menu.open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
        z-index: 100000;
    }

    /* 侧滑菜单顶部 X 收拢控制柄 */
    .mobile-nested-header {
        display: flex;
        justify-content: flex-end;
        padding-bottom: 5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-nested-header i {
        font-size: 18px;
        color: var(--text-muted);
        cursor: pointer;
        padding: 5px;
    }

    .sub-menu-info {
        font-size: 14px;
    }

    /* 大奖池面板组件 (手风琴挂载) */
    .mobile-jackpot-block {
        display: flex;
        flex-direction: column;
        background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0.3));
        border: 1px solid rgba(212, 175, 55, 0.25);
        border-radius: 12px;
        padding: 14px;
        margin-top: 10px;
        position: relative;
    }

    .mobile-jackpot-block .j-title {
        font-size: 12px;
        color: var(--accent-gold);
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .mobile-jackpot-block .j-amount {
        font-size: 24px;
        font-family: 'Impact', sans-serif;
        color: #fff;
        margin-top: 5px;
        letter-spacing: 0.5px;
    }

    /* 100% 迎新优惠组件 (手风琴挂载) */
    .mobile-bonus-block {
        display: flex;
        align-items: center;
        gap: 12px;
        background: linear-gradient(135deg, rgba(8, 26, 15, 0.9), rgba(2, 8, 4, 0.9));
        border: 1px solid var(--border-glow);
        border-radius: 12px;
        padding: 12px;
        position: relative;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    }

    .mobile-bonus-block::after {
        content: '';
        position: absolute;
        right: 8px;
        top: 15%;
        bottom: 15%;
        width: 4px;
        background: rgba(212, 175, 55, 0.3);
        border-radius: 2px;
        box-shadow: 6px 0 0 rgba(212, 175, 55, 0.15);
    }

    .mobile-bonus-block i {
        font-size: 32px;
        color: var(--accent-gold);
    }

    .mobile-bonus-block .b-info h4 {
        font-size: 18px;
        font-family: 'Impact', sans-serif;
        color: var(--accent-gold);
        line-height: 1;
    }

    .mobile-bonus-block .b-info p {
        font-size: 10px;
        text-transform: uppercase;
        color: #fff;
        opacity: 0.7;
        margin-top: 2px;
        font-weight: bold;
    }

    /* 手机底端常驻导航栏 */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 68px;
        background: rgba(3, 8, 4, 0.98);
        backdrop-filter: blur(25px);
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        z-index: 250;
        justify-content: space-around;
        align-items: center;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .m-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        font-size: 10px;
        /* gap: 4px; */
        cursor: pointer;
        flex: 1;
        height: 100%;
        font-weight: bold;
    }

    .m-nav-item a {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: var(--text-muted);
        text-decoration: none;
    }

    .m-nav-item i {
        font-size: 18px;
    }

    .m-nav-item.active {
        color: var(--accent-gold);
    }

    .floating-jackpot {
        z-index: 200;
    }

    .floating-jackpot__inner {
        width: min(72vw, 280px);
    }

    .jackpot-amount {
        font-size: clamp(18px, 5.8vw, 26px);
    }

    .jackpot-slide img {
        height: 38px;
    }

    .jackpot-slide.active img {
        height: 46px;
    }

    .jackpot-slide-amount {
        font-size: 13px;
    }

    .auth-slide-panel {
        width: 92%;
        max-width: 380px;
        padding: 25px;
    }

    .m-nav-item img {
        height: 40px;
    }

    .main-content-all .product-wrap ul {
        grid-template-columns: repeat(1, 1fr);
        padding: 15px;
    }

    .main-content-all {
        flex: 1;
        min-height: 0;
        width: 100%;
        max-width: none;
        margin: 0;
        justify-content: flex-start;
        position: relative;
        z-index: 130;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 12px 8px calc(68px + env(safe-area-inset-bottom, 0px) + 16px);
    }

    body.casino {
        background-position: center top;
    }
}