/* ============================================
   Asuka's Notebook — NERV Terminal Theme v3
   "不酷不要钱"
   ============================================ */

:root {
    /* 明日香朱红 — EVA-02 的暖底红，有力不刺眼 */
    --eva-red: #D42020;
    --eva-red-glow: #E83030;
    --eva-red-bright: #FF3A3A;
    --eva-red-dim: rgba(212, 32, 32, 0.40);
    --eva-red-faint: rgba(212, 32, 32, 0.07);

    /* 金色 — 头发、夕阳、温暖点缀 */
    --asuka-gold: #C49530;
    --asuka-sunset: #E07040;

    /* 底色调 — 微暖黑，不死板 */
    --bg-dark: #060604;
    --bg-card: rgba(12, 11, 10, 0.80);
    --bg-card-hover: rgba(22, 18, 15, 0.94);

    /* 文本与线条 */
    --text-primary: #F0F0F0;
    --text-secondary: #AAA;
    --text-muted: #666;
    --border-color: #2A2825;
    --border-glow: rgba(212, 32, 32, 0.35);

    /* NERV 辅助色 */
    --nerv-blue: #4488FF;
    --nerv-cyan: #00E5FF;
    --nerv-green: #00FF41;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Serif SC', serif;
    background: transparent;
    color: var(--text-primary);
    line-height: 1.8;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-dark);
    z-index: -10;
    pointer-events: none;
}

/* ============ CANVAS BACKGROUND ============ */
#particleCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: -2;
}

/* Grid overlay - hex */
body::after {
    display: none;
}

/* Hex grid overlay - diagonal lines */
.hex-grid {
    position: fixed;
    top: 0; left: 0;
    width: 200%; height: 200%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.18;
    background-image:
        repeating-linear-gradient(60deg, rgba(255,50,30,0.1) 0px, transparent 1px, transparent 35px),
        repeating-linear-gradient(-60deg, rgba(255,50,30,0.1) 0px, transparent 1px, transparent 35px),
        repeating-linear-gradient(0deg, rgba(212,32,32,0.04) 0px, transparent 1px, transparent 35px);
    animation: hexDrift 60s linear infinite;
}

@keyframes hexDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-35px, -35px); }
}

a {
    color: var(--eva-red);
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: var(--eva-red-bright);
    text-shadow:
        0 0 10px var(--eva-red),
        0 0 25px var(--asuka-gold);
}

/* ============ NERV TOP STRIPE ============ */
.nerv-stripe {
    height: 4px;
    width: 100%;
    background: repeating-linear-gradient(
        45deg,
        #D42020, #D42020 10px,
        #0A0000 10px, #0A0000 20px
    );
    border-bottom: 2px solid var(--eva-red);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(212,32,32,0.3), 0 2px 30px rgba(212,32,32,0.1);
}

.nerv-stripe::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,55,30,0.4), transparent);
    animation: nervScan 2.5s infinite;
}

@keyframes nervScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ============ NAVIGATION ============ */
nav {
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 40px rgba(212,32,32,0.08);
    border-bottom: 1px solid var(--border-color);
}

nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .nav-logo {
    color: var(--eva-red);
    font-weight: 900;
    letter-spacing: 0.25em;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 20px rgba(212,32,32,0.4);
}

nav .nav-logo .blink-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--eva-red-bright);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px var(--eva-red), 0 0 25px rgba(212,32,32,0.5);
    animation: logoPulse 1.2s infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px var(--eva-red), 0 0 25px rgba(212,32,32,0.5); }
    50% { opacity: 0.3; transform: scale(0.8); box-shadow: 0 0 20px var(--eva-red), 0 0 40px rgba(212,32,32,0.7); }
}

nav .nav-logo span { color: #CCC; text-shadow: none; }

nav .nav-links {
    display: flex;
    gap: 2.5rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
}

nav .nav-links a {
    color: #666;
    transition: all 0.3s;
    text-transform: uppercase;
    position: relative;
    padding: 0.3rem 0;
}

nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--eva-red);
    box-shadow: 0 0 12px var(--eva-red), 0 0 25px rgba(212,32,32,0.4);
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

nav .nav-links a:hover,
nav .nav-links a.active {
    color: var(--eva-red-bright);
    text-shadow: 0 0 12px rgba(212,32,32,0.5);
}

nav .nav-links a:hover::after,
nav .nav-links a.active::after { width: 100%; }

/* Hamburger */
.mobile-menu-btn { display: none; }
.mobile-menu { display: none; }

