@import url("https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Orbitron:wght@400;600;700;800;900&family=Share+Tech+Mono&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700;800;900&family=Rajdhani:wght@500;600;700&family=Share+Tech+Mono&display=swap");
:root {
    --black: #090909;
    --panel: #181818;
    --panel-light: #222222;
    --pink: #ff1493;
    --green: #7cfc00;
    --cyan: #00ffff;
    --white: #f5f5f5;
    --muted: #b8b8b8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top, #241020 0%, var(--black) 42%),
        var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0.06;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 3px,
        rgba(255, 255, 255, 0.2) 4px
    );
}

a {
    text-decoration: none;
}

.site-shell {
    width: min(1100px, calc(100% - 40px));
    margin: auto;
}

/* TOP COMMAND BAR */

.top-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 9, 9, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 20, 147, 0.45);
}

.top-bar-inner {
    width: min(1100px, calc(100% - 40px));
    min-height: 58px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-mini {
    color: var(--pink);
    font-weight: 900;
    letter-spacing: 1px;
}

.status,
.back-link {
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

/* PAGE HEADERS */

header {
    padding: 65px 0 35px;
    text-align: center;
}

.terminal-label {
    color: var(--green);
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
}

h1 {
    color: var(--pink);
    margin: 0;
    font-size: clamp(44px, 8vw, 82px);
    line-height: 0.98;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow:
        0 0 8px rgba(255, 20, 147, 0.8),
        0 0 24px rgba(255, 20, 147, 0.55),
        0 0 48px rgba(255, 20, 147, 0.3);
}

.subtitle {
    margin: 28px 0 8px;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 900;
}

.tagline,
.intro {
    color: var(--muted);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.65;
}

.intro {
    max-width: 760px;
    margin: 24px auto 0;
}

.version,
.archive-status {
    display: inline-block;
    color: var(--green);
    margin-top: 22px;
    padding: 8px 15px;
    border: 1px solid var(--green);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 14px rgba(124, 252, 0, 0.25);
}

/* HOMEPAGE HERO */

.hero-wrap {
    position: relative;
    margin: 20px 0 28px;
}

.hero-image {
    width: 100%;
    display: block;
    border: 2px solid var(--pink);
    border-radius: 18px;
    box-shadow:
        0 0 18px rgba(255, 20, 147, 0.45),
        0 30px 80px rgba(0, 0, 0, 0.75);
}

.hero-wrap::after {
    content: "WELCOME TO TITAN CITY";
    position: absolute;
    left: 22px;
    bottom: 22px;
    color: var(--green);
    background: rgba(9, 9, 9, 0.84);
    padding: 12px 16px;
    border-left: 4px solid var(--pink);
    font-size: clamp(14px, 2vw, 22px);
    font-weight: 900;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
}

/* NAVIGATION */

.nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 34px 0 44px;
}

.nav-button {
    background: linear-gradient(145deg, #222, #151515);
    color: var(--pink);
    padding: 20px 12px;
    border: 2px solid var(--pink);
    border-radius: 12px;
    text-align: center;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-button:hover,
.nav-button:focus {
    color: #080808;
    background: var(--pink);
    transform: translateY(-4px);
    box-shadow:
        0 0 12px rgba(255, 20, 147, 0.75),
        0 0 28px rgba(255, 20, 147, 0.45);
    outline: none;
}

/* GENERAL CONTENT PANELS */

.section {
    position: relative;
    background: linear-gradient(145deg, var(--panel-light), var(--panel));
    margin: 24px 0;
    padding: 28px;
    border-left: 5px solid var(--pink);
    border-radius: 14px;
    scroll-margin-top: 90px;
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.section::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 2px;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
}

.section h2,
.section h3 {
    color: var(--green);
    margin: 0 0 18px;
    text-shadow: 0 0 12px rgba(124, 252, 0, 0.22);
}

.section h2 {
    font-size: clamp(25px, 4vw, 34px);
}

.section h3 {
    font-size: 30px;
}

p,
li {
    font-size: 18px;
    line-height: 1.65;
}

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

ul {
    padding-left: 24px;
}

li::marker {
    color: var(--pink);
}

.mission-title {
    color: var(--white);
    margin-bottom: 8px;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
}

.mission-subtitle {
    color: var(--pink);
    font-weight: 900;
}

/* SOCIAL LINKS */

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-link {
    color: var(--cyan);
    padding: 12px 16px;
    border: 1px solid var(--cyan);
    border-radius: 8px;
    font-weight: 900;
    transition: 0.2s ease;
}

.social-link:hover,
.social-link:focus {
    color: #080808;
    background: var(--cyan);
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.5);
    outline: none;
}

/* COMICS ARCHIVE */

.issue-card {
    display: grid;
    grid-template-columns: minmax(260px, 410px) 1fr;
    gap: 34px;
    align-items: center;
    background: linear-gradient(145deg, var(--panel-light), var(--panel));
    margin: 20px 0 35px;
    padding: 28px;
    border-left: 5px solid var(--pink);
    border-radius: 18px;
    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.55),
        0 0 24px rgba(255, 20, 147, 0.12);
}

.comic-cover {
    width: 100%;
    display: block;
    border: 2px solid var(--pink);
    border-radius: 12px;
    box-shadow:
        0 0 18px rgba(255, 20, 147, 0.42),
        0 20px 45px rgba(0, 0, 0, 0.65);
}

.issue-number {
    color: var(--green);
    margin-bottom: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.issue-card h2 {
    color: var(--white);
    margin: 0 0 18px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.05;
}

.issue-subtitle {
    color: var(--pink);
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 900;
}

.issue-copy {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.intel-box {
    background: #101010;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid rgba(124, 252, 0, 0.4);
    border-radius: 10px;
}

.intel-box strong {
    color: var(--green);
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.action-button {
    display: inline-block;
    color: var(--pink);
    padding: 14px 20px;
    border: 2px solid var(--pink);
    border-radius: 9px;
    font-weight: 900;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.action-button:hover,
.action-button:focus {
    color: #080808;
    background: var(--pink);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.6);
    outline: none;
}

.coming-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.coming-card {
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: #121212;
    padding: 20px;
    border: 1px dashed rgba(255, 20, 147, 0.65);
    border-radius: 12px;
    text-align: center;
    font-weight: 900;
}

/* FOOTER */

footer {
    margin-top: 55px;
    padding: 42px 20px;
    text-align: center;
    background: #070707;
    border-top: 1px solid rgba(255, 20, 147, 0.45);
}

.footer-title {
    color: var(--pink);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 0 0 12px rgba(255, 20, 147, 0.5);
}

.footer-copy {
    color: var(--muted);
    line-height: 1.7;
}

/* TABLET */

@media (max-width: 780px) {
    .site-shell,
    .top-bar-inner {
        width: min(100% - 24px, 1100px);
    }

    .issue-card {
        grid-template-columns: 1fr;
    }

    .comic-cover {
        max-width: 520px;
        margin: auto;
    }

    .coming-grid {
        grid-template-columns: 1fr;
    }
}

/* MOBILE */

@media (max-width: 700px) {
    header {
        padding-top: 48px;
    }

    .nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-wrap::after {
        left: 12px;
        right: 12px;
        bottom: 12px;
        text-align: center;
    }

    .section {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    .brand-mini {
        font-size: 14px;
    }

    .status {
        display: none;
    }

    .back-link {
        font-size: 12px;
    }

    .issue-card,
    .section {
        padding: 20px;
    }

    .intro,
    .issue-copy,
    .section p,
    p,
    li {
        font-size: 16px;
    }
}

@media (max-width: 430px) {
    .nav-grid {
        grid-template-columns: 1fr;
    }
}
/* VERSION 0.4 VISUAL UPGRADES */

.terminal-header {
    position: relative;
}

.terminal-header::before,
.terminal-header::after {
    content: "";
    position: absolute;
    top: 50%;
    width: min(15vw, 150px);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--pink)
    );
    box-shadow: 0 0 10px var(--pink);
}

.terminal-header::before {
    left: 0;
}

.terminal-header::after {
    right: 0;
    transform: rotate(180deg);
}

.status-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.warning-status {
    color: var(--pink);
    border-color: var(--pink);
    box-shadow: 0 0 12px rgba(255, 20, 147, 0.28);
}

.hero-hud {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: var(--green);
    background: rgba(5, 5, 5, 0.78);
    padding: 12px 14px;
    border: 1px solid rgba(124, 252, 0, 0.55);
    border-radius: 8px;
    font-family: monospace;
    font-size: 12px;
    font-weight: bold;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 18px rgba(124, 252, 0, 0.18);
}

.transmission-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0 34px;
    padding: 14px 18px;
    color: var(--white);
    background: linear-gradient(
        90deg,
        rgba(255, 20, 147, 0.18),
        rgba(124, 252, 0, 0.08)
    );
    border: 1px solid rgba(255, 20, 147, 0.5);
    border-radius: 9px;
    font-size: 14px;
    letter-spacing: 0.4px;
}

.transmission-bar strong {
    color: var(--pink);
}

.transmission-light {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--green);
    animation: terminalPulse 1.5s infinite;
}

.nav-button {
    display: flex;
    min-height: 98px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.nav-button small {
    color: var(--muted);
    font-size: 11px;
    font-weight: normal;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-button:hover small,
.nav-button:focus small {
    color: #111;
}

.featured-button {
    color: var(--green);
    border-color: var(--green);
    box-shadow:
        inset 0 0 16px rgba(124, 252, 0, 0.07),
        0 0 15px rgba(124, 252, 0, 0.15);
}

.featured-button:hover,
.featured-button:focus {
    background: var(--green);
    color: #080808;
    box-shadow:
        0 0 14px rgba(124, 252, 0, 0.75),
        0 0 30px rgba(124, 252, 0, 0.4);
}

.locked-button {
    cursor: not-allowed;
    opacity: 0.52;
    filter: grayscale(0.4);
}

.locked-button::after {
    content: "LOCKED";
    position: absolute;
    top: 8px;
    right: 8px;
    color: #111;
    background: var(--pink);
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 8px;
    letter-spacing: 1px;
}

.section-code {
    color: var(--pink);
    margin-bottom: 12px;
    font-family: monospace;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.lead-copy {
    color: var(--white) !important;
    font-size: 21px;
    font-weight: bold;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.data-box {
    display: flex;
    min-height: 105px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: #101010;
    padding: 16px;
    border: 1px solid rgba(255, 20, 147, 0.32);
    border-radius: 9px;
    text-align: center;
}

.data-box strong {
    color: var(--green);
    font-size: 12px;
    text-transform: uppercase;
}

.data-box span {
    color: var(--white);
    font-weight: bold;
}

.primary-action {
    color: #080808;
    background: var(--pink);
    box-shadow: 0 0 18px rgba(255, 20, 147, 0.3);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.project-card {
    position: relative;
    background: #111;
    padding: 22px;
    border: 1px solid rgba(255, 20, 147, 0.32);
    border-radius: 11px;
    transition: 0.2s ease;
}

.project-card:hover {
    border-color: var(--pink);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.15);
}

.project-card h3 {
    color: var(--white);
    margin: 10px 0;
    font-size: 21px;
}

.project-card p {
    color: var(--muted);
    margin-bottom: 35px;
    font-size: 15px;
}

.project-icon {
    font-size: 28px;
}

.project-state {
    position: absolute;
    left: 22px;
    bottom: 17px;
    color: var(--pink);
    font-family: monospace;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.project-state.online {
    color: var(--green);
}

.vhs-report {
    display: grid;
    gap: 6px;
    margin-top: 22px;
    padding: 18px;
    background: #101010;
    border-left: 4px solid var(--green);
    border-radius: 7px;
}

.vhs-report span {
    color: var(--green);
    font-family: monospace;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.vhs-report strong {
    color: var(--pink);
    font-size: 22px;
}

.vhs-report em {
    color: var(--muted);
}

.social-link {
    display: flex;
    min-width: 200px;
    flex: 1 1 220px;
    flex-direction: column;
    gap: 5px;
    text-align: center;
}

.social-link small {
    color: var(--muted);
    font-size: 11px;
    font-weight: normal;
}

.instagram-link {
    color: var(--pink);
    border-color: var(--pink);
}

.instagram-link:hover {
    background: var(--pink);
}

.nostr-link {
    color: var(--green);
    border-color: var(--green);
}

.nostr-link:hover {
    background: var(--green);
}

.github-link {
    color: var(--cyan);
}

.locked-social {
    color: var(--muted);
    border-color: #555;
    cursor: not-allowed;
    opacity: 0.6;
}

.back-to-top {
    display: inline-block;
    color: var(--green);
    margin-top: 12px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

@keyframes terminalPulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.72);
    }
}

@media (max-width: 800px) {
    .data-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .terminal-header::before,
    .terminal-header::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-hud {
        display: none;
    }

    .transmission-bar {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .project-grid,
    .data-grid {
        grid-template-columns: 1fr;
    }
}
/* =====================================================
   TTD TYPOGRAPHY OVERDRIVE
   ===================================================== */

body {
    font-family: "Orbitron", Arial, sans-serif;
}

/* Main TITAN TERMINAL title */

h1 {
    position: relative;
    font-family: "Black Ops One", "Orbitron", sans-serif;
    font-weight: 400;
    letter-spacing: 4px;
    color: #ff1493;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
    text-shadow:
        0 2px 0 #8c0052,
        0 4px 0 #52002f,
        0 0 6px #ff1493,
        0 0 14px #ff1493,
        0 0 30px rgba(255, 20, 147, 0.9),
        0 0 65px rgba(255, 20, 147, 0.55);
    animation: titanTitlePulse 3.5s ease-in-out infinite;
}

/* Small electric slash under the title */

h1::after {
    content: "";
    display: block;
    width: min(520px, 80%);
    height: 4px;
    margin: 20px auto 0;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--pink) 15%,
            var(--green) 50%,
            var(--pink) 85%,
            transparent
        );
    box-shadow:
        0 0 8px var(--pink),
        0 0 18px rgba(124, 252, 0, 0.7);
    clip-path: polygon(
        0 35%,
        42% 35%,
        45% 0,
        49% 100%,
        53% 20%,
        57% 65%,
        100% 65%,
        100% 100%,
        0 100%
    );
}

/* Section titles */

h2,
.section h2,
.section h3 {
    font-family: "Black Ops One", "Orbitron", sans-serif;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green);
    -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.08);
    text-shadow:
        0 2px 0 #315f00,
        0 0 7px rgba(124, 252, 0, 0.8),
        0 0 20px rgba(124, 252, 0, 0.35);
}

/* Main subtitle */

.subtitle {
    font-family: "Black Ops One", "Orbitron", sans-serif;
    color: var(--white);
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.25),
        0 0 22px rgba(255, 20, 147, 0.18);
}

/* Main tagline */

.tagline {
    font-family: "Orbitron", sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Military terminal text */

.terminal-label,
.section-code,
.status,
.version,
.archive-status,
.transmission-bar,
.hero-hud,
.project-state,
.vhs-report span,
.back-link,
.back-to-top {
    font-family: "Share Tech Mono", monospace;
}

/* Green terminal labels */

.terminal-label,
.section-code {
    text-shadow:
        0 0 5px rgba(124, 252, 0, 0.85),
        0 0 14px rgba(124, 252, 0, 0.38);
}

/* Navigation typography */

.nav-button {
    font-family: "Orbitron", sans-serif;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-shadow: 0 0 9px rgba(255, 20, 147, 0.35);
}

.nav-button small {
    font-family: "Share Tech Mono", monospace;
    letter-spacing: 1px;
}

/* Button light sweep */

.nav-button::before,
.action-button::before,
.social-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            115deg,
            transparent 20%,
            rgba(255, 255, 255, 0.15) 46%,
            rgba(255, 255, 255, 0.28) 50%,
            transparent 54%
        );
    transform: translateX(-150%);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.nav-button:hover::before,
.action-button:hover::before,
.social-link:hover::before {
    transform: translateX(150%);
}

.nav-button,
.action-button,
.social-link {
    position: relative;
    overflow: hidden;
}

/* Mission title */

.mission-title {
    font-family: "Black Ops One", "Orbitron", sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.18),
        0 0 20px rgba(255, 20, 147, 0.18);
}

