/* ========== 雷火战术版 v2.1（纯净版） 共享样式 ========== */
/* 设计规范：tactical_precision_design_system_v2.1_pure.md —— 纯白/冷灰底 + 雷火红 #E63946 + 暗碳黑，无网格，红色括号角 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
    /* Surface 层级（纯净浅底，无网格） */
    --bg-deep: #F1F4F4;
    --bg-primary: #F8FAFA;
    --bg-secondary: #F1F4F4;
    --bg-card: rgba(255, 255, 255, 0.82);
    --bg-hover: rgba(255, 255, 255, 0.96);
    /* 文本 */
    --text-primary: #1A1C1C;
    --text-secondary: #4A4D4D;
    --text-muted: #8A8F8F;
    /* 雷火红（文字级深红 / 容器级品牌红） */
    --gold: #B92B38;
    --gold-light: #E63946;
    --gold-dark: #8F1D29;
    --gold-dim: #E58A93;
    /* 暗碳黑（原 HUD 青位，硬阴影/战术装饰） */
    --hud-cyan: #1A1C1C;
    --hud-cyan-dark: #4A4D4D;
    /* Status Red（语义红，与雷火红同族） */
    --cinnabar: #C1121F;
    --cinnabar-light: #E63946;
    /* 描边 */
    --ink: #DFE4E4;
    --ink-light: #C9CFCF;
    --border-color: #DFE4E4;
    --border-hover: #C9CFCF;
    --shadow-gold: 0 4px 20px rgba(230, 57, 70, 0.10);
    --font-display: 'Montserrat', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    --font-body: 'Montserrat', 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    --font-mono: 'JetBrains Mono', 'PingFang SC', 'Noto Sans SC', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

::selection { background: rgba(230, 57, 70, 0.22); color: #1A1C1C; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--ink-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dim); }

/* ========== NAVIGATION（玻璃悬浮面板 + 红色硬阴影） ========== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 0 0 rgba(230, 57, 70, 0.55);
    transition: all 0.4s ease;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 28px;
    display: flex; justify-content: space-between; align-items: center; height: 68px;
}
.nav-logo {
    font-family: var(--font-display); font-weight: 800; font-size: 20px;
    color: var(--text-primary); letter-spacing: 2px; text-decoration: none;
    transition: all 0.3s ease; display: flex; align-items: center; gap: 10px;
}
.nav-logo::before {
    content: ''; width: 10px; height: 10px; background: var(--gold-light);
    box-shadow: 2px 2px 0 0 var(--hud-cyan); flex-shrink: 0;
}
.nav-logo:hover { color: var(--text-primary); }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none; font-size: 13px;
    padding: 8px 14px; transition: all 0.3s ease;
    font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.06em;
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%) scaleX(0); width: 70%; height: 2px;
    background: var(--gold-light); transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--text-primary); font-weight: 700; }
.nav-links a:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-links a.active { color: var(--gold); font-weight: 700; }
.nav-links a.active::after { transform: translateX(-50%) scaleX(1); }
.nav-hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px;
}
.nav-hamburger span { width: 22px; height: 2px; background: var(--text-primary); transition: all 0.3s ease; }

/* ========== HERO ========== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; padding: 80px 24px 40px;
}
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; }
.hero-bg::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 100%, rgba(230, 57, 70, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 70% 100%, rgba(26, 28, 28, 0.03) 0%, transparent 60%);
    pointer-events: none;
}
.hero-mist {
    position: absolute; width: 100%; height: 100%; top: 0; left: 0;
    background:
        radial-gradient(ellipse 50% 30% at 30% 60%, rgba(230, 57, 70, 0.035) 0%, transparent 60%),
        radial-gradient(ellipse 40% 25% at 70% 40%, rgba(74, 77, 77, 0.025) 0%, transparent 50%);
    pointer-events: none;
}
.hero-glow {
    position: absolute; border-radius: 50%; filter: blur(100px);
    opacity: 0.12; animation: mist-drift 12s ease-in-out infinite; pointer-events: none;
}
.hero-glow-1 { width: 500px; height: 400px; background: var(--gold-light); top: -80px; right: -100px; }
.hero-glow-2 { width: 400px; height: 300px; background: var(--gold-dim); bottom: -50px; left: -80px; animation-delay: -6s; opacity: 0.10; }
@keyframes mist-drift {
    0%,100% { transform: translateX(0) translateY(0) scale(1); }
    33% { transform: translateX(30px) translateY(-15px) scale(1.05); }
    66% { transform: translateX(-20px) translateY(10px) scale(0.95); }
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; }
.hero-seal {
    width: 48px; height: 48px; margin: 0 auto 28px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-body); font-weight: 700; font-size: 20px; color: var(--gold);
    background: var(--bg-card); backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.8s ease-out 0.2s both; position: relative;
}
.hero-seal::before {
    content: ''; position: absolute; top: -5px; left: -5px; width: 16px; height: 16px;
    border-top: 2px solid var(--gold-light); border-left: 2px solid var(--gold-light);
}
.hero-seal::after {
    content: ''; position: absolute; bottom: -5px; right: -5px; width: 16px; height: 16px;
    border-bottom: 2px solid var(--gold-light); border-right: 2px solid var(--gold-light);
}
.hero-title {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(44px, 9vw, 80px); letter-spacing: 4px; line-height: 1.1;
    margin-bottom: 20px; animation: fadeInUp 0.8s ease-out 0.4s both; color: var(--text-primary);
}
.hero-title .name-highlight { color: var(--text-primary); }
.hero-divider { width: 80px; height: 2px; background: var(--gold-light); margin: 0 auto 24px; animation: fadeInUp 0.8s ease-out 0.5s both; box-shadow: 2px 2px 0 0 rgba(26, 28, 28, 0.35); }
.hero-subtitle {
    font-family: var(--font-mono); font-size: clamp(14px, 2.2vw, 17px);
    color: var(--text-secondary); font-weight: 500; margin-bottom: 36px;
    letter-spacing: 0.12em; animation: fadeInUp 0.8s ease-out 0.6s both;
}
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 48px; animation: fadeInUp 0.8s ease-out 0.8s both; }
.hero-tag {
    padding: 8px 18px; border: 1px solid var(--border-color);
    font-family: var(--font-mono); font-size: 12px; font-weight: 500;
    color: var(--text-secondary); letter-spacing: 0.05em;
    transition: all 0.3s ease; background: var(--bg-card); backdrop-filter: blur(8px);
}
.hero-tag:hover { border-color: var(--gold-light); color: var(--gold); box-shadow: 2px 2px 0 0 rgba(230, 57, 70, 0.35); }

.hero-contact { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeInUp 0.8s ease-out 1s both; }
.hero-contact a {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px;
    background: var(--gold-light); color: #FFFFFF;
    text-decoration: none; font-family: var(--font-mono); font-weight: 700;
    font-size: 14px; letter-spacing: 0.08em;
    transition: all 0.2s ease; border: 1px solid #1A1C1C;
    box-shadow: 2px 2px 0 0 var(--hud-cyan);
}
.hero-contact a:hover { box-shadow: 3px 3px 0 0 var(--hud-cyan); transform: translate(-1px, -1px); }
.hero-contact a:active { box-shadow: 0 0 0 0 var(--hud-cyan); transform: translate(2px, 2px); }
.hero-contact a.secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--text-primary); box-shadow: none; }
.hero-contact a.secondary:hover { border-color: var(--gold); color: var(--gold); box-shadow: 2px 2px 0 0 rgba(230, 57, 70, 0.35); transform: translate(-1px, -1px); }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); animation: bounce 2.5s ease-in-out infinite; z-index: 1; opacity: 0.5; }
.scroll-indicator::before { content: '▼'; font-size: 12px; color: var(--gold); letter-spacing: 2px; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.5; } 50% { transform: translateX(-50%) translateY(8px); opacity: 0.8; } }

/* ========== SECTION BASE ========== */
.section { padding: 64px 24px; position: relative; }
.section-container { max-width: 1000px; margin: 0 auto; }
.section-header { margin-bottom: 40px; position: relative; }
.section-label {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-mono); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 16px;
}
.section-label-line { width: 24px; height: 2px; background: var(--gold-light); }
.section-title {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(30px, 5vw, 42px); letter-spacing: 1px; line-height: 1.25; color: var(--text-primary);
}
.section-desc { font-size: 16px; color: var(--text-secondary); margin-top: 16px; max-width: 600px; line-height: 1.8; }

