/* ============================================
   赛博奇兵 (Cyber Trooper) - 主样式表
   CSS前缀: yx2-
   设计风格: 游戏HUD赛博风
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* ---- 全局变量 ---- */
:root {
    --yx2-primary: #0A0A0A;
    --yx2-secondary: #00FFFF;
    --yx2-accent: #FF00FF;
    --yx2-text: #E0E0E0;
    --yx2-link: #00FFFF;
    --yx2-dark-bg: #050510;
    --yx2-card-bg: #0d0d1a;
    --yx2-border: #1a1a3a;
    --yx2-red: #FF3333;
    --yx2-green: #33FF66;
    --yx2-yellow: #FFD700;
    --yx2-font-pixel: 'Pixelify Sans', monospace;
    --yx2-font-body: 'Roboto', 'Microsoft YaHei', sans-serif;
}

/* ---- 干扰标签隐藏 ---- */
.game-jammer-block { display: none !important; }

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--yx2-primary);
    color: var(--yx2-text);
    font-family: var(--yx2-font-body);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: var(--yx2-link);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--yx2-accent);
    text-shadow: 0 0 8px var(--yx2-accent);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--yx2-font-pixel);
    color: var(--yx2-secondary);
    line-height: 1.3;
}

/* ---- 页面加载动画 ---- */
#yx2-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--yx2-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

#yx2-loader.yx2-loaded {
    opacity: 0;
    pointer-events: none;
}

.yx2-loader-text {
    font-family: var(--yx2-font-pixel);
    color: var(--yx2-secondary);
    font-size: 1.5rem;
    margin-bottom: 20px;
    animation: yx2-blink 0.8s infinite;
}

.yx2-loader-bar {
    width: 300px;
    height: 8px;
    background: var(--yx2-border);
    border: 1px solid var(--yx2-secondary);
    position: relative;
    overflow: hidden;
}

.yx2-loader-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--yx2-secondary), var(--yx2-accent));
    width: 0%;
    animation: yx2-loading 1.5s ease-in-out forwards;
}

@keyframes yx2-loading {
    0% { width: 0%; }
    50% { width: 60%; }
    80% { width: 85%; }
    100% { width: 100%; }
}

@keyframes yx2-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ---- 导航栏 ---- */
#yx2-header {
    width: 100%;
    background: rgba(10, 10, 10, 0.92);
    border-bottom: 1px solid var(--yx2-secondary);
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.yx2-nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.yx2-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.yx2-logo-icon {
    width: 36px;
    height: 36px;
    border: 2px solid var(--yx2-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--yx2-font-pixel);
    font-size: 14px;
    color: var(--yx2-secondary);
    background: rgba(0, 255, 255, 0.05);
}

.sp-logo-text {
    font-family: var(--yx2-font-pixel);
    font-size: 1.2rem;
    color: var(--yx2-secondary);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    letter-spacing: 1px;
}

.yx2-nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.yx2-nav-links li a {
    display: block;
    padding: 20px 16px;
    font-family: var(--yx2-font-pixel);
    font-size: 0.85rem;
    color: var(--yx2-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.yx2-nav-links li a:hover,
.yx2-nav-links li a.yx2-active {
    color: var(--yx2-secondary);
    border-color: var(--yx2-secondary);
    background: rgba(0, 255, 255, 0.05);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
    animation: yx2-pixel-shake 0.1s ease-in-out;
}

@keyframes yx2-pixel-shake {
    0%, 100% { transform: translate(0); }
    25% { transform: translate(1px, 1px); }
    50% { transform: translate(-1px, -1px); }
    75% { transform: translate(1px, -1px); }
}

/* 汉堡菜单 */
.yx2-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: 1px solid var(--yx2-secondary);
    background: transparent;
}

.yx2-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--yx2-secondary);
    transition: all 0.3s ease;
}

.yx2-hamburger.yx2-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.yx2-hamburger.yx2-open span:nth-child(2) {
    opacity: 0;
}
.yx2-hamburger.yx2-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端全屏菜单 */
.yx2-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 16, 0.98);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.yx2-mobile-menu.yx2-open {
    display: flex;
    opacity: 1;
}

.yx2-mobile-menu a {
    font-family: var(--yx2-font-pixel);
    font-size: 1.5rem;
    color: var(--yx2-secondary);
    padding: 12px 30px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.yx2-mobile-menu a:hover {
    border-color: var(--yx2-accent);
    color: var(--yx2-accent);
}

.yx2-mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--yx2-font-pixel);
    font-size: 2rem;
    color: var(--yx2-secondary);
    cursor: pointer;
    background: none;
    border: 1px solid var(--yx2-secondary);
    padding: 4px 12px;
}