@media (max-width: 768px) {
    nav .nav-links { display: none; }
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        z-index: 60;
    }
    .mobile-menu-btn span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--eva-red);
        transition: all 0.3s;
        box-shadow: 0 0 6px rgba(212,32,32,0.3);
    }
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
    .mobile-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    .mobile-menu.open { max-height: 200px; }
    .mobile-menu a {
        display: block;
        padding: 0.8rem 2rem;
        color: #999;
        font-family: 'Share Tech Mono', monospace;
        font-size: 0.78rem;
        letter-spacing: 0.12em;
        border-bottom: 1px solid rgba(212,32,32,0.06);
        transition: all 0.2s;
    }
    .mobile-menu a:hover, .mobile-menu a.active {
        color: var(--eva-red);
        background: rgba(212,32,32,0.05);
    }
}

/* ============ HEADER ============ */
body > header {
    background: linear-gradient(180deg,
        #1C0202 0%,
        #0F0202 25%,
        #0A0303 55%,
        #070504 80%,
        var(--bg-dark) 100%
    );
    border-bottom: 3px solid var(--eva-red);
    padding: 5rem 2rem 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header .header-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 35%, transparent 25%, rgba(0,0,0,0.6) 85%);
    pointer-events: none;
    z-index: 0;
}

header .header-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.15) 2px,
        rgba(0,0,0,0.15) 4px
    );
    pointer-events: none;
    z-index: 0;
}

/* Big 02 watermark */
header .bg-02 {
    position: absolute;
    top: -40px; right: 15px;
    opacity: 0.10;
    font-size: 13rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    color: var(--eva-red);
    font-family: 'Orbitron', sans-serif;
    z-index: 1;
    text-shadow:
        0 0 80px rgba(212,32,32,0.5),
        0 0 160px rgba(212,32,32,0.2);
    animation: bg02Pulse 4s ease-in-out infinite;
}

@keyframes bg02Pulse {
    0%, 100% { opacity: 0.10; }
    50% { opacity: 0.14; }
}

header .bg-02-left {
    position: absolute;
    bottom: -20px; left: 10px;
    opacity: 0.05;
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    color: var(--nerv-blue);
    font-family: 'Orbitron', sans-serif;
    z-index: 1;
}

/* Bottom glow */
body > header::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0; right: 0;
    height: 4px;
    background: var(--eva-red);
    box-shadow:
        0 0 30px var(--eva-red),
        0 0 60px rgba(212,32,32,0.6),
        0 0 100px rgba(212,32,32,0.3),
        0 0 150px rgba(212,32,32,0.15);
    z-index: 2;
    animation: bottomGlowPulse 2s ease-in-out infinite;
}

@keyframes bottomGlowPulse {
    0%, 100% { box-shadow: 0 0 30px var(--eva-red), 0 0 60px rgba(212,32,32,0.6), 0 0 100px rgba(212,32,32,0.3), 0 0 150px rgba(212,32,32,0.15); }
    50% { box-shadow: 0 0 50px var(--eva-red), 0 0 90px rgba(212,32,32,0.8), 0 0 140px rgba(212,32,32,0.4), 0 0 200px rgba(212,32,32,0.2); }
}

header .nerv-mark {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    color: var(--nerv-cyan);
    letter-spacing: 6px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    z-index: 2;
    text-shadow: 0 0 15px rgba(0,229,255,0.4), 0 0 30px rgba(0,229,255,0.15);
    animation: nervMarkFlicker 5s linear infinite;
}

@keyframes nervMarkFlicker {
    0%, 99.5%, 100% { opacity: 1; }
    99.6%, 99.9% { opacity: 0.6; }
}

header .nerv-mark::before,
header .nerv-mark::after {
    content: '/ /';
    color: var(--eva-red);
    margin: 0 12px;
    font-size: 0.6rem;
    text-shadow: 0 0 10px rgba(212,32,32,0.5);
}
/* Glitch animation */
@keyframes titleGlitch {
    0%, 96%, 100% { transform: translate(0); }
    96.2% { transform: translate(-3px, 1px); }
    96.4% { transform: translate(3px, -1px); }
    96.6% { transform: translate(-2px, 0); }
    96.8% { transform: translate(0); }
}

@keyframes titleGlitchClip {
    0%, 95.5%, 100% { opacity: 0; clip-path: none; }
    95.7% { opacity: 1; clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%); }
    95.9% { opacity: 1; clip-path: polygon(0 70%, 100% 70%, 100% 90%, 0 90%); }
    96.1% { opacity: 0; clip-path: none; }
}

body > header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 2;
    animation: titleGlitch 8s linear infinite;
}

body > header h1::before {
    content: 'Asuka\'s Notebook';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    color: var(--asuka-sunset);
    animation: titleGlitchClip 8s linear infinite;
    text-shadow: 0 0 15px var(--asuka-gold), 0 0 30px rgba(224,112,64,0.5);
    pointer-events: none;
}