/* Project cards */

.project-card h3 {
    font-family: "Orbitron", sans-serif;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Data panels */

.data-box strong {
    font-family: "Share Tech Mono", monospace;
    letter-spacing: 1px;
}

.data-box span {
    font-family: "Orbitron", sans-serif;
}

/* Social buttons */

.social-link {
    font-family: "Orbitron", sans-serif;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.social-link small {
    font-family: "Share Tech Mono", monospace;
}

/* Footer */

.footer-title {
    font-family: "Black Ops One", "Orbitron", sans-serif;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-copy {
    font-family: "Share Tech Mono", monospace;
}

/* Glitch title effect */

.terminal-header h1 {
    isolation: isolate;
}

.terminal-header h1::before {
    content: "TITAN TERMINAL";
    position: absolute;
    inset: 0;
    z-index: -1;
    color: var(--cyan);
    opacity: 0;
    transform: translateX(-3px);
    clip-path: inset(30% 0 45% 0);
    animation: titanGlitchOne 7s infinite;
}

.terminal-header h1::after {
    /* Overrides only on the pseudo-element structure,
       so the electric underline remains handled below */
}

/* Occasional glitch overlay */

.terminal-header {
    position: relative;
}

.terminal-header::after {
    content: "TACTICAL TERROR DIVISION NETWORK";
    position: absolute;
    top: 48px;
    left: 50%;
    width: 100%;
    color: var(--pink);
    font-family: "Share Tech Mono", monospace;
    font-size: 12px;
    letter-spacing: 5px;
    opacity: 0;
    transform: translateX(-50%);
    pointer-events: none;
    animation: titanGlitchTwo 9s infinite;
}

/* Pulsing title */

@keyframes titanTitlePulse {
    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.18);
    }
}

/* Rare glitch event */

@keyframes titanGlitchOne {
    0%,
    89%,
    93%,
    100% {
        opacity: 0;
        transform: translateX(-3px);
    }

    90% {
        opacity: 0.75;
        transform: translateX(6px);
    }

    91% {
        opacity: 0.35;
        transform: translateX(-8px);
    }

    92% {
        opacity: 0.65;
        transform: translateX(4px);
    }
}

@keyframes titanGlitchTwo {
    0%,
    92%,
    96%,
    100% {
        opacity: 0;
    }

    93% {
        opacity: 0.6;
        transform: translateX(calc(-50% + 5px));
    }

    94% {
        opacity: 0.2;
        transform: translateX(calc(-50% - 8px));
    }

    95% {
        opacity: 0.5;
        transform: translateX(calc(-50% + 3px));
    }
}

/* Mobile typography */

@media (max-width: 700px) {
    h1 {
        letter-spacing: 1px;
    }

    h1::after {
        margin-top: 14px;
    }

    .terminal-header::after {
        display: none;
    }

    .nav-button {
        font-size: 14px;
    }
}

/* Respect reduced motion settings */

@media (prefers-reduced-motion: reduce) {
    h1,
    .terminal-header h1::before,
    .terminal-header::after,
    .transmission-light {
        animation: none !important;
    }

    .nav-button,
    .action-button,
    .social-link {
        transition: none;
    }
}
/* =====================================================
   VERSION 0.5 — TTD TYPOGRAPHY SYSTEM
   ===================================================== */

/* Readable body copy */

body {
    font-family: "Rajdhani", Arial, Helvetica, sans-serif;
    font-weight: 500;
    letter-spacing: 0.15px;
}

/* Main TITAN TERMINAL logo */

h1 {
    font-family: "Orbitron", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 5px;
    line-height: 0.95;
    color: var(--pink);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
    text-shadow:
        0 2px 0 #85004d,
        0 4px 0 #470029,
        0 0 7px var(--pink),
        0 0 18px rgba(255, 20, 147, 0.85),
        0 0 42px rgba(255, 20, 147, 0.55);
}

/* Main subtitle */

.subtitle {
    font-family: "Orbitron", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

/* Tagline */

.tagline {
    font-family: "Rajdhani", Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 1.2px;
}

/* Toxic green section headings */

h2,
.section h2,
.section h3 {
    font-family: "Orbitron", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green);
    text-shadow:
        0 2px 0 #315d00,
        0 0 7px rgba(124, 252, 0, 0.8),
        0 0 20px rgba(124, 252, 0, 0.28);
}

/* Terminal and classified-file labels */

.terminal-label,
.section-code,
.status,
.version,
.archive-status,
.transmission-bar,
.hero-hud,
.project-state,
.vhs-report span,
.back-link,
.back-to-top,
.footer-copy {
    font-family: "Share Tech Mono", monospace;
}

/* Pink command labels */

.section-code {
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow:
        0 0 6px rgba(255, 20, 147, 0.85),
        0 0 14px rgba(255, 20, 147, 0.3);
}

/* Green system labels */

.terminal-label,
.status,
.version,
.archive-status {
    text-shadow:
        0 0 6px rgba(124, 252, 0, 0.85),
        0 0 15px rgba(124, 252, 0, 0.32);
}

/* Navigation buttons */

.nav-button {
    font-family: "Orbitron", Arial, sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.nav-button small {
    font-family: "Share Tech Mono", monospace;
    font-size: 11px;
    letter-spacing: 1px;
}

/* Mission and major feature titles */

.mission-title {
    font-family: "Orbitron", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Project cards */

.project-card h3 {
    font-family: "Orbitron", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.7px;
}

/* Data panels */

.data-box strong {
    font-family: "Share Tech Mono", monospace;
    letter-spacing: 1px;
}

.data-box span {
    font-family: "Orbitron", Arial, sans-serif;
    font-weight: 700;
}

/* Buttons */

.action-button,
.social-link {
    font-family: "Orbitron", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.social-link small {
    font-family: "Share Tech Mono", monospace;
}

/* Footer logo */

.footer-title {
    font-family: "Orbitron", Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Subtle neon pulse for the main logo */

.terminal-header h1 {
    animation: ttd-title-pulse 4s ease-in-out infinite;
}

@keyframes ttd-title-pulse {
    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.14);
    }
}

/* Light sweep across interactive buttons */

.nav-button,
.action-button,
.social-link {
    position: relative;
    overflow: hidden;
}

.nav-button::before,
.action-button::before,
.social-link::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 25%,
        rgba(255, 255, 255, 0.2) 48%,
        rgba(255, 255, 255, 0.32) 50%,
        transparent 53%
    );
    transform: translateX(-160%);
    transition: transform 0.55s ease;
}

.nav-button:hover::before,
.action-button:hover::before,
.social-link:hover::before {
    transform: translateX(160%);
}

/* Mobile adjustments */

@media (max-width: 700px) {
    h1 {
        letter-spacing: 2px;
    }

    .nav-button {
        font-size: 14px;
    }

    h2,
    .section h2,
    .section h3 {
        letter-spacing: 0.5px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .terminal-header h1 {
        animation: none;
    }

    .nav-button::before,
    .action-button::before,
    .social-link::before {
        display: none;
    }
}
/* =====================================================
   TITAN CITY INTERACTIVE MAP
   ===================================================== */

.map-terminal {
    background:
        linear-gradient(
            145deg,
            rgba(32, 32, 32, 0.96),
            rgba(10, 10, 10, 0.98)
        );
    margin: 25px 0;
    padding: 20px;
    border: 2px solid var(--pink);
    border-radius: 16px;
    box-shadow:
        0 0 22px rgba(255, 20, 147, 0.34),
        0 30px 70px rgba(0, 0, 0, 0.7);
}

.map-command-bar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--green);
    background: #080808;
    margin-bottom: 16px;
    padding: 12px 15px;
    border: 1px solid rgba(124, 252, 0, 0.35);
    border-radius: 8px;
    font-family: "Share Tech Mono", monospace;
    font-size: 12px;
    letter-spacing: 1px;
}