/* ========== CARDS（玻璃面板 + 雷火红括号角） ========== */
.card {
    background: var(--bg-card); backdrop-filter: blur(20px);
    border: 1px solid var(--border-color); border-radius: 4px;
    padding: 32px; transition: all 0.3s ease; position: relative;
}
.card::before {
    content: ''; position: absolute; top: -1px; left: -1px; width: 16px; height: 16px;
    border-top: 2px solid var(--gold-light); border-left: 2px solid var(--gold-light);
    transition: all 0.3s ease; pointer-events: none;
}
.card::after {
    content: ''; position: absolute; bottom: -1px; right: -1px; width: 16px; height: 16px;
    border-bottom: 2px solid var(--gold-light); border-right: 2px solid var(--gold-light);
    transition: all 0.3s ease; pointer-events: none;
}
.card:hover { border-color: var(--ink-light); transform: translateY(-3px); box-shadow: var(--shadow-gold); }

.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.card-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--text-primary); letter-spacing: 0.5px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.card-date {
    font-size: 12px; color: var(--text-muted); font-weight: 500;
    background: var(--bg-secondary); padding: 4px 12px;
    font-family: var(--font-mono); letter-spacing: 0.04em; border: 1px solid var(--border-color);
}
.card-badge { font-family: var(--font-mono); font-size: 11px; padding: 4px 12px; font-weight: 700; letter-spacing: 0.08em; border: 1px solid; }
.card-badge-gold { background: rgba(230, 57, 70, 0.10); color: var(--gold); border-color: rgba(230, 57, 70, 0.40); }
.card-badge-green { background: rgba(74, 77, 77, 0.06); color: var(--hud-cyan-dark); border-color: rgba(74, 77, 77, 0.28); }
.card-badge-red { background: rgba(193, 18, 31, 0.06); color: var(--cinnabar); border-color: rgba(193, 18, 31, 0.28); }
.card-subtitle { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; font-weight: 500; }
.card-content ul { list-style: none; padding: 0; }
.card-content li { position: relative; padding-left: 20px; margin-bottom: 12px; font-size: 14px; line-height: 1.8; color: var(--text-secondary); }
.card-content li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; background: var(--gold-light); transition: all 0.3s ease; }
.card:hover .card-content li::before { box-shadow: 1px 1px 0 0 var(--hud-cyan); }
.card-content li strong { color: var(--text-primary); font-weight: 600; }

