:root {
    --void-black: #060612;
    --panel-dark: #080e1e;
    --electric-cyan: #00d2ff;
    --warning-amber: #ffaa00;
    --breach-red: #ff3344;
    --frost-white: #c8d7e6;
    --nebula-teal: #0a4f5c;
    --signal-green: #00ff88;
    --corner-cut: 12px;
    --panel-bg: rgba(8, 14, 30, 0.75);
    --panel-border: rgba(0, 210, 255, 0.2);
    --glow-cyan: rgba(0, 210, 255, 0.4);
    --glow-faint: rgba(0, 210, 255, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--void-black);
    color: var(--frost-white);
    font-family: 'Exo 2', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}

/* Starfield */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1.5px 1.5px at 30% 45%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 55% 15%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 70% 60%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 85% 30%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1.5px 1.5px at 15% 70%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1.5px 1.5px at 65% 90%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 90% 75%, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 25% 55%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 50% 35%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1.5px 1.5px at 75% 10%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 5% 90%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 95% 50%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 45% 65%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 60% 40%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1.5px 1.5px at 20% 85%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 80% 95%, rgba(255,255,255,0.6), transparent),
        radial-gradient(600px 600px at 80% 20%, rgba(0, 180, 220, 0.03), transparent),
        var(--void-black);
    transition: transform 0.3s ease-out;
}

/* HUD Frame */
#hud-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}

#hud-frame.visible {
    opacity: 1;
}

.hud-top-bar, .hud-bottom-bar {
    position: absolute;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 8px 20px;
    border-bottom: 1px solid rgba(0, 210, 255, 0.25);
}

.hud-top-bar {
    top: 0;
}

.hud-bottom-bar {
    bottom: 0;
    top: auto;
    border-bottom: none;
    border-top: 1px solid rgba(0, 210, 255, 0.25);
}

.hud-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: rgba(0, 210, 255, 0.5);
}

.hud-left-rule, .hud-right-rule {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(0, 210, 255, 0.15);
}

.hud-left-rule {
    left: 15%;
}

.hud-right-rule {
    right: 15%;
}

/* Scan Line */
#scan-line {
    position: fixed;
    top: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--warning-amber), transparent);
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

#scan-line.active {
    opacity: 1;
    animation: scanSweep 0.8s ease-out forwards;
}

@keyframes scanSweep {
    from { transform: translateY(0); }
    to { transform: translateY(100vh); }
}

/* Alert Flash */
#alert-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 170, 0, 0.04);
    z-index: 15;
    opacity: 0;
    pointer-events: none;
}

#alert-flash.flash {
    animation: alertPulse 0.4s ease-out;
}

@keyframes alertPulse {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* Sections */
.section {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 80px 20px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    padding-left: 16%;
}

.section-label {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(0, 210, 255, 0.5);
}

/* Status Dots */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.cyan {
    background: var(--electric-cyan);
    box-shadow: 0 0 8px var(--glow-cyan);
}

.status-dot.green, .boot-dot.green {
    background: var(--signal-green);
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.amber-dot {
    background: var(--warning-amber);
    box-shadow: 0 0 8px rgba(255, 170, 0, 0.4);
}

/* Panels */
.panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    box-shadow: 0 0 20px var(--glow-faint);
    clip-path: polygon(
        var(--corner-cut) 0%,
        100% 0%,
        100% calc(100% - var(--corner-cut)),
        calc(100% - var(--corner-cut)) 100%,
        0% 100%,
        0% var(--corner-cut)
    );
    margin: 20px 0;
}

.panel-inner {
    padding: 30px 40px;
}

.panel-heading {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.15em;
    color: var(--electric-cyan);
    text-shadow: 0 0 12px var(--glow-cyan);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.panel-text {
    color: rgba(200, 215, 230, 0.9);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.sub-heading {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.15em;
    color: var(--electric-cyan);
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* Section 1: Station Boot */
#station-boot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.panel-boot {
    max-width: 700px;
    width: 90%;
    margin: 0 auto;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s ease, transform 1s ease;
}

.panel-boot.visible {
    opacity: 1;
    transform: scale(1);
}

.station-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 64px;
    letter-spacing: 0.15em;
    color: var(--electric-cyan);
    text-shadow: 0 0 12px var(--glow-cyan);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.status-label {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: rgba(0, 210, 255, 0.5);
    text-transform: uppercase;
}

.boot-sequence {
    margin: 24px 0;
}

.boot-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.boot-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.boot-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: var(--electric-cyan);
}

.boot-status {
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: var(--signal-green);
}

.boot-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.boot-dot.visible {
    opacity: 1;
}

.init-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--warning-amber);
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.init-text.visible {
    opacity: 1;
}

/* Section 2: Pipeline */
.section-pipeline {
    min-height: 150vh;
    padding-top: 120px;
}

.pipeline-container {
    width: 85%;
    margin: 0 auto 40px;
    padding-left: 5%;
}

#conduit-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.conduit-line {
    stroke: var(--electric-cyan);
    stroke-width: 2;
    fill: none;
    filter: drop-shadow(0 0 4px rgba(0, 210, 255, 0.4));
}

