/* 戏壤游戏网站 - 优化样式文件 */

/* 性能优化：减少重排重绘 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS变量系统 */
:root {
    /* 颜色系统 - 参考KURO GAMES配色 */
    --primary-dark: #000000;
    --primary-light: #161616;
    --accent-gray: rgba(197, 197, 197, 0.7);
    --accent-white: rgba(255, 255, 255, 0.95);
    --accent-light-gray: rgba(227, 227, 227, 0.6);
    --accent-medium-gray: rgba(197, 197, 197, 0.5);
    --accent-dark-gray: rgba(153, 153, 153, 0.4);
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(197, 197, 197, 0.7);
    --text-light: rgba(153, 153, 153, 0.5);
    --accent-blue: #007aff;
    --accent-purple: #007aff;
    --accent-orange: #007aff;

    /* 玻璃态效果 */
    --glass-bg: rgba(22, 22, 22, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(30, 30, 30, 0.75);

    /* 阴影系统 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 10px 25px rgba(180, 180, 180, 0.3);
    
    /* 间距系统 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* 移动端视口高度 */
    --vh: 1vh;
    
    /* 过渡动画 */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s ease;
}

/* 基础样式优化 */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', sans-serif;
    background: #000000;
    color: rgba(255, 255, 255, 0.95);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 优化滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(200, 200, 200, 0.2);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-medium-gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark-gray);
}

/* 顶部导航栏 - 优化性能 */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
    transition: transform var(--transition-base);
    will-change: transform;
    contain: layout style paint;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.1) !important;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 70px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1px;
}

.logo-icon-img {
    width: 45px;
    height: 45px;
    margin-right: 15px;
    transition: all 0.3s ease;
    object-fit: contain;
}

.logo-text {
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.logo-main {
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 1px;
    margin-right: 10px;
}

.logo-sub {
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav ul li a {
    color: rgba(197, 197, 197, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

nav ul li a:hover,
nav ul li a.active {
    color: #ffffff;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #007aff;
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.lang-switcher {
    background: rgba(22, 22, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 8px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.lang-switcher:hover {
    background: rgba(35, 35, 35, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
}

/* 确保Font Awesome图标显示 */
.lang-switcher i {
    vertical-align: middle;
}

.lang-switcher i.fa-globe {
    font-size: 16px;
    color: rgba(197, 197, 197, 0.7);
}

.lang-switcher i.fa-chevron-down {
    font-size: 12px;
    color: rgba(153, 153, 153, 0.5);
}

.lang-switcher span {
    color: rgba(197, 197, 197, 0.7);
}

/* Hero横幅区域 */
.hero {
    min-height: calc(100 * var(--vh));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/steamgames/yztd-2.jpg') center/cover;
    filter: brightness(0.4);
    transform: scale(1);
    transition: opacity 1s ease-in-out;
    opacity: 1;
}

/* 多背景切换动画容器 */
.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    filter: brightness(0.4);
}

.hero-bg-slide.active {
    opacity: 1;
}

/* 桌面端才启用鼠标跟随效果 - 移动端完全禁用 */
@media (min-width: 769px) {
    .hero-bg-slide.active.mouse-active {
        transform: scale(1.05);
        will-change: transform;
        transition: transform 0.3s ease, opacity 1s ease-in-out;
    }
}

/* 返回按钮样式 */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(60, 60, 60, 0.95);
}

.back-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    
    .back-logo {
        width: 35px;
        height: 35px;
    }
}

/* 游戏详情页面tag样式优化 */
.game-detail-hero .game-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-detail-hero .game-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 移动端完全禁用鼠标跟随效果 */
@media (max-width: 768px) {
    .hero-bg-slide {
        transform: scale(1) !important;
        will-change: auto !important;
        transition: opacity 1s ease-in-out !important;
    }

    .hero-bg-slide.active {
        transform: scale(1) !important;
    }

    .hero-bg-slide.active.mouse-active {
        transform: scale(1) !important;
        will-change: auto !important;
    }
}

/* 返回按钮样式 */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(60, 60, 60, 0.95);
}

.back-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    
    .back-logo {
        width: 35px;
        height: 35px;
    }
}

/* 游戏详情页面tag样式优化 */
.game-detail-hero .game-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-detail-hero .game-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
    transform: translateY(0); /* 移动端不偏移 */
    will-change: opacity; /* 只对透明度做will-change */
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.hero p:last-of-type {
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 向下滚动提示 */
.scroll-indicator {
    position: absolute;
    bottom: 90px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 1s ease 1s both;
    width: fit-content;
    cursor: pointer;
    transition: all 0.5s ease;
}

.scroll-indicator-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    animation: wheelScroll 2s ease-in-out infinite;
}

.scroll-indicator-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.5s ease;
    opacity: 0;
    animation: fadeInText 1s ease 1.5s both;
}

.scroll-indicator:hover .scroll-indicator-mouse {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
}

.scroll-indicator:hover .mouse-wheel {
    background: rgba(255, 255, 255, 0.7);
}

.scroll-indicator:hover .scroll-indicator-text {
    color: rgba(255, 255, 255, 0.7);
}

/* 点击时的向下消失动画 */
.scroll-indicator.clicking {
    transform: translateY(50px);
    opacity: 0;
}

.scroll-indicator.clicking .scroll-indicator-text {
    transform: translateY(30px);
    opacity: 0;
}

@keyframes wheelScroll {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 60px;
        gap: 10px;
    }

    .scroll-indicator-mouse {
        width: 25px;
        height: 42px;
    }

    .mouse-wheel {
        width: 3px;
        height: 6px;
        top: 6px;
    }

    .scroll-indicator-text {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}



/* 弹跳动画 */
@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* 返回按钮样式 */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(60, 60, 60, 0.95);
}

.back-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    
    .back-logo {
        width: 35px;
        height: 35px;
    }
}