.interactive-map {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 20, 147, 0.65);
    border-radius: 12px;
    background: #050505;
}

.city-map-image {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.interactive-map:hover .city-map-image {
    transform: scale(1.015);
}

.map-point {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Nutrition District position */

.nutrition-point {
    left: 66%;
    top: 40%;
}

.map-pulse {
    width: 28px;
    height: 28px;
    display: block;
    background: rgba(124, 252, 0, 0.38);
    border: 3px solid var(--green);
    border-radius: 50%;
    box-shadow:
        0 0 12px var(--green),
        0 0 28px rgba(124, 252, 0, 0.8);
    animation: districtPulse 1.5s infinite;
}

.map-label {
    position: absolute;
    left: 38px;
    top: 50%;
    min-width: 190px;
    color: var(--green);
    background: rgba(6, 6, 6, 0.92);
    padding: 10px 13px;
    border: 1px solid var(--green);
    border-left: 4px solid var(--pink);
    border-radius: 6px;
    font-family: "Orbitron", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    transform: translateY(-50%);
    box-shadow: 0 0 18px rgba(124, 252, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.map-label small {
    display: block;
    color: var(--pink);
    margin-top: 5px;
    font-family: "Share Tech Mono", monospace;
    font-size: 10px;
}

.map-point:hover .map-label,
.map-point:focus .map-label {
    opacity: 1;
    transform: translate(5px, -50%);
}

.map-instructions {
    color: var(--muted);
    background: #0b0b0b;
    margin-top: 16px;
    padding: 14px;
    border-left: 4px solid var(--green);
    border-radius: 6px;
    font-family: "Share Tech Mono", monospace;
}

.map-instructions strong {
    color: var(--pink);
}

.district-card {
    display: block;
    color: inherit;
}

.district-online {
    border-color: rgba(124, 252, 0, 0.65);
    box-shadow: 0 0 18px rgba(124, 252, 0, 0.1);
}

.district-online:hover {
    border-color: var(--green);
    box-shadow: 0 0 25px rgba(124, 252, 0, 0.25);
}

.district-locked {
    opacity: 0.58;
}

@keyframes districtPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 0 12px var(--green),
            0 0 25px rgba(124, 252, 0, 0.65);
    }

    50% {
        transform: scale(1.45);
        box-shadow:
            0 0 18px var(--green),
            0 0 45px rgba(124, 252, 0, 0.9);
    }
}

@media (max-width: 700px) {
    .map-command-bar {
        justify-content: center;
        text-align: center;
    }

    .map-pulse {
        width: 22px;
        height: 22px;
    }

    .map-label {
        display: none;
    }

    .map-terminal {
        padding: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .map-pulse {
        animation: none;
    }

    .city-map-image {
        transition: none;
    }
}
/* =====================================================
   TITAN CITY MAP — COMPLETE DISTRICT NETWORK
   ===================================================== */

.map-terminal {
    background:
        linear-gradient(
            145deg,
            rgba(32, 32, 32, 0.96),
            rgba(7, 7, 7, 0.99)
        );
    margin: 25px 0;
    padding: 20px;
    border: 2px solid var(--pink);
    border-radius: 16px;
    box-shadow:
        0 0 22px rgba(255, 20, 147, 0.34),
        0 30px 70px rgba(0, 0, 0, 0.7);
}

.map-command-bar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--green);
    background: #080808;
    margin-bottom: 16px;
    padding: 12px 15px;
    border: 1px solid rgba(124, 252, 0, 0.35);
    border-radius: 8px;
    font-family: "Share Tech Mono", monospace;
    font-size: 12px;
    letter-spacing: 1px;
}

.interactive-map {
    position: relative;
    overflow: hidden;
    background: #050505;
    border: 1px solid rgba(255, 20, 147, 0.7);
    border-radius: 12px;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.7);
}