/* ---- S级警报 Hero ---- */
.yx2-alert {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--yx2-dark-bg);
}

.yx2-alert-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: blur(2px);
}

.yx2-alert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5,5,16,0.3) 0%, rgba(5,5,16,0.9) 100%);
}

.yx2-alert-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
}

.yx2-alert-tag {
    display: inline-block;
    font-family: var(--yx2-font-pixel);
    font-size: 0.8rem;
    color: var(--yx2-red);
    border: 1px solid var(--yx2-red);
    padding: 4px 16px;
    margin-bottom: 20px;
    animation: yx2-blink 1s infinite;
    letter-spacing: 2px;
}

.yx2-alert-title {
    font-family: var(--yx2-font-pixel);
    font-size: 3rem;
    color: var(--yx2-red);
    text-shadow: 0 0 20px rgba(255, 51, 51, 0.5);
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.yx2-alert-desc {
    font-size: 1.1rem;
    color: var(--yx2-text);
    line-height: 1.8;
    margin-bottom: 30px;
}

.yx2-btn {
    display: inline-block;
    font-family: var(--yx2-font-pixel);
    font-size: 0.9rem;
    padding: 12px 32px;
    border: 2px solid var(--yx2-secondary);
    color: var(--yx2-secondary);
    background: transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.yx2-btn:hover {
    background: var(--yx2-secondary);
    color: var(--yx2-primary);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.yx2-btn-accent {
    border-color: var(--yx2-accent);
    color: var(--yx2-accent);
}

.yx2-btn-accent:hover {
    background: var(--yx2-accent);
    color: var(--yx2-primary);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.4);
}

/* ---- 通用Section ---- */
.yx2-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 20px;
}

.yx2-section-header {
    margin-bottom: 50px;
}

.yx2-section-cmd {
    font-family: var(--yx2-font-pixel);
    font-size: 0.8rem;
    color: var(--yx2-green);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.yx2-section-title {
    font-family: var(--yx2-font-pixel);
    font-size: 2rem;
    color: var(--yx2-secondary);
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--yx2-border);
    position: relative;
}

.yx2-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 120px;
    height: 2px;
    background: var(--yx2-secondary);
}

.yx2-section-desc {
    margin-top: 15px;
    color: #999;
    font-size: 0.95rem;
}

/* ---- 电影卡片 ---- */
.yx2-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.yx2-movie-card {
    background: var(--yx2-card-bg);
    border: 1px solid var(--yx2-border);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.yx2-movie-card:hover {
    border-color: var(--yx2-secondary);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
    transform: translateY(-4px);
}

.yx2-movie-card-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.yx2-movie-card-body {
    padding: 16px;
}

.yx2-movie-card-title {
    font-family: var(--yx2-font-pixel);
    font-size: 1rem;
    color: var(--yx2-text);
    margin-bottom: 12px;
}

/* 血条评分 */
.yx2-hp-bar {
    margin-bottom: 8px;
}

.yx2-hp-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 4px;
    color: #888;
    font-family: var(--yx2-font-pixel);
}

.yx2-hp-track {
    width: 100%;
    height: 8px;
    background: #1a1a2e;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.yx2-hp-fill {
    height: 100%;
    transition: width 1s ease;
}