body > header h1 a { display: inline-block; transition: all 0.3s ease; }

body > header h1 a .white {
    color: #FFF;
    transition: all 0.3s ease;
}

body > header h1 a .red {
    color: var(--eva-red);
    text-shadow: 0 0 20px var(--eva-red);
    transition: all 0.3s ease;
}

body > header h1 a:hover .white {
    text-shadow: 0 0 30px rgba(255,255,255,0.4);
}

body > header h1 a:hover .red {
    text-shadow: 0 0 40px var(--eva-red), 0 0 80px rgba(212,32,32,0.4);
}

header .subtitle {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-style: italic;
    position: relative;
    z-index: 2;
    min-height: 1.5rem;
}

header .subtitle::after {
    content: '▌';
    color: var(--eva-red);
    animation: cursorBlink 0.9s step-end infinite;
    font-size: 0.88rem;
    margin-left: 3px;
    text-shadow: 0 0 10px rgba(212,32,32,0.6);
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ============ LAYOUT ============ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.blog-layout {
    display: flex;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.main-content { flex: 2; min-width: 0; }

.sidebar {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    position: sticky;
    top: 5rem;
    align-self: flex-start;
}

@media (max-width: 900px) {
    .blog-layout { flex-direction: column; }
    .sidebar { min-width: auto; max-width: none; position: static; }
}

/* ============ ARTICLE LIST ============ */
.article-list {
    list-style: none;
    position: relative;
}

.article-list > li {
    padding: 1.8rem 2rem 1.8rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--eva-red-dim);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: articleEnter 0.6s ease forwards;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Ambient border glow animation */
.article-list > li:nth-child(odd) { animation: articleEnter 0.6s ease forwards, borderPulse1 6s ease-in-out infinite; }
.article-list > li:nth-child(even) { animation: articleEnter 0.6s ease forwards, borderPulse2 7s ease-in-out infinite; }

@keyframes borderPulse1 {
    0%, 100% { border-left-color: var(--eva-red-dim); }
    50% { border-left-color: rgba(212,32,32,0.55); }
}

@keyframes borderPulse2 {
    0%, 100% { border-color: var(--border-color); border-left-color: var(--eva-red-dim); }
    30% { border-color: rgba(212,32,32,0.06); }
    50% { border-color: var(--border-color); border-left-color: rgba(212,32,32,0.5); }
    70% { border-color: rgba(212,32,32,0.06); }
}

/* Corner decorative brackets */
.article-list > li::before {
    content: '';
    position: absolute;
    top: -1px; right: -1px;
    width: 16px; height: 16px;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    pointer-events: none;
    opacity: 0;
    transition: all 0.4s ease;
}

.article-list > li::after {
    content: '';
    position: absolute;
    bottom: -1px; left: -1px;
    width: 16px; height: 16px;
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;
    pointer-events: none;
    opacity: 0;
    transition: all 0.4s ease;
}

.article-list > li:hover::before {
    border-top-color: var(--eva-red-bright);
    border-right-color: var(--eva-red-bright);
    opacity: 1;
    box-shadow: -6px -6px 20px rgba(212,32,32,0.25);
}

.article-list > li:hover::after {
    border-bottom-color: var(--eva-red-bright);
    border-left-color: var(--eva-red-bright);
    opacity: 1;
    box-shadow: 6px 6px 20px rgba(212,32,32,0.25);
}

@keyframes articleEnter {
    to { opacity: 1; transform: translateY(0); }
}

.article-list > li:hover {
    background: var(--bg-card-hover);
    border-color: rgba(212,32,32,0.35);
    border-left-color: var(--eva-red-bright);
    transform: translateX(4px);
    box-shadow:
        0 8px 40px rgba(212,32,32,0.2),
        0 0 0 1px rgba(212,32,32,0.12),
        inset 0 0 40px rgba(212,32,32,0.03),
        -10px 0 40px rgba(212,32,32,0.08);
}

/* Scanline slider */
.article-list .scanline {
    position: absolute;
    left: 0;
    width: 4px;
    background: var(--eva-red-bright);
    opacity: 0;
    transition:
        top 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.25s ease;
    pointer-events: none;
    z-index: 1;
    box-shadow:
        0 0 15px rgba(212,32,32,0.6),
        0 0 30px var(--asuka-gold),
        0 0 50px rgba(212,32,32,0.2),
        0 0 8px rgba(224,112,64,0.3);
    border-radius: 2px;
}

/* Article meta line */
.article-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-secondary);
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.article-meta .meta-id {
    color: var(--eva-red);
    font-weight: 700;
    font-size: 0.82rem;
    text-shadow: 0 0 8px rgba(212,32,32,0.3);
}

.article-meta .meta-sep { color: var(--eva-red-dim); }
.article-meta time { color: #777; }

.article-meta .category {
    color: var(--nerv-cyan);
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-shadow: 0 0 6px rgba(0,229,255,0.2);
}

.article-meta .category::before { content: '['; color: var(--eva-red-dim); }
.article-meta .category::after { content: ']'; color: var(--eva-red-dim); }

.article-list > li h2 {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #FFF;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.article-list > li h2::before {
    content: '[ ]';
    color: #555;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    margin-right: 0.6rem;
    vertical-align: middle;
    display: inline-block;
    transition: all 0.3s ease;
    letter-spacing: 0;
}

.article-list > li:hover h2::before {
    content: '[■]';
    color: var(--eva-red-bright);
    text-shadow:
        0 0 10px var(--eva-red),
        0 0 25px var(--asuka-gold),
        0 0 40px rgba(255, 60, 0, 0.4);
}

.article-list > li h2 a { color: #FFF; transition: color 0.25s, text-shadow 0.25s; }

.article-list > li:hover h2 a {
    color: var(--eva-red-bright);
    text-shadow:
        0 0 10px var(--eva-red),
        0 0 30px var(--eva-red),
        0 0 50px var(--asuka-gold);
}

.article-list .meta {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    color: #555;
    margin-bottom: 0.7rem;
}

.article-list .meta span { margin-right: 1.2rem; }

.tag-text {
    color: #777;
    font-size: inherit;
    transition: color 0.2s;
}
.tag-text:hover {
    color: var(--eva-red-bright);
    text-shadow: 0 0 8px var(--eva-red);
}

.article-list .meta span:not(:last-child)::after {
    content: '/';
    margin-left: 1.2rem;
    color: #333;
}

.article-list .summary {
    color: #888;
    line-height: 1.75;
    font-size: 0.92rem;
    transition: color 0.3s;
}

.article-list > li:hover .summary { color: #AAA; }

.read-more {
    display: inline-block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    color: var(--asuka-gold);
    text-decoration: none;
    margin-top: 0.8rem;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.read-more:hover {
    color: var(--eva-red-bright);
    text-shadow:
        0 0 8px var(--asuka-gold),
        0 0 20px var(--eva-red),
        0 0 35px rgba(224, 112, 64, 0.5);
    transform: translateX(4px);
}

/* ============ SIDEBAR ============ */
.pilot-info, .recent-logs, .article-toc {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.2rem;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.pilot-info::before,
.recent-logs::before,
.article-toc::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--eva-red-bright), transparent 80%);
    box-shadow: 0 0 15px rgba(212,32,32,0.3);
}

.pilot-info h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--eva-red);
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212,32,32,0.1);
    text-shadow: 0 0 10px rgba(212,32,32,0.3);
}