.city-map-image {
    width: 100%;
    display: block;
    transition:
        transform 0.6s ease,
        filter 0.4s ease;
}

.interactive-map:hover .city-map-image {
    transform: scale(1.012);
    filter: brightness(1.06);
}

.map-point {
    position: absolute;
    z-index: 10;
    transform: translate(-50%, -50%);
}

.map-point-pending {
    cursor: not-allowed;
}

.map-pulse {
    width: 25px;
    height: 25px;
    display: block;
    border-radius: 50%;
}

.green-pulse {
    background: rgba(124, 252, 0, 0.38);
    border: 3px solid var(--green);
    box-shadow:
        0 0 12px var(--green),
        0 0 28px rgba(124, 252, 0, 0.8);
    animation: districtPulseGreen 1.5s infinite;
}

.pink-pulse {
    background: rgba(255, 20, 147, 0.4);
    border: 3px solid var(--pink);
    box-shadow:
        0 0 12px var(--pink),
        0 0 28px rgba(255, 20, 147, 0.8);
    animation: districtPulsePink 1.5s infinite;
}

.pending-pulse {
    width: 17px;
    height: 17px;
    background: rgba(184, 184, 184, 0.12);
    border: 2px solid rgba(184, 184, 184, 0.55);
    box-shadow: 0 0 12px rgba(184, 184, 184, 0.4);
    opacity: 0.55;
}

