/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
}

/* 首页专用样式 */

/* 顶部导航栏 */
.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 3px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.logo-text {
    font-family: 'Arial Black', sans-serif;
}

.brand-name {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 语言切换器 */
.language-selector {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3px;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .language-selector {
        padding: 3px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .flag {
        font-size: 14px;
    }
}

.lang-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.lang-btn.active {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

.flag {
    font-size: 16px;
}

/* 认证按钮 */
.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 15px;
    font-size: 14px;
}

/* 用户信息 */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.username {
    font-weight: bold;
}

.balance {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
}

/* 主要内容区域 */
.main-content {
    min-height: 100vh;
    background: transparent;
    color: white;
    padding-bottom: 80px; /* 为底部导航留出空间 */
}

/* 横幅区域 */
.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.banner-text {
    flex: 1;
    z-index: 2;
}

.banner-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 8px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: 18px;
    margin: 0 0 20px 0;
    opacity: 0.9;
}

/* 游戏分类按钮 */
.game-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.category-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    backdrop-filter: blur(10px);
    font-size: 14px;
}

.category-btn.active,
.category-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 宣传标语 */
.banner-slogan {
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.9;
}

.banner-slogan p {
    margin: 3px 0;
}

/* 横幅图片 */
.banner-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-character {
    position: relative;
    width: 200px;
    height: 200px;
}