.yx2-hp-fill-red { background: linear-gradient(90deg, #FF3333, #FF6666); }
.yx2-hp-fill-cyan { background: linear-gradient(90deg, #00CCCC, #00FFFF); }
.yx2-hp-fill-purple { background: linear-gradient(90deg, #CC00CC, #FF00FF); }
.yx2-hp-fill-green { background: linear-gradient(90deg, #00CC66, #33FF66); }

/* ---- 装备库 ---- */
.yx2-armory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.yx2-armory-item {
    background: var(--yx2-card-bg);
    border: 1px solid var(--yx2-border);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.yx2-armory-item:hover {
    border-color: var(--yx2-accent);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.15);
}

.yx2-armory-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 16px;
    border: 1px solid var(--yx2-border);
}

.yx2-armory-name {
    font-family: var(--yx2-font-pixel);
    font-size: 0.95rem;
    color: var(--yx2-text);
    margin-bottom: 8px;
}

.yx2-armory-price {
    font-family: var(--yx2-font-pixel);
    color: var(--yx2-yellow);
    font-size: 1.1rem;
}

/* ---- 技能树 ---- */
.yx2-skill-tree {
    position: relative;
    background: var(--yx2-dark-bg);
    border-top: 1px solid var(--yx2-border);
    border-bottom: 1px solid var(--yx2-border);
}

.yx2-skill-tree-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    opacity: 0.6;
}

.yx2-skill-nodes {
    position: relative;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px 0;
}

.yx2-skill-node {
    background: var(--yx2-card-bg);
    border: 1px solid var(--yx2-secondary);
    padding: 16px 20px;
    min-width: 180px;
    text-align: center;
    position: relative;
}

.yx2-skill-node::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--yx2-secondary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.yx2-skill-year {
    font-family: var(--yx2-font-pixel);
    font-size: 0.8rem;
    color: var(--yx2-accent);
    margin-bottom: 6px;
}

.yx2-skill-name {
    font-family: var(--yx2-font-pixel);
    font-size: 0.9rem;
    color: var(--yx2-secondary);
    margin-bottom: 4px;
}

.yx2-skill-detail {
    font-size: 0.8rem;
    color: #888;
}

/* ---- 世界观档案馆 ---- */
.yx2-lore-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.yx2-lore-card {
    background: var(--yx2-card-bg);
    border: 1px solid var(--yx2-border);
    display: flex;
    overflow: hidden;
    transition: all 0.3s ease;
}

.yx2-lore-card:hover {
    border-color: var(--yx2-secondary);
}

.yx2-lore-img {
    width: 200px;
    min-height: 180px;
    object-fit: cover;
    flex-shrink: 0;
}

.yx2-lore-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.yx2-lore-title {
    font-family: var(--yx2-font-pixel);
    font-size: 1rem;
    color: var(--yx2-secondary);
    margin-bottom: 10px;
}

.yx2-lore-excerpt {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.6;
}

/* ---- NPC情报局 ---- */
.yx2-npc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.yx2-npc-card {
    background: var(--yx2-card-bg);
    border: 1px solid var(--yx2-border);
    text-align: center;
    padding: 24px 16px;
    transition: all 0.3s ease;
}

.yx2-npc-card:hover {
    border-color: var(--yx2-accent);
}

.yx2-npc-avatar {
    width: 100px;
    height: 100px;
    border-radius: 0;
    border: 2px solid var(--yx2-secondary);
    margin: 0 auto 16px;
    object-fit: cover;
}

.yx2-npc-name {
    font-family: var(--yx2-font-pixel);
    font-size: 0.95rem;
    color: var(--yx2-secondary);
    margin-bottom: 6px;
}

.yx2-npc-role {
    font-size: 0.8rem;
    color: var(--yx2-accent);
    margin-bottom: 8px;
}

.yx2-npc-desc {
    font-size: 0.8rem;
    color: #888;
}

/* ---- Bug反馈区 ---- */
.yx2-bug-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.yx2-bug-item {
    background: var(--yx2-card-bg);
    border: 1px solid var(--yx2-border);
    border-left: 3px solid var(--yx2-red);
    padding: 20px;
    transition: all 0.3s ease;
}

.yx2-bug-item:hover {
    border-left-color: var(--yx2-accent);
}

.yx2-bug-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.yx2-bug-severity {
    font-family: var(--yx2-font-pixel);
    font-size: 0.7rem;
    padding: 2px 8px;
    border: 1px solid;
}

.yx2-bug-critical { color: var(--yx2-red); border-color: var(--yx2-red); }
.yx2-bug-major { color: var(--yx2-yellow); border-color: var(--yx2-yellow); }
.yx2-bug-minor { color: var(--yx2-green); border-color: var(--yx2-green); }

.yx2-bug-title {
    font-family: var(--yx2-font-pixel);
    font-size: 0.95rem;
    color: var(--yx2-text);
}

.yx2-bug-desc {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.6;
}

/* ---- 成就殿堂 ---- */
.yx2-achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.yx2-achievement-card {
    background: var(--yx2-card-bg);
    border: 1px solid var(--yx2-yellow);
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.yx2-achievement-card::before {
    content: 'S';
    position: absolute;
    top: -10px;
    right: -10px;
    font-family: var(--yx2-font-pixel);
    font-size: 5rem;
    color: rgba(255, 215, 0, 0.08);
    line-height: 1;
}

.yx2-achievement-rank {
    font-family: var(--yx2-font-pixel);
    font-size: 2rem;
    color: var(--yx2-yellow);
    margin-bottom: 10px;
}

.yx2-achievement-name {
    font-family: var(--yx2-font-pixel);
    font-size: 1rem;
    color: var(--yx2-text);
    margin-bottom: 8px;
}

.yx2-achievement-score {
    font-family: var(--yx2-font-pixel);
    font-size: 1.5rem;
    color: var(--yx2-green);
}

/* ---- 氪金入口 ---- */
.yx2-cash-shop {
    background: linear-gradient(135deg, rgba(255,0,255,0.05), rgba(0,255,255,0.05));
    border: 1px solid var(--yx2-border);
}

.yx2-vip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.yx2-vip-card {
    background: var(--yx2-card-bg);
    border: 1px solid var(--yx2-border);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.yx2-vip-card.yx2-featured {
    border-color: var(--yx2-yellow);
    position: relative;
}

.yx2-vip-card.yx2-featured::before {
    content: 'HOT';
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: var(--yx2-font-pixel);
    font-size: 0.7rem;
    color: var(--yx2-primary);
    background: var(--yx2-yellow);
    padding: 2px 8px;
}

.yx2-vip-tier {
    font-family: var(--yx2-font-pixel);
    font-size: 1.2rem;
    color: var(--yx2-secondary);
    margin-bottom: 10px;
}

.yx2-vip-price {
    font-family: var(--yx2-font-pixel);
    font-size: 2rem;
    color: var(--yx2-yellow);
    margin-bottom: 20px;
}

.yx2-vip-price span {
    font-size: 0.8rem;
    color: #888;
}

.yx2-vip-features {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
}

.yx2-vip-features li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: #999;
    border-bottom: 1px solid var(--yx2-border);
}

.yx2-vip-features li::before {
    content: '> ';
    color: var(--yx2-green);
    font-family: var(--yx2-font-pixel);
}

/* ---- 开发者日志 ---- */
.yx2-devlog-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.yx2-devlog-item {
    background: var(--yx2-card-bg);
    border: 1px solid var(--yx2-border);
    border-left: 3px solid var(--yx2-secondary);
    padding: 20px;
}

.yx2-devlog-date {
    font-family: var(--yx2-font-pixel);
    font-size: 0.75rem;
    color: var(--yx2-accent);
    margin-bottom: 6px;
}

.yx2-devlog-title {
    font-family: var(--yx2-font-pixel);
    font-size: 0.95rem;
    color: var(--yx2-secondary);
    margin-bottom: 8px;
}

.yx2-devlog-text {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.6;
}

/* ---- 页脚 ---- */
#yx2-footer {
    background: var(--yx2-dark-bg);
    border-top: 1px solid var(--yx2-border);
    padding: 40px 20px 20px;
}

.yx2-footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.yx2-footer-col h4 {
    font-family: var(--yx2-font-pixel);
    font-size: 0.85rem;
    color: var(--yx2-secondary);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.yx2-footer-sys {
    font-family: var(--yx2-font-pixel);
    font-size: 0.75rem;
    color: var(--yx2-green);
    line-height: 2;
}

.yx2-footer-links {
    list-style: none;
}

.yx2-footer-links li {
    margin-bottom: 8px;
}

.yx2-footer-links a {
    font-size: 0.85rem;
    color: #888;
}

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

.yx2-footer-copyright {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.8;
}

.yx2-footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--yx2-border);
    text-align: center;
    font-size: 0.75rem;
    color: #666;
    line-height: 2;
}

.yx2-footer-bottom a {
    color: #888;
}

.yx2-footer-badge {
    display: inline-block;
    border: 1px solid var(--yx2-yellow);
    padding: 2px 10px;
    font-family: var(--yx2-font-pixel);
    font-size: 0.7rem;
    color: var(--yx2-yellow);
    margin-bottom: 10px;
}

/* ---- 内页通用 ---- */
.yx2-page-hero {
    background: var(--yx2-dark-bg);
    padding: 80px 20px 40px;
    text-align: center;
    border-bottom: 1px solid var(--yx2-border);
}

.yx2-page-hero h1 {
    font-family: var(--yx2-font-pixel);
    font-size: 2.5rem;
    color: var(--yx2-secondary);
    margin-bottom: 15px;
}

.yx2-page-hero p {
    color: #999;
    max-width: 700px;
    margin: 0 auto;
}

.yx2-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* ---- 评分系统 ---- */
.yx2-rating-panel {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    background: var(--yx2-card-bg);
    border: 1px solid var(--yx2-border);
    padding: 30px;
}

.yx2-rating-poster {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border: 1px solid var(--yx2-border);
}

.yx2-rating-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.yx2-slider-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.yx2-slider-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--yx2-font-pixel);
    font-size: 0.85rem;
    color: var(--yx2-text);
}

.yx2-slider-value {
    color: var(--yx2-secondary);
    font-size: 1.1rem;
}

.yx2-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #1a1a2e;
    border: 1px solid #333;
    outline: none;
}

.yx2-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--yx2-secondary);
    cursor: pointer;
    border: 2px solid var(--yx2-primary);
}