.map-label {
    position: absolute;
    left: 35px;
    top: 50%;
    min-width: 180px;
    color: var(--green);
    background: rgba(5, 5, 5, 0.94);
    padding: 10px 13px;
    border: 1px solid var(--green);
    border-left: 4px solid var(--pink);
    border-radius: 6px;
    font-family: "Orbitron", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    transform: translateY(-50%);
    box-shadow: 0 0 18px rgba(124, 252, 0, 0.22);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.map-label small {
    display: block;
    color: var(--pink);
    margin-top: 5px;
    font-family: "Share Tech Mono", monospace;
    font-size: 9px;
}

.map-point:hover .map-label,
.map-point:focus .map-label {
    opacity: 1;
    transform: translate(5px, -50%);
}

.pink-label {
    color: var(--pink);
    border-color: var(--pink);
    border-left-color: var(--green);
}

.pink-label small {
    color: var(--green);
}

.gold-label {
    color: #ffb52e;
    border-color: #ffb52e;
}

.blue-label {
    color: #4edcff;
    border-color: #4edcff;
}

.label-left {
    left: auto;
    right: 35px;
}

/* DISTRICT POSITIONS */

.titan-spire-point {
    left: 47%;
    top: 18%;
}

.vhs-quarter-point {
    left: 32%;
    top: 31%;
}

.titan-heights-point {
    left: 58%;
    top: 21%;
}

.military-zone-point {
    left: 70%;
    top: 31%;
}

.nutrition-point {
    left: 65%;
    top: 42%;
}

.skull-juice-factory-point {
    left: 79%;
    top: 53%;
}

.media-district-point {
    left: 37%;
    top: 46%;
}

.skull-plaza-point {
    left: 50%;
    top: 52%;
}

.church-point {
    left: 21%;
    top: 41%;
}

.penitentiary-point {
    left: 12%;
    top: 54%;
}

.financial-district-point {
    left: 29%;
    top: 63%;
}

.titan-treasury-point {
    left: 66%;
    top: 65%;
}

.titan-ball-arena-point {
    left: 50%;
    top: 73%;
}

.docks-point {
    left: 75%;
    top: 85%;
}

.map-instructions {
    color: var(--muted);
    background: #0b0b0b;
    margin-top: 16px;
    padding: 14px;
    border-left: 4px solid var(--green);
    border-radius: 6px;
    font-family: "Share Tech Mono", monospace;
}

.map-instructions strong {
    color: var(--pink);
}

/* DISTRICT DATABASE */

.district-database-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}

