/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* FPS显示器样式 */
.fps-counter {
    position: fixed;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 30%,
        rgba(0, 0, 0, 0.7) 70%,
        rgba(0, 0, 0, 0.75) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 8px 12px;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    z-index: 9999;
    min-width: 60px;
    text-align: center;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    user-select: none;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.fps-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 100%);
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}

.fps-counter.low-fps {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
}

.fps-counter.medium-fps {
    color: #ffd93d;
    border-color: rgba(255, 217, 61, 0.3);
}

.fps-counter.high-fps {
    color: #6bcf7f;
    border-color: rgba(107, 207, 127, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 高性能烟雾背景效果 */
.smoke-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at center, white 0%, orange 100%);
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.smoke-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
}

/* 高性能鼠标跟随烟雾效果 */
.mouse-smoke {
    position: fixed;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 30%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.3s ease;
    opacity: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
}

.mouse-smoke.active {
    opacity: 1;
    animation: smokeExpand 2s ease-out forwards;
}

@keyframes smokeExpand {
    0% {
        transform: translate3d(-50%, -50%, 0) scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: translate3d(-50%, -50%, 0) scale(3);
        opacity: 0;
    }
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    position: relative;
    z-index: 2;
}

/* 性能优化通用规则 */
* {
    box-sizing: border-box;
}

/* 为动画元素启用硬件加速 */
.game-card,
.category-btn,
.search-btn,
.load-more-btn,
.mouse-smoke,
.smoke-canvas,
.smoke-background {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* 优化过渡性能 */
.game-card,
.category-btn,
.search-btn,
.load-more-btn {
    will-change: transform;
}

/* 减少重绘 */
.game-image {
    transform: translateZ(0);
}

/* 优化模糊效果 */
.modal-content,
.hero-section,
.games-section {
    contain: layout style paint;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}





/* 头部导航样式 */
.header {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 0, 0, 0.4) 30%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.7) 100%);
    backdrop-filter: blur(32px) saturate(220%) brightness(1.05);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 1px 8px rgba(255, 255, 255, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.12),
        inset 0 -1px 1px rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        transparent 100%);
    pointer-events: none;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    margin: 0;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backdrop-filter: blur(8px);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 4px 12px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.search-container {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 50%, 
        rgba(255, 255, 255, 0.12) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    padding: 0.5rem;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 1px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px) saturate(150%);
    transition: all 0.3s ease;
}

.search-container:focus-within {
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.12) 50%, 
        rgba(255, 255, 255, 0.18) 100%);
}

.search-input {
    border: none;
    outline: none;
    background: transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    width: 300px;
    border-radius: 25px;
    color: #fff;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-btn {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0.22) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.search-btn:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.25) 50%, 
        rgba(255, 255, 255, 0.32) 100%);
    transform: scale3d(1.1, 1.1, 1);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* 主内容区域 */
.main-content {
    margin-top: 90px;
    padding: 2rem 0;
}

/* 横幅区域 */
.hero-section {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.06) 0%, 
        rgba(255, 255, 255, 0.02) 30%,
        rgba(255, 255, 255, 0.04) 70%,
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(28px) saturate(200%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    border-radius: 24px;
    box-shadow: 
        0 24px 56px rgba(0, 0, 0, 0.4),
        0 12px 28px rgba(0, 0, 0, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.15),
        inset 0 -1px 2px rgba(255, 255, 255, 0.08),
        inset 2px 0 2px rgba(255, 255, 255, 0.05),
        inset -2px 0 2px rgba(255, 255, 255, 0.05);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 40%,
        rgba(255, 255, 255, 0.01) 70%,
        transparent 100%);
    border-radius: 24px 24px 0 0;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.01) 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.01) 75%,
        rgba(255, 255, 255, 0.03) 100%);
    border-radius: 26px;
    pointer-events: none;
    z-index: -1;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}



/* 分类区域 */
.categories-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-btn {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.02) 30%,
        rgba(255, 255, 255, 0.05) 70%,
        rgba(255, 255, 255, 0.07) 100%);
    backdrop-filter: blur(20px) saturate(180%) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.175);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #fff;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 1px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        inset 0 -1px 1px rgba(255, 255, 255, 0.05),
        inset 1px 0 1px rgba(255, 255, 255, 0.08),
        inset -1px 0 1px rgba(255, 255, 255, 0.08);
    will-change: transform, box-shadow;
    transform: translateZ(0) translateY(0);
    backface-visibility: hidden;
    position: relative;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.06) 50%,
        transparent 100%);
    border-radius: 18px 18px 0 0;
    pointer-events: none;
}

.category-btn::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.03) 100%);
    border-radius: 19px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.category-btn:hover {
    transform: translate3d(0, -8px, 0) scale(1.06) rotateX(1deg);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.4),
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        inset 0 -1px 2px rgba(255, 255, 255, 0.1),
        inset 1px 0 2px rgba(255, 255, 255, 0.12),
        inset -1px 0 2px rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(255, 255, 255, 0.04) 30%,
        rgba(255, 255, 255, 0.08) 70%,
        rgba(255, 255, 255, 0.11) 100%);
    border-color: rgba(255, 255, 255, 0.25);
}

.category-btn:hover::before {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
}

.category-btn:hover::after {
    opacity: 0.6;
}

