/* --- 全局 & 基础样式 --- */
*, *::before, *::after { 
    box-sizing: border-box; 
}
body, html { 
    margin: 0; 
    padding: 0; 
    font-family: 'Helvetica Neue', Arial, sans-serif; 
    background-color: #000; 
    color: #ffffff; 
}
a { 
    text-decoration: none; 
}
.card-style { 
    background-color: #1a1a1a; 
    border-radius: 12px; 
    margin: 20px 15px; 
    padding: 15px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
}

/* --- 核心布局容器 --- */
.page-wrapper { 
    max-width: 600px; 
    margin: 0 auto; 
    background-color: #111111; 
    min-height: 100vh; 
    padding-top: 55px; 
    padding-bottom: 65px; 
    box-shadow: 0 0 25px rgba(247, 142, 33, 0.1); 
    position: relative; 
    overflow-x: hidden; 
}
.container { 
    padding: 0 15px; 
}

/* --- 顶部导航栏样式 --- */
.top-header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 8px 15px; 
    background-color: #0D131C; 
    border-bottom: 1px solid #333; 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    z-index: 1030; 
    max-width: 600px; 
    margin: 0 auto; 
}
.top-menu-placeholder { 
    width: 28px; 
    height: 28px;
}
.top-header .top-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.top-header .top-logo img { 
    height: 35px; 
}
.top-header .qr-code a { 
    color: #fff; 
    font-size: 20px; 
}

/* --- 语言切换器样式 --- */
.lang-switcher { 
    display: flex; 
    background-color: #000; 
    border-radius: 20px; 
    padding: 3px; 
    border: 1px solid #444; 
}
.lang-btn { 
    background: none; 
    border: none; 
    color: #aaa; 
    font-size: 12px; 
    font-weight: bold; 
    padding: 4px 10px; 
    cursor: pointer; 
    border-radius: 18px; 
    transition: all 0.3s ease; 
}
.lang-btn.active { 
    background-color: #F78E21; 
    color: #111; 
}

/* --- 全新英雄区样式 --- */
.hero-section { 
    background: #111; 
    padding-bottom: 20px; 
}
.swiper-container { 
    width: 100%; 
    position: relative; 
}
.swiper-slide img { 
    display: block; 
    width: 100%; 
    height: auto; 
}
.swiper-pagination { 
    position: absolute; 
    bottom: 10px !important; 
    left: 50% !important; 
    transform: translateX(-50%) !important; 
    width: auto !important; 
}
.swiper-pagination-bullet { 
    background: #fff !important; 
    opacity: 0.7; 
}
.swiper-pagination-bullet-active { 
    background: #F78E21 !important; 
    opacity: 1; 
}
.hero-cta-box { 
    text-align: center; 
    padding: 25px; 
    margin: -40px 15px 0 15px; 
    position: relative; 
    z-index: 10; 
    background: linear-gradient(180deg, rgba(34,34,34,0.95) 0%, rgba(20,20,20,0.98) 100%); 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}
.hero-title { 
    font-size: 22px; 
    font-weight: bold; 
    color: #F78E21; 
    margin: 0 0 10px 0; 
}
.hero-subtitle { 
    font-size: 14px; 
    color: #ccc; 
    margin: 0 0 20px 0; 
}
.hero-button { 
    display: inline-block; 
    padding: 12px 30px; 
    font-size: 18px; 
    font-weight: bold; 
    color: #fff; 
    background: linear-gradient(45deg, #FFB800, #F78E21); 
    border-radius: 50px; 
}

/* --- SEO 新增内容样式 --- */
.intro-text { 
    line-height: 1.6; 
    color: #ccc; 
    font-size: 14px; 
}
.section-title { 
    text-align: center; 
    font-size: 24px; 
    margin-bottom: 25px; 
    color: #F78E21; 
    font-weight: bold; 
}
.faq-section { 
    padding-top: 10px; 
}
.faq-item { 
    margin-bottom: 20px; 
}
.faq-item h3 { 
    font-size: 16px; 
    color: #F78E21; 
    margin-bottom: 8px; 
}
.faq-item p { 
    font-size: 14px; 
    color: #ccc; 
    line-height: 1.6; 
    margin: 0; 
}

/* --- Index-Box & 公告栏样式 --- */
.index-box.card-style { 
    padding: 0; 
    overflow: hidden; 
    margin-top: 0; 
}
.announce-wrap { 
    display: flex; 
    align-items: center; 
    background-color: #2A2A2A; 
    padding: 8px 15px; 
}
.ann-icon { 
    margin-right: 10px; 
    color: #CCCCCC; 
    font-size: 18px; 
}
.ann-bar { 
    flex-grow: 1; 
    overflow: hidden; 
}
.ann-bar marquee { 
    color: #CCCCCC; 
    font-size: 13px; 
}

/* --- Menu-Tab 模块样式 --- */
.content-section { 
    padding: 0; 
}
.menu-tab.card-style { 
    display: flex; 
    align-items: flex-start; 
    gap: 15px; 
    background-color: transparent; 
    padding: 0; 
    margin-top: 0; 
    box-shadow: none; 
}
.menu-list { 
    flex: 0 0 80px; 
    display: flex; 
    flex-direction: column; 
    background-color: #1a1a1a; 
    border-radius: 10px; 
    padding: 10px 0; 
}
.nav-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    color: #aaa; 
    padding: 12px 5px; 
    transition: all 0.3s ease; 
    cursor: pointer; 
    border-radius: 8px; 
    margin: 0 5px 5px 5px; 
}
.nav-item img { 
    width: 28px; 
    height: 28px; 
    margin-bottom: 6px; 
    filter: grayscale(80%); 
}
.nav-item span { 
    font-size: 11px; 
    line-height: 1.2; 
}
.nav-item.active { 
    background-color: #F78E21; 
}
.nav-item.active img { 
    filter: none; 
}
.nav-item.active span { 
    color: #111; 
    font-weight: bold; 
}
.menu-content { 
    flex-grow: 1; 
}
.game-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); 
    gap: 10px; 
}
.menu-prod { 
    background-color: #222; 
    border-radius: 10px; 
    transition: all 0.3s ease; 
    border: 1px solid #333; 
    overflow: hidden; 
}
.menu-prod:hover { 
    transform: translateY(-5px); 
    border-color: #F78E21; 
}
.menu-prod a { 
    display: block; 
    padding: 8px; 
}
.menu-prod img { 
    width: 100%; 
    height: auto; 
    display: block; 
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    border-radius: 8px; 
}

/* --- 底部固定菜单 --- */
.menu-btm { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    background-color: #0D131C; 
    border-top: 1px solid #444; 
    z-index: 1020; 
    padding: 5px 0; 
    max-width: 600px; 
    margin: 0 auto; 
}
.menu-wrapper { 
    display: flex; 
    justify-content: space-around; 
    align-items: center; 
}
.menu-wrapper a { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    color: #999; 
    text-align: center; 
    font-size: 11px; 
    padding: 0 5px; 
}
.menu-wrapper a img { 
    width: 26px; 
    height: 26px; 
    margin-bottom: 4px; 
}

/* --- 页脚样式 --- */
footer { 
    background-color: #111; 
    padding: 40px 15px 20px 15px; 
    text-align: center; 
    border-top: 1px solid #222; 
}
.footer-section h3 { 
    font-size: 16px; 
    color: #888; 
    margin-bottom: 20px; 
    text-transform: uppercase; 
}
.footer-logos { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: center; 
}
.footer-logos img { 
    height: 25px; 
    margin: 5px 8px; 
    opacity: 0.7; 
}