/* ============================================
   CSS 变量定义
   ============================================ */
:root {
    /* 颜色 - Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --accent-primary: #ffc107;
    --accent-secondary: #ff9800;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    --border-color: #dee2e6;
    --overlay-bg: rgba(0, 0, 0, 0.5);

    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1rem;
    --spacing-xl: 2rem;

    /* 字体 */
    --font-family: 'avertastd', sans-serif;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;

    /* 尺寸 */
    --header-height: 80px;
    --sidebar-width: 300px;
    --sidebar-collapsed-width: 80px;
    --bottom-nav-height: 70px;

    /* 过渡 */
    --transition-speed: 0.3s;

    /* 断点 */
    --breakpoint-mobile: 1079px;
}

/* Dark Theme (预留) */
body.dark-theme {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #1a1a1a;
}

/* ============================================
   全局重置与基础样式
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-primary);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition-speed);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   HEADER 样式
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--bg-primary);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    padding: 0 var(--spacing-lg);
}

/* 左侧区域 */
.header-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    width: 300px;
    flex-shrink: 0;
}

/* 右侧区域 */
.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 65px;
}

/* 汉堡包菜单按钮 */
.btn-menu {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
}

.btn-menu:hover {
    background-color: var(--border-color);
}

/* Logo */
.header-logo .logo-img {
    height: 50px;
    width: auto;
}

/* 右侧功能区 */
.header-actions {
    display: flex;
    align-items: center;
    height: 35px;
}

/* 语言切换按钮 */
.btn-language {
    background: #f0f2f2;
    cursor: pointer;
    position: relative;
    height: 35px;
    border-radius: 5px;
    border: 2px solid #efefef;
    margin: 0 auto 0 8px;
    padding: 2px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-language:hover {
    background-color: #e5e7e7;
}

.btn-language img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* 登录按钮 */
.btn-login {
    position: relative;
    min-width: 80px;
    background: transparent;
    height: 35px;
    border-radius: 5px;
    border: 2px solid #efefef;
    margin: 0 auto 0 8px;
    color: #000;
    font-size: 14px;
    padding: 2px 10px;
    cursor: pointer;
}

.btn-login:hover {
    background-color: #f0f2f2;
}

/* ============================================
   SIDEBAR 样式
   ============================================ */
.sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: var(--sidebar-width);
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-primary);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1001;
    transition: width var(--transition-speed);
}

/* 桌面版收起状态 */
.sidebar.collapsed {
    width: var(--sidebar-collapsed-width) !important;
}

.sidebar.collapsed .sidebar-content {
    padding: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* 收起时隐藏主题切换和文字，只显示图标 */
.sidebar.collapsed .theme-toggle-group {
    display: none;
}

.sidebar.collapsed .language-btn span,
.sidebar.collapsed .nav-link span {
    display: none;
}

.sidebar.collapsed .language-btn {
    width: 40px;
    height: 37px;
    justify-content: center;
    padding: 0;
}

.sidebar.collapsed .nav-link {
    width: 40px;
    height: 37px;
    justify-content: center;
    padding: 0;
}

.sidebar.collapsed .nav-icon,
.sidebar.collapsed .btn-icon {
    width: 27px;
    height: 27px;
}

.sidebar.collapsed .nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.sidebar.collapsed .nav-list li {
    width: 100%;
    display: flex;
    justify-content: center;
}

.sidebar-content {
    padding: var(--spacing-lg);
    width: 100%;
    box-sizing: border-box;
}

/* 关闭按钮 (默认隐藏) */
.sidebar-close {
    display: none;
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: var(--font-size-lg);
}

/* 主题切换按钮组 */
.theme-toggle-group {
    display: flex;
    gap: 2px;
    margin-bottom: 4px;
    width: 260px;
    height: 47px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 4px;
}

.theme-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    border-radius: 6px;
    background: transparent;
    color: #b0b9b9;
    font-size: 15px;
    font-weight: 500;
    border: 2px solid transparent;
    transition: all var(--transition-speed);
}

.theme-option:hover {
    background: linear-gradient(90deg, rgb(255, 245, 235) 0%, rgb(249, 249, 249) 100%);
}

.theme-option.active {
    background: var(--bg-primary);
    color: #171a1a;
    border: 2px solid #f9f9f9;
}

.theme-option i {
    font-size: var(--font-size-base);
}

/* 语言选择按钮 */
.language-btn {
    width: 260px;
    height: 47px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0 var(--spacing-md);
    background: #f9f9f9;
    border-radius: 8px;
    color: #171a1a;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
    transition: all var(--transition-speed);
}

