/* ================= ==========================================
   核心变量 (极光青主题)
   ========================================================== */
:root {
    --primary: #0d9488;        
    --primary-hover: #0f766e;
    --primary-light: #f0fdfa;  
    --accent: #f97316;         
    --bg-body: #f4f7f9;        
    --bg-sidebar: rgba(255, 255, 255, 0.9); 
    --text-main: #334155;
    --text-dark: #0f172a;
    --text-sub: #64748b;
    --radius-main: 24px;       
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px -10px rgba(13, 148, 136, 0.15);
    
    --gold-grad: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    --cyan-grad: linear-gradient(135deg, #2dd4bf 0%, #0f766e 100%);
    --wechat-green: #07c160;
}

/* ================= ==========================================
   基础布局与全局美化
   ========================================================== */
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; border: 2px solid var(--bg-body); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

body {
    font-family: 'Inter', "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    font-size: 14px; line-height: 1.6; letter-spacing: 0.02em;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px; position: relative; overflow-x: hidden;
}

/* 环境光，极光青主题 */
body::before, body::after {
    content: ''; position: fixed; filter: blur(150px); z-index: -1; 
    opacity: 0.5; border-radius: 50%; pointer-events: none;
}
body::before { top: -10%; left: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, #99f6e4, transparent 70%); }
body::after { bottom: -10%; right: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, #bae6fd, transparent 70%); }

ul, li { list-style: none; }
a { text-decoration: none; color: inherit; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer;}
img { width: 100%; height: 100%; object-fit: cover; display: block; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-up { animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; } .delay-3 { animation-delay: 0.3s; } .delay-4 { animation-delay: 0.4s; }

/* ================= ==========================================
   侧边栏导航
   ========================================================== */
.g-sidenav {
    position: fixed; left: 24px; top: 24px; bottom: 24px; width: 270px; 
    background: var(--bg-sidebar); border-radius: var(--radius-main); z-index: 1000; display: flex; flex-direction: column;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.04); border: 1px solid rgba(255,255,255,1); 
    backdrop-filter: blur(24px); overflow: hidden;
}
.brand-area { 
    height: 96px; display: flex; align-items: center; padding: 0 24px; 
    border-bottom: 1px dashed rgba(0,0,0,0.06); margin-bottom: 12px; position: relative;
}
.logo-icon {
    width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    margin-right: 14px; color: #fff; font-size: 20px; box-shadow: 0 8px 16px rgba(13, 148, 136, 0.25); flex-shrink: 0;
}
.logo-cn { font-size: 22px; font-weight: 900; letter-spacing: 2px; background: linear-gradient(to right, #0f172a, var(--primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-list { padding: 0 16px 20px; flex: 1; overflow-y: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-title { font-size: 12px; font-weight: 800; color: #94a3b8; padding: 0 12px; margin: 24px 0 12px 0; text-transform: uppercase; letter-spacing: 2px; display: flex; align-items: center; }
.nav-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(0,0,0,0.05), transparent); margin-left: 12px; }
.nav-list li { margin-bottom: 8px; }
.nav-list li a { display: flex; align-items: center; padding: 12px 14px; color: #475569; border-radius: 16px; font-weight: 600; font-size: 15px; letter-spacing: 0.05em; transition: all 0.3s; position: relative; }
.nav-list li a i { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; margin-right: 14px; font-size: 16px; border-radius: 12px; background: rgba(0,0,0,0.03); color: #64748b; transition: all 0.3s; }
.nav-list li.active a { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%); color: #fff; box-shadow: 0 8px 20px -6px rgba(13, 148, 136, 0.5); }
.nav-list li.active a i { background: rgba(255,255,255,0.25); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.nav-list li:not(.active) a:hover { background: rgba(13, 148, 136, 0.06); color: var(--primary-hover); transform: translateX(6px); }
.nav-list li:not(.active) a:hover i { background: #fff; color: var(--primary); box-shadow: 0 4px 12px rgba(13, 148, 136, 0.12); transform: scale(1.08) rotate(3deg); }

/* 左侧导航悬浮子菜单 */
.nav-submenu {
    position: fixed; background: rgba(255, 255, 255, 0.96); border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 15px 40px -5px rgba(13, 148, 136, 0.12); backdrop-filter: blur(24px); border-radius: 20px;
    padding: 24px; z-index: 1001; width: 440px; opacity: 0; visibility: hidden; transform: translateX(-15px);
    transition: all 0.3s; pointer-events: none; max-height: 85vh; overflow-y: auto;
}
.nav-submenu::-webkit-scrollbar { width: 4px; }
.nav-submenu::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.nav-submenu.show { opacity: 1; visibility: visible; transform: translateX(0); pointer-events: auto; }

#submenu-mobile { width: 620px; }
#submenu-mobile .submenu-grid { grid-template-columns: repeat(3, 1fr); }

.submenu-title { font-size: 16px; font-weight: 800; color: var(--text-dark); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px dashed rgba(0,0,0,0.06); display: flex; align-items: center; gap: 10px; }
.submenu-title i { color: var(--primary); font-size: 18px; }
.submenu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; }
.submenu-grid a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; color: var(--text-main); font-size: 13px; font-weight: 700; background: rgba(0,0,0,0.02); border: 1px solid transparent; transition: 0.3s;}
.submenu-grid a i { color: var(--text-sub); width: 18px; text-align: center; transition: 0.3s; }
.submenu-grid a:hover { background: var(--primary-light); color: var(--primary-hover); transform: translateX(4px); border-color: rgba(13, 148, 136, 0.1);}
.submenu-grid a:hover i { color: var(--primary); transform: scale(1.1); }

/* 主体容器 */
.main-container { margin-left: 320px; padding: 30px 40px 60px 10px; max-width: 1400px; margin-right: auto; overflow-x: hidden; }

/* ================= ==========================================
   顶部导航与搜索
   ========================================================== */
.top-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; position: relative; z-index: 1000; }
.breadcrumb { font-size: 14px; font-weight: 600; color: #64748b; display: flex; align-items: center; gap: 8px;}
.breadcrumb a { color: var(--primary); transition: 0.3s; }
.breadcrumb a:hover { color: var(--primary-hover); text-decoration: underline;}
.breadcrumb i { font-size: 12px; color: #cbd5e1;}

.search-wrapper { position: relative; flex: 1; max-width: 480px; display: flex; align-items: center; margin-left: auto;}
.search-input {
    width: 100%; height: 50px; padding: 0 100px 0 24px; border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px); box-shadow: var(--shadow-soft);
    color: var(--text-dark); font-size: 14px; font-weight: 600; transition: all 0.4s ease;
}
.search-input::placeholder { color: #94a3b8; font-weight: 500; }
.search-input:focus {
    background: #ffffff; border-color: var(--primary);
    box-shadow: 0 15px 35px -10px rgba(13, 148, 136, 0.25), 0 0 0 4px rgba(13, 148, 136, 0.1);
}
.search-btn {
    position: absolute; right: 5px; top: 5px; bottom: 5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #fff; border-radius: 20px; padding: 0 24px; display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800; cursor: pointer; transition: all 0.3s ease; letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}
.search-btn:hover { background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%); transform: translateY(-1px); box-shadow: 0 6px 15px rgba(13, 148, 136, 0.4); }

.search-dropdown {
    position: absolute; top: calc(100% + 14px); left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.98); border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 25px 50px -10px rgba(13, 148, 136, 0.15); backdrop-filter: blur(24px);
    border-radius: 20px; padding: 24px; z-index: 1001; opacity: 0; visibility: hidden;
    transform: translateY(-10px); transition: all 0.3s; pointer-events: none;
    max-height: 480px; overflow-y: auto;
}
.search-dropdown.show { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.search-dropdown::-webkit-scrollbar { width: 6px; }
.search-dropdown::-webkit-scrollbar-track { background: transparent; }
.search-dropdown::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.sd-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px dashed rgba(0,0,0,0.06); position: sticky; top: -24px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); z-index: 10; padding-top: 24px; margin-top: -24px; }
.sd-title { font-size: 16px; font-weight: 800; color: var(--text-dark); display: flex; align-items: center; gap: 8px; }
.sd-title i { color: #ef4444; font-size: 18px; } 
.sd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.sd-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--text-main); cursor: pointer; padding: 8px 12px; border-radius: 12px; transition: 0.2s; border: 1px solid transparent;}
.sd-item:hover { background: var(--primary-light); color: var(--primary-hover); transform: translateX(4px); border-color: rgba(13,148,136,0.1);}
.sd-idx { font-size: 15px; font-weight: 900; font-style: italic; color: #94a3b8; width: 22px; text-align: center; }
.sd-item:nth-child(1) .sd-idx { color: #ef4444; } .sd-item:nth-child(2) .sd-idx { color: #f97316; } .sd-item:nth-child(3) .sd-idx { color: #f59e0b; }
.sd-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ================= ==========================================
   沉浸式游戏详情头部 (Hero Section)
   ========================================================== */
.game-detail-hero {
    position: relative; border-radius: 28px; padding: 60px 50px; 
    margin-bottom: 40px; overflow: hidden; color: #fff;
    box-shadow: 0 30px 60px -15px rgba(13, 148, 136, 0.3);
    display: flex; justify-content: space-between; align-items: center; gap: 40px;
}

.game-detail-hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, #0f172a 0%, rgba(15, 23, 42, 0.9) 40%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.gdh-bg {
    position: absolute; inset: 0; z-index: 0;
    background: url('https://images.unsplash.com/photo-1574169208507-84376144848b?w=1600&fit=crop') center/cover no-repeat;
    opacity: 0.8;
    mask-image: linear-gradient(to right, transparent 0%, black 50%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 50%);
    transition: transform 10s ease;
}
.game-detail-hero:hover .gdh-bg { transform: scale(1.05); }

.gdh-content { position: relative; z-index: 2; display: flex; align-items: center; gap: 30px; flex: 1;}
.gdh-icon {
    width: 140px; height: 140px; border-radius: 32px; object-fit: cover;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), inset 0 0 0 2px rgba(255,255,255,0.2);
    background: #fff; border: 4px solid #fff; flex-shrink: 0;
}

.gdh-info { display: flex; flex-direction: column; align-items: flex-start;}
.gdh-title { font-size: 42px; font-weight: 900; letter-spacing: 2px; line-height: 1.1; margin-bottom: 12px; text-shadow: 0 4px 10px rgba(0,0,0,0.5);}

.gdh-tags { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap;}
.gdh-tags span { 
    font-size: 13px; font-weight: 800; padding: 6px 14px; border-radius: 8px;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-play-large {
    padding: 16px 48px; border-radius: 16px; font-size: 18px; font-weight: 900; letter-spacing: 2px;
    background: linear-gradient(135deg, var(--wechat-green), #059669); color: #fff;
    border: none; cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 12px;
    box-shadow: 0 10px 25px rgba(7, 193, 96, 0.4); text-decoration: none; position: relative; overflow: hidden;
}
.btn-play-large::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg) translateY(-100%); animation: btnShine 3s infinite;
}
@keyframes btnShine { 0% { transform: rotate(45deg) translateY(-100%); } 20%, 100% { transform: rotate(45deg) translateY(100%); } }
.btn-play-large:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(7, 193, 96, 0.6); }

.wechat-prompt {
    font-size: 13px; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 6px; font-weight: 600;
    background: rgba(0,0,0,0.2); padding: 4px 12px; border-radius: 12px; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.1);
}
.wechat-prompt i { color: #6ee7b7; font-size: 15px;}

.gdh-right { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; justify-content: center;}
.score-box { text-align: center; margin-bottom: 15px;}
.score-num { font-size: 64px; font-weight: 900; line-height: 1; color: #fcd34d; text-shadow: 0 4px 15px rgba(245, 158, 11, 0.5); font-family: 'Inter', sans-serif;}
.score-num span { font-size: 24px; color: rgba(255,255,255,0.8); margin-left: 4px; font-weight: 700;}
.score-stars { color: #fcd34d; font-size: 16px; letter-spacing: 2px; margin-top: 5px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));}
.score-label { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.7); margin-top: 8px;}

/* ================= ==========================================
   内容区 两栏布局与卡片设计
   ========================================================== */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    align-items: start;
}

.section-card {
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 1); border-radius: var(--radius-main);
    padding: 30px; margin-bottom: 30px;
    box-shadow: var(--shadow-soft);
}

.sc-title { font-size: 20px; font-weight: 900; color: var(--text-dark); margin-bottom: 24px; display: flex; align-items: center; gap: 10px; position: relative;}
.sc-title::before { content: ''; width: 6px; height: 20px; background: var(--primary); border-radius: 4px;}

.desc-text { font-size: 15px; color: var(--text-main); line-height: 1.8; font-weight: 500;}
.desc-text p { margin-bottom: 16px; }
.desc-text p:last-child { margin-bottom: 0;}

/* 高清竖屏截图网格 (加入纵横比锁定防 CLS 抖动) */
.screenshot-grid.vertical-style { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;}
.screenshot-item { border-radius: 16px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08); aspect-ratio: 9/16; position: relative; cursor: zoom-in;}
.screenshot-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); aspect-ratio: 9/16; }
.screenshot-item::after { content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; inset: 0; background: rgba(13,148,136,0.6); color: #fff; font-size: 32px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s;}
.screenshot-item:hover img { transform: scale(1.05); }
.screenshot-item:hover::after { opacity: 1; }

/* ================= ==========================================
   顶级高级图片放大查看器 (Lightbox)
   ========================================================== */
.lightbox-modal {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(15px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.lightbox-modal.active { opacity: 1; visibility: visible; }

.lightbox-toolbar {
    position: absolute; top: 20px; right: 30px; z-index: 10000;
    display: flex; gap: 15px; background: rgba(0,0,0,0.6);
    padding: 10px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1);
}
.lightbox-toolbar i {
    color: #fff; font-size: 18px; cursor: pointer; transition: 0.3s;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 10px; background: rgba(255,255,255,0.1);
}
.lightbox-toolbar i:hover { background: var(--primary); transform: translateY(-2px) scale(1.05); box-shadow: 0 5px 15px rgba(13, 148, 136, 0.4); }

.lightbox-img-wrapper {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; 
    overflow: hidden; position: relative;
}
.lightbox-img {
    max-width: 90%; max-height: 90vh; border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6); object-fit: contain;
    cursor: grab; user-select: none;
    transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lightbox-img:active { cursor: grabbing; }
.lightbox-img.no-transition { transition: none !important; }
.lightbox-modal.active .lightbox-img.initial-zoom { transform: scale(1) translate(0px, 0px); }

/* 最新动态 */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item { display: flex; align-items: center; gap: 16px; padding: 16px; background: #f8fafc; border-radius: 16px; text-decoration: none; border: 1px solid rgba(0,0,0,0.03); transition: 0.3s;}
.news-item:hover { background: var(--primary-light); transform: translateX(8px); border-color: rgba(13,148,136,0.15);}
.news-tag { padding: 4px 10px; background: #e0e7ff; color: #0369a1; font-size: 12px; font-weight: 800; border-radius: 6px; flex-shrink: 0;}
.news-tag.update { background: #dcfce7; color: #059669; }
.news-tag.guide { background: #ffedd5; color: #ea580c; }
.news-title { font-size: 15px; font-weight: 700; color: var(--text-dark); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.news-item:hover .news-title { color: var(--primary); }
.news-date { font-size: 13px; color: #94a3b8; font-weight: 600; }

/* ================= ==========================================
   右侧边栏卡片及微信组件设计
   ========================================================== */
.side-card {
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 1); border-radius: 20px;
    padding: 24px; margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
}
.side-card-title { font-size: 16px; font-weight: 900; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px dashed rgba(0,0,0,0.08); display: flex; align-items: center; gap: 8px;}
.side-card-title i { color: var(--primary); }

.info-list { display: flex; flex-direction: column; gap: 16px;}
.info-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px;}
.info-label { color: var(--text-sub); font-weight: 600; flex-shrink: 0; width: 70px;}
.info-val { color: var(--text-dark); font-weight: 800; text-align: right;}

.pretty-tag {
    background: linear-gradient(135deg, #f0fdfa, #e0f2fe);
    color: var(--primary);
    border: 1px solid rgba(13, 148, 136, 0.2);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(13, 148, 136, 0.05);
    transition: all 0.3s ease;
    cursor: default;
}
.pretty-tag:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.2);
}

/* 微信特制扫码卡片 */
.qr-play-card {
    text-align: center; border: 2px solid var(--wechat-green); 
    box-shadow: 0 15px 30px rgba(7, 193, 96, 0.15); position: relative; overflow: hidden;
}
.qr-play-card::before {
    content: ''; position: absolute; top: -50px; right: -50px; width: 100px; height: 100px;
    background: radial-gradient(circle, rgba(7,193,96,0.1) 0%, transparent 70%); border-radius: 50%;
}
.qr-title { font-size: 18px; font-weight: 900; color: var(--text-dark); margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 8px;}
.qr-img-wrapper { 
    background: #fff; padding: 12px; border-radius: 20px; display: inline-block; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.08); margin-bottom: 16px; position: relative;
}
.qr-img-wrapper img { width: 150px; height: 150px; border-radius: 8px; display: block;}
.qr-center-logo {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 40px; height: 40px; background: #fff; border-radius: 10px; padding: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center;
}
.qr-center-logo i { color: var(--wechat-green); font-size: 32px; line-height: 1;}

/* ================= ==========================================
   页脚与回到顶部
   ========================================================== */
.site-footer {
    background-color: #0f172a; color: #94a3b8; padding: 60px 40px 25px; border-radius: var(--radius-main);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid rgba(255,255,255,0.05); position: relative; overflow: hidden;
    margin-top: 40px;
}
.site-footer::before { content: ''; position: absolute; top:0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary), #3b82f6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin: 0 auto 40px; max-width: 900px; }
.footer-col h4 { color: #f8fafc; font-size: 16px; font-weight: 900; margin-bottom: 25px; position: relative; letter-spacing: 1px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 30px; height: 3px; background: var(--primary); border-radius: 2px; }
.footer-logo { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 24px; font-weight: 900; margin-bottom: 20px; }
.footer-logo i { color: var(--primary); font-size: 30px; text-shadow: 0 0 15px rgba(13, 148, 136, 0.5);}
.footer-desc { line-height: 1.8; font-size: 14px; margin-bottom: 25px; color: #94a3b8; font-weight: 500; }
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links a { color: #94a3b8; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.footer-links a::before { content: '›'; color: var(--primary); font-size: 18px; font-weight: bold; opacity: 0; transform: translateX(-5px); transition: 0.3s; }
.footer-links a:hover { color: #fff; } .footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.footer-bottom { text-align: center; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 13px; font-weight: 500; color: #64748b; }
.footer-bottom span { color: rgba(255,255,255,0.1); margin: 0 10px; }

.back-to-top {
    position: fixed; bottom: 40px; right: 40px; width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 22px; box-shadow: 0 10px 25px rgba(13, 148, 136, 0.4);
    cursor: pointer; z-index: 1000; opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 15px 35px rgba(13, 148, 136, 0.6); }

/* ================= ==========================================
   自适应断点媒体查询
   ========================================================== */
@media (max-width: 1200px) { 
    .detail-grid { grid-template-columns: 1fr; }
    .gdh-content { flex-direction: column; text-align: center; align-items: center;}
    .gdh-info { align-items: center;}
    .game-detail-hero { flex-direction: column; gap: 30px;}
    .gdh-right { align-items: center;}
    .screenshot-grid.vertical-style { grid-template-columns: repeat(2, 1fr); }
}