.yx2-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--yx2-secondary);
    cursor: pointer;
    border: 2px solid var(--yx2-primary);
}

.yx2-total-score {
    text-align: center;
    padding: 20px;
    border: 2px solid var(--yx2-secondary);
    background: rgba(0, 255, 255, 0.03);
}

.yx2-total-label {
    font-family: var(--yx2-font-pixel);
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 8px;
}

.yx2-total-number {
    font-family: var(--yx2-font-pixel);
    font-size: 3rem;
    color: var(--yx2-secondary);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* ---- APP下载页 ---- */
.yx2-app-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yx2-dark-bg);
    position: relative;
    overflow: hidden;
}

.yx2-app-content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 40px 20px;
}

.yx2-app-title {
    font-family: var(--yx2-font-pixel);
    font-size: 2rem;
    color: var(--yx2-secondary);
    margin-bottom: 20px;
}

.yx2-app-subtitle {
    color: #999;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.yx2-qr-wrap {
    display: inline-block;
    border: 2px solid var(--yx2-secondary);
    padding: 15px;
    margin-bottom: 20px;
    background: rgba(0, 255, 255, 0.03);
}

.yx2-qr-img {
    width: 200px;
    height: 200px;
}

.yx2-app-hud-text {
    font-family: var(--yx2-font-pixel);
    font-size: 0.75rem;
    color: var(--yx2-green);
    animation: yx2-blink 1.5s infinite;
    margin-bottom: 20px;
}