/* 游戏详情页面tag样式优化 */
.game-detail-hero .game-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-detail-hero .game-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: #007aff;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 122, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 158, 255, 0.3);
}

.btn-secondary {
    background: rgba(22, 22, 22, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: rgba(197, 197, 197, 0.7);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: rgba(35, 35, 35, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

/* 游戏展示区域 */
.games-section {
    padding: 120px 20px;
    max-width: 1400px;
    margin: 0 auto;
    background: #000000;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
    align-items: stretch;
}

.game-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform var(--transition-slow), border-color var(--transition-base), box-shadow var(--transition-slow);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    will-change: transform;
    contain: layout style paint;
}

.game-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.game-image {
    width: 100%;
    min-height: 200px;
    height: auto;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #007aff;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.game-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.game-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    flex: 1;
    max-height: 4.8em;
    position: relative;
}

.game-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.game-tag {
    background: rgba(22, 22, 22, 0.8);
    color: rgba(197, 197, 197, 0.7);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    flex-shrink: 0;
}

.game-actions {
    display: flex;
    gap: 15px;
    height: 50px;
    margin-top: auto;
}

.game-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    box-sizing: border-box;
    line-height: 1;
    white-space: nowrap;
}

.game-btn i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.game-btn-primary {
    background: #007aff;
    color: #ffffff;
    border: none;
}

.game-btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 122, 255, 0.4);
}

.game-btn-secondary {
    background: rgba(22, 22, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(197, 197, 197, 0.7);
}

.game-btn-secondary:hover {
    background: rgba(35, 35, 35, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px) scale(1.05);
}

/* 新闻动态 */
.news-section {
    padding: 120px 20px;
    background: #000000;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.news-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.news-category {
    background: rgba(22, 22, 22, 0.8);
    color: rgba(197, 197, 197, 0.7);
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-date {
    color: var(--text-secondary);
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-link {
    color: #007aff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.news-link:hover {
    gap: 10px;
}

/* 游戏周边和全球活动区域 */
.features-section {
    padding: 0;
    background: #000000;
    height: 100vh;
    width: 100%;
}

.features-container {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-rows: 50vh 50vh;
    gap: 0;
}

.feature-item {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-item.merchandise {
    background: linear-gradient(rgba(60, 60, 60, 0.35), rgba(40, 40, 40, 0.55)),
                url('../images/ZB-1.jpg') center/cover;
}

.feature-item.events {
    background: linear-gradient(rgba(60, 60, 60, 0.35), rgba(40, 40, 40, 0.55)),
                url('../images/ZH-1.jpg') center/cover;
}

/* 默认模糊效果 */
.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(2px);
    transition: filter 0.4s ease;
    z-index: 1;
}

.feature-item:hover::before {
    filter: blur(0px);
}

.feature-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: rgba(35, 35, 35, 0.45);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
}

.feature-item:hover .feature-content {
    background: rgba(45, 45, 45, 0.6);
    backdrop-filter: blur(20px);
    border-color: rgba(255, 255, 255, 0.15);
}



.feature-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: 1px;
    text-align: center;
}

.feature-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(197, 197, 197, 0.7);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: rgba(22, 22, 22, 0.8);
}

