@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Share+Tech+Mono&display=swap&font-display=swap');

:root {
    --bg-dark: #0a0514;
    --bg-main: #1a0b2e;
    --bg-card: rgba(26, 11, 46, 0.6);
    --neon-green: #00ff9d;
    --neon-blue: #00f0ff;
    --neon-purple: #bd00ff;
    --neon-red: #ff003c;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-dim: #666;
    --border-glow: rgba(0, 240, 255, 0.15);
    --font-heading: 'Orbitron', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    --font-body: 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans CJK SC', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
    --font-story: 'Songti SC', 'Noto Serif CJK SC', 'STSong', 'SimSun', 'Georgia', serif;
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.9;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--neon-green); border-radius: 3px; }

/* ========== NAVIGATION ========== */
.site-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6%;
    background: rgba(10, 5, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glow);
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    color: var(--neon-green);
    text-decoration: none;
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.4);
}

.nav-links { display: flex; gap: 35px; }
.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: 0.3s;
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--neon-blue);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--neon-blue);
    box-shadow: 0 0 6px var(--neon-blue);
}

.nav-ver {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--neon-purple);
    letter-spacing: 2px;
    opacity: 0.6;
}

/* Mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 6px 12px;
    cursor: pointer;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px; left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 5, 20, 0.95);
        padding: 20px 6%;
        gap: 18px;
        border-bottom: 1px solid var(--border-glow);
    }
    .nav-links.open { display: flex; }
    .nav-ver { display: none; }
}

/* ========== CANVAS ========== */
#matrix-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.12;
}

/* ========== HERO ========== */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    z-index: 10;
}

.hero-bg-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
}

.hero-bg {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: contrast(1.3) brightness(0.7) saturate(1.2);
}

.overlay-gradient {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 5, 20, 0.2) 0%,
        rgba(10, 5, 20, 0.6) 50%,
        var(--bg-dark) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

/* Glitch Title */
.glitch-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.main-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    color: #fff;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-purple);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--neon-blue);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(13px, 9999px, 86px, 0); }
    20% { clip: rect(74px, 9999px, 16px, 0); }
    40% { clip: rect(25px, 9999px, 98px, 0); }
    60% { clip: rect(6px, 9999px, 53px, 0); }
    80% { clip: rect(32px, 9999px, 21px, 0); }
    100% { clip: rect(96px, 9999px, 8px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(3px, 9999px, 33px, 0); }
    40% { clip: rect(98px, 9999px, 15px, 0); }
    60% { clip: rect(34px, 9999px, 62px, 0); }
    80% { clip: rect(76px, 9999px, 4px, 0); }
    100% { clip: rect(12px, 9999px, 45px, 0); }
}

/* Subtitle typing */
.subtitle {
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    border-right: 2px solid var(--neon-green);
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 3s steps(50, end) forwards, blink 0.75s step-end infinite;
    display: inline-block;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; max-width: 580px; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--neon-green); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
}

.arrow {
    width: 16px; height: 16px;
    border-right: 2px solid var(--neon-green);
    border-bottom: 2px solid var(--neon-green);
    transform: rotate(45deg);
    animation: float 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(10px) rotate(45deg); }
}

/* ========== CYBER BUTTON ========== */
.cyber-btn {
    position: relative;
    display: inline-block;
    padding: 14px 35px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--neon-blue);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    border: 1px solid var(--neon-blue);
    background: rgba(0, 240, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(8% 0, 100% 0, 100% 70%, 92% 100%, 0 100%, 0 30%);
}

.cyber-btn:hover {
    background: var(--neon-blue);
    color: var(--bg-dark);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

.cyber-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.cyber-btn:hover::before { left: 100%; }

/* Ghost variant */
.cyber-btn--ghost {
    clip-path: none;
    border-color: var(--neon-purple);
    color: var(--neon-purple);
    background: rgba(189, 0, 255, 0.05);
}
.cyber-btn--ghost:hover {
    background: var(--neon-purple);
    color: #fff;
    box-shadow: 0 0 25px rgba(189, 0, 255, 0.4);
}

/* ========== SECTIONS ========== */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--neon-green);
    letter-spacing: 0.3em;
    margin-bottom: 12px;
    display: block;
    opacity: 0.7;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    color: #fff;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple);
}

.center-text { text-align: center; display: block; }
.center-text::after { left: 50%; transform: translateX(-50%); }

.highlight-green { color: var(--neon-green); text-shadow: 0 0 10px var(--neon-green); }
.highlight-blue { color: var(--neon-blue); text-shadow: 0 0 10px var(--neon-blue); }
.highlight-purple { color: var(--neon-purple); text-shadow: 0 0 10px var(--neon-purple); }

.lead {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* ========== CONTENT GRID ========== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ========== CODE BLOCK ========== */
.code-block {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 157, 0.3);
    padding: 20px;
    font-family: var(--font-mono);
    color: var(--neon-green);
    border-radius: 2px;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    line-height: 1.8;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.05);
    position: relative;
}