/* ========== BUTTONS（战术硬边 + 碳黑错位阴影） ========== */
.btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px;
    font-family: var(--font-mono); font-size: 14px; font-weight: 700; letter-spacing: 0.08em;
    text-decoration: none; transition: all 0.2s ease; cursor: pointer;
}
.btn-primary { background: var(--gold-light); color: #FFFFFF; border: 1px solid #1A1C1C; box-shadow: 2px 2px 0 0 var(--hud-cyan); }
.btn-primary:hover { box-shadow: 3px 3px 0 0 var(--hud-cyan); transform: translate(-1px, -1px); }
.btn-primary:active { box-shadow: 0 0 0 0 var(--hud-cyan); transform: translate(2px, 2px); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--text-primary); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); box-shadow: 2px 2px 0 0 rgba(230, 57, 70, 0.35); }
.btn-center { display: flex; justify-content: center; margin-top: 40px; }

/* ========== PROFILE ========== */
.profile-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.profile-image {
    width: 100%; aspect-ratio: 3/4; border-radius: 4px;
    background: var(--bg-secondary);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; border: 1px solid var(--border-color);
}
.profile-image::before {
    content: ''; position: absolute; top: 6px; left: 6px; width: 16px; height: 16px;
    border-top: 2px solid var(--gold-light); border-left: 2px solid var(--gold-light);
    z-index: 2; pointer-events: none;
}
.profile-image::after {
    content: ''; position: absolute; bottom: 6px; right: 6px; width: 16px; height: 16px;
    border-bottom: 2px solid var(--gold-light); border-right: 2px solid var(--gold-light);
    z-index: 2; pointer-events: none;
}
.profile-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; position: relative; z-index: 1; }
.profile-image-text { font-family: var(--font-display); font-weight: 800; font-size: 96px; color: var(--gold-dim); opacity: 0.25; position: relative; z-index: 1; }
.profile-image-deco { position: absolute; bottom: 20px; right: 20px; width: 40px; height: 40px; border-right: 2px solid var(--gold-light); border-bottom: 2px solid var(--gold-light); opacity: 0.6; }
.profile-info h3 { font-family: var(--font-display); font-weight: 800; font-size: 30px; margin-bottom: 8px; letter-spacing: 2px; }
.profile-info .role { font-family: var(--font-mono); font-size: 14px; color: var(--gold); font-weight: 700; margin-bottom: 24px; letter-spacing: 0.12em; }
.profile-info .bio { font-size: 15px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 28px; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.profile-stat { text-align: center; padding: 20px; background: var(--bg-card); backdrop-filter: blur(20px); border: 1px solid var(--border-color); position: relative; transition: all 0.3s ease; }
.profile-stat:hover { border-color: var(--gold-dim); }
.profile-stat-value { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--gold); margin-bottom: 4px; }
.profile-stat-label { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.08em; }

/* ========== EDUCATION ========== */
.edu-grid { display: grid; gap: 20px; }
.edu-card { display: grid; grid-template-columns: auto 1fr; gap: 28px; padding: 28px; }
.edu-icon {
    width: 60px; height: 60px; border-radius: 4px;
    background: rgba(230, 57, 70, 0.08);
    border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center;
    font-size: 24px; flex-shrink: 0; transition: all 0.3s ease;
}
.card:hover .edu-icon { border-color: var(--gold-dim); box-shadow: 2px 2px 0 0 rgba(230, 57, 70, 0.35); }
.edu-info h4 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 4px; letter-spacing: 0.5px; }
.edu-info .major { font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; }
.edu-info .courses { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

/* ========== EXPERIENCE TIMELINE ========== */
.exp-timeline { position: relative; padding-left: 32px; }
.exp-timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--gold-light), var(--ink), transparent); }
.exp-item { position: relative; padding-bottom: 48px; }
.exp-item:last-child { padding-bottom: 0; }
.exp-item::before { content: ''; position: absolute; left: -37px; top: 6px; width: 10px; height: 10px; background: var(--bg-primary); border: 2px solid var(--gold-dim); transition: all 0.3s ease; }
.exp-item:hover::before { border-color: var(--gold-light); background: var(--gold-light); box-shadow: 2px 2px 0 0 rgba(26, 28, 28, 0.35); }
.exp-card { padding: 28px; }

/* ========== PORTFOLIO GRID ========== */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 24px; }
.portfolio-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.portfolio-card:hover { transform: translateY(-4px); }
.portfolio-cover {
    width: 100%; height: 180px; background: linear-gradient(135deg, rgba(230, 57, 70, 0.09), rgba(26, 28, 28, 0.04));
    border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center;
    font-size: 48px; position: relative; overflow: hidden;
}
.portfolio-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.portfolio-body .card-title { margin-bottom: 6px; }
.portfolio-body .card-subtitle { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-bottom: 12px; letter-spacing: 0.05em; }
.portfolio-body .card-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; flex: 1; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.portfolio-tag {
    font-family: var(--font-mono); font-size: 11px; padding: 4px 10px;
    background: var(--bg-secondary); color: var(--text-muted); font-weight: 500;
    letter-spacing: 0.05em; border: 1px solid var(--border-color); transition: all 0.3s ease;
}
.portfolio-tag:hover { border-color: var(--gold-dim); color: var(--gold); }