.pilot-info ul { list-style: none; }

.pilot-info li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.74rem;
    border-bottom: 1px solid rgba(212,32,32,0.05);
    transition: all 0.2s;
}

.pilot-info li:hover { background: rgba(212,32,32,0.03); padding-left: 6px; }

.pilot-info li:last-child { border-bottom: none; }
.pilot-info .label { color: #666; }
.pilot-info .value { color: #DDD; }
.pilot-info .green {
    color: var(--nerv-green);
    text-shadow: 0 0 10px rgba(0,255,65,0.5), 0 0 20px rgba(0,255,65,0.2);
    animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {
    0%, 100% { text-shadow: 0 0 10px rgba(0,255,65,0.5), 0 0 20px rgba(0,255,65,0.2); }
    50% { text-shadow: 0 0 18px rgba(0,255,65,0.8), 0 0 35px rgba(0,255,65,0.4), 0 0 50px rgba(0,255,65,0.15); }
}

/* Recent Logs sidebar */
.recent-logs h3 {
    font-family: 'Share Tech Mono', monospace;
    color: var(--nerv-cyan);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,229,255,0.08);
    text-shadow: 0 0 10px rgba(0,229,255,0.2);
}
.recent-logs ul { list-style: none; }
.recent-logs li {
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: all 0.2s;
}
.recent-logs li:last-child { border-bottom: none; }
.recent-logs li:hover { background: rgba(212,32,32,0.03); padding-left: 4px; }
.recent-logs li a {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.68rem;
    color: #999;
    display: flex;
    gap: 0.6rem;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recent-logs li a:hover { color: var(--eva-red-bright); }
.rlog-date {
    color: #555;
    font-size: 0.62rem;
    flex-shrink: 0;
    min-width: 2.8em;
}

/* Article TOC */
.article-toc h3 {
    font-family: 'Share Tech Mono', monospace;
    color: var(--nerv-cyan);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,229,255,0.08);
    text-shadow: 0 0 10px rgba(0,229,255,0.2);
}

.toc-content ul { list-style: none; padding: 0; }
.toc-content li {
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    transition: all 0.2s;
}
.toc-content li:hover { padding-left: 6px; }
.toc-content li a {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.68rem;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}
.toc-content li a:hover { color: var(--eva-red-bright); }

/* ============ ARCHIVE PAGE ============ */
.archive-page h2, .tags-page h2, .tag-page h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--eva-red);
    font-size: 1.3rem;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(212,32,32,0.12);
    text-shadow: 0 0 15px rgba(212,32,32,0.3);
}