.category-btn.active {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.18) 0%, 
        rgba(255, 255, 255, 0.08) 30%,
        rgba(255, 255, 255, 0.12) 70%,
        rgba(255, 255, 255, 0.16) 100%);
    color: white;
    transform: translate3d(0, -6px, 0) scale(1.02);
    box-shadow: 
        0 12px 36px rgba(255, 255, 255, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -1px 2px rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.category-btn.active::before {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.12) 50%,
        transparent 100%);
}

.category-btn.active::after {
    opacity: 0.4;
}

.category-btn i {
    font-size: 1.5rem;
}

/* 游戏区域 */
.games-section {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.06) 0%, 
        rgba(255, 255, 255, 0.02) 30%,
        rgba(255, 255, 255, 0.04) 70%,
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(28px) saturate(200%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 
        0 24px 56px rgba(0, 0, 0, 0.4),
        0 12px 28px rgba(0, 0, 0, 0.25),
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.15),
        inset 0 -1px 2px rgba(255, 255, 255, 0.08),
        inset 2px 0 2px rgba(255, 255, 255, 0.05),
        inset -2px 0 2px rgba(255, 255, 255, 0.05);
    margin-bottom: 3rem;
    position: relative;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 40%,
        rgba(255, 255, 255, 0.01) 70%,
        transparent 100%);
    border-radius: 24px 24px 0 0;
    pointer-events: none;
}

.games-section::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.01) 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.01) 75%,
        rgba(255, 255, 255, 0.03) 100%);
    border-radius: 26px;
    pointer-events: none;
    z-index: -1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header .section-title {
    color: #fff;
    margin-bottom: 0;
    text-align: left;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}

.sort-select:focus {
    border-color: #667eea;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.game-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.09) 0%, 
        rgba(255, 255, 255, 0.03) 30%,
        rgba(255, 255, 255, 0.06) 70%,
        rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(24px) saturate(200%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.4),
        0 8px 24px rgba(0, 0, 0, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.25),
        inset 0 -1px 1px rgba(255, 255, 255, 0.08),
        inset 1px 0 1px rgba(255, 255, 255, 0.1),
        inset -1px 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    will-change: transform, box-shadow, background;
    transform: translateZ(0) translateY(0);
    backface-visibility: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 30%,
        rgba(255, 255, 255, 0.02) 60%,
        transparent 100%);
    border-radius: 20px 20px 0 0;
    pointer-events: none;
    z-index: 1;
}

.game-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.02) 75%,
        rgba(255, 255, 255, 0.06) 100%);
    border-radius: 22px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.game-card:hover {
    transform: translate3d(0, -12px, 0) scale(1.03) rotateX(2deg);
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.5),
        0 16px 32px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -1px 2px rgba(255, 255, 255, 0.15),
        inset 1px 0 2px rgba(255, 255, 255, 0.15),
        inset -1px 0 2px rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.06) 30%,
        rgba(255, 255, 255, 0.09) 70%,
        rgba(255, 255, 255, 0.12) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.game-card:hover::before {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.05) 60%,
        transparent 100%);
}

.game-card:hover::after {
    opacity: 0.8;
}



.game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.175);
    border-radius: 16px 16px 0 0;
    position: relative;
    z-index: 2;
}

.game-card:hover .game-image {
    transform: scale(1.06) translateY(-1px);
    filter: brightness(1.1) saturate(1.2);
}

.game-info {
    padding: 1rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.01) 50%,
        transparent 100%);
    backdrop-filter: blur(8px);
}



.game-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 0 8px rgba(255, 255, 255, 0.1);
    position: relative;
}

.game-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.game-category {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #f59e0b;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg,
        rgba(102, 126, 234, 0.95) 0%,
        rgba(102, 126, 234, 0.8) 30%,
        rgba(102, 126, 234, 0.9) 70%,
        rgba(102, 126, 234, 0.92) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.175);
    backdrop-filter: blur(12px) saturate(150%);
    box-shadow: 
        0 8px 24px rgba(102, 126, 234, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    border-radius: 25px 25px 0 0;
    pointer-events: none;
}

.game-card:hover .play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotateX(2deg);
    box-shadow: 
        0 12px 32px rgba(102, 126, 234, 0.5),
        0 6px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.load-more-container {
    text-align: center;
}

.load-more-btn {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.85) 0%, 
        rgba(102, 126, 234, 0.65) 30%,
        rgba(102, 126, 234, 0.75) 70%,
        rgba(102, 126, 234, 0.8) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 2rem;
    border-radius: 28px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.175);
    will-change: transform, box-shadow;
    transform: translateZ(0) translateY(0);
    backface-visibility: hidden;
    box-shadow: 
        0 12px 32px rgba(102, 126, 234, 0.4),
        0 6px 16px rgba(102, 126, 234, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.25),
        inset 0 -1px 2px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px) saturate(180%);
    position: relative;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 100%);
    border-radius: 28px 28px 0 0;
    pointer-events: none;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, 
        rgba(90, 103, 216, 0.95) 0%, 
        rgba(90, 103, 216, 0.75) 30%,
        rgba(90, 103, 216, 0.85) 70%,
        rgba(90, 103, 216, 0.9) 100%);
    transform: translate3d(0, -6px, 0) scale(1.03) rotateX(1deg);
    box-shadow: 
        0 20px 48px rgba(102, 126, 234, 0.5),
        0 12px 24px rgba(102, 126, 234, 0.35),
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.35),
        inset 0 -1px 2px rgba(255, 255, 255, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
}

