:root {
    --bg-dark: #0f1115;
    --bg-panel: rgba(26, 29, 36, 0.6);
    --bg-panel-hover: rgba(36, 40, 50, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #8b92a5;
    --accent-primary: #6366f1;
    --accent-primary-hover: #4f46e5;
    --accent-success: #10b981;
    --glass-blur: blur(16px);
    --font-family: 'Inter', system-ui, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* 博客页面全屏渐变光晕 */
    background-image: 
        radial-gradient(circle at 80% -10%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at -20% 60%, rgba(16, 185, 129, 0.08) 0%, transparent 40%);
    background-attachment: fixed;
}

.container {
    max-width: 1800px; /* 进一步放开容器宽度，允许卡片横向拓展 */
    margin: 0 auto;
    padding: 0 40px;
}

.glass-card {
    background: var(--bg-panel);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

/* 按钮通用 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: inherit;
    text-decoration: none;
}

.btn-sm { padding: 6px 14px; font-size: 0.85rem; }
.btn-large { padding: 14px 28px; font-size: 1.05rem; }

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    background: var(--accent-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* 科幻黑客风导航栏 */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(8, 10, 15, 0.95) 0%, rgba(13, 16, 23, 0.85) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(16, 185, 129, 0.15);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 60px; /* 控制Logo和导航条之间的科技感距离 */
}

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

.logo-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent-primary), #818cf8);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.logo-icon.small {
    width: 20px;
    height: 20px;
}

.logo h1, .logo h2 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #fff, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    position: relative;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 14px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid transparent;
}

.nav-links a::before,
.nav-links a::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border: 1px solid transparent;
    transition: all 0.3s;
    opacity: 0;
}

.nav-links a::before {
    top: -1px;
    left: -1px;
    border-top-color: var(--accent-primary);
    border-left-color: var(--accent-primary);
}

.nav-links a::after {
    bottom: -1px;
    right: -1px;
    border-bottom-color: var(--accent-primary);
    border-right-color: var(--accent-primary);
}

.nav-links a:hover, 
.nav-links a.active {
    color: #fff;
    background: rgba(99, 102, 241, 0.1);
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.8);
    border-color: rgba(99, 102, 241, 0.2);
}

.nav-links a:hover::before,
.nav-links a.active::before,
.nav-links a:hover::after,
.nav-links a.active::after {
    opacity: 1;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 6px var(--accent-primary);
}

.search-box {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.search-box input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 8px 16px;
    border-radius: 4px; /* 更锐利的边角 */
    color: #10b981;
    outline: none;
    font-family: 'Courier New', monospace;
    transition: all 0.3s;
    width: 220px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.search-box input::placeholder {
    color: rgba(16, 185, 129, 0.4);
}

.search-box input:focus {
    border-color: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2), inset 0 0 10px rgba(0, 0, 0, 0.6);
    background: rgba(16, 185, 129, 0.05);
}

/* === 深度科技科幻风单行 Hero === */
.tech-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px; /* 增加了一点高度留给背景网格透视空间 */
    max-width: 1600px;
    margin: 40px auto;
    padding: 0 32px;
    position: relative;
}

/* 透视空间科幻网格地表 */
.tech-hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0; bottom: -100px;
    background-image: 
        linear-gradient(rgba(129, 140, 248, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 140, 248, 0.2) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
    transform: perspective(1000px) rotateX(75deg);
    transform-origin: top center;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
    mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
    z-index: -1;
}

/* 系统状态提示行 */
.sys-status {
    font-family: 'Courier New', Courier, monospace;
    color: var(--accent-primary);
    font-size: 0.95rem;
    letter-spacing: 4px;
    margin-bottom: 24px;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
    animation: sys-blink 2s infinite alternate;
}
@keyframes sys-blink {
    0% { opacity: 0.5; }
    100% { opacity: 1; text-shadow: 0 0 20px rgba(99, 102, 241, 0.9); }
}

.cyber-container {
    position: relative;
    text-align: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.cyber-title {
    display: inline-block;
    font-size: 4rem; /* 调整字号使其完美居中单行 */
    font-weight: 800;
    letter-spacing: 12px;
    margin-right: -12px;
    color: transparent;
    background: linear-gradient(120deg, #ffffff 0%, #818cf8 50%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-transform: uppercase;
    position: relative;
    /* 发光核心 */
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.4), 
                 0 0 80px rgba(16, 185, 129, 0.2);
    animation: pulse-glow 3s infinite alternate;
    transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), text-shadow 0.15s ease;
    will-change: transform, text-shadow;
}