.archive-list { display: flex; flex-direction: column; gap: 1px; }

.archive-item {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    padding: 0.8rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.archive-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(212,32,32,0.15);
    border-left-color: var(--eva-red);
    transform: translateX(3px);
    box-shadow: 0 4px 25px rgba(212,32,32,0.12), -6px 0 20px rgba(212,32,32,0.06);
}

.archive-date {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    color: #666;
    min-width: 120px;
    transition: color 0.3s;
}

.archive-item:hover .archive-date { color: var(--eva-red-dim); }

.archive-title {
    font-size: 0.95rem;
    transition: all 0.3s;
}

.archive-title:hover { text-shadow: 0 0 12px rgba(212,32,32,0.4); }

/* ============ TAG CLOUD ============ */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(212,32,32,0.04);
    border: 1px solid rgba(212,32,32,0.15);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: rgba(212,32,32,0.12);
    border-color: var(--eva-red);
    box-shadow: 0 0 20px rgba(212,32,32,0.25), 0 0 0 1px rgba(212,32,32,0.1);
    transform: translateY(-2px);
}

.tag-name { color: #CCC; }
.tag-count {
    color: var(--eva-red-dim);
    font-size: 0.68rem;
}

.warning-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    border: 1px dashed rgba(212,32,32,0.35);
    background: rgba(127, 29, 29, 0.06);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.warning-box::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212,32,32,0.05), transparent);
    animation: warningSweep 4s infinite;
}

@keyframes warningSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.warning-box .icon {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
    animation: warningIconPulse 1.5s ease-in-out infinite;
}

@keyframes warningIconPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.warning-box p {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* ============ FOOTER ============ */
footer {
    border-top: 1px solid rgba(212,32,32,0.1);
    background: var(--bg-dark);
    padding: 3.5rem 2rem 2.5rem;
    text-align: center;
    margin-top: 4rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--eva-red-bright), transparent);
    box-shadow: 0 0 20px rgba(212,32,32,0.4);
}

footer::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: repeating-linear-gradient(90deg,
        transparent, transparent 16px,
        rgba(212,32,32,0.08) 16px, rgba(212,32,32,0.08) 32px
    );
}

.footer-nerv {
    color: rgba(212,32,32,0.25);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: 0.8em;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 30px rgba(212,32,32,0.1);
}

.footer-nerv::before,
.footer-nerv::after {
    content: '◆';
    font-size: 0.45rem;
    vertical-align: middle;
    margin: 0 0.8rem;
    color: var(--eva-red-dim);
}

footer .footer-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--eva-red-dim), transparent);
    margin: 0.8rem auto;
}

.footer-status {
    color: #333;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
}

footer p {
    color: #555;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0.3rem 0;
}

/* ============ ARTICLE PAGE ============ */
.article-full {
    background: var(--bg-card);
    border: 1px solid rgba(212,32,32,0.1);
    padding: 2.5rem 3rem;
    position: relative;
}

.article-full::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg,
        var(--eva-red-bright),
        var(--eva-red-dim) 50%,
        transparent 90%
    );
    box-shadow: 3px 0 20px rgba(212,32,32,0.2);
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212,32,32,0.08);
}

.article-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.7rem;
    color: #FFF;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-meta-detail {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.article-meta-detail span { margin-right: 1.5rem; }

.tag-link {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    background: rgba(212,32,32,0.08);
    border: 1px solid rgba(212,32,32,0.2);
    border-radius: 2px;
    transition: all 0.25s;
    font-family: 'Share Tech Mono', monospace;
}

.tag-link:hover {
    background: rgba(212,32,32,0.18);
    border-color: var(--eva-red);
    box-shadow: 0 0 15px rgba(212,32,32,0.3), 0 0 30px rgba(212,32,32,0.1);
    transform: translateY(-1px);
}