.language-btn:hover {
    background: linear-gradient(90deg, rgb(255, 245, 235) 0%, rgb(249, 249, 249) 100%);
}

.language-btn .btn-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* 导航列表 */
.nav-list {
    list-style: none;
}

@media (max-width: 1079px) {
    .nav-list {
        width: 100%;
        margin-top: 20px;
    }

    .nav-link {
        width: 100%;
        height: 60px;
        margin-bottom: 10px;
        background: var(--bg-secondary);
        border-radius: 12px;
        font-size: 16px;
        padding: 0 20px;
    }

    .nav-icon {
        width: 30px;
        height: 30px;
    }

    .theme-toggle-group {
        width: 100%;
        height: 60px;
        margin-bottom: 10px;
        padding: 5px;
    }

    .theme-option {
        height: 100%;
        font-size: 16px;
    }

    .language-btn {
        width: 100%;
        height: 60px;
        margin-bottom: 10px;
        justify-content: flex-start;
        padding: 0 20px;
        font-size: 16px;
    }

    .language-btn .btn-icon {
        width: 30px;
        height: 30px;
    }

    .sidebar-nav {
        width: 100%;
    }
}

.nav-list li {
    margin-bottom: 4px;
}

.nav-link {
    width: 260px;
    height: 47px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0 var(--spacing-md);
    background: #f9f9f9;
    border-radius: 8px;
    color: #171a1a;
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition-speed);
}

@media (max-width: 1079px) {
    .nav-link {
        width: 100%;
        height: 60px;
        padding: 0 20px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
    }

    .nav-link span {
        flex: 1;
    }

    .nav-icon {
        width: 30px;
        height: 30px;
    }
}

.nav-link:hover {
    background: linear-gradient(90deg, rgb(255, 245, 235) 0%, rgb(249, 249, 249) 100%);
}

.nav-link.active {
    background: linear-gradient(90deg, rgb(255, 245, 235) 0%, rgb(249, 249, 249) 100%);
}

/* 导航图标 */
.nav-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-link span {
    font-weight: 500;
}

/* ============================================
   主内容区域
   ============================================ */
.main-content {
    margin-top: var(--header-height);
    margin-left: var(--sidebar-width);
    padding: var(--spacing-xl) var(--spacing-xl) 0;
    min-height: calc(100vh - var(--header-height));
    background-color: #f1f2f3;
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
    width: calc(100vw - var(--sidebar-width));
    overflow: hidden;
}

/* 当sidebar收起时，main-content调整 */
.main-content.sidebar-collapsed {
    margin-left: var(--sidebar-collapsed-width);
    width: calc(100vw - var(--sidebar-collapsed-width));
}

/* Promotion页面特殊样式 */
.main-content.promo-page {
    padding: 0;
    min-height: 0;
}

.main-content.promo-page .max-container {
    padding: 0 20px;
}

/* 最大宽度容器 */
.max-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    transform-origin: top left;
    transition: transform var(--transition-speed);
}

/* Banner 区域 */
.banner-section {
    position: relative;
}

.banner-image {
    border-radius: 15px;
    width: 100%;
    height: auto;
    display: block;
}

.banner-title {
    font-family: arial;
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 1;
    color: #222222;
    font-size: 60px;
    font-weight: bold;
    text-transform: uppercase;
}

/* 游戏标签导航 */
.games-section {
    margin: 20px 0;
}

.game-tabs {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 5px;
}

.game-tabs::-webkit-scrollbar {
    display: none;
}

