/* ========================================
   PixelPlay - 游戏中心样式表
   ======================================== */

/* CSS 变量 */
:root {
    --bg-primary: #0a0a14;
    --bg-secondary: #12121f;
    --bg-card: #1a1a2e;
    --bg-card-hover: #222240;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #6a6a80;
    --accent-cyan: #00f0ff;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-green: #22c55e;
    --accent-orange: #f97316;
    --accent-yellow: #fbbf24;
    --border-color: rgba(255, 255, 255, 0.08);
    --glow-cyan: 0 0 30px rgba(0, 240, 255, 0.3);
    --glow-purple: 0 0 30px rgba(168, 85, 247, 0.3);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* 动态背景 */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

.bg-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-cyan);
    top: -100px;
    left: -100px;
    animation: float-glow 20s ease-in-out infinite;
}

.bg-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    top: 30%;
    right: -100px;
    animation: float-glow 25s ease-in-out infinite reverse;
}

.bg-glow-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-pink);
    bottom: -50px;
    left: 30%;
    animation: float-glow 18s ease-in-out infinite;
}

@keyframes float-glow {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(50px, -30px); }
    66% { transform: translate(-30px, 40px); }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 20, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 20px;
}

.logo-icon {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent-cyan);
}

.nav-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.stat-icon {
    font-size: 16px;
}

.stat-value {
    color: var(--accent-yellow);
    font-family: 'Orbitron', sans-serif;
}

/* Hero 区域 */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 24px 60px;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 20px;
    font-size: 14px;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    animation: fade-in-up 0.8s ease;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fade-in-up 0.8s ease 0.1s both;
}

.title-line {
    display: block;
    color: var(--text-primary);
}

.title-gradient {
    display: block;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    animation: fade-in-up 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fade-in-up 0.8s ease 0.3s both;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Noto Sans SC', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.5);
}

.btn-arrow {
    transition: transform 0.3s;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: var(--bg-card);
    border-color: var(--text-secondary);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    animation: fade-in-up 0.8s ease 0.4s both;
}

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

.hero-stat-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero 视觉装饰 */
.hero-visual {
    flex: 1;
    max-width: 500px;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cube {
    position: absolute;
    border-radius: 12px;
    animation: float-cube 6s ease-in-out infinite;
}

.cube-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-cyan), rgba(0, 240, 255, 0.3));
    top: 10%;
    left: 20%;
    box-shadow: var(--glow-cyan);
    animation-delay: 0s;
}

.cube-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-purple), rgba(168, 85, 247, 0.3));
    top: 20%;
    right: 15%;
    box-shadow: var(--glow-purple);
    animation-delay: 1s;
}

.cube-3 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-pink), rgba(236, 72, 153, 0.3));
    bottom: 25%;
    left: 10%;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
    animation-delay: 2s;
}

.cube-4 {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-green), rgba(34, 197, 94, 0.3));
    bottom: 15%;
    right: 20%;
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
    animation-delay: 3s;
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
}

.ring-1 {
    width: 300px;
    height: 300px;
    border-color: rgba(0, 240, 255, 0.1);
    animation: rotate 20s linear infinite;
}

.ring-2 {
    width: 200px;
    height: 200px;
    border-color: rgba(168, 85, 247, 0.15);
    animation: rotate 15s linear infinite reverse;
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 通用 Section */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
}

/* 游戏库 */
.games-section {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px;
}

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

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    group: relative;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-accent, var(--accent-cyan));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--card-glow, rgba(0, 240, 255, 0.15));
}