.district-database-card {
    min-height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    color: var(--muted);
    background: #101010;
    padding: 15px;
    border: 1px solid rgba(255, 20, 147, 0.25);
    border-radius: 9px;
    text-align: center;
    opacity: 0.58;
}

.district-database-card > span {
    font-size: 24px;
}

.district-database-card strong {
    color: var(--white);
    font-family: "Orbitron", sans-serif;
    font-size: 13px;
}

.district-database-card small {
    color: var(--pink);
    font-family: "Share Tech Mono", monospace;
    font-size: 10px;
    letter-spacing: 1px;
}

.district-file-online {
    color: inherit;
    border-color: rgba(124, 252, 0, 0.6);
    opacity: 1;
    transition: 0.2s ease;
}

.district-file-online small {
    color: var(--green);
}

.district-file-online:hover,
.district-file-online:focus {
    transform: translateY(-3px);
    border-color: var(--green);
    box-shadow: 0 0 22px rgba(124, 252, 0, 0.2);
    outline: none;
}

/* PULSE ANIMATIONS */

@keyframes districtPulseGreen {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 0 12px var(--green),
            0 0 25px rgba(124, 252, 0, 0.65);
    }

    50% {
        transform: scale(1.5);
        box-shadow:
            0 0 18px var(--green),
            0 0 48px rgba(124, 252, 0, 0.95);
    }
}

@keyframes districtPulsePink {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 0 12px var(--pink),
            0 0 25px rgba(255, 20, 147, 0.65);
    }

    50% {
        transform: scale(1.5);
        box-shadow:
            0 0 18px var(--pink),
            0 0 48px rgba(255, 20, 147, 0.95);
    }
}

/* TABLET */

@media (max-width: 900px) {
    .district-database-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* MOBILE */

@media (max-width: 700px) {
    .map-command-bar {
        justify-content: center;
        text-align: center;
    }

    .map-terminal {
        padding: 9px;
    }

    .green-pulse,
    .pink-pulse {
        width: 20px;
        height: 20px;
    }

    .pending-pulse {
        width: 12px;
        height: 12px;
    }

    .map-label {
        display: none;
    }

    .district-database-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    .district-database-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .green-pulse,
    .pink-pulse {
        animation: none;
    }

    .city-map-image {
        transition: none;
    }
}
/* =====================================================
   TBN LIVE SCROLLING NEWS TICKER
   ===================================================== */

.tbn-ticker {
    position: relative;
    z-index: 90;
    display: flex;
    min-height: 42px;
    align-items: stretch;
    overflow: hidden;
    background: #050505;
    border-bottom: 1px solid rgba(124, 252, 0, 0.5);
    box-shadow:
        0 0 15px rgba(124, 252, 0, 0.15),
        inset 0 -1px 0 rgba(255, 20, 147, 0.25);
}

.ticker-badge {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 18px;
    color: #080808;
    background: var(--pink);
    font-family: "Orbitron", sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 5px 0 18px rgba(255, 20, 147, 0.35);
}

.ticker-window {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    overflow: hidden;
}

.ticker-window::before,
.ticker-window::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 35px;
    pointer-events: none;
}

.ticker-window::before {
    left: 0;
    background: linear-gradient(
        90deg,
        #050505,
        transparent
    );
}

.ticker-window::after {
    right: 0;
    background: linear-gradient(
        270deg,
        #050505,
        transparent
    );
}

.ticker-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 20px;
    padding-left: 25px;
    color: var(--white);
    font-family: "Share Tech Mono", monospace;
    font-size: 13px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    animation: tbnTickerScroll 55s linear infinite;
}

.ticker-track span {
    display: inline-block;
}

.market-up {
    color: var(--green);
    text-shadow: 0 0 8px rgba(124, 252, 0, 0.4);
}

.market-down {
    color: var(--pink);
    text-shadow: 0 0 8px rgba(255, 20, 147, 0.4);
}

.breaking {
    color: #ff4545;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 69, 69, 0.55);
}

.tbn-ticker:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes tbnTickerScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .ticker-badge {
        padding: 0 10px;
        font-size: 10px;
    }

    .ticker-track {
        gap: 15px;
        font-size: 11px;
        animation-duration: 45s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
        overflow-x: auto;
    }
}
/* =====================================================
   TBN LIVE — FIXED BROADCAST TICKER
   ===================================================== */

.tbn-ticker {
    position: relative;
    z-index: 90;
    width: 100%;
    height: 46px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            #050505,
            #110810 45%,
            #050505
        );
    border-top: 1px solid rgba(255, 20, 147, 0.35);
    border-bottom: 1px solid rgba(124, 252, 0, 0.45);
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.6),
        0 0 14px rgba(255, 20, 147, 0.12);
}

.ticker-badge {
    position: relative;
    z-index: 5;
    flex: 0 0 auto;
    min-width: 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    color: #080808;
    background:
        linear-gradient(
            135deg,
            var(--pink),
            #ff55b4
        );
    font-family: "Orbitron", Arial, sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow:
        6px 0 20px rgba(255, 20, 147, 0.42);
}

.ticker-live-light {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    background: var(--green);
    border-radius: 50%;
    box-shadow:
        0 0 7px var(--green),
        0 0 15px var(--green);
    animation: tbnLivePulse 1.25s ease-in-out infinite;
}

.ticker-window {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: block;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-window::before,
.ticker-window::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: 42px;
    pointer-events: none;
}

.ticker-window::before {
    left: 0;
    background:
        linear-gradient(
            90deg,
            #080608,
            transparent
        );
}

.ticker-window::after {
    right: 0;
    background:
        linear-gradient(
            270deg,
            #080608,
            transparent
        );
}