/* ========== GAMING ========== */
.gaming-section { background: var(--bg-secondary); position: relative; }
.gaming-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--border-color); }
.gaming-grid { display: grid; gap: 20px; }
.game-card { padding: 24px 28px; display: flex; flex-direction: column; gap: 12px; }
.game-card-head { display: flex; align-items: center; gap: 16px; }
.game-icon {
    width: 52px; height: 52px; border-radius: 4px; display: flex; align-items: center; justify-content: center;
    font-size: 24px; flex-shrink: 0; border: 1px solid var(--border-color); transition: all 0.3s ease;
}
.game-icon-gold { background: rgba(230, 57, 70, 0.08); }
.game-icon-red { background: rgba(193, 18, 31, 0.06); }
.game-icon-green { background: rgba(74, 77, 77, 0.06); }
.game-icon-purple { background: rgba(185, 43, 56, 0.06); }
.game-icon-blue { background: rgba(74, 77, 77, 0.05); }
.card:hover .game-icon { border-color: var(--gold-dim); box-shadow: 2px 2px 0 0 rgba(230, 57, 70, 0.35); }
.game-info { flex: 1; min-width: 0; }
.game-info h4 { font-family: var(--font-display); font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; letter-spacing: 0.5px; }
.game-rank { font-family: var(--font-mono); font-size: 11px; padding: 3px 10px; font-weight: 700; letter-spacing: 0.08em; border: 1px solid; }
.game-rank-gold { background: rgba(230, 57, 70, 0.10); color: var(--gold); border-color: rgba(230, 57, 70, 0.40); }
.game-rank-red { background: rgba(193, 18, 31, 0.06); color: var(--cinnabar); border-color: rgba(193, 18, 31, 0.28); }
.game-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.game-card-foot { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.game-foot-label { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.08em; }
.game-link { font-family: var(--font-mono); font-size: 13px; color: var(--gold); text-decoration: none; letter-spacing: 0.06em; font-weight: 700; transition: all 0.3s ease; white-space: nowrap; }
.game-link:hover { color: var(--gold-dark); }

/* ========== METRIC HIGHLIGHT 数据亮点 ========== */
.metric-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 20px 0 8px; }
/* 六卡战绩墙：桌面端 3×2 对称排列 */
.metric-row-six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .metric-row-six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .metric-row-six { grid-template-columns: 1fr; } }
.metric-card {
    background: var(--bg-card); backdrop-filter: blur(20px);
    border: 1px solid var(--border-color); border-radius: 4px;
    padding: 18px 14px; text-align: center; position: relative; transition: all 0.3s ease;
}
.metric-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--gold-light); }
.metric-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.metric-num { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--gold); line-height: 1.2; }
.metric-num .metric-unit { font-size: 16px; margin-left: 2px; }
.metric-label { font-size: 12px; color: var(--text-primary); font-weight: 700; margin-top: 8px; letter-spacing: 0.5px; }
.metric-note { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }

/* ========== ARTICLE CARDS 文章模块 ========== */
.article-list { display: grid; gap: 14px; margin-top: 20px; }
.article-card {
    display: block; padding: 20px 22px; background: var(--bg-card); backdrop-filter: blur(20px);
    border: 1px solid var(--border-color); border-radius: 4px;
    text-decoration: none; position: relative; transition: all 0.25s ease;
}
.article-card::before { content: ''; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--gold-light); opacity: 0; transition: opacity 0.25s ease; }
a.article-card:hover { border-color: var(--gold-dim); transform: translateX(4px); box-shadow: var(--shadow-gold); }
a.article-card:hover::before { opacity: 1; }
.article-badge {
    display: inline-block; font-family: var(--font-mono); font-size: 11px; padding: 3px 10px;
    font-weight: 700; letter-spacing: 0.08em; background: rgba(230, 57, 70, 0.10);
    color: var(--gold); border: 1px solid rgba(230, 57, 70, 0.40); margin-bottom: 10px;
}
.article-badge.article-badge-red { background: rgba(193, 18, 31, 0.06); color: var(--cinnabar); border-color: rgba(193, 18, 31, 0.28); }
.article-card h4 { font-size: 16px !important; color: var(--text-primary) !important; margin: 0 0 8px !important; letter-spacing: 0.5px !important; line-height: 1.6; font-family: var(--font-display) !important; font-weight: 700 !important; }
.article-card p { font-size: 13px !important; color: var(--text-secondary) !important; line-height: 1.7 !important; margin: 0 0 12px !important; }
.article-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.article-jump { color: var(--gold-dim); white-space: nowrap; transition: color 0.3s ease; font-weight: 700; }
a.article-card:hover .article-jump { color: var(--gold); }
.article-card-disabled { cursor: default; }
.article-card-disabled .article-jump { color: var(--text-muted); }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; }
.contact-card { padding: 28px; text-align: center; text-decoration: none; color: inherit; }
.contact-card:hover { color: inherit; }
.contact-icon { width: 56px; height: 56px; border-radius: 4px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 24px; border: 1px solid var(--border-color); transition: all 0.3s ease; background: var(--bg-secondary); }
.contact-card:hover .contact-icon { border-color: var(--gold-dim); box-shadow: 2px 2px 0 0 rgba(230, 57, 70, 0.35); }
.contact-card h4 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 6px; letter-spacing: 0.5px; }
.contact-card p { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }

/* ========== FOOTER ========== */
.footer { padding: 48px 24px; text-align: center; border-top: 1px solid var(--border-color); position: relative; background: var(--bg-secondary); }
.footer p { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: 0.1em; }
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--text-primary); margin-bottom: 12px; letter-spacing: 3px; }

/* ========== STATS BAR ========== */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); position: relative; background: var(--bg-card); backdrop-filter: blur(20px); }
.stats-bar-item { padding: 40px 24px; text-align: center; border-right: 1px solid var(--border-color); position: relative; transition: all 0.3s ease; }
.stats-bar-item:last-child { border-right: none; }
.stats-bar-item:hover { background: rgba(230, 57, 70, 0.04); }
.stats-bar-value { font-family: var(--font-display); font-weight: 800; font-size: 36px; color: var(--gold); margin-bottom: 4px; }
.stats-bar-label { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.1em; }