.code-block::before {
    content: 'TERMINAL';
    position: absolute;
    top: -10px; left: 12px;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--bg-dark);
    background: var(--neon-green);
    padding: 1px 8px;
    letter-spacing: 2px;
}

/* ========== HOLOGRAM CARD ========== */
.hologram-card {
    background: var(--bg-card);
    border: 1px solid var(--neon-blue);
    padding: 30px;
    position: relative;
    backdrop-filter: blur(5px);
    transition: 0.4s;
}

.hologram-card:hover {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
    border-color: var(--neon-blue);
}

.hologram-card h3 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--neon-blue);
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.scan-line {
    width: 100%;
    height: 2px;
    background: var(--neon-blue);
    position: absolute;
    top: 0; left: 0;
    animation: scan 3s linear infinite;
    opacity: 0.4;
}

@keyframes scan {
    0% { top: 0; opacity: 0; }
    50% { opacity: 0.6; }
    100% { top: 100%; opacity: 0; }
}

/* ========== DARK / GLASS BACKGROUNDS ========== */
.dark-bg { background: var(--bg-main); }

.glass-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.overlay-dark {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10, 5, 20, 0.88);
    z-index: 1;
}

.relative { position: relative; z-index: 2; }

/* ========== CHARACTER PROFILE ========== */
.character-profile {
    border-left: 3px solid var(--neon-blue);
    padding-left: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.id-tag {
    font-family: var(--font-mono);
    background: var(--neon-blue);
    color: var(--bg-dark);
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 10px;
}

.cyber-quote {
    font-family: var(--font-story);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--neon-purple);
    margin-top: 2rem;
    position: relative;
    padding-left: 25px;
    text-shadow: 0 0 15px rgba(189, 0, 255, 0.2);
}

.cyber-quote::before {
    content: '>';
    font-family: var(--font-mono);
    position: absolute;
    left: 0; top: 0;
    color: var(--neon-green);
    opacity: 0.5;
}

/* ========== CITY LAYERS ========== */
.city-layers {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
}

.connection-line {
    position: absolute;
    top: 50%; left: 10%;
    width: 80%; height: 1px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    z-index: 0;
    box-shadow: 0 0 10px rgba(189, 0, 255, 0.3);
}

.layer {
    background: rgba(10, 5, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px;
    width: 45%;
    position: relative;
    z-index: 1;
    transition: 0.4s;
}

.layer:hover {
    transform: translateY(-8px);
    border-color: var(--neon-purple);
    box-shadow: 0 5px 20px rgba(189, 0, 255, 0.1);
}

.layer h3 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--neon-blue);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.high-peaks { border-top: 3px solid var(--neon-blue); }
.lowlands { border-bottom: 3px solid var(--neon-purple); margin-top: 80px; }

/* ========== DATA GRID (Guardian Cards) ========== */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 2rem;
}

.data-node {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 240, 255, 0.1);
    padding: 30px;
    transition: 0.4s;
}

.data-node:hover {
    border-color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.03);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.08);
}

.node-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.node-role {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--neon-green);
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
    letter-spacing: 2px;
}

.node-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

/* ========== ENTRY CARDS (Page Navigation) ========== */
.entry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.entry-card {
    position: relative;
    display: block;
    padding: 40px 30px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: 0.5s;
    overflow: hidden;
}

.entry-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    opacity: 0;
    transition: 0.4s;
}

.entry-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.08);
}

.entry-card:hover::before { opacity: 1; }

.entry-card .card-tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--neon-green);
    letter-spacing: 3px;
    margin-bottom: 12px;
    display: block;
}

.entry-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.entry-card .card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.entry-card .card-arrow {
    font-family: var(--font-mono);
    color: var(--neon-blue);
    font-size: 0.7rem;
    margin-top: 18px;
    display: block;
    letter-spacing: 3px;
    transition: 0.3s;
}

.entry-card:hover .card-arrow { letter-spacing: 6px; color: var(--neon-purple); }

/* ========== FEATURE IMAGE ========== */
.feature-img-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-glow);
}

.feature-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    opacity: 0.75;
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: contrast(1.1) brightness(0.85) saturate(1.1);
}

.feature-img-wrap:hover .feature-img {
    transform: scale(1.04);
    opacity: 0.95;
    filter: contrast(1.2) brightness(0.9) saturate(1.3);
}

/* ========== CHAPTER / STORY ========== */
.story-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 140px 20px 80px;
    position: relative;
    z-index: 10;
}

.story-hero {
    text-align: center;
    margin-bottom: 100px;
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.story-hero .main-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 15px;
}