.game-card-banner {
    height: 160px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg-gradient, linear-gradient(135deg, #1a1a2e, #16213e));
}

.game-card-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

.game-card-icon {
    font-size: 56px;
    z-index: 1;
    transition: var(--transition);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.game-card:hover .game-card-icon {
    transform: scale(1.2) rotate(5deg);
}

.game-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: var(--card-accent, var(--accent-cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000;
    transition: var(--transition);
    z-index: 2;
    opacity: 0;
}

.game-card:hover .game-card-play {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.game-card-body {
    padding: 20px;
}

.game-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-card-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
    font-weight: 600;
}

.game-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.game-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.game-card-highscore {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.game-card-highscore-value {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--accent-yellow);
}

.game-card-difficulty {
    display: flex;
    gap: 3px;
}

.diff-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-color);
}

.diff-dot.active {
    background: var(--card-accent, var(--accent-cyan));
}

/* 排行榜 */
.leaderboard-section {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px;
}

.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.leaderboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

.leaderboard-card:hover {
    border-color: var(--card-accent, var(--accent-cyan));
}

.leaderboard-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.leaderboard-card-icon {
    font-size: 28px;
}

.leaderboard-card-name {
    font-size: 16px;
    font-weight: 700;
}

.leaderboard-card-score {
    margin-left: auto;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--accent-yellow);
}

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

/* 关于 */
.about-section {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
}

.about-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.about-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

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

/* 页脚 */
.footer {
    position: relative;
    z-index: 1;
    padding: 40px 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 20px;
    margin-bottom: 8px;
}

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

/* 游戏弹窗 */
.game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.game-modal.active {
    display: flex;
    animation: fade-in 0.3s ease;
}

.game-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.game-modal-container {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    max-width: 920px;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: modal-slide-up 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modal-slide-up {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

.game-modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 12px;
}

.game-modal-scores {
    display: flex;
    gap: 24px;
}

.modal-score {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

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

.modal-score-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.modal-score:nth-child(1) .modal-score-value {
    color: var(--accent-cyan);
}

.modal-score:nth-child(2) .modal-score-value {
    color: var(--accent-yellow);
}

.game-modal-close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.game-modal-close:hover {
    background: rgba(236, 72, 153, 0.15);
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.game-modal-body {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 540px;
}

.game-modal-controls {
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border-color);
}

.controls-title {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 600;
}

.controls-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.control-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.control-key {
    padding: 2px 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-cyan);
}

/* 游戏画布通用样式 */
canvas {
    border-radius: var(--radius-sm);
    display: block;
}

/* 游戏覆盖层 */
.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 20, 0.9);
    border-radius: var(--radius-sm);
    z-index: 10;
    text-align: center;
    padding: 20px;
}

.game-overlay h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    margin-bottom: 8px;
}

.game-overlay p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.game-overlay .btn-primary {
    margin-bottom: 8px;
}

.game-canvas-wrapper {
    position: relative;
}

/* 外挂面板 */
.cheat-panel {
    padding: 12px 24px;
    border-top: 1px solid var(--border-color);
    background: rgba(168, 85, 247, 0.05);
}

.cheat-panel-title {
    font-size: 12px;
    color: #a855f7;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cheat-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cheat-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    background: rgba(168, 85, 247, 0.08);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    -webkit-user-select: none;
}

.cheat-btn:hover {
    border-color: #a855f7;
    color: #fff;
}

.cheat-btn.active {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.cheat-btn .cheat-icon {
    font-size: 15px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-size: 14px;
    z-index: 2000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* 移动端触屏控制 */
.touch-controls {
    display: none;
    margin-top: 16px;
    gap: 8px;
    justify-content: center;
}

.touch-btn {
    width: 56px;
    height: 56px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
}

.touch-btn:active {
    background: var(--accent-cyan);
    color: #000;
    transform: scale(0.95);
}

.touch-dpad {
    display: grid;
    grid-template-columns: repeat(3, 56px);
    grid-template-rows: repeat(3, 56px);
    gap: 4px;
}

.touch-dpad .touch-btn:nth-child(1) { grid-column: 2; grid-row: 1; }
.touch-dpad .touch-btn:nth-child(2) { grid-column: 1; grid-row: 2; }
.touch-dpad .touch-btn:nth-child(3) { grid-column: 3; grid-row: 2; }
.touch-dpad .touch-btn:nth-child(4) { grid-column: 2; grid-row: 3; }

/* 响应式 */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 80px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .section-title {
        font-size: 32px;
    }

    .nav-links {
        display: none;
    }

    .touch-controls {
        display: flex;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stat-num {
        font-size: 28px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 26px;
    }

    .game-modal-scores {
        gap: 16px;
    }
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bg-card-hover);
}