/* ========== DETAIL PAGE ========== */
.detail-hero {
    min-height: 36vh; display: flex; align-items: center; justify-content: center;
    position: relative; padding: 96px 24px 36px; overflow: hidden;
}
.detail-hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(180deg, rgba(230, 57, 70, 0.045) 0%, var(--bg-secondary) 38%, var(--bg-primary) 96%);
}
/* 柔光光斑缓慢漂移（大团模糊红光，呼吸感） */
.detail-hero-bg::before {
    content: ''; position: absolute; inset: -12%;
    background:
        radial-gradient(closest-side, rgba(230, 57, 70, 0.16), transparent 72%) 6% 18% / 300px 300px no-repeat,
        radial-gradient(closest-side, rgba(185, 43, 56, 0.12), transparent 70%) 82% 12% / 380px 380px no-repeat,
        radial-gradient(closest-side, rgba(230, 57, 70, 0.10), transparent 70%) 62% 78% / 340px 340px no-repeat,
        radial-gradient(closest-side, rgba(229, 138, 147, 0.14), transparent 72%) 26% 82% / 260px 260px no-repeat,
        radial-gradient(ellipse 80% 40% at 50% 100%, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
    animation: hero-glow-drift 32s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes hero-glow-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
    50%  { transform: translate3d(2.5%, -3%, 0) scale(1.05); opacity: 1; }
    100% { transform: translate3d(-2.5%, 2%, 0) scale(0.97); opacity: 0.9; }
}
/* 光子流：一道柔和对角光带缓慢扫过 + 稀疏微尘缓缓上升 */
.detail-hero-bg::after {
    content: ''; position: absolute; inset: 0; opacity: 0.6;
    background-image:
        linear-gradient(115deg, transparent 42%, rgba(230, 57, 70, 0.045) 47%, rgba(230, 57, 70, 0.10) 50%, rgba(230, 57, 70, 0.045) 53%, transparent 58%),
        radial-gradient(circle, rgba(230, 57, 70, 0.30) 1px, transparent 1.4px),
        radial-gradient(circle, rgba(185, 43, 56, 0.22) 1.4px, transparent 1.8px);
    background-size: 280% 100%, 240px 240px, 360px 360px;
    background-position: 135% 0, 0 0, 120px 180px;
    animation: hero-stream-flow 40s linear infinite;
    pointer-events: none;
}
@keyframes hero-stream-flow {
    from { background-position: 135% 0, 0 0, 120px 180px; }
    to   { background-position: -135% 0, 240px -480px, 480px -540px; }
}
@media (prefers-reduced-motion: reduce) {
    .detail-hero-bg::before, .detail-hero-bg::after { animation: none; }
}
.detail-hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; }
.detail-hero .hero-seal { margin-bottom: 20px; }
.detail-hero .section-title { margin-bottom: 16px; }
.detail-meta { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; color: var(--text-muted); font-size: 14px; margin-bottom: 24px; font-family: var(--font-mono); }
.detail-meta span { display: flex; align-items: center; gap: 6px; }

.detail-section { padding: 48px 24px; }
.detail-section-alt { background: var(--bg-secondary); }
.detail-content { max-width: 800px; margin: 0 auto; }
.detail-content h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--gold); margin-bottom: 20px; letter-spacing: 1px; }
.detail-content h4 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--text-primary); margin: 28px 0 12px; letter-spacing: 0.5px; }
.detail-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 16px; }
.detail-content ul { list-style: none; padding: 0; margin-bottom: 20px; }
.detail-content li { position: relative; padding-left: 20px; margin-bottom: 10px; font-size: 14px; line-height: 1.8; color: var(--text-secondary); }
.detail-content li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--gold-light); }
.detail-content strong { color: var(--text-primary); font-weight: 600; }

/* Placeholder blocks for works */
.work-placeholder {
    border: 1px dashed var(--ink-light); border-radius: 4px;
    padding: 48px 32px; text-align: center; background: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px; transition: all 0.3s ease;
}
.work-placeholder:hover { border-color: var(--gold-dim); }
.work-placeholder-icon { font-size: 32px; margin-bottom: 12px; }
.work-placeholder-title { font-size: 15px; color: var(--text-secondary); margin-bottom: 4px; }
.work-placeholder-desc { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }

.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-family: var(--font-mono); font-weight: 700; text-decoration: none; font-size: 13px; letter-spacing: 0.06em; transition: all 0.3s ease; margin-bottom: 40px; }
.back-link:hover { color: var(--gold-dark); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border-color); gap: 4px; }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 12px 16px; }
    .nav-hamburger { display: flex; }
    .profile-grid { grid-template-columns: 1fr; }
    .profile-image { max-width: 200px; margin: 0 auto; aspect-ratio: 1; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .game-card-head { flex-direction: row; text-align: left; }
    .edu-card { grid-template-columns: 1fr; text-align: center; }
    .edu-icon { margin: 0 auto; }
    .section { padding: 60px 20px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stats-bar-item:nth-child(2) { border-right: none; }
    .stats-bar-item:nth-child(1), .stats-bar-item:nth-child(2) { border-bottom: 1px solid var(--border-color); }
    .hero-title { letter-spacing: 2px; }
    .detail-meta { gap: 12px; }
}

/* ========== REVEAL ========== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== PAGE TOC 详情页左侧目录（page-toc.js 自动生成，默认收起） ========== */
.page-toc {
    position: fixed; left: 0; top: 50%; z-index: 900; width: 218px;
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px);
    border: 1px solid var(--border-color); border-left: none; border-radius: 0 4px 4px 0;
    padding: 16px 42px 16px 0;
    opacity: 0; transform: translateY(-50%) translateX(calc(-100% + 42px));
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(26, 28, 28, 0.06);
}
.page-toc.toc-ready { opacity: 1; }
.page-toc.toc-open { transform: translateY(-50%) translateX(0); }
.page-toc-toggle {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    width: 42px; height: 96px; border: none; background: transparent;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    cursor: pointer; padding: 0;
}
.page-toc-toggle::before {
    content: ''; width: 10px; height: 10px; background: var(--gold-light);
    box-shadow: 2px 2px 0 0 var(--hud-cyan); flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-toc.toc-open .page-toc-toggle::before { transform: rotate(45deg); }
.page-toc-toggle span {
    writing-mode: vertical-rl; font-family: var(--font-mono); font-size: 11px;
    font-weight: 700; letter-spacing: 0.3em; color: var(--text-secondary);
    transition: color 0.25s ease;
}
.page-toc-toggle:hover span { color: var(--gold); }
.page-toc-title {
    font-family: var(--font-mono); font-size: 10px; font-weight: 700;
    letter-spacing: 0.14em; color: var(--text-muted); text-transform: uppercase;
    margin-bottom: 8px; padding-left: 16px; display: flex; align-items: center; gap: 8px;
}
.page-toc-title::before { content: ''; width: 12px; height: 2px; background: var(--gold-light); }
.page-toc a {
    display: block; position: relative; overflow: hidden;
    white-space: nowrap; text-overflow: ellipsis;
    font-family: var(--font-mono); font-size: 12px; font-weight: 500;
    color: var(--text-secondary); text-decoration: none;
    padding: 7px 10px 7px 16px; line-height: 1.5;
    border-left: 2px solid var(--border-color);
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.page-toc a:hover { color: var(--gold); border-left-color: var(--gold-dim); transform: translateX(3px); }
.page-toc a.active {
    color: var(--gold); font-weight: 700;
    border-left-color: var(--gold-light); background: rgba(230, 57, 70, 0.06);
}
@media (max-width: 1280px) { .page-toc { display: none; } }

/* ========== ICONPARK 图标（替代 emoji） ========== */
.ip-icon { width: 1.15em; height: 1.15em; vertical-align: -0.2em; object-fit: contain; display: inline-block; flex-shrink: 0; }
.portfolio-cover .ip-icon { font-size: 48px; }
.detail-meta .ip-icon { margin-right: 2px; }

/* ========== 品牌素材（CC 氪点信号 / 创业者） ========== */
.portfolio-cover-img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.brand-strip {
    margin: 4px auto 0; display: inline-flex; align-items: center; gap: 16px;
    background: #111315; border: 1px solid rgba(26, 28, 28, 0.25);
    padding: 10px 20px; border-radius: 4px;
    box-shadow: 3px 3px 0 0 rgba(230, 57, 70, 0.55);
}
.brand-strip img.brand-logo { height: 42px; width: auto; display: block; }
.brand-strip .brand-slogan { color: #F2F1EC; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-align: left; line-height: 1.7; }
.brand-strip .brand-slogan b { color: #B7F94A; font-weight: 700; }
.article-cover { display: block; width: calc(100% + 44px); max-width: none; height: 165px; object-fit: cover; margin: -20px -22px 14px; border-bottom: 1px solid var(--border-color); }
.mascot-inline { height: 54px; width: auto; vertical-align: middle; }
.article-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ========== 动漫形象装饰 ========== */
.hero-avatar-wrap {
    position: absolute; right: 5%; bottom: 0; z-index: 1;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.hero-avatar {
    height: min(64vh, 580px); width: auto; display: block;
    transform-origin: 50% 100%;
    animation: avatar-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both,
               avatar-float 5.5s ease-in-out 2s infinite;
}
/* 贴地椭圆浅影（替代 drop-shadow，避免悬空黑团） */
.hero-avatar-wrap::after {
    content: ''; position: absolute; left: 50%; bottom: -6px;
    width: 62%; height: 20px; transform: translateX(-50%);
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(26, 28, 28, 0.10) 0%, transparent 70%);
    pointer-events: none;
}
@keyframes avatar-in {
    from { opacity: 0; transform: translateY(60px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes avatar-float {
    0%, 100% { transform: translateY(0) rotate(-0.6deg); }
    50% { transform: translateY(-12px) rotate(0.8deg); }
}
.footer { overflow: hidden; }
.footer-inner { position: relative; z-index: 1; }
.footer-peek {
    position: absolute; right: 6%; bottom: 0; z-index: 0;
    transform: translateY(46%);
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.footer-peek.show { transform: translateY(0); }
.footer-peek img {
    height: 190px; width: auto; display: block;
    filter: drop-shadow(0 10px 18px rgba(26, 28, 28, 0.10));
    animation: peek-bob 6s ease-in-out 1.4s infinite;
}
@keyframes peek-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
/* ========== 首页 HERO 构图（桌面端：左文右人成组居中，间距紧凑） ========== */
.hero-inner { position: relative; z-index: 1; }
.hero-name-en {
    font-family: var(--font-mono); font-size: clamp(13px, 1.6vw, 16px);
    font-weight: 700; letter-spacing: 0.42em; color: var(--gold);
    margin: -6px 0 22px; animation: fadeInUp 0.8s ease-out 0.5s both;
}
@media (min-width: 1181px) {
    .hero-inner { display: flex; align-items: center; gap: clamp(56px, 6.5vw, 120px); }
    .hero-content { text-align: left; max-width: 600px; }
    .hero-divider { margin: 0 0 24px; }
    .hero-tags { justify-content: flex-start; }
    .hero-contact { justify-content: flex-start; }
    .hero-avatar-wrap { position: relative; right: auto; bottom: auto; flex-shrink: 0; }
    .hero-avatar { height: min(60vh, 540px); }
}
@media (min-width: 1181px) and (max-height: 760px) {
    .hero-avatar { height: min(54vh, 460px); }
}

@media (max-width: 1180px) { .hero-avatar-wrap { display: none; } }
@media (max-width: 900px) { .footer-peek { display: none; } }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ========== 自定义光标（圆圈跟随，参考 Kimi 官网，cursor.js 驱动） ========== */
@media (pointer: fine) {
    body.custom-cursor, body.custom-cursor a, body.custom-cursor button,
    body.custom-cursor [role="button"], body.custom-cursor input,
    body.custom-cursor textarea, body.custom-cursor select,
    body.custom-cursor label, body.custom-cursor summary { cursor: none; }
}
.cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 9999;
    pointer-events: none; border-radius: 50%;
    opacity: 0; transition: opacity 0.25s ease;
    will-change: transform;
}
body.cursor-live .cursor-dot, body.cursor-live .cursor-ring { opacity: 1; }
.cursor-dot {
    width: 6px; height: 6px; background: var(--gold-light);
}
.cursor-ring {
    width: 34px; height: 34px;
    border: 1.5px solid rgba(230, 57, 70, 0.55);
    background: rgba(230, 57, 70, 0.04);
    transition: opacity 0.25s ease, width 0.22s ease, height 0.22s ease,
                border-color 0.22s ease, background 0.22s ease;
}
.cursor-ring.cursor-hover {
    width: 52px; height: 52px;
    border-color: rgba(230, 57, 70, 0.9);
    background: rgba(230, 57, 70, 0.10);
}
.cursor-ring.cursor-down { width: 24px; height: 24px; border-color: rgba(185, 43, 56, 0.9); }
@media (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ========== EASTER EGG 彩蛋小组件（gaming.html → gaming-ideas.html） ========== */
.egg-card {
    position: relative; margin-top: 20px; padding: 22px 28px;
    background: #1A1C1C; border: 1px dashed rgba(230, 57, 70, 0.55);
    cursor: pointer; overflow: hidden; transition: border-color 0.3s ease, transform 0.3s ease;
}
.egg-card:hover { border-color: var(--gold-light); transform: translateY(-2px); }
.egg-scan {
    position: absolute; top: 0; bottom: 0; width: 120px; left: -140px;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.16), transparent);
    animation: egg-scan 3.2s linear infinite; pointer-events: none;
}
@keyframes egg-scan { from { left: -140px; } to { left: 110%; } }
.egg-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; }
.egg-dot {
    width: 10px; height: 10px; border-radius: 50%; background: var(--gold-light); flex-shrink: 0;
    animation: egg-blink 1.6s ease-in-out infinite;
}
@keyframes egg-blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.5); }
    50% { opacity: 0.35; box-shadow: 0 0 0 8px rgba(230, 57, 70, 0); }
}
.egg-title { font-family: var(--font-mono); color: #F8FAFA; font-size: 18px; font-weight: 700; letter-spacing: 0.3em; }
.egg-sub { font-family: var(--font-mono); color: rgba(248, 250, 250, 0.45); font-size: 11px; letter-spacing: 0.14em; margin-top: 5px; }
.egg-cta { margin-left: auto; font-family: var(--font-mono); color: var(--gold-light); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; white-space: nowrap; }
.egg-particle { position: fixed; z-index: 9999; pointer-events: none; }
.egg-ring {
    position: fixed; z-index: 9998; width: 60px; height: 60px;
    border: 2px solid rgba(230, 57, 70, 0.8); border-radius: 50%; pointer-events: none;
}
.egg-flash {
    position: fixed; inset: 0; background: #FFFFFF; opacity: 0;
    pointer-events: none; z-index: 9997; transition: opacity 0.18s ease-out 0.25s;
}
.egg-flash.on { opacity: 0.92; }
/* 抵达灵感页的白场渐隐 */
.egg-veil { position: fixed; inset: 0; background: #FFFFFF; z-index: 10000; pointer-events: none; opacity: 0; }
body.egg-arrive .egg-veil { animation: egg-veil-out 0.9s ease-out forwards; }
@keyframes egg-veil-out { from { opacity: 0.95; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .egg-scan, .egg-dot { animation: none; }
    body.egg-arrive .egg-veil { animation: none; }
}

/* ========== 灵感页内容组件（gaming-ideas.html） ========== */
.idea-quote {
    border-left: 3px solid var(--gold-light); background: rgba(230, 57, 70, 0.05);
    padding: 18px 22px; font-size: 16px; line-height: 1.9; color: var(--text-primary); margin: 16px 0 24px;
}
.idea-quote .idea-quote-src { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.1em; }
.idea-table { width: 100%; border-collapse: collapse; margin: 16px 0 28px; font-size: 13.5px; }
.idea-table th {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-align: left;
    color: var(--gold); padding: 10px 12px; border-bottom: 2px solid var(--gold-light);
    background: rgba(230, 57, 70, 0.05); white-space: nowrap;
}
.idea-table td { padding: 10px 12px; border-bottom: 1px solid var(--border-color); color: var(--text-secondary); line-height: 1.7; vertical-align: top; }
.idea-table tr:hover td { background: rgba(230, 57, 70, 0.03); }
.idea-table td:first-child { color: var(--text-primary); font-weight: 600; }
.idea-hook-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 16px 0 28px; }
.idea-hook {
    border: 1px solid var(--border-color); border-top: 3px solid var(--gold-light);
    padding: 16px 18px; font-size: 14px; line-height: 1.8; color: var(--text-primary);
    background: var(--bg-card); transition: all 0.3s ease;
}
.idea-hook:hover { border-color: var(--gold-dim); box-shadow: 3px 3px 0 0 rgba(230, 57, 70, 0.25); }
.idea-hook .idea-hook-tag { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--gold); letter-spacing: 0.14em; margin-bottom: 8px; }
@media (max-width: 640px) {
    .idea-table { font-size: 12.5px; }
    .idea-table th, .idea-table td { padding: 8px 8px; }
    .egg-cta { display: none; }
}

/* ========== 灵感页概念氛围图 ========== */
.idea-figure { margin: 20px 0 28px; }
.idea-figure img { display: block; width: 100%; border: 1px solid var(--border-color); }
.idea-figure figcaption { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.1em; margin-top: 8px; }
.idea-figure-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 28px; }
.idea-figure-row .idea-figure { margin: 0; }
@media (max-width: 640px) { .idea-figure-row { grid-template-columns: 1fr; } }

/* ========== 营销思路折叠分析模块（gaming-nishui.html 等） ========== */
.triad-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0 8px; }
.triad {
    border: 1px solid var(--border-color); border-top: 3px solid var(--gold-light);
    padding: 20px 22px; background: var(--bg-card); transition: all 0.3s ease;
}
.triad:hover { border-color: var(--gold-dim); box-shadow: 3px 3px 0 0 rgba(230, 57, 70, 0.22); }
.triad-num { font-family: var(--font-mono); font-size: 22px; font-weight: 700; color: var(--gold-light); letter-spacing: 0.06em; }
.triad-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text-primary); margin: 10px 0 10px; }
.triad p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.8; margin: 0; }
.triad-note { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--border-color); font-size: 12.5px; line-height: 1.7; color: var(--gold); font-weight: 600; }
@media (max-width: 768px) { .triad-row { grid-template-columns: 1fr; } }