.character {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    position: absolute;
    top: 40px;
    left: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.character::before {
    content: "🎮";
}

.casino-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.coin {
    position: absolute;
    font-size: 30px;
    animation: float 2s ease-in-out infinite;
}

.coin-1 {
    top: 20px;
    right: 20px;
    animation-delay: 0s;
}

.coin-2 {
    bottom: 20px;
    left: 20px;
    animation-delay: 0.7s;
}

.coin-3 {
    top: 50%;
    right: 10px;
    animation-delay: 1.4s;
}

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

/* 轮播图区域 */
.banner-section {
    padding: 0 20px 15px;
    margin-top: 10px; /* 增加间距，让banner和header之间有明显缝隙 */
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.banner-slider {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.banner-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 16px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.banner-btn {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.banner-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

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

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

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* 服务功能区域 */
.services-section {
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.services-grid {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 55px;
    height: 55px;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.service-item span {
    font-weight: bold;
    text-align: center;
    font-size: 10px;
}

/* 游戏内容区域 */
.games-section {
    padding: 20px;
}

.games-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-right: 20px; /* 右边距，让游戏区域往左移动 */
    display: flex;
    flex-direction: row !important;
    gap: 30px;
    align-items: flex-start;
    min-height: calc(100vh - 200px); /* 确保容器有足够高度 */
}

/* 左侧导航 */
.games-nav {
    width: 73px;
    min-width: 73px;
    max-width: 73px;
    height: calc(100vh - 120px); /* 减去顶部和底部导航高度 */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 10px 0;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    position: relative;
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 73px;
    height: 73px;
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    text-align: center;
    box-sizing: border-box;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.2), rgba(78, 205, 196, 0.2));
    border-left-color: #ff6b6b;
}

.nav-icon {
    font-size: 24px;
    width: 24px;
    text-align: center;
}

.nav-item span {
    font-size: 12px;
    line-height: 1.2;
    word-break: keep-all;
    font-weight: 500;
}

/* 右侧游戏内容 */
.games-content {
    flex: 1;
    order: 2;
    min-width: 0;
    max-height: calc(100vh - 120px); /* 减去顶部和底部导航高度 */
    overflow-y: auto; /* 允许垂直滚动 */
    padding-right: 10px; /* 为滚动条留出空间 */
}

.game-section {
    display: none;
}

.game-section.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    margin: 0;
}

.title-icon {
    font-size: 28px;
}

.view-all {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

/* 游戏网格 - 首页专用 */
.homepage .games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0;
}

.game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 8px 8px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.game-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: bold;
    text-shadow: none;
    z-index: 2;
}

.game-badge.hot {
    background: #ff4757;
    color: white;
}

.game-badge.new {
    background: #2ed573;
    color: white;
}

.game-badge.featured {
    background: #ffa502;
    color: white;
}

/* 旧的game-image样式已删除，现在使用img标签 */

/* 旧的game-name样式已删除，现在使用新的样式 */

.game-provider {
    font-size: 12px;
    opacity: 0.7;
}

/* 游戏提供商横幅 */
.providers-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    margin: 20px 0;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.providers-grid.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.providers-section {
    position: relative;
}

.provider-banner {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 80px;
}

.provider-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.pp-banner {
    background: linear-gradient(45deg, #ff9a56, #ff6b6b);
}

.ag-banner {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.bbin-banner {
    background: linear-gradient(45deg, #2c3e50, #3498db);
}

.fg-banner {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.jdb-banner {
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
}

.lgd-banner {
    background: linear-gradient(45deg, #f39c12, #e67e22);
}

.mg-banner {
    background: linear-gradient(45deg, #1abc9c, #16a085);
}

.mw-banner {
    background: linear-gradient(45deg, #34495e, #2c3e50);
}

.wl-banner {
    background: linear-gradient(45deg, #e91e63, #ad1457);
}

/* 新增提供商横幅样式 */
.og-banner {
    background: linear-gradient(45deg, #ff9800, #f57c00);
}

.bg-banner {
    background: linear-gradient(45deg, #2196f3, #1976d2);
}

.allbet-banner {
    background: linear-gradient(45deg, #4caf50, #388e3c);
}

.pm-banner {
    background: linear-gradient(45deg, #e91e63, #c2185b);
}

.wm-banner {
    background: linear-gradient(45deg, #607d8b, #455a64);
}

.bb-banner {
    background: linear-gradient(45deg, #795548, #5d4037);
}

.cq9-banner {
    background: linear-gradient(45deg, #ff5722, #d84315);
}

.ky-banner {
    background: linear-gradient(45deg, #3f51b5, #303f9f);
}

.leg-banner {
    background: linear-gradient(45deg, #00bcd4, #0097a7);
}

.mt-banner {
    background: linear-gradient(45deg, #8bc34a, #689f38);
}

.nw-banner {
    background: linear-gradient(45deg, #ffc107, #ff8f00);
}

.provider-character {
    font-size: 32px;
}

/* 底部导航栏 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 75px;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    min-width: 50px;
    color: rgba(255, 255, 255, 0.7);
    height: 65px;
    justify-content: center;
}

.bottom-nav .nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bottom-nav .nav-item.active {
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.3), rgba(78, 205, 196, 0.3));
    color: #4ecdc4;
    transform: translateY(-2px);
}

.bottom-nav .nav-icon {
    font-size: 22px;
    font-weight: bold;
}

.bottom-nav span {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    color: white;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close:hover {
    color: #ff6b6b;
}

.modal h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #4ecdc4;
}

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4ecdc4;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input[type="checkbox"] {
    width: auto;
}

/* Toast 消息已删除 */

/* 响应式设计 - 只调整其他元素，左侧导航栏始终固定 */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
        min-height: 45px;
    }
    
    .brand-name {
        font-size: 18px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .language-selector {
        display: flex;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .game-categories {
        justify-content: center;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero-character {
        width: 150px;
        height: 150px;
    }
    
    .character {
        width: 100px;
        height: 100px;
        font-size: 40px;
        top: 25px;
        left: 25px;
    }
    
    .homepage .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .game-card {
        aspect-ratio: 1;
    }
    
    /* 旧的game-image样式已删除 */
    
    .providers-grid {
        grid-template-columns: 1fr;
    }
    
    .provider-banner {
        padding: 20px;
        font-size: 20px;
    }
    
    .provider-character {
        font-size: 30px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    .bottom-nav {
        padding: 6px 0;
        height: 65px;
    }
    
    .bottom-nav .nav-item {
        padding: 4px 6px;
        min-width: 40px;
        height: 55px;
        justify-content: center;
    }
    
    .bottom-nav .nav-icon {
        font-size: 18px;
    }
    
    .bottom-nav span {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
        min-height: 40px;
    }
    
    .brand-name {
        font-size: 16px;
    }
    
    .header-actions {
        gap: 6px;
    }
    
    .services-grid {
        justify-content: flex-start;
        gap: 8px;
        padding: 0 5px;
    }
    
    /* 轮播图移动端样式 */
    .banner-section {
        padding: 0 10px 12px;
        margin-top: 8px; /* 增加间距，让banner和header之间有明显缝隙 */
    }
    
    .banner-slider {
        height: 120px;
    }
    
    .banner-content h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .banner-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .banner-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    /* 服务区域移动端样式 */
    .services-section {
        padding: 8px 6px;
    }
    
    .services-grid {
        display: flex;
        justify-content: flex-end;
        gap: 4px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .service-item {
        padding: 4px;
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }
    
    .service-icon {
        font-size: 16px;
    }
    
    .service-item span {
        font-size: 8px;
    }
    
    .homepage .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .game-card {
        aspect-ratio: 1;
    }
    
    .game-name {
        font-size: 10px;
        padding: 15px 6px 6px;
    }
    
    .game-badge {
        top: 4px;
        right: 4px;
        padding: 1px 4px;
        font-size: 8px;
    }
    
    /* 旧的game-image样式已删除 */
    
    .game-name {
        font-size: 14px;
    }
    
    .game-provider {
        font-size: 10px;
    }
}

/* Games页面特定样式 */
.games-content {
    padding: 0;
}

.page-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin: 20px;
    backdrop-filter: blur(10px);
}

.games-section {
    padding: 20px;
}

.back-button {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 15px;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-2px);
}

.back-button i {
    font-size: 18px;
    color: #4ecdc4;
}

.page-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin: 0;
}

.platform-tabs {
    padding: 0 20px;
    margin-bottom: 20px;
}

.platform-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.platform-tab {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.platform-tab:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.platform-tab.active {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.search-section {
    padding: 0 20px;
    margin-bottom: 20px;
}

.search-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    font-size: 14px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    outline: none;
    border-color: #4ecdc4;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

.games-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0;
}

.games-header h2 {
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin: 0;
}

.games-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 500;
}

.load-more-section {
    text-align: center;
    padding: 20px;
}

.load-more-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.load-more-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #4ecdc4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.load-more-btn i {
    margin-right: 8px;
}

/* Games页面响应式 */
@media (max-width: 768px) {
    .page-header {
        padding: 15px;
        margin: 15px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .platform-tabs {
        padding: 0 15px;
    }
    
    .search-section {
        padding: 0 15px;
    }
    
    .games-header {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 12px;
        margin: 12px;
    }
    
    .page-title {
        font-size: 18px;
    }
    
    .platform-tabs {
        padding: 0 12px;
    }
    
    .search-section {
        padding: 0 12px;
    }
    
    .games-header {
        padding: 0;
    }
}

    .page-header {
        padding: 15px;
        margin: 15px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .platform-tabs {
        padding: 0 15px;
    }
    
    .search-section {
        padding: 0 15px;
    }
    
    .games-header {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 12px;
        margin: 12px;
    }
    
    .page-title {
        font-size: 18px;
    }
    
    .platform-tabs {
        padding: 0 12px;
    }
    
    .search-section {
        padding: 0 12px;
    }
    
    .games-header {
        padding: 0;
    }
}