.load-more-btn:hover::before {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.12) 50%,
        transparent 100%);
}

/* 页脚样式 */
.footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* 模态框样式 */
.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 .smoke-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.modal .mouse-smoke {
    position: fixed;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 30%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.3s ease;
    opacity: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
}

.modal .mouse-smoke.active {
    opacity: 1;
    animation: smokeExpand 2s ease-out forwards;
}

.modal-content {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 95%;
    max-width: 1000px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    max-height: 95vh;
    overflow-y: auto;
    z-index: 3;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* 加载动画 */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

.loading-spinner {
    text-align: center;
    color: white;
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.loading-spinner p {
    font-size: 1.2rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 20px;
    }

    .nav-menu ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-input {
        width: 200px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }

    .main-content {
        margin-top: 140px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .category-btn {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .category-btn i {
        font-size: 1.2rem;
    }

    .fps-counter {
        top: 10px;
        left: 10px;
        padding: 6px 10px;
        font-size: 12px;
        min-width: 50px;
    }
}

/* 全屏游戏详情页面 */
.fullscreen-detail {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 3000;
    overflow-y: auto;
    animation: slideInFromRight 0.3s ease;
}

/* 全屏详情页面烟雾效果 */
.fullscreen-detail .smoke-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.fullscreen-detail .mouse-smoke {
    position: fixed;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 30%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.3s ease;
    opacity: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
    perspective: 1000px;
}

.fullscreen-detail .mouse-smoke.active {
    opacity: 1;
    animation: smokeExpand 2s ease-out forwards;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.fullscreen-detail-content {
    min-height: 100vh;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

/* 游戏详情页面样式 */
.detail-btn {
    background: #667eea;
    color: white;
}

.detail-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.game-detail-view {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    position: relative;
}

.fullscreen-close-btn {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    will-change: transform;
    transform: translateZ(0);
    z-index: 9999;
}

.fullscreen-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale3d(1.1, 1.1, 1);
    border-color: rgba(255, 255, 255, 0.4);
}

.detail-breadcrumb {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.breadcrumb-link:hover {
    color: #fff;
    opacity: 1;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-current {
    color: #fff;
    font-weight: 500;
}

.game-detail-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.game-detail-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.game-detail-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.game-detail-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.game-detail-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.detail-stat-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    display: block;
}

.detail-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.game-detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.detail-play-btn,
.detail-favorite-btn,
.detail-share-btn,
.detail-download-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.detail-play-btn {
    background: #667eea;
    color: white;
}

.detail-play-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.detail-favorite-btn {
    background: #f56565;
    color: white;
}

.detail-favorite-btn:hover {
    background: #e53e3e;
    transform: translateY(-2px);
}

.detail-share-btn {
    background: #48bb78;
    color: white;
}

.detail-share-btn:hover {
    background: #38a169;
    transform: translateY(-2px);
}

.detail-download-btn {
    background: #28a745;
    color: white;
}

.detail-download-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

.game-play-section {
    margin-bottom: 3rem;
}

.detail-section-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.game-play-container {
    position: relative;
    width: 100%;
    min-height: 500px;
    height: auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
    padding: 1rem;
}

.game-play-placeholder {
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 30%,
        rgba(0, 0, 0, 0.5) 70%,
        rgba(0, 0, 0, 0.55) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

.game-play-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 100%);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

.game-play-placeholder i {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.game-play-placeholder h3 {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.game-play-placeholder p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.game-loading {
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 30%,
        rgba(0, 0, 0, 0.5) 70%,
        rgba(0, 0, 0, 0.55) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

.game-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 100%);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

.game-loading i {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.game-loading h3 {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.game-loading p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.game-running {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 30%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.65) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

.game-running::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 100%);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

.game-screen {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.game-screen i {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.game-screen h2 {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.game-screen p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.game-controls {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.control-btn {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 30%,
        rgba(255, 255, 255, 0.12) 70%,
        rgba(255, 255, 255, 0.14) 100%);
    backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.175);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 100%);
    border-radius: 20px 20px 0 0;
    pointer-events: none;
}

.control-btn:hover {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.2) 70%,
        rgba(255, 255, 255, 0.22) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.control-btn:hover::before {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.12) 50%,
        transparent 100%);
}

.game-info-section {
    margin-bottom: 3rem;
}

.game-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.info-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.related-games-section {
    margin-bottom: 2rem;
}

.related-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-game-card-detail {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.related-game-card-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.related-game-image-detail {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.related-game-info-detail {
    padding: 1rem;
}

.related-game-title-detail {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
}

.related-game-rating-detail {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #f59e0b;
    margin-bottom: 0.5rem;
}

.related-game-category-detail {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    display: inline-block;
}

/* 游戏详情页面响应式设计 */
@media (max-width: 768px) {
    .game-detail-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .game-detail-title {
        font-size: 1.8rem;
    }
    
    .game-detail-actions {
        justify-content: center;
    }
    
    .detail-breadcrumb {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .game-detail-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-play-container {
        min-height: 400px;
        height: auto;
        padding: 0.5rem;
    }
    
    .game-info-grid {
        grid-template-columns: 1fr;
    }
    
    .related-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .game-controls {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .game-detail-view {
        max-height: none;
    }
    
    .game-detail-actions {
        flex-direction: column;
    }
    
    .detail-play-btn,
    .detail-favorite-btn,
    .detail-share-btn,
    .detail-download-btn {
        width: 100%;
        justify-content: center;
    }
    
    .game-play-container {
        min-height: 300px;
        height: auto;
        padding: 0.25rem;
    }
}

/* 孤岛惊魂6特定样式 */
.farcry6-intro-content,
.world-features-detail {
    margin: 1rem 0;
}

.farcry6-intro-content .tip-item,
.world-features-detail .tip-item {
    background: rgba(40, 167, 69, 0.1);
    border-left: 3px solid #28a745;
    padding: 1rem;
    margin: 0.75rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.farcry6-intro-content .tip-item:hover,
.world-features-detail .tip-item:hover {
    background: rgba(40, 167, 69, 0.15);
    transform: translateX(5px);
}

.farcry6-intro-content .tip-item strong,
.world-features-detail .tip-item strong {
    color: #28a745;
    display: block;
    margin-bottom: 0.5rem;
}

/* 荒野大镖客2特定样式 */
.rdr2-intro-content {
    margin: 1rem 0;
}

.rdr2-intro-content .tip-item {
    background: rgba(139, 69, 19, 0.15);
    border-left: 3px solid #8b4513;
    padding: 1rem;
    margin: 0.75rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.rdr2-intro-content .tip-item:hover {
    background: rgba(139, 69, 19, 0.25);
    transform: translateX(5px);
}

.rdr2-intro-content .tip-item strong {
    color: #cd853f;
    display: block;
    margin-bottom: 0.5rem;
}

/* 地平线5特定样式 */
.fh5-intro-content {
    margin: 1rem 0;
}

.fh5-intro-content .tip-item {
    background: rgba(255, 140, 0, 0.12);
    border-left: 3px solid #ff8c00;
    padding: 1rem;
    margin: 0.75rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.fh5-intro-content .tip-item:hover {
    background: rgba(255, 140, 0, 0.2);
    transform: translateX(5px);
}

.fh5-intro-content .tip-item strong {
    color: #ff8c00;
    display: block;
    margin-bottom: 0.5rem;
}

/* 地平线4特定样式 */
.fh4-intro-content {
    margin: 1rem 0;
}

.fh4-intro-content .tip-item {
    background: rgba(34, 139, 34, 0.12);
    border-left: 3px solid #228b22;
    padding: 1rem;
    margin: 0.75rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.fh4-intro-content .tip-item:hover {
    background: rgba(34, 139, 34, 0.2);
    transform: translateX(5px);
}

.fh4-intro-content .tip-item strong {
    color: #32cd32;
    display: block;
    margin-bottom: 0.5rem;
}

/* 赛博朋克2077特定样式 */
.cyberpunk-intro-content {
    margin: 1rem 0;
}

.cyberpunk-intro-content .tip-item {
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.1) 0%, 
        rgba(138, 43, 226, 0.08) 100%);
    border-left: 3px solid #00ffff;
    padding: 1rem;
    margin: 0.75rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.cyberpunk-intro-content .tip-item:hover {
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.15) 0%, 
        rgba(138, 43, 226, 0.12) 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0, 255, 255, 0.3);
}

.cyberpunk-intro-content .tip-item strong {
    color: #00ffff;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* 底特律化身为人特定样式 */
.detroit-intro-content {
    margin: 1rem 0;
}

.detroit-intro-content .tip-item {
    background: linear-gradient(135deg, 
        rgba(70, 130, 180, 0.1) 0%, 
        rgba(100, 149, 237, 0.08) 100%);
    border-left: 3px solid #4682b4;
    padding: 1rem;
    margin: 0.75rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(70, 130, 180, 0.2);
}

.detroit-intro-content .tip-item:hover {
    background: linear-gradient(135deg, 
        rgba(70, 130, 180, 0.15) 0%, 
        rgba(100, 149, 237, 0.12) 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(70, 130, 180, 0.3);
}

.detroit-intro-content .tip-item strong {
    color: #6495ed;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 8px rgba(100, 149, 237, 0.4);
}

/* 刺客信条英灵殿特定样式 */
.valhalla-intro-content {
    margin: 1rem 0;
}

.valhalla-intro-content .tip-item {
    background: linear-gradient(135deg, 
        rgba(139, 69, 19, 0.1) 0%, 
        rgba(205, 92, 92, 0.08) 100%);
    border-left: 3px solid #8b4513;
    padding: 1rem;
    margin: 0.75rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 69, 19, 0.2);
}

.valhalla-intro-content .tip-item:hover {
    background: linear-gradient(135deg, 
        rgba(139, 69, 19, 0.15) 0%, 
        rgba(205, 92, 92, 0.12) 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(139, 69, 19, 0.3);
}

.valhalla-intro-content .tip-item strong {
    color: #cd853f;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 8px rgba(205, 133, 63, 0.4);
}

/* 使命召唤13无限战争特定样式 */
.cod-intro-content {
    margin: 1rem 0;
}

.cod-intro-content .tip-item {
    background: linear-gradient(135deg, 
        rgba(25, 25, 112, 0.1) 0%, 
        rgba(0, 0, 139, 0.08) 100%);
    border-left: 3px solid #191970;
    padding: 1rem;
    margin: 0.75rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(25, 25, 112, 0.2);
}

.cod-intro-content .tip-item:hover {
    background: linear-gradient(135deg, 
        rgba(25, 25, 112, 0.15) 0%, 
        rgba(0, 0, 139, 0.12) 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(25, 25, 112, 0.3);
}

.cod-intro-content .tip-item strong {
    color: #6495ed;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 8px rgba(100, 149, 237, 0.4);
}

/* 游戏截图画廊样式 */
.game-gallery {
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.game-gallery h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.screenshot-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.screenshot-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.screenshot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.1);
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: white;
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.screenshot-overlay span {
    font-size: 0.9rem;
    font-weight: 500;
}

.no-screenshots {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.6);
}

.no-screenshots i {
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* 画廊加载动画 */
.gallery-loading {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gallery-loading p {
    margin: 0;
    font-size: 0.9rem;
}

/* 截图项加载效果 */
.screenshot-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.screenshot-item.loaded {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 截图模态框样式 */
.screenshot-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.screenshot-modal-content {
    position: relative;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.screenshot-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.screenshot-modal-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.3rem;
}

.close-screenshot-modal {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-screenshot-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.screenshot-modal-body {
    padding: 2rem;
}

.screenshot-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.screenshot-container {
    flex: 1;
    text-align: center;
    max-width: 800px;
}

.screenshot-container img {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.screenshot-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshot-left-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.screenshot-counter {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.keyboard-hints {
    display: flex;
    gap: 1rem;
}

.keyboard-hints .hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Courier New', monospace;
}

.screenshot-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .screenshot-modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .screenshot-modal-header {
        padding: 1rem;
    }
    
    .screenshot-modal-body {
        padding: 1rem;
    }
    
    .screenshot-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .screenshot-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .screenshot-left-info {
        align-items: center;
    }
    
    .keyboard-hints {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .keyboard-hints .hint {
        font-size: 0.7rem;
    }
}

/* 全屏详情页面响应式设计 */
@media (max-width: 768px) {
    .fullscreen-detail-content {
        padding: 1rem;
    }
    
    .fullscreen-close-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .fullscreen-detail-content {
        padding: 0.5rem;
    }
    
    .game-detail-view {
        padding: 1rem;
        margin: 0.5rem;
        border-radius: 15px;
    }
    
    .fullscreen-close-btn {
        top: 0.5rem;
        right: 0.5rem;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* 俄罗斯方块游戏指南样式 */
.tetris-guide {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    border-left: 5px solid rgba(255, 255, 255, 0.5);
}

.guide-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.guide-section {
    margin-bottom: 2rem;
}

.guide-section h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: bold;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
}

.tetris-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.block-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
    color: rgba(255, 255, 255, 0.9);
}

.block-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.block-icon {
    font-size: 1.2rem;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    min-width: 20px;
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.control-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
}

.control-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.control-item strong {
    display: block;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.score-table {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.score-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
    color: rgba(255, 255, 255, 0.9);
}

.score-row:last-child {
    border-bottom: none;
}

.score-row:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.score-row.highlight {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.score-row.highlight:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

.score-lines {
    font-weight: 500;
}

.score-points {
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
}

.score-row.highlight .score-points {
    color: white;
}

.tips-list {
    display: grid;
    gap: 1rem;
}

.tip-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.25rem;
    border-radius: 10px;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
}

.tip-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.tip-item strong {
    color: #fff;
}

/* 俄罗斯方块指南响应式设计 */
@media (max-width: 768px) {
    .tetris-guide {
        padding: 1.5rem;
    }
    
    .tetris-blocks {
        grid-template-columns: 1fr;
    }
    
    .controls-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guide-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .tetris-guide {
        padding: 1rem;
    }
    
    .controls-grid {
        grid-template-columns: 1fr;
    }
    
    .score-row {
        padding: 0.75rem 1rem;
    }
    
    .tip-item {
        padding: 1rem;
    }
}

/* 俄罗斯方块游戏样式 */
.tetris-game-container {
    width: 100%;
    height: auto;
    min-height: 600px;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.tetris-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 15px;
    position: relative;
}

.tetris-header h2 {
    margin: 0;
    font-size: 1.5rem;
}



.tetris-main {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.tetris-game-board {
    position: relative;
    background: #1a1a1a;
    border: 3px solid #333;
    border-radius: 10px;
    overflow: visible;
    flex-shrink: 0;
}

#tetrisCanvas {
    display: block;
    background: #000;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.game-start-screen h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.controls-help {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    font-family: monospace;
}

.start-game-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem auto 0;
}

.start-game-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

.tetris-sidebar {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.score-panel,
.level-panel,
.lines-panel,
.next-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.score-panel h4,
.level-panel h4,
.lines-panel h4,
.next-panel h4 {
    margin: 0 0 0.5rem 0;
    color: #fff;
    font-size: 1rem;
}

.score-value,
.level-value,
.lines-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

#nextCanvas {
    display: block;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.game-controls .control-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.game-controls .control-btn:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

.game-controls .control-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* 俄罗斯方块响应式设计 */
@media (max-width: 768px) {
    .tetris-main {
        flex-direction: column;
        align-items: center;
    }
    
    .tetris-sidebar {
        width: 100%;
        max-width: 300px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .score-panel,
    .level-panel,
    .lines-panel {
        flex: 1;
        min-width: 80px;
    }
    
    .next-panel,
    .game-controls {
        width: 100%;
    }
    
    .game-controls {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    #tetrisCanvas {
        width: 250px;
        height: 500px;
    }
    
    .tetris-header h2 {
        font-size: 1.2rem;
    }
    
    .controls-help {
        grid-template-columns: 1fr;
        font-size: 0.9rem;
    }
} 

/* 游戏模式指示器样式 */
.game-mode-indicators {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
    font-weight: bold;
}

.game-mode-indicators span {
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    text-align: center;
}

/* 速度控制样式 */
.speed-controls {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.speed-controls h4 {
    margin: 0 0 0.75rem 0;
    color: #fff;
    font-size: 1rem;
}

.speed-buttons {
    display: flex;
    gap: 0.5rem;
}

.speed-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    flex: 1;
}

.speed-btn:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

.speed-btn:active {
    transform: translateY(0);
}

/* 模式切换消息样式 */
.mode-change-message {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mode-change-message h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.mode-change-message p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.mode-change-message small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* 游戏暂停屏幕样式 */
.game-pause-screen {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-pause-screen h3 {
    margin-bottom: 1.5rem;
    color: #fff;
}

.game-over-screen {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-over-screen h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.game-over-screen p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.game-over-screen strong {
    color: #fff;
    font-size: 1.1rem;
}

/* 俄罗斯方块头部响应式设计 */
@media (max-width: 768px) {
    .tetris-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .game-mode-indicators {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .speed-buttons {
        flex-direction: column;
    }
    
    .game-mode-indicators {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .game-mode-indicators span {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }
} 

/* 详情页面俄罗斯方块游戏特殊样式 */
.game-play-container .tetris-game-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: visible;
}

.game-play-container .tetris-main {
    padding: 1rem;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.game-play-container .tetris-sidebar {
    min-width: 180px;
    max-width: 200px;
}

/* 确保画布完整显示 */
.game-play-container #tetrisCanvasDetail {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 游戏覆盖层样式调整 */
.game-play-container .game-overlay {
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .game-play-container .tetris-main {
        flex-direction: column;
        gap: 1rem;
    }
    
    .game-play-container .tetris-sidebar {
        width: 100%;
        max-width: 400px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .game-play-container .speed-controls {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .game-play-container .tetris-game-container {
        margin: 0;
        border-radius: 10px;
    }
    
    .game-play-container .tetris-main {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .game-play-container .tetris-sidebar {
        grid-template-columns: 1fr 1fr;
    }
    
    .game-play-container .game-controls {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-around;
    }
} 

/* 游戏模式介绍样式 */
.tetris-modes-intro,
.gta5-modes-intro,
.farcry6-modes-intro,
.rdr2-modes-intro,
.fh5-modes-intro,
.fh4-modes-intro,
.cyberpunk-modes-intro,
.detroit-modes-intro,
.valhalla-modes-intro,
.cod-modes-intro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.mode-card {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%);
    border-radius: 12px 12px 0 0;
    pointer-events: none;
}

.mode-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.mode-card h4 {
    color: #fff;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mode-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tetris-modes-intro {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .mode-card {
        padding: 1rem;
    }
    
    .mode-card h4 {
        font-size: 1rem;
    }
    
    .mode-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .tetris-modes-intro {
        grid-template-columns: 1fr;
    }
} 

/* GTA5游戏界面样式 */
.gta5-game-container {
    width: 100%;
    height: auto;
    min-height: 600px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, 
        rgba(20, 20, 20, 0.95) 0%, 
        rgba(40, 40, 40, 0.85) 50%, 
        rgba(20, 20, 20, 0.95) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.gta5-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a, #1a1a1a);
    color: white;
    border-radius: 20px 20px 0 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gta5-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 100%);
    border-radius: 20px 20px 0 0;
    pointer-events: none;
}

.gta5-header h2 {
    margin: 0;
    font-size: 1.6rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gta5-main {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem;
}

.gta5-game-screen {
    flex: 1;
    min-width: 400px;
    max-width: 600px;
    background: linear-gradient(135deg, #000, #1a1a1a);
    border: 2px solid #333;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.gta5-display {
    width: 100%;
    height: 400px;
    position: relative;
    background: linear-gradient(45deg, #0a0a0a, #1a1a1a, #0a0a0a);
}

.gta5-interface {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gta5-loading-screen {
    text-align: center;
    color: #fff;
    width: 100%;
}

.gta5-loading-screen h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gta5-features {
    margin: 1.5rem 0;
    display: grid;
    gap: 0.5rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.gta5-demo-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.gta5-action-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ff6b35);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 
        0 4px 12px rgba(255, 107, 53, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.gta5-action-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #e8841c, #e55a2b);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 16px rgba(255, 107, 53, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.gta5-sidebar {
    min-width: 220px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.player-stats,
.game-features,
.game-controls-gta5 {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.player-stats h4,
.game-features h4 {
    margin: 0 0 1rem 0;
    color: #fff;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid #ff6b35;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.stat-value {
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
    transition: all 0.2s ease;
}

.feature-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.game-controls-gta5 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.game-controls-gta5 .control-btn {
    background: #333;
    color: white;
    border: 1px solid #555;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.game-controls-gta5 .control-btn:hover {
    background: #444;
    border-color: #666;
    transform: translateY(-1px);
}

/* GTA5任务界面样式 */
.gta5-mission-screen,
.gta5-driving-screen,
.gta5-online-screen {
    width: 100%;
    padding: 1rem;
}

.mission-info,
.driving-info,
.online-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.mission-info p,
.driving-info p,
.online-stats p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.mission-progress {
    margin: 1.5rem 0;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    transition: width 0.3s ease;
}

.vehicle-selection {
    margin: 1.5rem 0;
}

.vehicle-selection h4 {
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.vehicle-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.vehicle-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.online-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-card h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.mission-controls,
.driving-controls,
.online-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* GTA5详情页面指南样式 */
.gta5-guide {
    margin-top: 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 50%, 
        rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    border-left: 5px solid #ff6b35;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

/* 孤岛惊魂6详情页面指南样式 */
.farcry6-guide {
    margin-top: 2rem;
    background: linear-gradient(135deg, 
        rgba(40, 167, 69, 0.08) 0%, 
        rgba(40, 167, 69, 0.04) 50%, 
        rgba(40, 167, 69, 0.06) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border-left: 5px solid #28a745;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(40, 167, 69, 0.1);
}

/* 荒野大镖客2详情页面指南样式 */
.rdr2-guide {
    margin-top: 2rem;
    background: linear-gradient(135deg, 
        rgba(139, 69, 19, 0.12) 0%, 
        rgba(139, 69, 19, 0.06) 50%, 
        rgba(139, 69, 19, 0.08) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(139, 69, 19, 0.4);
    border-radius: 20px;
    padding: 2rem;
    border-left: 5px solid #8b4513;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(139, 69, 19, 0.2);
}

/* 地平线5详情页面指南样式 */
.fh5-guide {
    margin-top: 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.1) 0%, 
        rgba(255, 140, 0, 0.05) 50%, 
        rgba(255, 140, 0, 0.08) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border-left: 5px solid #ff8c00;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 140, 0, 0.2);
}

/* 地平线4详情页面指南样式 */
.fh4-guide {
    margin-top: 2rem;
    background: linear-gradient(135deg, 
        rgba(34, 139, 34, 0.1) 0%, 
        rgba(34, 139, 34, 0.05) 50%, 
        rgba(34, 139, 34, 0.08) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(34, 139, 34, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border-left: 5px solid #228b22;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(34, 139, 34, 0.2);
}

/* 赛博朋克2077详情页面指南样式 */
.cyberpunk-guide {
    margin-top: 2rem;
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.08) 0%, 
        rgba(138, 43, 226, 0.06) 50%, 
        rgba(255, 20, 147, 0.08) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border-left: 5px solid #00ffff;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(0, 255, 255, 0.2);
}

/* 底特律化身为人详情页面指南样式 */
.detroit-guide {
    margin-top: 2rem;
    background: linear-gradient(135deg, 
        rgba(70, 130, 180, 0.08) 0%, 
        rgba(100, 149, 237, 0.06) 50%, 
        rgba(65, 105, 225, 0.08) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(70, 130, 180, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border-left: 5px solid #4682b4;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(70, 130, 180, 0.2);
}

/* 刺客信条英灵殿详情页面指南样式 */
.valhalla-guide {
    margin-top: 2rem;
    background: linear-gradient(135deg, 
        rgba(139, 69, 19, 0.08) 0%, 
        rgba(205, 92, 92, 0.06) 50%, 
        rgba(178, 34, 34, 0.08) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(139, 69, 19, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border-left: 5px solid #8b4513;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(139, 69, 19, 0.2);
}

/* 使命召唤13无限战争详情页面指南样式 */
.cod-guide {
    margin-top: 2rem;
    background: linear-gradient(135deg, 
        rgba(25, 25, 112, 0.08) 0%, 
        rgba(0, 0, 139, 0.06) 50%, 
        rgba(72, 61, 139, 0.08) 100%);
    backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(25, 25, 112, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border-left: 5px solid #191970;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(25, 25, 112, 0.2);
}

.gta5-characters,
.farcry6-characters,
.rdr2-characters,
.fh5-vehicles,
.fh4-locations,
.cyberpunk-locations,
.detroit-characters,
.valhalla-characters,
.cod-characters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.location-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(34, 139, 34, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(34, 139, 34, 0.3);
    border-color: rgba(34, 139, 34, 0.5);
}

.location-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.location-card h5 {
    color: #228b22;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.location-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 赛博朋克2077专用地点卡片样式 */
.cyberpunk-locations .location-card {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.cyberpunk-locations .location-card:hover {
    box-shadow: 0 8px 24px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.5);
}

.cyberpunk-locations .location-card h5 {
    color: #00ffff;
}

/* 底特律化身为人专用角色卡片样式 */
.detroit-characters .character-card {
    background: rgba(70, 130, 180, 0.1);
    border: 1px solid rgba(70, 130, 180, 0.3);
}

.detroit-characters .character-card:hover {
    box-shadow: 0 8px 24px rgba(70, 130, 180, 0.3);
    border-color: rgba(70, 130, 180, 0.5);
}

.detroit-characters .character-card h5 {
    color: #6495ed;
}

/* 刺客信条英灵殿专用角色卡片样式 */
.valhalla-characters .character-card {
    background: rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.3);
}

.valhalla-characters .character-card:hover {
    box-shadow: 0 8px 24px rgba(139, 69, 19, 0.3);
    border-color: rgba(139, 69, 19, 0.5);
}

.valhalla-characters .character-card h5 {
    color: #cd853f;
}

/* 使命召唤13无限战争专用角色卡片样式 */
.cod-characters .character-card {
    background: rgba(25, 25, 112, 0.1);
    border: 1px solid rgba(25, 25, 112, 0.3);
}

.cod-characters .character-card:hover {
    box-shadow: 0 8px 24px rgba(25, 25, 112, 0.3);
    border-color: rgba(25, 25, 112, 0.5);
}

.cod-characters .character-card h5 {
    color: #6495ed;
}

.vehicle-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 140, 0, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.3);
    border-color: rgba(255, 140, 0, 0.5);
}

.vehicle-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.vehicle-card h5 {
    color: #ff8c00;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.vehicle-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

.character-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.character-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.character-card h5 {
    color: #fff;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.character-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gameplay-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.25rem;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
    transition: all 0.3s ease;
}

.gameplay-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.gameplay-item strong {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.gameplay-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.achievement-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid #ff6b35;
}

.achievement-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.achievement-item strong {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.achievement-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .gta5-main {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }
    
    .gta5-game-screen {
        min-width: auto;
        width: 100%;
    }
    
    .gta5-sidebar {
        width: 100%;
        max-width: 400px;
    }
    
    .gta5-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .gta5-characters {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .online-features {
        grid-template-columns: 1fr;
    }
    
    .mission-controls,
    .driving-controls,
    .online-controls {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .gta5-game-container {
        border-radius: 15px;
    }
    
    .gta5-main {
        padding: 0.5rem;
        gap: 1rem;
    }
    
    .gta5-display {
        height: 300px;
    }
    
    .gta5-interface {
        padding: 1rem;
    }
    
    .gta5-header h2 {
        font-size: 1.3rem;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .vehicle-grid {
        grid-template-columns: 1fr;
    }
    
    .gta5-demo-actions {
        gap: 0.5rem;
    }
    
    .gta5-action-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
} 

/* 详情页面的GTA5游戏容器样式 */
.game-play-container .gta5-detail-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    overflow: visible;
}

.game-play-container .gta5-main {
    padding: 1.5rem;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.game-play-container .gta5-sidebar {
    min-width: 200px;
    max-width: 250px;
}

/* 确保详情页面的GTA5界面响应式 */
@media (max-width: 768px) {
    .game-play-container .gta5-main {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .game-play-container .gta5-sidebar {
        width: 100%;
        max-width: 400px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .game-play-container .game-controls-gta5 {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .game-play-container .gta5-detail-container {
        margin: 0;
        border-radius: 15px;
    }
    
    .game-play-container .gta5-main {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .game-play-container .gta5-sidebar {
        grid-template-columns: 1fr;
    }
    
    .game-play-container .game-controls-gta5 {
        grid-column: span 1;
        flex-direction: row;
        justify-content: space-around;
    }
} 

/* 转转广告弹窗样式 */
.bottom-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-ad.show {
    transform: translateY(0);
}

.ad-content {
    background: linear-gradient(135deg, #FF4444 0%, #FF6666 100%);
    padding: 1.5rem;
    position: relative;
    border-radius: 15px;
    margin: 0 20px 20px 20px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.ad-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 1rem;
    z-index: 10001;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ad-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.ad-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.ad-text {
    cursor: pointer;
    transition: transform 0.3s ease;
    flex: 1;
    min-width: 0;
    color: white;
}

.ad-text:hover {
    transform: scale(1.02);
}

.ad-main-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ad-sub-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ad-features {
    font-size: 1rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ad-button {
    flex-shrink: 0;
    padding: 0 10px;
}

.recycle-btn {
    background: linear-gradient(135deg, #FF4444 0%, #FF6666 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

.recycle-btn:hover {
    background: linear-gradient(135deg, #FF3333 0%, #FF5555 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.4);
}

.recycle-btn i {
    font-size: 1.2rem;
}



/* 广告弹窗移动端适配 */
@media (max-width: 768px) {
    .ad-content {
        margin: 0 10px 10px 10px;
        border-radius: 10px;
        padding: 1rem;
    }
    
    .ad-close {
        top: 8px;
        right: 8px;
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .ad-body {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .ad-text {
        width: 100%;
    }
    
    .ad-main-title, .ad-sub-title {
        font-size: 1.4rem;
    }
    
    .ad-features {
        font-size: 0.9rem;
    }
    
    .ad-button {
        padding: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .recycle-btn {
        padding: 10px 20px;
        font-size: 1rem;
        width: auto;
        min-width: 150px;
    }
} 



 