.yx2-app-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- 扫描线效果 ---- */
.yx2-scanlines::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 255, 0.01) 2px,
        rgba(0, 255, 255, 0.01) 4px
    );
    pointer-events: none;
    z-index: 9998;
}

/* ---- 响应式 ---- */
@media (max-width: 1440px) {
    .yx2-card-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .yx2-card-grid { grid-template-columns: repeat(2, 1fr); }
    .yx2-armory-grid { grid-template-columns: repeat(2, 1fr); }
    .yx2-npc-grid { grid-template-columns: repeat(2, 1fr); }
    .yx2-achievement-grid { grid-template-columns: repeat(2, 1fr); }
    .yx2-vip-grid { grid-template-columns: repeat(2, 1fr); }
    .yx2-lore-grid { grid-template-columns: 1fr; }
    .yx2-footer-inner { grid-template-columns: 1fr; }
    .yx2-rating-panel { grid-template-columns: 1fr; }
    .yx2-nav-links { display: none; }
    .yx2-hamburger { display: flex; }
}

@media (max-width: 768px) {
    .yx2-alert-title { font-size: 2rem; }
    .yx2-section-title { font-size: 1.5rem; }
    .yx2-card-grid { grid-template-columns: 1fr; }
    .yx2-armory-grid { grid-template-columns: 1fr; }
    .yx2-npc-grid { grid-template-columns: repeat(2, 1fr); }
    .yx2-achievement-grid { grid-template-columns: 1fr; }
    .yx2-vip-grid { grid-template-columns: 1fr; }
    .yx2-skill-nodes { flex-direction: column; align-items: center; }
    .yx2-lore-card { flex-direction: column; }
    .yx2-lore-img { width: 100%; min-height: 150px; }
}

@media (max-width: 360px) {
    html { font-size: 14px; }
    .yx2-alert-title { font-size: 1.5rem; }
    .yx2-nav-inner { height: 56px; }
    .yx2-npc-grid { grid-template-columns: 1fr; }
}

/* ---- 文章内容 ---- */
.yx2-article {
    max-width: 900px;
    margin: 0 auto;
}

.yx2-article p {
    margin-bottom: 1.5em;
    line-height: 1.9;
    color: var(--yx2-text);
}

.yx2-article h2 {
    font-size: 1.5rem;
    margin: 2em 0 1em;
    padding-left: 12px;
    border-left: 3px solid var(--yx2-secondary);
}

.yx2-article h3 {
    font-size: 1.2rem;
    margin: 1.5em 0 0.8em;
}

.yx2-article img {
    width: 100%;
    margin: 1.5em 0;
    border: 1px solid var(--yx2-border);
}

.yx2-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 1.5em 0;
}

.yx2-comparison img {
    margin: 0;
}

.yx2-comparison-label {
    font-family: var(--yx2-font-pixel);
    font-size: 0.75rem;
    color: var(--yx2-accent);
    text-align: center;
    margin-top: 6px;
}