.story-hero .subtitle {
    animation: none;
    width: auto;
    border: none;
    white-space: normal;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.chapter {
    margin-bottom: 120px;
    position: relative;
}

.chapter-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--neon-green);
    letter-spacing: 4px;
    margin-bottom: 12px;
    display: block;
    opacity: 0.7;
}

.chapter-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.chapter-title-cn {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-style: italic;
}

.chapter-content {
    color: var(--text-primary);
    font-family: var(--font-story);
    font-size: 1.08rem;
    line-height: 2.3;
    font-weight: 400;
}

.chapter-content p {
    margin-bottom: 35px;
    text-indent: 2em;
}

.chapter-content .dialogue {
    text-indent: 0;
    padding-left: 20px;
    border-left: 2px solid var(--neon-purple);
    color: var(--neon-purple);
    font-family: var(--font-story);
    font-style: italic;
    font-size: 1.08rem;
    margin: 30px 0;
    text-shadow: 0 0 10px rgba(189, 0, 255, 0.15);
}

.chapter-content .emphasis {
    color: var(--neon-blue);
    font-weight: 700;
}

.chapter-content .inscription {
    text-indent: 0;
    text-align: center;
    font-family: var(--font-mono);
    color: var(--neon-red);
    font-size: 0.95rem;
    padding: 20px;
    margin: 30px 0;
    border: 1px solid rgba(255, 0, 60, 0.2);
    background: rgba(255, 0, 60, 0.03);
    letter-spacing: 2px;
}

.chapter-meta {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    margin-top: 30px;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.chapter-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    margin: 80px auto;
    box-shadow: 0 0 10px rgba(189, 0, 255, 0.3);
}

/* ========== WORLD / DOCTRINE ========== */
.doctrine-block {
    margin-bottom: 80px;
}

.doctrine-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.doctrine-table th,
.doctrine-table td {
    text-align: left;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.doctrine-table th {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(0, 255, 157, 0.2);
}

.doctrine-table td {
    color: var(--text-secondary);
}

.doctrine-table td:first-child {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--neon-blue);
    white-space: nowrap;
    letter-spacing: 1px;
}

.doctrine-table tr:hover td {
    color: var(--text-primary);
    background: rgba(0, 240, 255, 0.02);
}

.axiom-list {
    list-style: none;
    margin-top: 1.5rem;
}

.axiom-list li {
    padding: 15px 0 15px 25px;
    border-left: 2px solid rgba(0, 240, 255, 0.15);
    margin-bottom: 8px;
    color: var(--text-secondary);
    transition: 0.3s;
    line-height: 2.0;
}

.axiom-list li:hover {
    border-left-color: var(--neon-blue);
    color: var(--text-primary);
}

.axiom-list li strong {
    color: var(--neon-blue);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.big-quote {
    font-family: var(--font-story);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--neon-purple);
    text-align: center;
    padding: 50px 30px;
    margin: 60px 0;
    border-top: 1px solid rgba(189, 0, 255, 0.2);
    border-bottom: 1px solid rgba(189, 0, 255, 0.2);
    font-style: italic;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(189, 0, 255, 0.15);
    letter-spacing: 0.05em;
    line-height: 1.9;
}

/* ========== FOOTER ========== */
footer {
    background: #000;
    padding: 60px 0;
    border-top: 1px solid rgba(0, 255, 157, 0.2);
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-logo {
    font-family: var(--font-heading);
    color: var(--neon-green);
    font-size: 0.8rem;
    letter-spacing: 5px;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(0, 255, 157, 0.3);
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 15px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    transition: 0.3s;
    letter-spacing: 1px;
}

.footer-links a:hover { color: var(--neon-blue); }

.copyright {
    color: #444;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

/* ========== SCROLL ANIMATIONS ========== */
[data-scroll] {
    opacity: 0;
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-scroll="fade-up"] { transform: translateY(40px); }
[data-scroll="fade-left"] { transform: translateX(40px); }
[data-scroll="slide-right"] { transform: translateX(-40px); }
[data-scroll="slide-left"] { transform: translateX(40px); }
[data-scroll="zoom-in"] { transform: scale(0.92); }

[data-scroll].in-view {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Staggered delay */
[data-delay="0.1"] { transition-delay: 0.1s; }
[data-delay="0.2"] { transition-delay: 0.2s; }
[data-delay="0.3"] { transition-delay: 0.3s; }
[data-delay="0.4"] { transition-delay: 0.4s; }
[data-delay="0.5"] { transition-delay: 0.5s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .content-grid { grid-template-columns: 1fr; gap: 2rem; }
    .city-layers { flex-direction: column; }
    .layer { width: 100%; margin-top: 1.5rem; }
    .lowlands { margin-top: 1.5rem; }
    .connection-line { display: none; }
    .section { padding: 80px 0; }
    .subtitle {
        white-space: normal;
        animation: none;
        border: none;
        width: 100%;
    }
    .feature-img { height: 250px; }
    .entry-grid { grid-template-columns: 1fr; }
}