/* 故障代码风 Glitch 伪元素 */
.cyber-title::before, .cyber-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    color: transparent;
    background: linear-gradient(120deg, #ffffff 0%, #818cf8 50%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    z-index: -1;
    opacity: 0.7;
}

.cyber-title::before {
    left: 4px;
    text-shadow: -3px 0 rgba(255, 0, 193, 0.6); /* 霓虹粉 */
    animation: glitch-anim-1 3s infinite linear alternate-reverse;
}
.cyber-title::after {
    left: -4px;
    text-shadow: 3px 0 rgba(0, 255, 249, 0.6);  /* 霓虹青 */
    animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
}

.cyber-line {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    margin: 20px auto 0;
    box-shadow: 0 0 20px var(--accent-primary);
    animation: draw-line 2s cubic-bezier(0.86, 0, 0.07, 1) forwards;
}

.cyber-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 8px;
    margin-right: -8px;
    color: var(--text-muted);
    margin-top: 30px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    opacity: 0;
    animation: fade-in-up 1s ease forwards;
    animation-delay: 1.2s; /* 在那条光束动画画完后再浮现 */
}

/* 标题闪烁输入的模拟光标 */
.cyber-cursor {
    display: inline-block;
    width: 14px;
    height: 1.3rem;
    background-color: var(--accent-primary);
    vertical-align: text-bottom;
    margin-left: 6px;
    box-shadow: 0 0 10px var(--accent-primary);
    animation: cursor-blink 1s step-end infinite;
}

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

@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ============================
   科幻风格搜索框区
   ============================ */
.cyber-search-v3 {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    animation: fade-in-up 1s ease forwards;
    animation-delay: 1.6s;
    opacity: 0;
}

.hud-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 650px;
    max-width: 90vw;
    height: 60px;
    background: linear-gradient(90deg, rgba(0, 255, 249, 0.05), rgba(0, 255, 249, 0.15));
    border: 1px solid rgba(0, 255, 249, 0.3);
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 255, 249, 0.1);
    backdrop-filter: none;
    overflow: hidden;
    transition: all 0.4s ease;
}

.hud-search-box:hover {
    border-color: rgba(0, 255, 249, 0.6);
    box-shadow: 0 0 30px rgba(0, 255, 249, 0.3), inset 0 0 15px rgba(0, 255, 249, 0.2);
    transform: scale(1.02);
}

.hud-search-box::before {
    content: '';
    position: absolute;
    top: -150%; left: -50%;
    width: 200%; height: 400%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(0, 255, 249, 0.1) 40%, rgba(0, 255, 249, 1) 50%, transparent 55%);
    animation: hud-spin 4s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.hud-search-box::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px; right: 2px; bottom: 2px;
    background: rgba(10, 14, 23, 0.95);
    border-radius: 28px;
    z-index: 1;
}

@keyframes hud-spin {
    100% { transform: rotate(360deg); }
}

.hud-label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    color: var(--accent-primary);
    padding-left: 10px;
}

.hud-label svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    filter: drop-shadow(0 0 5px var(--accent-primary));
}

.hud-input {
    position: relative;
    z-index: 2;
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    padding: 0 15px;
}

.hud-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    text-shadow: 0 0 5px rgba(0, 255, 249, 0.3);
}

.hud-submit {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 0 35px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(0,255,249,0.7);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    border-left: 1px solid rgba(0, 255, 249, 0.2);
}

.hud-submit:hover {
    color: #fff;
    background: rgba(0, 255, 249, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 249, 0.4);
    text-shadow: 0 0 10px #fff;
}

.hud-deco-line {
    width: 150px;
    height: 2px;
    background: rgba(0, 255, 249, 0.5);
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 249, 0.8);
    position: relative;
}

.hud-deco-line::before, .hud-deco-line::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #00fff9;
    top: -2px;
    border-radius: 50%;
    box-shadow: 0 0 8px #00fff9;
}