.feature-link:hover {
    background: #007aff;
    border-color: #007aff;
    color: #ffffff;
    transform: translateX(5px);
    gap: 15px;
}

.feature-item.events .feature-link:hover {
    background: #007aff;
    border-color: #007aff;
}

/* 页脚 - Kuro Games 风格 */
footer {
    background: #000000;
    padding: 100px 20px 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    object-fit: contain;
}

.footer-logo-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-logo-sub {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-left: 12px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 30px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(22, 22, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(197, 197, 197, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-link:hover {
    background: #007aff;
    border-color: #007aff;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

.footer-copyright {
    font-weight: 400;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(197, 197, 197, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-beian {
    margin-top: 15px;
    font-size: 0.75rem;
    color: rgba(197, 197, 197, 0.7);
    text-align: center;
}

.footer-beian a {
    color: rgba(197, 197, 197, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-beian a:hover {
    color: #ffffff;
}

.footer-beian span {
    margin: 0 8px;
}

/* 动画 - 性能优化 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 返回按钮样式 */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(60, 60, 60, 0.95);
}

.back-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    
    .back-logo {
        width: 35px;
        height: 35px;
    }
}

/* 游戏详情页面tag样式优化 */
.game-detail-hero .game-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-detail-hero .game-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 返回按钮样式 */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(60, 60, 60, 0.95);
}

.back-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    
    .back-logo {
        width: 35px;
        height: 35px;
    }
}

/* 游戏详情页面tag样式优化 */
.game-detail-hero .game-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-detail-hero .game-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* 返回按钮样式 */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(60, 60, 60, 0.95);
}

.back-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    
    .back-logo {
        width: 35px;
        height: 35px;
    }
}

/* 游戏详情页面tag样式优化 */
.game-detail-hero .game-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-detail-hero .game-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 性能优化样式 */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.will-change-transform {
    will-change: transform;
}

/* 移动端适配 */
@media (max-width: 768px) {
    /* 导航栏优化 */
    .header-content {
        padding: 0 15px;
        height: 60px;
    }

    .hero {
        margin-top: 0;
        min-height: calc(100 * var(--vh));
    }

    .header-right {
        gap: 15px;
    }

    .logo-icon-img {
        width: 32px;
        height: 32px;
        margin-right: 10px;
    }

    .logo-main {
        font-size: 18px;
    }

    .logo-sub {
        font-size: 8px;
        letter-spacing: 0.5px;
    }

    nav ul {
        gap: 15px;
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        white-space: nowrap;
    }

    /* 语言切换器 */
    .lang-switcher {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: auto;
    }

    .lang-switcher i {
        font-size: 12px;
    }

    /* Hero区域 */
    .hero h1 {
        font-size: clamp(2rem, 6vw, 3rem);
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .scroll-indicator {
        bottom: 60px;
    }

    .scroll-indicator-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .scroll-indicator-text {
        font-size: 0.7rem;
    }

    /* 游戏展示区域 - 确保显示 */
    .games-section {
        padding: 80px 15px;
        display: block !important;
        visibility: visible !important;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        display: grid !important;
        visibility: visible !important;
    }

    .game-card {
        height: auto;
        min-height: 280px;
        display: flex !important;
        visibility: visible !important;
    }

    .game-image {
        min-height: 160px;
        height: auto;
        aspect-ratio: 16/9;
    }

    .game-info {
        padding: 20px;
    }

    .game-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .game-description {
        font-size: 0.9rem;
        line-height: 1.5;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        max-height: 2.8em;
    }

    .game-tags {
        gap: 6px;
        margin-bottom: 20px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .game-tag {
        font-size: 0.75rem;
        padding: 3px 10px;
        flex-shrink: 0;
    }

    /* 功能区域 - 确保显示 */
    .features-section {
        height: auto;
        min-height: 100vh;
        padding: 0;
        display: block !important;
        visibility: visible !important;
    }

    .features-container {
        grid-template-rows: 1fr 1fr;
        height: auto;
        min-height: 100vh;
        gap: 0;
        display: grid !important;
        visibility: visible !important;
    }

    .feature-item {
        display: block !important;
        visibility: visible !important;
        min-height: 50vh;
    }

    .feature-content {
        padding: 40px 20px;
        text-align: center;
        min-height: 200px;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        visibility: visible !important;
    }



    .feature-content h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .feature-content p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 20px;
        max-width: 280px;
    }

    /* 页脚 */
    footer {
        padding: 60px 15px 20px;
    }

    .footer-content {
        gap: 25px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: 15px;
    }

    .footer-logo img {
        width: 48px;
        height: 48px;
    }

    .footer-logo-text {
        font-size: 1.5rem;
    }

    .footer-description {
        max-width: 100%;
        margin-bottom: 20px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 25px;
    }

    .footer-links {
        gap: 20px;
        margin-bottom: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* 按钮优化 */
    .btn-primary,
    .game-btn-primary {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-height: 44px; /* 触摸友好 */
    }

    /* 触摸优化 */
    .game-card,
    .news-card,
    .lang-switcher,
    .scroll-indicator,
    .feature-item {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-height: 44px; /* 最小触摸区域 */
    }

    /* 滚动优化 */
    .hero,
    .games-section,
    .news-section,
    .features-section {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* 性能优化 */
    .hero-bg,
    .game-image,
    .feature-item {
        will-change: transform;
        backface-visibility: hidden;
        perspective: 1000px;
    }

    /* 基础字体大小 */
    html {
        font-size: 14px;
    }

    /* 确保移动端不隐藏任何重要元素 */
    .games-section,
    .features-section,
    .feature-item,
    .feature-content,
    .game-card {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* 返回按钮样式 */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(60, 60, 60, 0.95);
}

.back-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    
    .back-logo {
        width: 35px;
        height: 35px;
    }
}

/* 游戏详情页面tag样式优化 */
.game-detail-hero .game-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-detail-hero .game-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 图片懒加载占位符 */
.img-loading {
    background: linear-gradient(90deg, rgba(30, 30, 30, 0.6) 25%, rgba(45, 45, 45, 0.7) 50%, rgba(30, 30, 30, 0.6) 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 返回按钮样式 */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(60, 60, 60, 0.95);
}

.back-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    
    .back-logo {
        width: 35px;
        height: 35px;
    }
}

/* 游戏详情页面tag样式优化 */
.game-detail-hero .game-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-detail-hero .game-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 减少动画复杂度的媒体查询 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 返回按钮样式 */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(60, 60, 60, 0.95);
}

.back-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    
    .back-logo {
        width: 35px;
        height: 35px;
    }
}

/* 游戏详情页面tag样式优化 */
.game-detail-hero .game-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-detail-hero .game-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --glass-bg: rgba(22, 22, 22, 0.9);
        --glass-border: rgba(255, 255, 255, 0.2);
    }
}

/* 返回按钮样式 */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(60, 60, 60, 0.95);
}