.ticker-track {
    width: max-content;
    height: 100%;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    will-change: transform;
    animation: tbnTickerScroll 58s linear infinite;
}

.ticker-set {
    height: 100%;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 19px;
    padding-right: 19px;
    white-space: nowrap;
}

.ticker-set span {
    display: inline-block;
    flex: 0 0 auto;
    color: var(--white);
    font-family: "Share Tech Mono", monospace;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.55px;
    white-space: nowrap;
}

.ticker-set .market-up {
    color: var(--green);
    font-weight: 700;
    text-shadow:
        0 0 7px rgba(124, 252, 0, 0.7);
}

.ticker-set .market-down {
    color: var(--pink);
    font-weight: 700;
    text-shadow:
        0 0 7px rgba(255, 20, 147, 0.7);
}

.ticker-set .breaking {
    color: #ff5757;
    font-weight: 700;
    text-shadow:
        0 0 8px rgba(255, 55, 55, 0.75);
}

.ticker-set .ticker-divider {
    color: var(--pink);
    font-size: 8px;
    opacity: 0.75;
    text-shadow:
        0 0 7px rgba(255, 20, 147, 0.8);
}

.tbn-ticker:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes tbnTickerScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes tbnLivePulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(0.7);
    }
}

@media (max-width: 700px) {
    .tbn-ticker {
        height: 42px;
    }

    .ticker-badge {
        min-width: 105px;
        padding: 0 10px;
        font-size: 10px;
    }

    .ticker-set {
        gap: 15px;
        padding-right: 15px;
    }

    .ticker-set span {
        font-size: 11px;
    }

    .ticker-track {
        animation-duration: 48s;
    }
}

@media (max-width: 430px) {
    .ticker-badge {
        min-width: 88px;
        gap: 6px;
        padding: 0 8px;
        font-size: 9px;
    }

    .ticker-live-light {
        width: 7px;
        height: 7px;
        flex-basis: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
        transform: none;
    }

    .ticker-window {
        overflow-x: auto;
    }

    .ticker-live-light {
        animation: none;
    }
}
/* =====================================================
   TITAN CITY LIVE METRICS
   ===================================================== */

.live-metrics {
    width: min(1100px, calc(100% - 40px));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 14px auto 0;
}

.metric-item {
    position: relative;
    overflow: hidden;
    min-height: 76px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 14px 16px;
    background:
        linear-gradient(
            145deg,
            rgba(28, 28, 28, 0.98),
            rgba(8, 8, 8, 0.98)
        );
    border: 1px solid rgba(255, 20, 147, 0.35);
    border-radius: 8px;
    text-align: center;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 14px rgba(255, 20, 147, 0.08);
}

.metric-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    width: 70%;
    height: 1px;
    background: var(--green);
    box-shadow: 0 0 9px var(--green);
}

.metric-label {
    color: var(--pink);
    font-family: "Share Tech Mono", monospace;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.metric-value {
    color: var(--green);
    font-family: "Orbitron", sans-serif;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow:
        0 0 7px rgba(124, 252, 0, 0.75),
        0 0 16px rgba(124, 252, 0, 0.28);
}

.danger-value {
    color: var(--pink);
    text-shadow:
        0 0 7px rgba(255, 20, 147, 0.75),
        0 0 16px rgba(255, 20, 147, 0.28);
}

.alert-green {
    color: var(--green);
}

.alert-yellow {
    color: #ffd447;
    text-shadow: 0 0 12px rgba(255, 212, 71, 0.55);
}

.alert-red {
    color: #ff4545;
    text-shadow: 0 0 12px rgba(255, 69, 69, 0.65);
}

.metric-flash {
    animation: metricFlash 0.45s ease;
}

@keyframes metricFlash {
    0% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(2);
        transform: scale(1.06);
    }

    100% {
        filter: brightness(1);
    }
}

@media (max-width: 760px) {
    .live-metrics {
        width: min(100% - 24px, 1100px);
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    .metric-value {
        font-size: 18px;
    }

    .metric-label {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .metric-flash {
        animation: none;
    }
}
/*==================================================
 TITAN CITY CLOCK
==================================================*/

.terminal-clock{
    width:min(1100px,calc(100% - 40px));
    margin:18px auto 24px;
}

.clock-panel{

    position:relative;

    background:
        linear-gradient(
            145deg,
            rgba(25,25,25,.96),
            rgba(8,8,8,.96)
        );

    border:1px solid rgba(124,252,0,.45);

    border-radius:10px;

    padding:20px;

    text-align:center;

    box-shadow:
        0 0 18px rgba(124,252,0,.08),
        inset 0 1px 0 rgba(255,255,255,.04);

}

.clock-panel::before{

    content:"";

    position:absolute;

    left:18%;
    right:18%;
    top:0;

    height:2px;

    background:var(--green);

    box-shadow:0 0 10px var(--green);

}

.clock-label{

    color:var(--pink);

    font-family:"Share Tech Mono",monospace;

    font-size:12px;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:10px;

}

.clock-time{

    font-family:"Orbitron",sans-serif;

    font-size:48px;

    font-weight:800;

    color:var(--green);

    letter-spacing:4px;

    text-shadow:

        0 0 8px rgba(124,252,0,.85),

        0 0 25px rgba(124,252,0,.45);

}

.clock-date{

    margin-top:10px;

    color:#ddd;

    font-family:"Share Tech Mono",monospace;

    letter-spacing:2px;

    font-size:15px;

}

@media(max-width:700px){

.clock-time{

font-size:34px;

letter-spacing:2px;

}

.clock-date{

font-size:13px;

}

}
/* =====================================================
   TITAN CITY INTELLIGENCE NETWORK
   ===================================================== */

.intelligence-grid {
    width: min(1100px, calc(100% - 40px));
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin: 22px auto 45px;
}

.intel-panel {
    position: relative;
    overflow: hidden;
    min-height: 270px;
    padding: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(27, 27, 27, 0.98),
            rgba(7, 7, 7, 0.99)
        );
    border: 1px solid rgba(255, 20, 147, 0.38);
    border-radius: 11px;
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.intel-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    width: 76%;
    height: 2px;
    background: var(--green);
    box-shadow: 0 0 11px var(--green);
}

.intel-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.035;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 3px,
        rgba(255, 255, 255, 0.25) 4px
    );
}