.conduit-line.trunk {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    transition: stroke-dashoffset 2s ease-out;
}

.conduit-line.trunk.drawn {
    stroke-dashoffset: 0;
}

.conduit-line.branch {
    stroke-width: 1.5;
    opacity: 0.7;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 1s ease-out;
}

.conduit-line.branch.drawn {
    stroke-dashoffset: 0;
}

.diamond-shape {
    fill: rgba(0, 210, 255, 0.1);
    stroke: var(--electric-cyan);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 6px rgba(0, 210, 255, 0.3));
}

.diamond-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    fill: var(--warning-amber);
    text-anchor: middle;
    letter-spacing: 0.08em;
}

.relay-node {
    fill: var(--electric-cyan);
    filter: drop-shadow(0 0 4px rgba(0, 210, 255, 0.5));
}

.relay-ring {
    fill: none;
    stroke: var(--electric-cyan);
    stroke-width: 1;
    opacity: 0.4;
    animation: pulseRing 2s ease-in-out infinite;
}

@keyframes pulseRing {
    0%, 100% { r: 14; opacity: 0.4; }
    50% { r: 18; opacity: 0.1; }
}

.limiter-diamond {
    opacity: 0;
    transform-origin: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.limiter-diamond.visible {
    opacity: 1;
}

.data-packet {
    fill: var(--electric-cyan);
    opacity: 0.8;
    animation: packetPulse 1.5s ease-in-out infinite alternate;
}

@keyframes packetPulse {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

.panel-pipeline-info {
    width: 60%;
    margin-left: 20%;
    margin-top: 40px;
}

.pipeline-stats {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: 'Share Tech Mono', monospace;
    font-size: 28px;
    letter-spacing: 0.08em;
}

.stat-label {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: rgba(0, 210, 255, 0.5);
    text-transform: uppercase;
    margin-top: 4px;
}

.mono-amber {
    font-family: 'Share Tech Mono', monospace;
    color: var(--warning-amber);
    letter-spacing: 0.08em;
}

.mono-cyan {
    font-family: 'Share Tech Mono', monospace;
    color: var(--electric-cyan);
    letter-spacing: 0.08em;
}

.mono-red {
    font-family: 'Share Tech Mono', monospace;
    color: var(--breach-red);
    letter-spacing: 0.08em;
}

/* Section 3: Algorithms */
.section-algorithms {
    min-height: 200vh;
    padding-top: 120px;
}

.panel-algorithm {
    width: 55%;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.panel-algorithm.visible {
    opacity: 1;
    transform: translateX(0);
}

.panel-offset-1 {
    margin-left: 20%;
}

.panel-offset-2 {
    margin-left: 28%;
}

.panel-offset-3 {
    margin-left: 36%;
}

.algo-visual {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.algo-svg {
    width: 200px;
    height: 200px;
}

.bucket-outline {
    stroke: var(--electric-cyan);
    stroke-width: 2;
    filter: drop-shadow(0 0 4px rgba(0, 210, 255, 0.3));
}

.token {
    fill: var(--electric-cyan);
    filter: drop-shadow(0 0 3px rgba(0, 210, 255, 0.4));
}

.token.dim {
    fill: rgba(0, 210, 255, 0.2);
}

.refill-arrow, .consume-arrow {
    stroke: var(--signal-green);
    stroke-width: 1.5;
    fill: none;
}

.refill-arrow-head, .consume-arrow-head {
    fill: var(--signal-green);
}

.algo-label-small {
    font-family: 'Share Tech Mono', monospace;
    font-size: 8px;
    fill: rgba(0, 210, 255, 0.5);
    text-anchor: middle;
    letter-spacing: 0.1em;
}

.timeline-line {
    stroke: rgba(0, 210, 255, 0.3);
    stroke-width: 1;
}

.tick-mark {
    stroke: rgba(0, 210, 255, 0.5);
    stroke-width: 1;
}

.window-rect {
    fill: rgba(0, 210, 255, 0.1);
    stroke: var(--electric-cyan);
    stroke-width: 1;
    stroke-dasharray: 4 2;
    animation: slideWindow 4s ease-in-out infinite;
}

@keyframes slideWindow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(30px); }
}

.request-dot {
    fill: var(--electric-cyan);
    filter: drop-shadow(0 0 3px rgba(0, 210, 255, 0.4));
}

.request-dot.outside {
    fill: rgba(0, 210, 255, 0.2);
}

.window-counter {
    font-family: 'Share Tech Mono', monospace;
    font-size: 18px;
    fill: var(--warning-amber);
    text-anchor: middle;
}

.water-fill {
    fill: rgba(0, 210, 255, 0.2);
    animation: waterLevel 3s ease-in-out infinite;
}

@keyframes waterLevel {
    0%, 100% { y: 80; height: 88; }
    50% { y: 55; height: 113; }
}

.overflow-line {
    stroke: var(--breach-red);
    stroke-width: 1;
    stroke-dasharray: 4 4;
    opacity: 0.6;
}

.overflow-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 9px;
    fill: var(--breach-red);
    opacity: 0.6;
}

.drain-line {
    stroke: var(--electric-cyan);
    stroke-width: 1;
}

.drain-drop {
    fill: var(--electric-cyan);
    animation: drip 1.5s ease-in-out infinite;
}

.drain-drop.delay {
    animation-delay: 0.5s;
}

@keyframes drip {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

.algo-metric {
    display: flex;
    gap: 12px;
    padding: 4px 0;
    font-size: 13px;
}

/* Section 4: Telemetry */
.section-telemetry {
    min-height: 150vh;
    padding-top: 120px;
}

.gauges-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    padding: 0 16%;
}

.gauge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.gauge-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.gauge-svg {
    width: 120px;
    height: 120px;
}

.gauge-track {
    fill: none;
    stroke: rgba(0, 210, 255, 0.1);
    stroke-width: 6;
    stroke-dasharray: 274;
    stroke-dashoffset: 68.5;
    stroke-linecap: round;
    transform: rotate(135deg);
    transform-origin: center;
}

.gauge-fill {
    fill: none;
    stroke: var(--electric-cyan);
    stroke-width: 6;
    stroke-dasharray: 274;
    stroke-dashoffset: 274;
    stroke-linecap: round;
    transform: rotate(135deg);
    transform-origin: center;
    filter: drop-shadow(0 0 4px rgba(0, 210, 255, 0.4));
    transition: stroke-dashoffset 1.5s ease-out, stroke 0.5s;
}

.gauge-fill.warning {
    stroke: var(--warning-amber);
    filter: drop-shadow(0 0 4px rgba(255, 170, 0, 0.4));
}

.gauge-value {
    font-family: 'Share Tech Mono', monospace;
    font-size: 22px;
    fill: var(--warning-amber);
    text-anchor: middle;
    dominant-baseline: middle;
}

.gauge-unit {
    font-family: 'Share Tech Mono', monospace;
    font-size: 9px;
    fill: rgba(0, 210, 255, 0.5);
    text-anchor: middle;
}

.gauge-label {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: rgba(0, 210, 255, 0.5);
    text-transform: uppercase;
}

.panel-telemetry-log {
    width: 70%;
    margin: 0 auto;
}

.log-grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.grid-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 210, 255, 0.05);
}