.acc { border: 1px solid var(--border-color); background: var(--bg-card); margin-bottom: 14px; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.acc:hover { border-color: var(--gold-dim); }
.acc[open] { border-color: var(--gold-light); box-shadow: 4px 4px 0 0 rgba(230, 57, 70, 0.16); }
.acc-head { display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; user-select: none; }
.acc-head::-webkit-details-marker { display: none; }
.acc-num {
    font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    color: #FFFFFF; background: var(--gold-light); padding: 5px 10px; white-space: nowrap; flex-shrink: 0;
}
.acc-titles { flex: 1; min-width: 0; }
.acc-title { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--text-primary); }
.acc-sub { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 3px; line-height: 1.6; }
.acc-toggle {
    font-family: var(--font-mono); font-size: 11px; color: var(--gold); letter-spacing: 0.1em;
    white-space: nowrap; display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.acc-toggle::before { content: '+'; font-size: 15px; font-weight: 700; transition: transform 0.3s ease; }
.acc[open] .acc-toggle::before { transform: rotate(45deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.acc[open] .acc-body { grid-template-rows: 1fr; }
.acc-body-in { overflow: hidden; }
.acc-inner { margin: 0 22px; padding: 18px 0 22px; border-top: 1px dashed var(--border-color); }
.abd-row { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--border-color); }
.abd-row:last-of-type { border-bottom: none; }
.abd-label {
    font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--gold);
    letter-spacing: 0.12em; width: 64px; flex-shrink: 0; padding-top: 3px;
}
.abd-text { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.abd-text strong { color: var(--text-primary); }
.acc-judge {
    margin-top: 14px; border-left: 3px solid var(--gold-light); background: rgba(230, 57, 70, 0.05);
    padding: 14px 18px; font-size: 14px; line-height: 1.8; color: var(--text-primary);
}
.acc-judge .acc-judge-tag { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: 0.14em; margin-bottom: 6px; }
.chain-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0 4px; }
.chain-step { background: var(--bg-secondary); padding: 12px 14px; font-size: 13px; line-height: 1.7; color: var(--text-secondary); }
.chain-step .chain-tag { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: 0.14em; margin-bottom: 6px; }
@media (max-width: 768px) { .chain-row { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
    .acc-head { gap: 12px; padding: 16px 16px; }
    .acc-inner { margin: 0 16px; }
    .acc-toggle span { display: none; }
    .abd-row { flex-direction: column; gap: 4px; }
    .abd-label { width: auto; }
}

/* 四卡 2×2 变体（国际服页「四个入口」） */
.triad-row.triad-four { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .triad-row.triad-four { grid-template-columns: 1fr; } }

/* 九个问题 · 方法论自检清单（洞察页） */
.nine-q { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 6px; counter-reset: nineq; }
.nine-q-item { border: 1px solid var(--border-color); background: var(--bg-card); padding: 16px 18px; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.nine-q-item:hover { border-color: var(--gold-dim); box-shadow: 3px 3px 0 0 rgba(230, 57, 70, 0.22); }
.nine-q-item::before {
    counter-increment: nineq; content: "Q" counter(nineq, decimal-leading-zero);
    display: block; font-family: var(--font-mono); font-size: 15px; font-weight: 700;
    color: var(--gold-light); letter-spacing: 0.08em; margin-bottom: 8px;
}
.nine-q-item p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--text-secondary); }
@media (max-width: 900px) { .nine-q { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .nine-q { grid-template-columns: 1fr; } }

/* ===== 全站互动组件（interactions.js） ===== */
/* 卡片倾斜与按钮磁吸的平滑回弹 */
.tiltable { transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease; transform-style: preserve-3d; }
.magnetic { transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease, background 0.3s ease; }

/* 详情页阅读进度条 */
.read-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, var(--gold-light), var(--gold) 60%, #ffb3ba);
    box-shadow: 0 0 8px 1px rgba(230, 57, 70, 0.45);
    z-index: 10000; pointer-events: none;
    transition: width 0.08s linear;
}