.classified-panel {
    grid-column: span 3;
}

.weather-panel {
    grid-column: span 3;
}

.camera-panel,
.alert-panel,
.visitor-panel {
    grid-column: span 2;
}

.intel-code {
    position: relative;
    z-index: 2;
    color: var(--pink);
    margin-bottom: 16px;
    font-family: "Share Tech Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 7px rgba(255, 20, 147, 0.65);
}

.intel-panel h2 {
    position: relative;
    z-index: 2;
    margin: 9px 0 14px;
    color: var(--green);
    font-family: "Orbitron", sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.15;
    text-transform: uppercase;
    text-shadow:
        0 0 7px rgba(124, 252, 0, 0.72),
        0 0 18px rgba(124, 252, 0, 0.24);
}

.intel-panel p {
    position: relative;
    z-index: 2;
    color: var(--muted);
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.55;
}

.classified-file-number {
    position: relative;
    z-index: 2;
    display: inline-block;
    color: #080808;
    background: var(--pink);
    padding: 7px 11px;
    border-radius: 5px;
    font-family: "Share Tech Mono", monospace;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
}

.intel-status {
    position: relative;
    z-index: 2;
    display: inline-block;
    color: var(--green);
    padding: 8px 11px;
    border: 1px solid rgba(124, 252, 0, 0.52);
    border-radius: 5px;
    font-family: "Share Tech Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.warning-intel {
    color: #ffd447;
    border-color: rgba(255, 212, 71, 0.6);
}

.alert-intel {
    color: #ff5656;
    border-color: rgba(255, 86, 86, 0.65);
}

.weather-icon,
.alert-symbol {
    position: relative;
    z-index: 2;
    font-size: 42px;
    filter: drop-shadow(0 0 9px rgba(124, 252, 0, 0.45));
}

.camera-screen {
    position: relative;
    z-index: 2;
    min-height: 170px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px;
    background:
        radial-gradient(
            circle at center,
            rgba(124, 252, 0, 0.11),
            transparent 55%
        ),
        #050705;
    border: 1px solid rgba(124, 252, 0, 0.48);
    border-radius: 7px;
    box-shadow:
        inset 0 0 32px rgba(0, 0, 0, 0.85),
        0 0 15px rgba(124, 252, 0, 0.08);
}

.camera-noise {
    position: absolute;
    inset: 0;
    opacity: 0.09;
    pointer-events: none;
    background:
        repeating-radial-gradient(
            circle at 17% 32%,
            rgba(255, 255, 255, 0.6) 0,
            transparent 1px,
            transparent 4px
        );
    animation: cameraNoise 0.22s steps(2) infinite;
}

.camera-recording {
    position: absolute;
    top: 11px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ff5656;
    font-family: "Share Tech Mono", monospace;
    font-size: 10px;
    font-weight: 900;
}

.recording-light {
    width: 8px;
    height: 8px;
    background: #ff4545;
    border-radius: 50%;
    box-shadow: 0 0 9px #ff4545;
    animation: recordingPulse 1s infinite;
}

.camera-location,
.camera-message,
.camera-timestamp {
    position: relative;
    z-index: 2;
    font-family: "Share Tech Mono", monospace;
}

.camera-location {
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.camera-message {
    color: var(--white);
    font-size: 11px;
    line-height: 1.4;
}

.camera-timestamp {
    color: var(--pink);
    font-size: 10px;
}

.intel-button {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: 12px;
    padding: 11px 12px;
    color: var(--pink);
    background: #0b0b0b;
    border: 1px solid var(--pink);
    border-radius: 6px;
    font-family: "Orbitron", sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

.intel-button:hover,
.intel-button:focus {
    color: #080808;
    background: var(--pink);
    box-shadow: 0 0 17px rgba(255, 20, 147, 0.48);
    outline: none;
}

.visitor-number {
    position: relative;
    z-index: 2;
    color: var(--green);
    font-family: "Orbitron", sans-serif;
    font-size: clamp(38px, 6vw, 58px);
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow:
        0 0 8px rgba(124, 252, 0, 0.85),
        0 0 24px rgba(124, 252, 0, 0.38);
}

.visitor-bars {
    position: relative;
    z-index: 2;
    height: 46px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    margin-top: 18px;
}

.visitor-bars span {
    flex: 1;
    min-height: 8px;
    background: linear-gradient(
        to top,
        var(--pink),
        var(--green)
    );
    box-shadow: 0 0 7px rgba(124, 252, 0, 0.35);
    animation: visitorBars 1.7s ease-in-out infinite alternate;
}

.visitor-bars span:nth-child(2) {
    animation-delay: 0.2s;
}

.visitor-bars span:nth-child(3) {
    animation-delay: 0.4s;
}

.visitor-bars span:nth-child(4) {
    animation-delay: 0.6s;
}

.visitor-bars span:nth-child(5) {
    animation-delay: 0.8s;
}

.visitor-bars span:nth-child(6) {
    animation-delay: 1s;
}

.visitor-bars span:nth-child(7) {
    animation-delay: 1.2s;
}

.visitor-bars span:nth-child(8) {
    animation-delay: 1.4s;
}

.intel-refresh {
    animation: intelRefresh 0.48s ease;
}

@keyframes cameraNoise {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(2px, -1px);
    }

    100% {
        transform: translate(-1px, 2px);
    }
}

@keyframes recordingPulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

@keyframes visitorBars {
    from {
        height: 18%;
    }

    to {
        height: 100%;
    }
}

@keyframes intelRefresh {
    0% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(2);
    }

    100% {
        filter: brightness(1);
    }
}

@media (max-width: 850px) {
    .classified-panel,
    .weather-panel {
        grid-column: span 6;
    }

    .camera-panel,
    .alert-panel,
    .visitor-panel {
        grid-column: span 3;
    }

    .visitor-panel {
        grid-column: 2 / span 4;
    }
}

@media (max-width: 600px) {
    .intelligence-grid {
        width: min(100% - 24px, 1100px);
        grid-template-columns: 1fr;
    }

    .classified-panel,
    .weather-panel,
    .camera-panel,
    .alert-panel,
    .visitor-panel {
        grid-column: auto;
    }

    .intel-panel {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .camera-noise,
    .recording-light,
    .visitor-bars span {
        animation: none;
    }
}