.hud-deco-line::before { left: -3px; }
.hud-deco-line::after { right: -3px; }

/* ============================
   Glitch 故障风错乱动画帧 
   ============================ */
@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); transform: translate(-2px, 1px); }
    20% { clip-path: inset(60% 0 10% 0); transform: translate(2px, -1px); }
    40% { clip-path: inset(40% 0 50% 0); transform: translate(-2px, 2px); }
    60% { clip-path: inset(80% 0 5% 0); transform: translate(2px, -2px); }
    80% { clip-path: inset(10% 0 70% 0); transform: translate(-1px, 1px); }
    100% { clip-path: inset(30% 0 50% 0); transform: translate(1px, -1px); }
}

@keyframes glitch-anim-2 {
    0% { clip-path: inset(10% 0 60% 0); transform: translate(2px, 1px); }
    20% { clip-path: inset(30% 0 20% 0); transform: translate(-2px, -2px); }
    40% { clip-path: inset(70% 0 10% 0); transform: translate(1px, 2px); }
    60% { clip-path: inset(20% 0 50% 0); transform: translate(-1px, -1px); }
    80% { clip-path: inset(50% 0 30% 0); transform: translate(2px, 2px); }
    100% { clip-path: inset(5% 0 80% 0); transform: translate(-2px, -1px); }
}

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5)); }
    100% { filter: drop-shadow(0 0 25px rgba(16, 185, 129, 0.8)); }
}

