/**
 * 环球游戏加速器 - 主样式文件
 * 
 * 游戏风格设计，深色主题
 */

/* ========== CSS变量 ========== */
:root {
    /* 主色调 - 游戏风格蓝紫色 */
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #e0e7ff;
    --primary-dark: #4338ca;
    
    /* 辅助色 */
    --accent-color: #22d3ee;
    --accent-hover: #06b6d4;
    --success-color: #22c55e;
    --warning-color: #eab308;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    
    /* 渐变 - 游戏风格 */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    --gradient-dark: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    --gradient-card: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    
    /* 文字颜色 */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-white: #ffffff;
    
    /* 背景 */
    --bg-body: #0f0f1a;
    --bg-white: #1a1a2e;
    --bg-light: #16213e;
    --bg-dark: #0a0a14;
    --bg-card: #1e1e32;
    
    /* 边框 */
    --border-color: #2d2d44;
    --border-light: #3d3d5c;
    
    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.4);
    --shadow-neon: 0 0 20px rgba(34, 211, 238, 0.5);
    
    /* 过渡 */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 容器宽度 */
    --container-max: 1400px;
    --container-lg: 1200px;
    --container-md: 960px;
}

/* ========== 全局重置 ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

ul, ol {
    list-style: none;
}

/* ========== 布局容器 ========== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

/* ========== 头部导航 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.header.scrolled {
    height: 64px;
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-glow);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-text span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--accent-color);
    background: rgba(34, 211, 238, 0.1);
}

/* 头部操作区 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-panel {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 8px 8px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.user-balance {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-balance .icon {
    font-size: 16px;
}

.user-balance .amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--success-color);
}

.user-phone {
    font-size: 14px;
    color: var(--text-secondary);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.user-avatar:hover {
    transform: scale(1.05);
}

/* ========== 按钮系统 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--accent-color);
}

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

.btn-outline:hover {
    background: rgba(34, 211, 238, 0.1);
    box-shadow: var(--shadow-neon);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 14px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ========== Hero区域 ========== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 100px;
    background: var(--gradient-dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(34, 211, 238, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-decoration {
    position: absolute;
    pointer-events: none;
}

.hero-decoration-1 {
    top: 15%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-decoration-2 {
    top: 60%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-decoration-3 {
    bottom: 10%;
    left: 15%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: calc(100vh - 240px);
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: var(--radius-full);
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #22d3ee 0%, #6366f1 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.hero-stat {
    position: relative;
    padding-left: 20px;
}

.hero-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.hero-stat-value {
    font-size: 36px;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Hero右侧预览 */
.hero-preview {
    position: relative;
}

.hero-preview-card {
    position: relative;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-2xl);
}

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

.preview-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-dark);
    padding: 4px;
    border-radius: var(--radius-md);
}

.preview-tab {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.preview-tab.active {
    background: var(--gradient-primary);
    color: white;
}

.preview-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--success-color);
}

.preview-status .dot {
    width: 6px;
    height: 6px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.preview-input {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.6;
}

.preview-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.preview-option {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
}

.preview-option-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.preview-option-value {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.preview-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: white;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-glow);
    transition: all var(--transition-fast);
}

.preview-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

/* 浮动卡片 */
.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 3s ease-in-out infinite;
}

.floating-card-1 {
    top: -30px;
    right: -40px;
}

.floating-card-2 {
    bottom: 60px;
    left: -60px;
    animation-delay: 1.5s;
}

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

.floating-card .icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.floating-card .icon.purple { background: rgba(139, 92, 246, 0.2); }
.floating-card .icon.green { background: rgba(34, 197, 94, 0.2); }

.floating-card .info {
    line-height: 1.3;
}

.floating-card .label {
    font-size: 12px;
    color: var(--text-muted);
}

.floating-card .value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ========== 功能介绍区 ========== */
.features-section {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.feature-icon.text { background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2)); }
.feature-icon.image { background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(6, 182, 212, 0.2)); }
.feature-icon.template { background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.2)); }

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: rgba(34, 197, 94, 0.2);
    color: var(--success-color);
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== 游戏支持区域 ========== */
.create-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-neon);
}

.game-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.game-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.game-platform {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========== 套餐区域 ========== */
.packages-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.packages-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 0;
}

.package-item {
    flex: 0 0 220px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
}

.package-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.package-item.featured {
    border-color: var(--primary-color);
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(99, 102, 241, 0.1) 100%);
}

.package-hot {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 10px;
}

.package-icon-sm {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.package-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.package-main-price {
    margin-bottom: 10px;
}

.package-main-price .price-symbol {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
    vertical-align: top;
}

.package-main-price .price-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.package-get {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.package-get strong {
    color: var(--success-color);
    font-weight: 700;
}

.package-tip {
    font-size: 11px;
    color: var(--success-color);
    background: rgba(34, 197, 94, 0.1);
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 12px;
}

.package-features {
    padding: 0 5px;
}

.package-features li {
    padding: 4px 0;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: left;
}

.package-buy-btn {
    width: 100%;
    padding: 10px 14px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-glow);
}

.package-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
}