.article-body {
    line-height: 1.9;
    color: #CCC;
    font-size: 0.96rem;
}

.article-body h1, .article-body h2, .article-body h3 {
    color: #FFF;
    margin: 2rem 0 1rem;
    position: relative;
    padding-left: 1rem;
}

.article-body h1::before, .article-body h2::before, .article-body h3::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--eva-red);
    box-shadow: 0 0 15px rgba(212,32,32,0.4);
    border-radius: 2px;
}

.article-body p { margin-bottom: 1.3rem; }

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212,32,32,0.1);
}

.nav-prev, .nav-next { max-width: 45%; }

.nav-label {
    display: block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: var(--eva-red);
    margin-bottom: 0.3rem;
    text-shadow: 0 0 8px rgba(212,32,32,0.3);
}

.nav-title { color: #CCC; font-size: 0.85rem; }

/* ============ PAGINATION ============ */
.pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212,32,32,0.08);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Share Tech Mono', monospace;
}

.pagination-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
}

.pagination a {
    color: var(--eva-red);
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--eva-red-dim);
    transition: all 0.3s;
    position: relative;
}

.pagination a:hover {
    background: rgba(212,32,32,0.15);
    border-color: var(--eva-red);
    box-shadow:
        0 0 20px rgba(212, 32, 32, 0.3),
        0 0 35px var(--asuka-gold),
        0 0 0 1px rgba(212, 32, 32, 0.15);
    text-shadow: 0 0 10px rgba(212,32,32,0.4);
}

.pagination-info { color: #555; }

/* ============ MOBILE ============ */
@media (max-width: 768px) {
    body > header { padding: 2.5rem 1rem 1.8rem; }
    body > header h1 { font-size: 1.6rem; letter-spacing: 2px; }
    header .bg-02 { font-size: 5rem; top: -10px; right: 5px; opacity: 0.06; }
    header .bg-02-left { display: none; }
    header .nerv-mark { font-size: 0.58rem; letter-spacing: 3px; margin-bottom: 0.3rem; }
    header .subtitle { font-size: 0.72rem; letter-spacing: 1px; }

    .container { padding: 1.5rem 0.8rem; }
    .blog-layout { flex-direction: column; gap: 1.2rem; }

    .article-list > li { padding: 1.2rem 0.9rem 1.2rem 1.3rem; }
    .article-list > li h2 { font-size: 1.05rem; }
    .article-full { padding: 1rem; }

    nav .nav-container { padding: 0.6rem 0.8rem; }
    .nav-logo { font-size: 0.72rem; letter-spacing: 1px; }

    footer { padding: 2rem 0.8rem 1.2rem; }
    .footer-nerv { font-size: 1.1rem; letter-spacing: 0.3em; }
    .footer-status { font-size: 0.6rem; }

    /* Corner brackets: full size */

    /* Sidebar / system-status */
    .sidebar { padding: 0.8rem; }
    .system-status { padding: 0.8rem 1rem; }
    .system-status h3 { font-size: 0.62rem; letter-spacing: 2px; }
    .system-status .stat-header { font-size: 0.6rem; }
    .recent-logs { padding: 0.8rem 1rem; }
    .recent-logs h3 { font-size: 0.62rem; }
    .recent-logs li a { font-size: 0.64rem; }

    /* Article document header */
    .nerv-doc-header .classification-line { font-size: 0.52rem; gap: 0.8rem; letter-spacing: 1px; }

    /* Typography */
    .article-body blockquote { padding: 0.8rem 1rem; }
    .article-body pre { padding: 0.8rem 1rem; font-size: 0.7rem; }

    /* Page about */
    .page-body { padding: 0 0.5rem; }
    .page-body .entry-title { font-size: 1.2rem; }
}

/* ============ CUSTOM SCROLLBAR - NERV STYLE ============ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0A0A08; border-left: 1px solid rgba(212,32,32,0.06); }
::-webkit-scrollbar-thumb {
    background: rgba(212,32,32,0.25);
    border-radius: 3px;
    border: 1px solid rgba(212,32,32,0.1);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(212,32,32,0.55);
    box-shadow: 0 0 15px rgba(212,32,32,0.3);
}
::-webkit-scrollbar-corner { background: #0A0A08; }

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(212,32,32,0.25) #0A0A08;
}

/* ============ TEXT SELECTION ============ */
::selection {
    background: rgba(212,32,32,0.35);
    color: #FFF;
    text-shadow: 0 0 12px rgba(212,32,32,0.6);
}
::-moz-selection {
    background: rgba(212,32,32,0.35);
    color: #FFF;
    text-shadow: 0 0 12px rgba(212,32,32,0.6);
}

/* ============ LOADING BAR ============ */
.loading-bar {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 2px;
    z-index: 10000;
    pointer-events: none;
    background: transparent;
}
.loading-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0;
    background: var(--eva-red);
    box-shadow:
        0 0 12px var(--eva-red),
        0 0 28px var(--asuka-gold);
    animation: loadBar 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes loadBar {
    0% { width: 0; }
    30% { width: 40%; }
    60% { width: 75%; }
    100% { width: 100%; opacity: 1; }
}
.loading-bar.done::after { opacity: 0; transition: opacity 0.3s ease; width: 100%; }

/* ============ CORNER BRACKETS ============ */
.corner-bracket {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    width: 30px; height: 30px;
}
.corner-bracket::before,
.corner-bracket::after {
    content: '';
    position: absolute;
    background: rgba(212,32,32,0.35);
    box-shadow: 0 0 12px rgba(212,32,32,0.4);
}
.corner-bracket::before { width: 100%; height: 1px; }
.corner-bracket::after { width: 1px; height: 100%; }

.corner-tl { top: 16px; left: 16px; }
.corner-tl::before { top: 0; left: 0; }
.corner-tl::after { top: 0; left: 0; }

.corner-tr { top: 16px; right: 16px; }
.corner-tr::before { top: 0; right: 0; }
.corner-tr::after { top: 0; right: 0; }

.corner-bl { bottom: 16px; left: 16px; }
.corner-bl::before { bottom: 0; left: 0; }
.corner-bl::after { bottom: 0; left: 0; }

.corner-br { bottom: 16px; right: 16px; }
.corner-br::before { bottom: 0; right: 0; }
.corner-br::after { bottom: 0; right: 0; }

/* ============ NOISE OVERLAY ============ */
.noise-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* ============ CUSTOM CURSOR ============ */
body { cursor: default; }
a, button, input, textarea, select, .clickable,
nav a, .article-list li, .tag-item, .pagination a,
.article-nav a, .mobile-menu-btn { cursor: pointer; }
canvas { cursor: default; }

/* ============ NERV DOCUMENT HEADER (Article) ============ */
.nerv-doc-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212,32,32,0.1);
}
.nerv-doc-header .classification-line {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--nerv-cyan);
    opacity: 0.65;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 0.6rem;
    text-shadow: 0 0 8px rgba(0,229,255,0.15);
}
.nerv-doc-header .classification-line span { white-space: nowrap; }
.nerv-doc-header .doc-divider {
    height: 1px;
    margin: 0.8rem 0 1.2rem;
    background: repeating-linear-gradient(
        90deg,
        rgba(212,32,32,0.25) 0px, rgba(212,32,32,0.25) 4px,
        transparent 4px, transparent 8px
    );
}

