/**
 * ============================================
 * 网站模板样式表
 * ============================================
 * 
 * 快速自定义说明：
 * 1. 修改下方 :root 中的 CSS 变量即可改变整体配色
 * 2. 搜索 "自定义区域" 可以找到其他可修改的样式
 * 3. 建议使用 CSS 变量保持一致性
 * 
 * ============================================
 */

/* ============================================
 * 自定义区域 1：颜色变量
 * 修改这里的颜色值可以快速改变网站整体风格
 * ============================================ */
:root {
    /* 主色调 */
    --primary-color: #1a1a1a;        /* 主要背景色 */
    --secondary-color: #2a2a2a;      /* 次要背景色 */
    --accent-color: #c8a960;         /* 强调色（暗金色） */
    
    /* 文字颜色 */
    --text-color: #1a1a1a;           /* 主要文字颜色 */
    --text-light: #666666;           /* 次要文字颜色 */
    
    /* 背景色 */
    --background-dark: #ffffff;      /* 最深背景色（白色） */
    --background-light: #f5f5f5;     /* 浅色背景 */
    
    /* 边框和卡片 */
    --border-color: #e0d5c0;         /* 边框颜色（暗金色边框） */
    --card-bg: #ffffff;              /* 卡片背景色（白色） */
    --hover-bg: #f8f4eb;             /* 悬停背景色（淡金色） */
    
    /* 状态色 */
    --success-color: #4caf50;        /* 成功/确认 */
    --warning-color: #ff9800;        /* 警告/维护 */
    --error-color: #f44336;          /* 错误/删除 */
    
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #c8a960, #a08040);   /* 主渐变（暗金色） */
    --gradient-secondary: linear-gradient(135deg, #8b7355, #6b5535); /* 次要渐变 */
}

/* ============================================
 * 自定义区域 2：常用配色方案参考
 * 取消注释即可使用对应主题
 * ============================================ */

/* 科技蓝色主题（当前使用）
:root {
    --primary-color: #0a1628;
    --accent-color: #00d4ff;
    --background-dark: #060e1a;
    --card-bg: #122240;
}
*/

/* 清新绿色主题
:root {
    --primary-color: #0d1f12;
    --accent-color: #00e676;
    --background-dark: #060e08;
    --card-bg: #122218;
}
*/

/* 活力橙色主题
:root {
    --primary-color: #1a120a;
    --accent-color: #ff6b35;
    --background-dark: #0e0a06;
    --card-bg: #221c12;
}
*/

/* 优雅紫色主题
:root {
    --primary-color: #1a0d28;
    --accent-color: #a855f7;
    --background-dark: #0e0614;
    --card-bg: #1c1228;
}
*/

/* 暗黑红色主题
:root {
    --primary-color: #1a0a0a;
    --accent-color: #ef4444;
    --background-dark: #0e0606;
    --card-bg: #221212;
}
*/

html {
    scroll-behavior: smooth;
}

* {
    outline: none;
}

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(200, 169, 96, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 169, 96, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.btn-link {
    color: var(--accent-color);
    padding: 0;
    background: none;
    border: none;
}

.btn-link:hover {
    text-decoration: underline;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* 英雄区域 */
.hero {
    height: 100vh;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(6, 14, 26, 0.9));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

/* 页面头部 */
.page-header {
    height: 400px;
    background: url('../images/header-bg.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
}

.header-overlay {
    display: none;
}

.header-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* 区域通用样式 */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 公告预览卡片 */
.announcements-preview {
    background-color: var(--background-light);
    padding: 60px 0;
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.announcement-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.announcement-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.announcement-card:hover .announcement-image img {
    transform: scale(1.05);
}

.announcement-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.announcement-content {
    padding: 20px;
}

.announcement-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.announcement-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.announcement-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.section-footer {
    text-align: center;
}

/* 游戏展示 */
.games-showcase {
    background-color: var(--background-dark);
}

.games-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.games-scroll::-webkit-scrollbar {
    height: 8px;
}

.games-scroll::-webkit-scrollbar-track {
    background: var(--background-light);
    border-radius: 4px;
}

.games-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

.game-card {
    flex: 0 0 300px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.game-card:hover .game-overlay {
    transform: translateY(0);
    opacity: 1;
}

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.game-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* 关于我们 */
.about-us {
    background-color: var(--background-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

/* 页脚 */
.footer {
    background-color: var(--background-light);
    padding: 60px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    padding: 0 20px;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--background-light);
    color: var(--text-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.contact-info i {
    color: var(--accent-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-bottom p a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom p a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.game-disclaimer {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 8px;
}

.footer-bottom-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

/* 悬浮客服组件 */
.floating-service {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
}

.floating-service-btn {
    width: 64px;
    height: 180px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 32px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(200, 169, 96, 0.3);
    transition: all 0.3s ease;
    padding: 20px 0;
}

.floating-service-btn i {
    font-size: 1.6rem;
    margin-top: 8px;
}

.floating-service-btn .btn-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.floating-service-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(200, 169, 96, 0.5);
}

.floating-service-panel {
    position: absolute;
    right: 76px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    width: 300px;
    max-height: 80vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.floating-service:hover .floating-service-panel,
.floating-service.active .floating-service-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.floating-service-panel h4 {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.floating-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.floating-service-item:hover {
    background-color: rgba(200, 169, 96, 0.05);
}

.floating-service-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: none;
}

.floating-service-info {
    display: flex;
    flex-direction: column;
}

.floating-service-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
}

.floating-service-desc {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 2px;
}

.floating-service-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 15px 0;
}

.floating-service-group {
    text-align: center;
}

.floating-service-group p {
    font-size: 0.8rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.floating-service-group img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    border: none;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .announcements-grid {
        grid-template-columns: 1fr;
    }
    
    .game-card {
        flex: 0 0 250px;
        height: 350px;
    }
    
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer {
        padding: 30px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .footer-section {
        padding: 0;
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 20px;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 15px 0;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        margin-bottom: 0;
    }
    
    .game-disclaimer {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* 图片缺失时的占位样式 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.page-header {
    background: linear-gradient(135deg, var(--background-light), #f0ebe0);
}

.announcement-image img,
.game-image,
.game-list-image,
.game-intro-image,
.game-selector-image,
.download-image img {
    object-fit: cover;
    background: var(--card-bg);
}

.game-card {
    background: var(--card-bg);
}

.announcement-card .announcement-image {
    background: var(--card-bg);
}

.logo-img {
    background: var(--gradient-primary);
    border-radius: 8px;
}

/* 游戏详情区域样式 */
.game-details {
    background-color: var(--background-light);
}

.game-details-content {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 左侧游戏列表 */
.game-list {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.game-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--card-bg);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.game-list-item:hover {
    background-color: var(--hover-bg);
    transform: translateX(5px);
}

.game-list-item.active {
    border-color: var(--accent-color);
    background-color: rgba(233, 69, 96, 0.1);
}

.game-list-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.game-list-info {
    flex: 1;
}

.game-list-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.game-list-genre {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 右侧游戏详情面板 */
.game-detail-panel {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

/* Tab切换样式 */
.game-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.game-tab {
    background: none;
    border: none;
    color: var(--text-light);
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.game-tab:hover {
    color: var(--text-color);
    background-color: var(--hover-bg);
}

.game-tab.active {
    color: var(--accent-color);
    background-color: rgba(233, 69, 96, 0.1);
}

/* Tab内容样式 */
.game-tab-content {
    display: none;
}

.game-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 游戏介绍样式 */
.game-intro-header {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.game-intro-image {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
}

.game-intro-info {
    flex: 1;
}

.game-intro-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.game-intro-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.game-tag {
    background-color: var(--background-light);
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.game-intro-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffc107;
    font-size: 0.95rem;
}

.game-intro-rating span {
    color: var(--text-light);
    margin-left: 10px;
}

.game-intro-description {
    margin-bottom: 25px;
}

.game-intro-description h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.game-intro-description p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.game-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.game-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.game-features li i {
    color: var(--success-color);
}

.game-intro-actions {
    display: flex;
    gap: 15px;
}

/* 游戏视频样式 */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-color: var(--background-dark);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.video-placeholder:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.video-placeholder i {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.video-placeholder:hover i {
    transform: scale(1.1);
}

.video-placeholder p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    margin-bottom: 25px;
}

.video-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.video-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.video-stats {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.video-stats i {
    margin-right: 5px;
    color: var(--accent-color);
}

.video-list h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.video-thumbnails {
    display: flex;
    gap: 15px;
}

.video-thumbnail {
    position: relative;
    width: 150px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover {
    transform: translateY(-3px);
}

.video-thumbnail img {
    width: 100%;
    height: 85px;
    object-fit: cover;
    border-radius: 8px;
}

.video-thumbnail.active {
    border: 2px solid var(--accent-color);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--text-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .game-details-content {
        flex-direction: column;
    }
    
    .game-list {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .game-list-item {
        flex: 0 0 auto;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .game-intro-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .game-intro-tags {
        justify-content: center;
    }
    
    .game-intro-rating {
        justify-content: center;
    }
    
    .game-features {
        grid-template-columns: 1fr;
    }
    
    .game-intro-actions {
        justify-content: center;
    }
    
    .video-thumbnails {
        flex-wrap: wrap;
    }
    
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-thumbnail {
        width: calc(50% - 10px);
    }
}

/* 联系客服页面样式 */
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.contact-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 20px 15px;
    width: 200px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.5rem;
    color: var(--text-color);
}

.contact-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-color);
}

.contact-value {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 6px;
    font-weight: 500;
}

.contact-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.contact-qr-container {
    background-color: #ffffff;
    padding: 6px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 8px;
    border: none;
}

.contact-qr {
    width: 120px;
    height: 120px;
    display: block;
    object-fit: contain;
    border: none;
    outline: none;
}

.contact-status {
    color: var(--accent-color);
    font-size: 0.8rem;
    margin-top: 10px;
    padding-top: 10px;
    text-align: center;
}

.contact-note {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 8px;
    font-style: italic;
}

.btn-note {
    display: block;
    font-size: 0.7rem;
    font-weight: normal;
    margin-top: 4px;
    opacity: 0.9;
}

/* 在线客服聊天窗口 */
.chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    z-index: 1001;
    border: 1px solid var(--border-color);
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: var(--gradient-primary);
    color: var(--text-color);
    padding: 15px 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.chat-close:hover {
    transform: scale(1.1);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    gap: 10px;
    max-width: 80%;
}

.message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-color);
    flex-shrink: 0;
}

.message.user .message-avatar {
    background: var(--gradient-secondary);
}

.message-content {
    background-color: var(--background-light);
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-color);
}

.message.user .message-content {
    background-color: var(--accent-color);
}

.message-content p {
    margin: 0;
    line-height: 1.5;
}

.chat-input {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.chat-input-field {
    flex: 1;
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 10px 15px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.chat-input-field:focus {
    outline: none;
    border-color: var(--accent-color);
}

.chat-send {
    background: var(--gradient-primary);
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.chat-send:hover {
    transform: scale(1.1);
}

/* 常见问题样式 */
.faq-section {
    margin-bottom: 60px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--hover-bg);
}

.faq-question i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-answer a {
    color: var(--accent-color);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* 提交工单样式 */
.ticket-section {
    max-width: 800px;
    margin: 0 auto;
}

.ticket-form {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 8px;
}

/* 下载页面样式 */
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.download-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.download-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--card-bg);
}

.download-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.download-content {
    padding: 25px;
}

.download-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.download-info {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.download-version,
.download-size,
.download-date {
    font-size: 0.9rem;
    color: var(--text-light);
    background-color: var(--background-light);
    padding: 4px 10px;
    border-radius: 4px;
}

.download-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.download-btn-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.download-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.download-buttons .btn-outline {
    width: auto;
    min-width: 120px;
}

.download-notice {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.notice-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-list {
    list-style: none;
    padding-left: 0;
}

.notice-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.6;
}

.notice-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* 公告页面样式 */
/* 游戏选择器 */
.game-selector {
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.game-selector-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
    text-align: center;
}

.game-selector-list {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.game-selector-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    background-color: var(--background-light);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.game-selector-item:hover {
    background-color: var(--hover-bg);
    transform: translateY(-3px);
}

.game-selector-item.active {
    border-color: var(--accent-color);
    background-color: rgba(0, 212, 255, 0.1);
}

.game-selector-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.game-selector-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
}

/* 筛选区域 */
.filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.filter-count span {
    color: var(--accent-color);
    font-weight: 600;
}

.filter-tab {
    background-color: var(--card-bg);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-tab:hover,
.filter-tab.active {
    background-color: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
}

.announcements-table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.announcements-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.announcements-table thead {
    background-color: rgba(200, 169, 96, 0.1);
}

.announcements-table th {
    padding: 14px 18px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.announcements-table td {
    padding: 14px 18px;
    font-size: 0.9rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.announcements-table tbody tr {
    transition: background-color 0.2s ease;
}

.announcements-table tbody tr:hover {
    background-color: rgba(0, 212, 255, 0.05);
}

.announcements-table tbody tr:last-child td {
    border-bottom: none;
}

.th-title,
.td-title {
    text-align: left;
}

.th-game,
.th-category {
    text-align: center;
}

.td-title {
    font-weight: 500;
    max-width: 400px;
}

.announcement-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.announcement-link:hover {
    color: var(--accent-color);
}

.td-date {
    white-space: nowrap;
    color: var(--text-light);
}

.td-action {
    white-space: nowrap;
}

.announcement-game-tag {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: rgba(108, 92, 231, 0.2);
    color: #6c5ce7;
    display: inline-block;
}

.announcement-tag {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
}

.announcement-tag.update {
    background-color: rgba(0, 212, 255, 0.2);
    color: var(--accent-color);
}

.announcement-tag.activity {
    background-color: rgba(0, 230, 118, 0.2);
    color: var(--success-color);
}

.announcement-tag.maintenance {
    background-color: rgba(255, 171, 64, 0.2);
    color: var(--warning-color);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    background-color: var(--card-bg);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-btn:hover:not(.disabled) {
    background-color: var(--accent-color);
    color: var(--text-color);
    border-color: var(--accent-color);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

.pagination-number {
    background-color: var(--card-bg);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-number:hover,
.pagination-number.active {
    background-color: var(--accent-color);
    color: var(--text-color);
    border-color: var(--accent-color);
}

.pagination-ellipsis {
    color: var(--text-light);
    padding: 0 10px;
}

/* 二维码弹窗样式 */
.qrcode-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.qrcode-modal.active {
    display: flex;
}

.qrcode-modal-content {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
}

.qrcode-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.qrcode-modal-close:hover {
    color: var(--accent-color);
}

.qrcode-modal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.qrcode-modal-content > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.qrcode-list {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.qrcode-item img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    border: none;
    object-fit: cover;
}

.qrcode-item span {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

@media (max-width: 480px) {
    .qrcode-list {
        gap: 20px;
    }
    
    .qrcode-item img {
        width: 120px;
        height: 120px;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
}

/* 下载按钮组样式 */
.download-btn-group {
    position: relative;
    display: block;
}

.download-coming-soon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--text-light);
    background: rgba(255, 152, 0, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
}

/* 社交媒体图标悬浮弹窗样式 */
.social-link-wrapper {
    position: relative;
}

.social-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    margin-bottom: 10px;
}

.social-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--border-color);
}

.social-link-wrapper:hover .social-popup {
    opacity: 1;
    visibility: visible;
}

.social-popup p {
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 500;
}

.social-popup img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    object-fit: contain;
}

/* 轮播图样式 */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
}
.hero-slider .slider-container .slider-track .slider-slide img,
.hero-slider .slider-container .slider-track .slider-slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--background-light);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-slide.active {
    opacity: 1;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slider-overlay {
    display: none;
}

.hero-slider .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 80%;
    max-width: 800px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.2);
}

.slider-dot:hover {
    background-color: var(--accent-color);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 15, 40, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.slider-btn-prev {
    left: 20px;
}

.slider-btn-next {
    right: 20px;
}

@media (max-width: 768px) {
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-btn-prev {
        left: 10px;
    }
    
    .slider-btn-next {
        right: 10px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .announcements-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .announcements-table {
        min-width: 600px;
    }
    
    .th-game,
    .th-category,
    .th-date {
        display: none;
    }
    
    .announcement-card td:nth-child(2),
    .announcement-card td:nth-child(3),
    .announcement-card td:nth-child(4) {
        display: none;
    }
}

/* ========== 全局移动端适配 ========== */
@media (max-width: 768px) {
    /* 导航栏 */
    .navbar {
        padding: 10px 0;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 32px;
    }
    
    /* 轮播图 - 图片自适应高度 */
    .hero {
        height: auto !important;
        min-height: unset !important;
    }
    
    .hero-slider {
        min-height: unset !important;
        overflow: hidden;
        line-height: 0;
        font-size: 0;
    }
    
    .hero-slider .slider-container,
    .hero-slider .slider-track {
        height: auto;
        line-height: 0;
    }
    
    .hero-slider .slider-slide {
        position: relative;
        height: auto;
        overflow: hidden;
        line-height: 0;
    }
    
    .hero-slider .slider-slide:not(.active) {
        display: none;
    }
    
    .hero-slider .slider-slide img,
    .hero-slider .slider-slide video {
        width: 100%;
        height: auto;
        display: block;
        vertical-align: top;
    }
    
    .hero-slider .slider-btn,
    .hero-slider .slider-dots,
    .hero-slider .slider-overlay {
        display: none !important;
    }
    
    /* 子页面头部 */
    .page-header {
        height: 120px;
        min-height: unset;
        margin-top: 0;
        padding: 70px 10px 0;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center bottom !important;
    }
    
    /* 分区标题 */
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .section-title::after {
        width: 50px;
        height: 3px;
    }
    
    /* 公告卡片 */
    .announcements-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .announcement-image {
        height: 150px;
    }
    
    /* 游戏卡片横向滚动 */
    .games-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    
    .game-card {
        flex: 0 0 200px;
        height: 280px;
    }
    
    /* 游戏介绍区 */
    .game-intro-section {
        padding: 30px 0;
    }
    
    .game-intro-container {
        flex-direction: column;
    }
    
    .game-intro-image {
        width: 100%;
    }
    
    .game-intro-info {
        padding: 20px 0;
    }
    
    /* 下载页 */
    .download-card {
        flex-direction: column;
        text-align: center;
    }
    
    .download-card-content {
        padding: 20px;
    }
    
    .download-info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    /* 联系客服页 */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-cards-container {
        flex-direction: column;
    }
    
    .contact-card {
        flex: 1;
    }
    
    .qrcode-list {
        gap: 15px;
    }
    
    .qrcode-item img {
        width: 100px;
        height: 100px;
    }
    
    /* 悬浮按钮 */
    .floating-service {
        right: 10px;
    }
    
    .floating-service-btn {
        width: 45px;
        height: 100px;
        font-size: 12px;
        padding: 12px 0;
        border-radius: 22px;
    }
    
    .floating-service-btn i {
        font-size: 18px;
    }
    
    .floating-service-btn .btn-text {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
    
    .floating-service-panel {
        position: absolute;
        right: 75px;
        top: 50%;
        transform: translateY(-50%);
        width: 280px;
        max-height: 60vh;
        max-height: 60dvh;
        padding: 12px;
        z-index: 1001;
    }
    
    .floating-service-group img {
        width: 100px;
        height: 100px;
    }
    
    /* 页脚 */
    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }
    
    .game-details {
        grid-template-columns: 1fr;
    }
    
    /* 游戏落地页 */
    .game-page-container {
        flex-direction: column;
    }
    
    .game-sidebar {
        width: 100%;
    }
    
    .sidebar-section {
        padding: 15px;
    }
    
    .download-bar {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn-download {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* 搜索框 */
    .search-input {
        width: 100%;
    }
    
    .search-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-filter {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero {
        height: auto;
        min-height: unset;
    }
    
    .hero-slider {
        height: auto;
        min-height: unset;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .game-card {
        flex: 0 0 160px;
        height: 240px;
    }
    
    .qrcode-item img {
        width: 80px;
        height: 80px;
    }
    
    .floating-service-btn {
        width: 40px;
        height: 85px;
        font-size: 11px;
        padding: 10px 0;
        border-radius: 20px;
    }
    
    .floating-service-btn i {
        font-size: 16px;
    }
    
    .floating-service-btn .btn-text {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }
}