.back-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    
    .back-logo {
        width: 35px;
        height: 35px;
    }
}

/* 游戏详情页面tag样式优化 */
.game-detail-hero .game-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-detail-hero .game-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 响应式设计优化 */
/* 平板设备 */
@media (max-width: 1024px) {
    .header-content {
        padding: 0 20px;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .feature-content {
        padding: 30px;
    }
}

/* 返回按钮样式 */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(60, 60, 60, 0.95);
}

.back-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    
    .back-logo {
        width: 35px;
        height: 35px;
    }
}

/* 游戏详情页面tag样式优化 */
.game-detail-hero .game-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-detail-hero .game-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}



/* 返回按钮样式 */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(60, 60, 60, 0.95);
}

.back-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    
    .back-logo {
        width: 35px;
        height: 35px;
    }
}

/* 游戏详情页面tag样式优化 */
.game-detail-hero .game-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-detail-hero .game-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 小屏手机 */
@media (max-width: 480px) {
    .header-content {
        padding: 0 12px;
    }

    .logo-icon-img {
        width: 28px;
        height: 28px;
        margin-right: 8px;
    }

    .logo-main {
        font-size: 16px;
    }

    .logo-sub {
        font-size: 7px;
    }

    nav ul {
        gap: 12px;
        font-size: 0.8rem;
    }

    .lang-switcher {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .hero p {
        font-size: 0.9rem;
    }

    .scroll-indicator-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .games-section {
        padding: 40px 12px;
    }

    .game-card {
        min-height: 260px;
    }

    .game-image {
        min-height: 140px;
        height: auto;
        aspect-ratio: 16/9;
    }

    .game-info {
        padding: 15px;
    }

    .game-title {
        font-size: 1.1rem;
    }

    .feature-content {
        padding: 20px 15px;
    }



    .feature-content h3 {
        font-size: 1.1rem;
    }

    .feature-content p {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    footer {
        padding: 40px 12px 15px;
    }

    .footer-links {
        gap: 15px;
        font-size: 0.8rem;
    }
}

/* 返回按钮样式 */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(60, 60, 60, 0.95);
}

.back-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    
    .back-logo {
        width: 35px;
        height: 35px;
    }
}