/* ============ SYSTEM STATUS PANEL ============ */
.system-status {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.2rem;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}
.system-status::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--eva-red-bright), transparent);
    box-shadow: 0 0 12px rgba(212,32,32,0.2);
}
.system-status h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--nerv-cyan);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,229,255,0.08);
    text-shadow: 0 0 10px rgba(0,229,255,0.2);
}
.system-status .stat-item { margin-bottom: 0.5rem; }
.system-status .stat-item:last-child { margin-bottom: 0; }
.system-status .stat-header {
    display: flex;
    justify-content: space-between;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.68rem;
    margin-bottom: 0.2rem;
}
.system-status .stat-label { color: #666; }
.system-status .stat-value { color: #DDD; }
.system-status .stat-value.green {
    color: var(--nerv-green);
    text-shadow: 0 0 8px rgba(0,255,65,0.3);
}
.system-status .stat-value.cyan {
    color: var(--nerv-cyan);
    text-shadow: 0 0 8px rgba(0,229,255,0.3);
}
.system-status .stat-bar {
    height: 3px;
    background: rgba(255,255,255,0.04);
    border-radius: 2px;
    overflow: hidden;
}
.system-status .stat-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 2s ease;
    box-shadow: 0 0 8px rgba(212,32,32,0.4);
}
.stat-bar-fill.red { background: var(--eva-red); }
.stat-bar-fill.cyan { background: var(--nerv-cyan); box-shadow: 0 0 8px rgba(0,229,255,0.4); }
.stat-bar-fill.green { background: var(--nerv-green); box-shadow: 0 0 8px rgba(0,255,65,0.4); }

/* ============ ENHANCED TYPOGRAPHY ============ */
.article-body blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(212,32,32,0.04);
    border-left: 3px solid var(--eva-red-dim);
    color: #AAA;
    font-style: italic;
    position: relative;
}
.article-body blockquote::before {
    content: '';
    position: absolute;
    left: -3px; top: 0; bottom: 0;
    width: 3px;
    background: var(--eva-red);
    box-shadow: 0 0 15px rgba(212,32,32,0.3);
    opacity: 0;
    transition: opacity 0.3s;
}
.article-body blockquote:hover::before {
    opacity: 1;
    box-shadow: 0 0 15px var(--eva-red), 0 0 30px var(--asuka-gold);
}