@keyframes draw-line {
    0% { width: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { width: 80%; opacity: 1; }
}

/* 博客主要列表部分 - 科技风重写 */
.cyber-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

/* 底部发光能量条（模拟加载/扫码进度条） */
.cyber-section-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 120px;
    height: 2px;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.cyber-heading {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

/* 控制台方向键前缀带有点故障撕裂感 */
.glitch-icon {
    color: var(--accent-primary);
    margin-right: 12px;
    font-family: monospace;
    font-size: 1.3em;
    text-shadow: 0 0 10px var(--accent-primary);
    animation: blink-glitch 3s infinite step-end;
}

/* 绿色命令光标后缀 */
.blink-dot {
    color: #10b981;
    margin-left: 10px;
    font-family: monospace;
    font-weight: 400;
    text-shadow: 0 0 10px #10b981;
    animation: cursor-blink 1s step-end infinite;
}

@keyframes blink-glitch {
    0%, 100% { opacity: 1; transform: skewX(0); }
    10% { opacity: 0.7; transform: skewX(-15deg); }
    15% { opacity: 1; transform: skewX(10deg); color: #10b981; }
    20% { opacity: 1; transform: skewX(0); color: var(--accent-primary); }
    80% { opacity: 1; transform: scaleY(1); }
    82% { opacity: 0.5; transform: scaleY(0.7); }
    85% { opacity: 1; transform: scaleY(1); }
}

.view-all {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

.trainer-grid {
    display: grid;
    /* 改为最小宽度300px，让卡片撑满能展宽的空间 */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

@media (min-width: 1200px) {
    .trainer-grid {
        /* 为了卡片更宽，默认改为一行4个 */
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1600px) {
    .trainer-grid {
        /* 只在极宽屏（1600以上）且容器有空间才使用5个，以此保障足够宽的卡片 */
        grid-template-columns: repeat(5, 1fr);
    }
}

.trainer-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: var(--glass-blur);
    display: flex;
    flex-direction: column;
}

.trainer-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 占位背景图效果 */
.card-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.bg-gradient-1 { background: linear-gradient(135deg, #1e3a8a, #312e81); }
.bg-gradient-2 { background: linear-gradient(135deg, #701a75, #4c1d95); }
.bg-gradient-3 { background: linear-gradient(135deg, #064e3b, #115e59); }
.bg-gradient-4 { background: linear-gradient(135deg, #7f1d1d, #9a3412); }
.bg-gradient-5 { background: linear-gradient(135deg, #0f766e, #042f2e); }


.version-tag {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.tag-god {
    display: inline-block;
    padding: 1px 6px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(245, 158, 11, 0.2));
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    font-size: 0.7rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    border-radius: 3px;
    letter-spacing: 1px;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3), inset 0 0 5px rgba(239, 68, 68, 0.2);
    text-shadow: 0 0 5px rgba(239, 68, 68, 0.8);
    position: relative;
    overflow: hidden;
}

/* 一闪而过的反光特效 */
.tag-god::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: god-glint 3s infinite;
}

@keyframes god-glint {
    0%, 70% { left: -100%; }
    100% { left: 200%; }
}

.game-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    /* 标题超长时省略 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0px; /* 去除了底栏，缩短底边距以避免留白太多 */
    /* 最多显示两行描述 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
}

.downloads {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* 订阅横幅 */
.newsletter {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
    background: linear-gradient(to right, var(--bg-panel), rgba(99, 102, 241, 0.1));
}

.newsletter-text h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.newsletter-text p {
    color: var(--text-muted);
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 8px;
    width: 300px;
    color: white;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--accent-primary);
}

/* 极简页脚 */
.footer-minimal {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(15, 17, 21, 0.8);
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 60px;
}

.copyright-link {
    color: var(--text-muted);
    text-decoration: underline;
    transition: color 0.2s;
    margin-left: 10px;
}

.copyright-link:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    /* 保留 footer-bottom 以兼容原有居中属性 */
    padding: 10px;
}

/* 版权申诉弹窗 */
.copyright-modal {
    display: none;
    position: fixed;
    z-index: 10001; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copyright-modal.show {
    display: flex;
    opacity: 1;
}

.copyright-content {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8), inset 0 0 20px rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    padding: 40px;
    max-width: 650px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.copyright-modal.show .copyright-content {
    transform: translateY(0) scale(1);
}

.copyright-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s;
}

.copyright-close:hover {
    color: white;
}

.copyright-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.copyright-content h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
}

.copyright-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.copyright-text-block {
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 20px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-primary);
    margin-bottom: 25px;
}

.copyright-text-block p {
    margin-bottom: 0;
}

.copyright-steps {
    text-align: left;
    margin-bottom: 25px;
}

.copyright-steps h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.copyright-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.copyright-steps li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    padding-left: 36px;
    position: relative;
}

.copyright-steps li::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 26px;
    bottom: -16px;
    width: 2px;
    background: rgba(99, 102, 241, 0.2);
}

.copyright-steps li:last-child::before {
    display: none;
}

.copyright-steps .step-num {
    position: absolute;
    left: 0;
    top: 2px;
    width: 26px;
    height: 26px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: monospace;
    z-index: 1;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

/* 响应式调整 */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-desc {
        margin: 0 auto 40px auto;
    }

    .hero-actions {
        justify-content: center;
    }
    
    .mockup-card {
        transform: none;
        margin-top: 40px;
    }

    .newsletter {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
}

/* 滚动加载动画 */
.loading-indicator {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px 0 40px 0;
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.loading-indicator.active {
    display: flex;
}

.spinner {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    border-top-color: var(--accent-primary);
    animation: spin 1s linear infinite;
}

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

/* =========================================
   内容详情页 (Article) 样式
   ========================================= */

.article-layout {
    margin-top: 30px;
    margin-bottom: 80px;
}

.breadcrumb {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--accent-primary-hover);
    text-decoration: underline;
}

.article-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.article-main {
    flex: 1;
    min-width: 0;
}

.article-sidebar {
    width: 340px;
    flex-shrink: 0;
}

.mb-15 { margin-bottom: 15px; }
.version-tag.lg { font-size: 0.9rem; padding: 4px 10px; }

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: white;
}

.article-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* 媒体画廊 (轮播图 & 视频) */
.media-gallery {
    padding: 24px;
    margin-bottom: 40px;
}

.article-inline-downloads {
    margin-bottom: 32px;
}

.media-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.media-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.media-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.media-tab.active {
    background: var(--accent-primary);
    color: white;
}

.media-content {
    display: none;
    animation: fadeIn 0.3s;
}

.media-content.active {
    display: block;
}

/* 轮播图样式 */
.carousel-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 600px;
    background: radial-gradient(circle at center, #1e293b 0%, #000000 100%);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.carousel-slide-bg {
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.4);
    z-index: 0;
}

.carousel-slide-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: zoom-in;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.8));
}

.slide-caption {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.carousel-btn:hover {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 0 25px var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 24px; }
.carousel-btn.next { right: 24px; }

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s;
}

.dot.active {
    background: var(--accent-primary);
    width: 24px;
    border-radius: 5px;
}

/* ==================
   新增：底部缩略图列表样式
   ================== */
.carousel-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    overflow-x: auto;
    padding-bottom: 8px; /* 为滚动条留出空间 */
}

/* 自定义滚动条风格 */
.carousel-thumbnails::-webkit-scrollbar {
    height: 6px;
}
.carousel-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}
.carousel-thumbnails::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.thumbnail {
    flex: 0 0 140px; /* 缩略图固定宽度 */
    height: 80px;      /* 缩略图固定高度 */
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent; /* 预留边框位置避免抖动 */
    transition: all 0.2s ease;
    opacity: 0.5;
    position: relative;
}

.thumbnail:hover {
    opacity: 0.8;
}

/* 活动状态 - 使用主色调描边并高亮发光 */
.thumbnail.active {
    opacity: 1;
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

/* 视频播放器补充样式 */
.video-container {
    position: relative;
    width: 100%;
    height: 450px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.mock-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.play-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 10px;
}

/* 图文说明部分 */
.article-content h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    margin-top: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

/* 灯箱效果（Lightbox） */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.show img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: var(--accent-primary);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    padding: 20px 15px;
    font-size: 30px;
    cursor: pointer;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: all 0.2s;
    z-index: 10000;
}

.lightbox-btn:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-btn.prev {
    left: 20px;
}

.lightbox-btn.next {
    right: 20px;
}

.alert-box {
    display: flex;
    gap: 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.alert-icon { font-size: 1.8rem; }
.alert-box strong { color: #fca5a5; display: block; margin-bottom: 4px; }
.alert-box p { margin: 0; color: #fecaca; font-size: 0.95rem; }

.instructions-steps {
    margin-left: 20px;
    color: var(--text-muted);
}

.instructions-steps li {
    margin-bottom: 12px;
    padding-left: 8px;
}

.instructions-steps code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: white;
    font-family: monospace;
}

/* 全息使用说明卡片（替换旧红框警告） */
.cyber-instruction-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(15, 23, 34, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.cyber-instruction-step {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 14px 20px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border-left: 3px solid transparent;
}

.cyber-instruction-step:hover {
    background: rgba(99, 102, 241, 0.1);
    border-left-color: var(--accent-primary);
    transform: translateX(6px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cyber-step-num {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent-primary);
    opacity: 0.8;
    margin-right: 20px;
    font-family: monospace;
    letter-spacing: 2px;
}

.cyber-step-text {
    font-size: 1.05rem;
    color: #e2e8f0;
    font-weight: 500;
}

.cyber-step-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 10px;
    font-weight: normal;
}

/* 右侧侧边栏下载卡片 */
.sticky {
    position: sticky;
    top: 90px;
}

.download-card {
    padding: 24px;
}

.download-header h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row .label { color: var(--text-muted); }
.info-row .value { font-weight: 600; }
.info-row .value.accent { color: var(--accent-primary); }
.info-row .value.green { color: var(--accent-success); }

.download-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.btn-dl {
    width: 100%;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.btn-dl .icon {
    font-size: 2rem;
}

.btn-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.btn-text span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: normal;
}

.cyber-purchase-btn {
    width: 100%;
    padding: 0; 
    background: linear-gradient(270deg, #ff007f, #7928ca, #ff007f);
    background-size: 200% auto;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    animation: gradient-shift 3s linear infinite;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(121, 40, 202, 0.5);
}

.cyber-purchase-btn .purchase-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: transparent;
    padding: 18px 20px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.cyber-purchase-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 0, 127, 0.6);
}

.cyber-purchase-btn:hover .purchase-content {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

@keyframes gradient-shift {
    to { background-position: 200% center; }
}

.support-author {
    border-top: 1px dashed var(--border-color);
    padding-top: 20px;
    text-align: center;
}

.support-author p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.btn-patreon {
    background: #f96854;
    color: white;
    width: 100%;
    font-weight: 600;
}

.btn-patreon:hover {
    background: #e55b4a;
    transform: translateY(-2px);
}

@media (max-width: 1000px) {
    .article-grid {
        flex-direction: column;
    }
    
    .article-sidebar {
        width: 100%;
    }
}