/* 游戏详情页面tag样式优化 */
.game-detail-hero .game-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-detail-hero .game-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 横屏模式优化 */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 90vh;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .features-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        height: 100vh;
    }

    .feature-content {
        padding: 20px;
    }

    .hero-content {
        transform: translateY(-20px);
    }
}

/* 返回按钮样式 */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(60, 60, 60, 0.95);
}

.back-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    
    .back-logo {
        width: 35px;
        height: 35px;
    }
}

/* 游戏详情页面tag样式优化 */
.game-detail-hero .game-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-detail-hero .game-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============ 游戏详情页面样式 ============ */

/* 游戏详情主要区域 */
.game-detail-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.game-detail-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/steamgames/yztd-1.jpg') center/cover;
    filter: brightness(0.3);
    transform: scale(1.1);
    transition: transform 10s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.game-detail-hero .hero-bg.mouse-active {
    transition: transform 0.1s ease-out !important;
}

.game-detail-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

.game-detail-hero .hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.game-detail-hero .game-badge {
    display: inline-block;
    background: #007aff;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.game-detail-hero .game-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.65));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.game-detail-hero .game-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

/* 游戏介绍区域 */
.game-intro {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.intro-text h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.intro-text p {
    margin-bottom: 20px;
}

.intro-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 游戏特色 */
.game-features {
    padding: 100px 20px;
    background: #000000;
}

.game-features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 游戏截图 */
.game-screenshots {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.screenshot-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.screenshot-item:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.screenshot-item:active {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* 场景名字显示 */
.screenshot-item::after {
    content: attr(data-title);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(20, 20, 20, 0.95), transparent);
    color: white;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.screenshot-item:hover::after {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px;
    }
    
    .screenshot-item {
        border-radius: 12px;
    }
    
    .screenshot-item::after {
        font-size: 0.9rem;
        padding: 12px;
    }
}

.screenshot-item:hover {
    transform: scale(1.02);
}

/* 响应式设计 - 游戏详情页 */
@media (max-width: 768px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-content:nth-child(even) {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .game-features .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .game-detail-hero .hero-content {
        padding: 0 15px;
    }
    
    .game-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .game-subtitle {
        font-size: 1.2rem;
    }
}

/* 返回按钮样式 */
.back-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-button:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(60, 60, 60, 0.95);
}

.back-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-button {
        bottom: 20px;
        right: 20px;
        width: 65px;
        height: 65px;
    }
    
    .back-logo {
        width: 35px;
        height: 35px;
    }
}

/* 游戏详情页面tag样式优化 */
.game-detail-hero .game-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.game-detail-hero .game-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