.game-tab {
    color: #5f6d6d;
    padding: 10px;
    border-radius: 10px;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    font-weight: bold;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.game-tab:hover {
    background: #f0f0f0;
    color: #333;
}

.game-tab.active {
    background: #ffffff;
    color: #171a1a;
}

.game-tab-icon {
    display: block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.slots-icon {
    background: url(../images/sidebar/slots.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.casino-icon {
    background: url(../images/sidebar/casino.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sports-icon {
    background: url(../images/sidebar/sport.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.poker-icon {
    background: url(../images/sidebar/poker.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.battle-icon {
    background: url(../images/sidebar/battle.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.lottery-icon {
    background: url(../images/sidebar/lottery.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 游戏图片网格 */
.games-grid {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.game-item {
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.game-item:hover {
    transform: scale(1.05);
}

/* 游戏图片悬停效果 - 遮罩层 */
.game-item:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* 游戏图片悬停效果 - Play按钮 */
.game-item:hover::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    transition: transform 0.3s ease;
    z-index: 2;
}

.game-item:hover::after:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.game-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.game-item-wide {
    width: 282px;
    height: 177px;
    grid-column: span 2;
}

.game-item-wide img {
    width: 282px;
    height: 170px;
    object-fit: cover;
}

/* 游戏类型区域 */
.gametypes-sliders {
    margin: 25px 0 40px 0;
}

/* 游戏类型导航 */
.gametypes-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

.nav-item-featured {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #000;
}

.nav-dot {
    width: 8px;
    height: 8px;
    background: #e0c7ae;
    border-radius: 50%;
    margin-right: 8px;
}

.nav-item {
    position: relative;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-item.active {
    color: #000;
    font-weight: 600;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0c7ae;
    border-radius: 2px;
}

/* 游戏滚动 Slider */
.games-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: auto;
    padding: 10px 0;
    margin-top: 15px;
    background: #fff;
    border-radius: 15px;
}

.slider-track {
    display: flex;
    gap: 10px;
    animation: scroll 7s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
}

.slider-item {
    flex-shrink: 0;
    width: 80px;
    height: 100px;
    position: relative;
    cursor: pointer;
}

/* 滑块图片悬停效果 - 遮罩层 */
.slider-item:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* 滑块图片悬停效果 - Play按钮 */
.slider-item:hover::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #333;
    transition: transform 0.3s ease;
    z-index: 2;
}

.slider-item:hover::after:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.slider-img {
    width: 100%;
    height: 100%;
    max-width: 74.91px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 内容列布局 */
.columns {
    margin: 40px 0;
}

.content-columns {
    display: grid;
    grid-template-columns: 60% 1fr;
    gap: 20px;
    margin: auto;
}

.column-left {
    display: grid;
    gap: 20px;
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr;
}

.column-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 列卡片样式 */
.column-card {
    background: linear-gradient(to right, #fff, #f5eac4);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    min-height: 280px;
    cursor: pointer;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.column-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.card-image {
    width: 100%;
    flex-shrink: 0;
    position: absolute;
    right: 10px;
    top: 10px;
    transform: scale(1);
    transition: 0.3s ease;
    max-width: 230px;
}

.column-card:hover .card-image {
    transform: scale(1.1);
}

.column-card:nth-child(2) {
    background: linear-gradient(to right, #fff, #f0dfff);
}

/* 小卡片样式（右侧） */
.column-card-small {
    background: linear-gradient(to right, #fff, #d0fff0);
    border-radius: 16px;
    padding: 10px;
    display: flex;
    flex-direction: row;
    position: relative;
    min-height: 130px;
    cursor: pointer;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.column-card-small:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.card-content-small {
    flex: 1;
    z-index: 1;
}

.card-image-small {
    position: absolute;
    right: 10px;
    bottom: 10px;
    top: auto;
    max-width: 120px;
    transform: scale(1);
    transition: 0.3s ease;
}

.column-card-small:hover .card-image-small {
    transform: scale(1.1);
}

.column-card-small:nth-child(2) {
    background: linear-gradient(to right, #fff, #d5e4ff);
}

.column-card-small:nth-child(3) {
    background: linear-gradient(to right, #fff, #ffd6d6);
}

.column-card-small:nth-child(4) {
    background: linear-gradient(to right, #fff, #ffe1c5);
}

.column-card-small .card-header {
    font-size: 18px;
}

.column-card-small .card-logo {
    width: 30px;
    height: 30px;
}

/* 游戏类型区域 */
.games-type,
.promotions-section {
    margin: 40px 0;
}

.slot-container,
.promotions-container {
    position: relative;
    margin: 0 0 30px;
}

.game-header,
.promotions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-title,
.promotions-title {
    font-weight: bold;
    margin-bottom: 0;
    font-size: 18px;
    color: #000;
    padding-top: 8px;
}

.game-controls {
    display: flex;
    gap: 8px;
}

.control-btn {
    background: #e4e6e6;
    color: #171a1a;
    border: none;
    width: 50px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.control-btn:hover {
    background: #d5d7d7;
}

.control-btn i {
    width: 10px;
    height: 10px;
    font-size: 10px;
    margin-left: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn-icon {
    width: 30px;
    height: 30px;
}

.control-btn-icon i {
    margin-left: 0;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 0px;
    justify-content: center;
}

.payment-icons img {
    object-fit: contain;
}

.payment-icons img:nth-child(1) {
    height: 26px;
    margin: 5px;
    border-radius: 7px;
    transition: transform 0.2s ease;
}

.payment-icons img:nth-child(2) {
    height: 60px;
    margin: 5px;
    border-radius: 7px;
    transition: transform 0.2s ease;
}

.payment-icons img:hover {
    transform: scale(1.05);
}

.currency-icons {
    display: flex;
    align-items: center;
    gap: 0px;
    justify-content: flex-end;
}

.currency-icons img {
    height: 26px;
    object-fit: contain;
}

/* Promotions 样式 */
.promotions-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
}

.promo-link {
    color: #171a1a;
    text-decoration: none;
}

.promo-card {
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.promo-bonus {
    background: url(../images/promo/1.webp), linear-gradient(to right, #fff, #f0dfff);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.promo-bonus-2 {
    background: url(../images/promo/2.webp), linear-gradient(to right, #fff, #ffe1c5);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.promo-bonus-3 {
    background: url(../images/promo/3.webp), linear-gradient(to right, #fff, #d0fff0);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.promo-bonus-4 {
    background: url(../images/promo/4.webp), linear-gradient(to right, #fff, #ffd5d5);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.promo-bonus-5 {
    background: url(../images/promo/5.webp), linear-gradient(to right, #fff, #c5fcff);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.promo-bonus-6 {
    background: url(../images/promo/6.webp), linear-gradient(to right, #fff, #c5d4ff);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.promo-image {
    height: 180px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: 8px 8px 0 0;
}

.promo-image h3 {
    font-weight: bold;
    margin: 0;
    font-size: 16px;
    width: 55%;
    text-transform: uppercase;
    color: #000;
    padding-left: 15px;
    line-height: 1.2;
    word-wrap: break-word;
}

.promo-content {
    position: relative;
    background: #ffffff;
    border-radius: 0 0 8px 8px;
    padding: 15px;
    height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.promo-countdown {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.promo-countdown span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
}

.promo-countdown p {
    margin: 0;
    color: #171a1a;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-action {
    display: flex;
    align-items: center;
}

.promo-button {
    background-color: rgb(242, 242, 242);
    color: #171a1a;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.promo-button:hover {
    background-color: rgb(230, 230, 230);
}

/* 游戏列表样式 */
.slot-games {
    margin-top: 5px;
}

.slot-game {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    gap: 10px; /* 使用 gap 替代 margin */
}

.slot-game::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.game-img-container {
    width: 136px;
    height: 171px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0; /* 防止容器被压缩 */
}

.game-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* 游戏图片容器悬停效果 - 遮罩层 */
.game-img-container:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

/* 游戏图片容器悬停效果 */
.game-img-container:hover img {
    transform: scale(1.02);
    filter: brightness(0.7);
}

/* 游戏图片容器的Play按钮 */
.game-img-container:hover::after {
    content: '\f04b'; /* FontAwesome play icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    transition: transform 0.3s ease;
    z-index: 100;
    pointer-events: none;
}

.game-img-container:hover::after:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 8px;
    color: #000;
    position: relative;
    z-index: 1;
}

.card-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.card-footer {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    width: 80%;
    min-height: 50px;
    position: relative;
    z-index: 1;
}

/* ============================================
   语言选择 Modal
   ============================================ */
.language-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    justify-content: center;
    align-items: center;
}

.language-modal.show {
    display: flex;
}

.language-modal-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 320px;
    max-width: 90%;
    overflow: hidden;
}

.language-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px 24px;
    position: relative;
}

.language-modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    text-align: center;
    flex: 1;
}

.language-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f5f5f5;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.language-modal-close:hover {
    background: #e0e0e0;
}

.language-modal-close i {
    font-size: 14px;
    color: #666;
}

.language-modal-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 0;
}

.language-modal-body {
    padding: 20px 24px 24px 24px;
}

.language-options-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    white-space: nowrap;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    user-select: none;
}

.language-option:hover {
    background-color: #f5f5f5;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-divider {
    width: 1px;
    height: 24px;
    background-color: #ddd;
    margin: 0 10px;
    flex-shrink: 0;
    display: block;
}

.language-text {
    font-size: 16px;
    color: #333;
    font-weight: 400;
    order: 1;
    white-space: nowrap;
}

.language-option input[type='radio'] {
    display: none;
}

.language-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background-color: white;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    order: 2;
}

.language-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.language-option input[type='radio']:checked + .language-radio {
    border-color: #ff6b35;
    background-color: white;
}

.language-option input[type='radio']:checked + .language-radio::after {
    background-color: #ff6b35;
}

.language-option:hover .language-radio {
    border-color: #ccc;
}

.language-option input[type='radio']:checked + .language-radio:hover {
    border-color: #ff6b35;
}

/* ============================================
   登录 Modal
   ============================================ */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.login-modal.show {
    display: flex;
}

.login-modal-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 1200px;
    max-width: 95%;
    height: 700px;
    display: flex;
    overflow: hidden;
}

/* 左侧插图面板 */
.login-modal-left {
    flex: 1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

/* 上半部分：logo + 图片 */
.login-modal-top {
    flex: 1;
    position: relative;
    width: 100%;
    height: 100%;
}

.login-modal-logo {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
    margin: 0;
}

.login-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.login-modal-illustration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.login-illustration-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 下半部分：文字 */
.login-modal-text {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.login-modal-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
}

.login-modal-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* 右侧登录表单面板 */
.login-modal-right {
    flex: 1;
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.login-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.login-form-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.login-modal-close {
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-modal-close:hover {
    background: #e0e0e0;
}

.login-modal-close i {
    font-size: 14px;
    color: #666;
}

.login-form-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-form-group {
    display: flex;
    flex-direction: column;
}

.login-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.login-input:focus {
    outline: none;
    border-color: #d4af37;
}

.login-input::placeholder {
    color: #999;
}

.login-submit-btn {
    position: relative;
    min-width: 100%;
    background: linear-gradient(-90deg, #f5e3d0 0%, #e0c7ae 100%);
    height: 40px;
    border-radius: 8px;
    margin: 0;
    color: #000;
    padding: 2px 10px;
    box-shadow: #e0c7ae 0px -2px inset;
    -webkit-appearance: none;
    appearance: none;
    font-weight: bold;
    border: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.login-submit-btn:hover {
    background: linear-gradient(-90deg, #e0c7ae 0%, #d4b896 100%);
    transform: translateY(-1px);
    box-shadow:
        #d4b896 0px -2px inset,
        0 4px 12px rgba(224, 199, 174, 0.3);
}

/* 响应式设计 */

@media (max-width: 500px) {
    .column-card {
        min-height: 90px !important;
    }
}

/* ============================================
   底部导航栏 (默认隐藏)
   ============================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background-color: var(--bg-primary);
    display: none;
    z-index: 998;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    transition: all var(--transition-speed);
}

.bottom-nav-item i {
    font-size: var(--font-size-xl);
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--accent-primary);
}

/* ============================================
   响应式样式 - 桌面端自适应 (>1080px)
   ============================================ */
@media (max-width: 1600px) {
    .max-container {
        max-width: 1100px;
    }
}

@media (max-width: 1400px) {
    .max-container {
        max-width: 1000px;
    }
}

@media (max-width: 1200px) {
    .max-container {
        max-width: 900px;
    }
}

@media (max-width: 1400px) {
    .max-container {
        max-width: 1000px;
    }

    /* Banner */
    .banner-image {
        border-radius: 10px;
    }

    .banner-title {
        font-size: 45px;
        left: 8%;
    }

    .game-tabs {
        gap: 8px;
    }

    .game-tab {
        padding: 8px;
        font-size: 14px;
    }

    .game-tab-icon {
        width: 18px;
        height: 18px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }

    /* 游戏类型导航 */
    .gametypes-nav {
        gap: 12px;
        font-size: 13px;
    }

    /* 卡片区域 */
    .column-card {
        min-height: 240px;
        padding: 12px;
    }

    .card-image {
        max-width: 180px;
    }

    .card-image-small {
        max-width: 100px;
    }

    .card-header {
        font-size: 20px;
        gap: 6px;
    }

    .card-logo {
        width: 32px;
        height: 32px;
    }

    .card-footer {
        font-size: 13px;
    }

    /* 游戏列表 */
    .slot-game img {
        width: 116px;
        height: 151px;
        position: relative;
        cursor: pointer;
    }

    /* Footer */
    .footer-logo {
        gap: 6px;
        padding: 25px 0;
    }

    .footer-columns {
        gap: 12px;
        padding: 25px 0;
    }

    .footer-column {
        padding: 0 8px;
    }

    .footer-column h4 {
        font-size: 15px;
    }

    .footer-column ul li a {
        font-size: 13px;
    }
}

@media (max-width: 1200px) {
    .max-container {
        max-width: 900px;
        padding: 0 15px;
    }

    /* Banner */
    .banner-image {
        border-radius: 8px;
    }

    .banner-title {
        font-size: 35px;
        left: 6%;
    }

    .game-tabs {
        gap: 6px;
    }

    .game-tab {
        padding: 6px;
        font-size: 12px;
    }

    .game-tab-icon {
        width: 16px;
        height: 16px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 6px;
    }

    /* 游戏类型导航 */
    .gametypes-nav {
        gap: 10px;
        font-size: 12px;
    }

    /* 卡片区域 */
    .content-columns {
        gap: 15px;
    }

    .column-card {
        min-height: 220px;
        padding: 10px;
    }

    .card-image {
        max-width: 160px;
    }

    .card-image-small {
        max-width: 90px;
    }

    .card-header {
        font-size: 18px;
        gap: 5px;
    }

    .card-logo {
        width: 30px;
        height: 30px;
    }

    .card-footer {
        font-size: 12px;
        width: 85%;
    }

    /* 游戏列表 */
    .slot-game img {
        width: 106px;
        height: 141px;
        position: relative;
        cursor: pointer;
    }

    /* Footer */
    .footer-logo {
        gap: 5px;
        padding: 20px 0;
    }

    .footer-columns {
        gap: 10px;
        padding: 20px 0;
    }

    .footer-column {
        padding: 0 6px;
    }

    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .footer-column ul li {
        margin-bottom: 6px;
    }

    .footer-column ul li a {
        font-size: 12px;
    }

    .footer-links {
        font-size: 14px;
    }

    .footer-bottom {
        padding-top: 20px;
        font-size: 12px;
    }
}

/* ============================================
   响应式样式 - 移动端 (<1080px)
   ============================================ */
@media (max-width: 1079px) {
    /* 手机版隐藏 Header 汉堡包按钮 */
    .btn-menu {
        display: none;
    }

    /* 移动端隐藏语言图标 */
    .btn-language {
        display: none;
    }

    /* 移动端 header-left 调整宽度 */
    .header-left {
        width: auto;
        flex-shrink: 1;
    }

    /* 移动端 header-container 调整padding */
    .header-container {
        padding: 0 var(--spacing-sm);
    }

    /* 移动端 header-right 调整 */
    .header-right {
        padding: 0 var(--spacing-md);
    }

    /* Sidebar 变为全屏滑出式 */
    .sidebar {
        top: 0;
        height: calc(100vh - var(--bottom-nav-height));
        width: 100vw;
        transform: translateX(-100%);
        z-index: 9999;
        background-color: var(--bg-primary);
    }

    .sidebar-content {
        max-width: 100%;
        height: 100%;
        padding: var(--spacing-xl);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        overflow-y: auto;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-header {
        width: 100%;
        padding: 10px 0;
        margin-bottom: 15px;
        display: flex;
        justify-content: flex-end;
    }

    .sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--bg-tertiary);
        border-radius: 50%;
    }

    /* 主内容调整 */
    .main-content {
        margin-left: 0;
        margin-bottom: var(--bottom-nav-height);
        padding: 0;
        width: 100%;
    }

    /* 手机版 max-container 移除 max-width 限制并设置新的 padding */
    .max-container {
        max-width: none;
        padding: 0 20px;
    }

    /* Promotion页面移动端样式 */
    .main-content.promo-page {
        padding: 0;
    }

    /* Banner 移动端样式 */
    .banner-title {
        font-size: 28px;
        left: 5%;
    }

    .game-tabs {
        gap: 10px;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .game-tabs::-webkit-scrollbar {
        display: none;
    }

    .game-tab {
        padding: 12px 20px;
        font-size: 15px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .game-tab-icon {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }

    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 0 10px;
    }

    .game-item {
        width: 100%;
        height: auto;
    }

    .game-item img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .game-item-wide {
        grid-column: span 2;
    }

    .game-item-wide img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    /* 显示底部导航 */
    .bottom-nav {
        display: flex;
    }

    .promotions-box {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .max-footer {
        margin-top: -4rem !important;
    }
}

/* ============================================
   滚动条样式
   ============================================ */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ============================================
   Footer 样式
   ============================================ */
.main-footer {
    position: relative;
    color: #aaa;
    background-color: var(--bg-primary);
    padding: var(--spacing-xl) 0;
    margin-top: auto;
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
    transition: margin-left var(--transition-speed);
}

.sidebar.collapsed ~ .main-footer {
    width: calc(100% - var(--sidebar-collapsed-width));
    margin-left: var(--sidebar-collapsed-width);
}

/* 移动端时考虑底部导航栏的高度 */
@media (max-width: 1079px) {
    .slot-game img {
        width: 100% !important;
        height: auto !important;
    }

    .main-footer {
        margin-bottom: var(--bottom-nav-height);
        width: 100%;
        margin-left: 0;
        margin-top: -4rem !important;
    }
}

.footer-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.footer-content {
    position: relative;
    padding: 0 0 10px;
    color: #aaa;
    transform-origin: top left;
    transition: transform var(--transition-speed);
}

.footer-logo {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 0;
    border-bottom: 1px solid #ddd;
    width: 100%;
}

.footer-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px 0;
    width: 100%;
}

.footer-column {
    flex: 1 1 160px;
    margin-bottom: 0;
    position: relative;
    padding: 0px 10px;
}

@media (max-width: 1600px) {
    .footer-content {
        transform: scale(1);
    }
}

@media (max-width: 1400px) {
    .footer-content {
        transform: scale(1);
    }
}

@media (max-width: 1200px) {
    .footer-content {
        transform: scale(1);
    }
}

.footer-column h4 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #000;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #000;
}

.footer-column .pmethod img {
    height: 35px;
    border-radius: 7px;
    transition: transform 0.2s ease;
}

.footer-column .pmethod img:hover {
    transform: scale(1.05);
}

/* ============================================
   Join Us 区域
   ============================================ */

@keyframes pulse {
    0% {
        box-shadow:
            0 8px 25px rgba(255, 215, 0, 0.4),
            0 4px 12px rgba(224, 199, 174, 0.3),
            inset 0 2px 4px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow:
            0 12px 35px rgba(255, 215, 0, 0.6),
            0 6px 20px rgba(224, 199, 174, 0.4),
            inset 0 2px 4px rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow:
            0 8px 25px rgba(255, 215, 0, 0.4),
            0 4px 12px rgba(224, 199, 174, 0.3),
            inset 0 2px 4px rgba(255, 255, 255, 0.2);
    }
}
.join-us-section {
    margin: 40px 0 !important;
    padding: 40px !important;
    position: relative !important;
    display: block !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    text-align: center !important;
    border: 2px solid #ffd700 !important;
}

.join-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ffd700 0%, #ffed4e 25%, #ffd700 50%, #ffed4e 75%, #ffd700 100%);
    animation: shimmer 3s ease-in-out infinite;
}

.join-us-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 237, 78, 0.12) 0%, transparent 50%);
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

@keyframes shimmer {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

.join-us-container {
    max-width: 1000px !important;
    margin: 0 auto !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 2 !important;
}

.video-container {
    margin-top: 30px !important;
    width: 100% !important;
    max-width: 400px !important;
}

.main-video {
    width: 100% !important;
    height: auto !important;
    border-radius: 10px !important;
    max-height: 300px !important;
}

.btn-join {
    padding: 22px 60px !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    text-align: center !important;
    color: #000 !important;
    background: linear-gradient(45deg, #ffd700 0%, #ffed4e 25%, #f5e3d0 50%, #e0c7ae 100%) !important;
    border-radius: 15px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    display: inline-block !important;
    text-decoration: none !important;
    border: 3px solid #ffd700 !important;
    min-width: 250px !important;
    box-shadow:
        0 8px 25px rgba(255, 215, 0, 0.4),
        0 4px 12px rgba(224, 199, 174, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2) !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    animation: pulse 2s infinite !important;
}

.btn-join:hover {
    background: linear-gradient(-90deg, #e0c7ae 0%, #d4b896 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow:
        #d4b896 0px -2px inset,
        0 8px 20px rgba(224, 199, 174, 0.3) !important;
}

.btn-join::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.btn-join:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.auth-buttons {
    display: flex !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 500px !important;
}

.btn-register,
.btn-login-large {
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-align: center !important;
    color: #000 !important;
    background: #f0f2f2 !important;
    border-radius: 8px !important;
    border: 2px solid #efefef !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    display: inline-block !important;
    text-decoration: none !important;
    min-width: 140px !important;
}

.btn-register:hover,
.btn-login-large:hover {
    background: #e5e7e7 !important;
    transform: translateY(-1px) !important;
}

@media (max-width: 767px) {
    .join-us-section {
        margin: 30px 15px;
        padding: 30px 15px;
        border-radius: 16px;
    }

    .btn-join {
        padding: 20px;
        font-size: 24px;
        border-radius: 14px;
    }

    .auth-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-register,
    .btn-login-large {
        width: 100%;
        padding: 16px;
        font-size: 18px;
        border-radius: 12px;
    }
}

/* ============================================
   欢迎区域
   ============================================ */
.welcome-section {
    margin: 40px 0;
}

/* Welcome Banner 样式 */
.welcome-section {
    margin: 40px 0;
}

.welcome-banner {
    display: grid;
    grid-template-columns: 40% 50% 10%;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 10px 30px;
    margin: auto;
    gap: 10px;
    overflow: hidden;
    min-height: 90px;
}

@media (max-width: 768px) {
    .welcome-banner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding: 20px;
        gap: 15px;
        text-align: center;
    }

    .welcome-banner .payment-icons {
        order: 2;
        justify-content: left;
        gap: 10px;
    }

    .welcome-banner .currency-icons {
        order: 1;
        justify-content: center;
        gap: 10px;
    }

    .welcome-banner .welcome-text {
        order: 3;
        font-size: 18px;
        text-align: center;
    }
}

.welcome-text {
    font-size: 22px;
    font-weight: bold;
    color: #000;
}

.promotions-box {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    gap: 20px;
    width: 100%;
}

.social-media {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-media i {
    font-size: 18px;
    padding: 10px;
    background: #eaeaea;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    transition: all 0.3s ease;
}

.social-media i:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* Footer 底部区域 */
.footer-bottom {
    text-align: center;
    color: #aaa;
    font-size: 13px;
}

.footer-links {
    margin: 5px 0;
    font-size: 16px;
}

.footer-links a {
    color: #aaa;
    text-decoration: underline;
}

.footer-links a:hover {
    color: #666;
}

.footer-bottom p {
    margin: 0 0 10px;
    line-height: 1.5;
}

.games-section {
    margin: 25px 0 40px 0;
}

@media (max-width: 767px) {
    .login-modal-content {
        width: 95%;
        height: auto;
        flex-direction: column;
    }

    .login-modal-left {
        height: 200px;
        padding: 20px;
    }

    .login-modal-right {
        padding: 30px 20px;
    }

    .login-modal-title {
        font-size: 24px;
    }

    .login-form-title {
        font-size: 20px;
    }

    /* Banner 全屏显示 */
    .banner-section {
        margin: 0 -20px; /* 抵消容器的padding */
        width: calc(100% + 40px); /* 扩展到全屏宽度 */
    }

    .banner-image {
        border-radius: 0; /* 移除圆角 */
        width: 100%;
        height: auto;
        display: block;
    }

    /* Columns 布局调整 */
    .content-columns {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .column-left {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }

    .column-card {
        min-height: 120px !important;
        padding: 3%;
        display: flex;
        flex-direction: column;
    }

    .column-card .card-footer {
        display: none;
    }

    .column-card .card-image {
        max-width: 35%;
        height: auto;
        right: 5%;
        top: 5%;
    }

    .column-right {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 2%;
        width: 100%;
    }

    .column-card-small {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 3%;
        min-height: auto;
    }

    .column-card-small .card-content-small {
        order: 2;
        width: 100%;
    }

    .column-card-small .card-image-small {
        order: 1;
        position: static;
        margin-bottom: 8%;
        width: 60%;
        height: auto;
    }

    .column-card-small .card-header {
        flex-direction: column;
        gap: 5px;
        font-size: 14px;
    }

    .column-card-small .card-logo {
        width: 24px;
        height: 24px;
    }

    /* 隐藏所有小卡片的logo */
    .column-card-small .card-logo {
        display: none;
    }

    /* Games Type 区域调整 */
    .games-type {
        margin: 20px 0;
    }

    .slot-container {
        margin: 0 0 15px;
    }

    .game-header {
        margin-bottom: 10px;
    }

    .game-title {
        font-size: 16px;
    }

    .game-controls .control-btn {
        padding: 5px 10px;
        font-size: 12px;
    }

    .slot-games {
        margin-top: 10px;
    }

    .game-img-container img {
        width: 140px !important;
        height: 176px !important;
        object-fit: cover;
    }

    .slot-game {
        gap: 10px;
        padding-bottom: 5px;
    }

    /* 合并 767px 的内容 */
    .max-container {
        padding: 0 10px;
    }

    /* 合并 575px 的内容 */
    .header-logo .logo-img {
        height: 35px;
    }

    .btn-login {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: var(--font-size-sm);
    }

    .btn-menu {
        width: 36px;
        height: 36px;
        font-size: var(--font-size-lg);
    }

    .sidebar-content {
        padding: var(--spacing-md);
    }

    /* 移动端游戏图片悬停效果调整 */
    .game-item:hover::after {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .slot-game img:hover::after {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .slider-item:hover::after {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }

    .promotions-box {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .promo-card {
        max-width: 100% !important;
    }

    .promo-image {
        height: 160px !important;
    }

    .promo-image h3 {
        width: 70% !important;
        font-size: 15px !important;
    }

    .footer-logo {
        grid-template-columns: repeat(4, 1fr);
    }

    .main-footer {
        margin-top: -4rem;
    }
}