.log-stream {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.log-entry {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.04em;
    padding: 2px 0;
    line-height: 1.5;
}

.log-entry.green {
    color: var(--signal-green);
}

.log-entry.amber {
    color: var(--warning-amber);
}

.log-entry.red {
    color: var(--breach-red);
}

/* Section 5: Breach */
.section-breach {
    min-height: 150vh;
    padding-top: 120px;
    transition: background 0.5s ease;
}

.section-breach.active {
    background: rgba(255, 170, 0, 0.02);
}

.panel-breach {
    width: 65%;
    margin-left: 20%;
    transition: border-color 0.5s ease;
}

.section-breach.active .panel-breach {
    border-color: rgba(255, 170, 0, 0.3);
}

.amber-text {
    color: var(--warning-amber);
    text-shadow: 0 0 12px rgba(255, 170, 0, 0.4);
}

.alert-badge {
    position: sticky;
    top: 60px;
    float: right;
    margin-right: 10%;
    padding: 6px 16px;
    background: var(--warning-amber);
    color: var(--void-black);
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.15em;
    border-radius: 3px;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.5s ease, background 0.5s ease, color 0.5s ease;
    animation: badgePulse 1.5s ease-in-out infinite alternate;
}

.alert-badge.visible {
    opacity: 1;
}

.alert-badge.resolved {
    background: var(--signal-green);
    animation: none;
}

@keyframes badgePulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.resolved-badge {
    position: sticky;
    top: 60px;
    float: right;
    margin-right: 10%;
    padding: 6px 16px;
    background: var(--signal-green);
    color: var(--void-black);
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.15em;
    border-radius: 3px;
    z-index: 5;
    transition: opacity 0.5s ease;
}

.hidden {
    display: none;
}

.code-block {
    background: rgba(6, 6, 18, 0.5);
    border: 1px solid rgba(0, 210, 255, 0.1);
    padding: 16px 20px;
    margin: 12px 0 20px;
    border-radius: 2px;
}

.code-line {
    display: block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.breach-detail {
    margin-top: 30px;
}

.backoff-visual {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
}

.backoff-bar {
    height: 20px;
    background: linear-gradient(90deg, var(--warning-amber), rgba(255, 170, 0, 0.3));
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

.backoff-bar span {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: var(--void-black);
    font-weight: bold;
}

.circuit-states {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.circuit-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    background: rgba(6, 6, 18, 0.5);
    border: 1px solid rgba(0, 210, 255, 0.1);
    border-radius: 2px;
}

.circuit-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.circuit-dot.green {
    background: var(--signal-green);
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.circuit-dot.red {
    background: var(--breach-red);
    box-shadow: 0 0 8px rgba(255, 51, 68, 0.4);
}

.circuit-dot.amber {
    background: var(--warning-amber);
    box-shadow: 0 0 8px rgba(255, 170, 0, 0.4);
}

.circuit-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--frost-white);
    letter-spacing: 0.08em;
}

.circuit-desc {
    font-family: 'Exo 2', sans-serif;
    font-size: 10px;
    color: rgba(200, 215, 230, 0.5);
}

.circuit-arrow {
    color: rgba(0, 210, 255, 0.3);
    font-size: 20px;
}

/* Section 6: End of Watch */
.section-end {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.end-content {
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.end-content.visible {
    opacity: 1;
}

.end-title {
    font-size: 36px;
    margin-bottom: 12px;
}

.end-status {
    font-family: 'Share Tech Mono', monospace;
    font-size: 16px;
    color: var(--signal-green);
    letter-spacing: 0.15em;
    margin-bottom: 30px;
}

.end-divider {
    width: 60px;
    height: 1px;
    background: rgba(0, 210, 255, 0.3);
    margin: 0 auto 30px;
}

.end-signoff {
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    color: rgba(200, 215, 230, 0.6);
    letter-spacing: 0.08em;
}

/* Dimming effect for end section */
.dimming #hud-frame {
    opacity: 0.3;
    transition: opacity 2s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .station-title {
        font-size: 36px;
    }

    .end-title {
        font-size: 28px;
    }

    .panel-algorithm {
        width: 90%;
    }

    .panel-offset-1, .panel-offset-2, .panel-offset-3 {
        margin-left: 5%;
    }

    .panel-breach {
        width: 90%;
        margin-left: 5%;
    }

    .panel-pipeline-info {
        width: 90%;
        margin-left: 5%;
    }

    .panel-telemetry-log {
        width: 90%;
    }

    .gauges-row {
        padding: 0 5%;
        gap: 20px;
    }

    .pipeline-container {
        width: 95%;
        padding-left: 0;
    }

    .section-header {
        padding-left: 5%;
    }

    .hud-left-rule, .hud-right-rule {
        display: none;
    }
}