.article-body hr {
    border: none;
    height: 1px;
    margin: 2rem 0;
    background: linear-gradient(90deg, transparent, var(--eva-red-dim) 20%, var(--eva-red-dim) 80%, transparent);
    position: relative;
}
.article-body hr::after {
    content: '◆';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--eva-red-bright);
    font-size: 0.5rem;
    text-shadow: 0 0 10px rgba(212,32,32,0.6);
    background: var(--bg-dark);
    padding: 0 10px;
}

.article-body code {
    font-family: 'Share Tech Mono', monospace;
    background: rgba(212,32,32,0.08);
    color: var(--eva-red-bright);
    padding: 0.15em 0.4em;
    border-radius: 2px;
    font-size: 0.88em;
    border: 1px solid rgba(212,32,32,0.1);
}

.article-body pre {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(212,32,32,0.15);
    border-left: 3px solid var(--eva-red);
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.6;
    position: relative;
    box-shadow: inset 0 0 30px rgba(212,32,32,0.02);
}
.article-body pre code {
    background: none;
    color: #CCC;
    border: none;
    padding: 0;
    font-size: inherit;
}

.article-body ul, .article-body ol {
    margin: 1rem 0 1rem 1.5rem;
    color: #BBB;
}
.article-body li { margin-bottom: 0.4rem; }
.article-body li::marker { color: var(--eva-red-dim); }

.article-body img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    border-radius: 2px;
}
.article-body a {
    border-bottom: 1px dotted var(--eva-red-dim);
    transition: all 0.2s;
}
.article-body a:hover {
    border-bottom-color: var(--eva-red);
    text-shadow: 0 0 10px rgba(212,32,32,0.3);
}

/* ============ PAGE (About) ============ */
.page-body { max-width: 780px; margin: 0 auto; }
.page-body .entry-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--eva-red);
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(212,32,32,0.15);
    text-shadow: 0 0 20px rgba(212,32,32,0.3);
}
.page-body h2, .page-body h3 {
    color: #FFF;
    margin: 2rem 0 0.8rem;
    padding-left: 0.8rem;
    border-left: 3px solid var(--eva-red);
}
.page-body p { color: #BBB; line-height: 1.9; margin-bottom: 1rem; }
.page-body a { color: var(--eva-red-bright); }
.page-body ul, .page-body ol { color: #BBB; margin-left: 1.5rem; }

/* ============ ARTICLE LIST V2 HOVER MERGE ============ */
.article-list {
    position: relative;
}

.article-list > li {
    will-change: transform, box-shadow, border-color, background;
}

.article-list > li:hover {
    transform: translateX(4px) translateY(-6px);
    box-shadow:
        0 16px 42px rgba(212,32,32,0.24),
        0 0 0 1px rgba(212,32,32,0.18),
        inset 0 0 44px rgba(212,32,32,0.04),
        -10px 0 42px rgba(212,32,32,0.12);
}

.article-list .scanline {
    left: 0;
    width: 4px;
    background: linear-gradient(
        180deg,
        rgba(255,55,30,0),
        var(--eva-red-bright) 18%,
        var(--asuka-gold) 50%,
        var(--eva-red-bright) 82%,
        rgba(255,55,30,0)
    );
    box-shadow:
        0 0 18px rgba(212,32,32,0.75),
        0 0 34px var(--asuka-gold),
        0 0 56px rgba(212,32,32,0.28);
}

.article-list .scanline::after {
    content: '';
    position: absolute;
    left: 4px;
    right: auto;
    top: 0;
    width: 100vw;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(255,55,30,0.12) 0,
        rgba(255,55,30,0.12) 1px,
        transparent 1px,
        transparent 5px
    );
    opacity: 0.18;
    mix-blend-mode: screen;
}

.article-list > li h2 {
    transform-origin: left center;
    will-change: transform, color, text-shadow;
}

.article-list > li:hover h2 {
    transform: scale(1.035);
}

.article-list > li h2 a {
    display: inline-block;
    transition: color 0.25s, text-shadow 0.25s, transform 0.3s ease;
}

.article-list > li:hover h2 a {
    transform: scale(1.015);
}

/* ========== Reduced Motion ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scanline,
    .scanline::after {
        display: none;
    }
    
    .hex-grid {
        animation: none;
    }
}