.packages-note {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

/* ========== 下载中心 ========== */
.pricing-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.download-content {
    max-width: 900px;
    margin: 0 auto;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    transition: all var(--transition-fast);
}

.download-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.download-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.download-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.download-version {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

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

.download-tips h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.download-tips ol {
    counter-reset: step;
    padding-left: 0;
}

.download-tips li {
    counter-increment: step;
    padding: 12px 0 12px 40px;
    position: relative;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.download-tips li:last-child {
    border-bottom: none;
}

.download-tips li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== 合规说明 ========== */
.compliance-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.compliance-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-normal);
}

.compliance-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.compliance-icon {
    width: 56px;
    height: 56px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.compliance-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.compliance-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== 页脚 ========== */
.footer {
    background: var(--bg-dark);
    color: var(--text-primary);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

.footer-contact h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.contact-item .icon {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a, .footer-legal span {
    font-size: 14px;
    color: var(--text-muted);
}

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

/* ========== 弹窗 ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-2xl);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.modal-body {
    padding: 32px;
}

/* ========== 表单 ========== */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    background: var(--bg-dark);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-input {
    flex: 1;
}

.sms-btn {
    padding: 14px 24px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.sms-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
}

.sms-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary-color);
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* ========== 支付弹窗 ========== */
.payment-methods {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.payment-method {
    flex: 1;
    padding: 20px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.payment-method:hover {
    background: var(--bg-dark);
    border-color: var(--border-color);
}

.payment-method.selected {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
}

.payment-method .icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.payment-method .name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.payment-summary {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 28px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px dashed var(--border-color);
}

.payment-row:last-child {
    border-bottom: none;
}

.payment-row.total {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid var(--border-color);
    border-bottom: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.payment-row.total .value {
    color: var(--accent-color);
    font-size: 24px;
}

/* ========== Toast通知 ========== */
.toast-container {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 320px;
    max-width: 450px;
    animation: toastIn 0.4s ease;
}

@keyframes toastIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast .icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.toast.success .icon {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success-color);
}

.toast.error .icon {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
}

.toast.warning .icon {
    background: rgba(234, 179, 8, 0.2);
    color: var(--warning-color);
}

.toast.info .icon {
    background: rgba(59, 130, 246, 0.2);
    color: var(--info-color);
}

.toast .message {
    flex: 1;
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.4;
}

/* ========== 漂浮客服按钮 ========== */
.floating-service {
    position: fixed;
    right: -34px;
    bottom: 70px;
    z-index: 999;
    transition: right 0.3s ease;
}

.floating-service:hover {
    right: 0;
}

.back-to-top {
    z-index: 998;
    right: 20px !important;
    bottom: 20px !important;
    width: 36px !important;
    height: 36px !important;
}

.service-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 10px 8px;
    min-width: 48px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    color: white;
    border-radius: 14px;
    box-shadow: var(--shadow-glow);
    text-decoration: none;
    transition: all 0.3s;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
}

.service-btn:hover {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
}

.service-icon {
    font-size: 18px;
    line-height: 1;
}

.service-text {
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
}

/* ========== 在线聊天框 ========== */
.chat-box {
    position: fixed;
    right: 24px;
    bottom: 150px;
    width: 360px;
    height: 450px;
    max-height: calc(100vh - 180px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: var(--shadow-2xl);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s;
    overflow: hidden;
}

.chat-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--gradient-primary);
    color: white;
    flex-shrink: 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.chat-title {
    font-size: 15px;
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chat-close {
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--bg-dark);
}

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

.chat-message.bot {
    align-self: flex-start;
}

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

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

.message-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message-text {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
}

.chat-message.bot .message-text {
    background: var(--bg-card);
    color: var(--text-primary);
}

.chat-message.user .message-text {
    background: var(--gradient-primary);
    color: white;
}

.message-time {
    font-size: 11px;
    color: var(--text-muted);
    padding: 0 4px;
}

.chat-quick-replies {
    padding: 10px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.chat-quick-replies button {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    border-radius: 16px;
    font-size: 12px;
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.2s;
}

.chat-quick-replies button:hover {
    background: rgba(34, 211, 238, 0.1);
    border-color: var(--accent-color);
}

.chat-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.chat-input-area input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-primary);
}

.chat-input-area input:focus {
    border-color: var(--primary-color);
}

.chat-send {
    padding: 10px 18px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* ========== 响应式设计 ========== */
/* 支持：PC端、平板、手机、iOS、Android */

/* 超大屏幕 1400px+ */
@media (max-width: 1400px) {
    .container {
        padding: 0 30px;
    }
}

/* 大屏幕 1200px */
@media (max-width: 1200px) {
    .container {
        padding: 0 28px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-preview {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .nav-menu a {
        padding: 8px 14px;
        font-size: 14px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
}

/* 平板 992px */
@media (max-width: 992px) {
    .container {
        padding: 0 24px;
    }
    
    .header .container {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .nav-menu a {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .compliance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-cards {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 34px;
    }
    
    .packages-row {
        gap: 12px;
    }
    
    .package-item {
        flex: 0 0 200px;
        padding: 24px 16px;
    }
}

/* 小平板/大手机 768px */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header {
        height: auto;
        min-height: 60px;
        padding: 10px 0;
    }
    
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .nav-menu a {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .packages-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .package-item {
        flex: 0 0 auto;
        width: 100%;
        max-width: 320px;
        padding: 28px 24px;
    }
    
    .compliance-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        min-width: 80px;
    }
    
    /* 聊天框适配 */
    .chat-box {
        width: calc(100vw - 40px);
        max-width: 320px;
        right: 20px;
        bottom: 140px;
        height: 400px;
        max-height: calc(100vh - 160px);
    }
    
    .floating-service {
        right: -30px;
        bottom: 60px;
    }
    
    .floating-service:hover {
        right: 0;
    }
    
    .floating-service .service-btn {
        width: 42px;
        height: 42px;
        padding: 8px 6px;
    }
    
    .floating-service .service-icon {
        font-size: 16px;
    }
    
    .floating-service .service-text {
        font-size: 8px;
    }
    
    .back-to-top {
        right: 16px !important;
        bottom: 16px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }
    
    /* 模态框适配 */
    .modal-content {
        margin: 20px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }
}

/* 手机 576px */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    
    .header {
        padding: 8px 0;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .nav-menu {
        gap: 3px;
    }
    
    .nav-menu a {
        padding: 5px 8px;
        font-size: 11px;
    }
    
    .hero-section {
        padding-top: 90px;
        padding-bottom: 40px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-label {
        font-size: 11px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .game-card {
        padding: 12px;
    }
    
    .package-item {
        max-width: 100%;
        padding: 24px 20px;
    }
    
    .download-card {
        padding: 24px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .chat-box {
        width: calc(100vw - 32px);
        max-width: 300px;
        right: 16px;
        bottom: 130px;
        height: 360px;
        max-height: calc(100vh - 150px);
    }
    
    .floating-service {
        right: -26px;
        bottom: 52px;
    }
    
    .floating-service:hover {
        right: 0;
    }
    
    .floating-service .service-btn {
        width: 38px;
        height: 38px;
        padding: 6px 4px;
    }
    
    .floating-service .service-icon {
        font-size: 14px;
    }
    
    .floating-service .service-text {
        display: none;
    }
    
    .back-to-top {
        right: 12px !important;
        bottom: 12px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 11px !important;
    }
    
    .hero-content {
        min-height: auto;
        padding: 20px 0;
    }
    
    .hero-stats {
        gap: 16px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}

/* 小手机 480px */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .nav-menu a {
        padding: 4px 6px;
        font-size: 10px;
    }
    
    .hero-title {
        font-size: 22px;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .section-subtitle {
        font-size: 13px;
    }
    
    .btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .feature-title {
        font-size: 16px;
    }
    
    .package-item {
        padding: 20px 16px;
    }
    
    .package-title {
        font-size: 15px;
    }
    
    .price-value {
        font-size: 32px;
    }
    
    .compliance-card {
        padding: 20px;
    }
    
    .modal-content {
        margin: 10px;
        padding: 24px 16px;
    }
    
    .chat-box {
        width: calc(100vw - 24px);
        right: 12px;
        bottom: 120px;
        height: 320px;
    }
    
    .floating-service {
        right: -22px;
        bottom: 48px;
    }
    
    .floating-service:hover {
        right: 0;
    }
    
    .floating-service .service-btn {
        width: 34px;
        height: 34px;
        padding: 5px 3px;
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    
    .floating-service .service-icon {
        font-size: 12px;
    }
    
    .back-to-top {
        right: 10px !important;
        bottom: 10px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 10px !important;
        border-radius: 6px !important;
    }
    
    .hero-stats {
        gap: 12px;
    }
    
    .stat-value {
        font-size: 24px;
    }
}

/* 超小手机 360px */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .logo-text {
        font-size: 12px;
    }
    
    .logo-icon {
        width: 24px;
        height: 24px;
    }
    
    .nav-menu a {
        padding: 3px 5px;
        font-size: 9px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* iOS Safari 安全区域适配 */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
    
    .floating-service {
        bottom: calc(52px + env(safe-area-inset-bottom));
    }
    
    .floating-service:hover {
        right: 0;
    }
    
    .chat-box {
        bottom: calc(100px + env(safe-area-inset-bottom));
    }
    
    .back-to-top {
        bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    }
    
    .modal-content {
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }
}

/* 横屏模式 */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .modal-content {
        max-height: 90vh;
    }
}

/* 高分辨率屏幕 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon,
    .feature-icon,
    .package-icon-sm {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    .package-item:hover {
        transform: none;
    }
    
    .game-card:hover {
        transform: none;
    }
    
    /* 增大触摸区域 */
    .nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .btn {
        min-height: 44px;
    }
}

/* 减少动画（用户偏好） */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 深色模式支持（已是深色主题，保持一致） */
@media (prefers-color-scheme: dark) {
    /* 已是深色主题，无需额外调整 */
}
