:root {
    color-scheme: dark;
    --bg: #0a0015;
    --term: #0c0c0c;
    --cyan: #00ddff;
    --pink: #ff69ff;
    --teal: #39c5bb;
    --gold: #ffd700;
    --purple: #bb99ff;
    --green: #00ff41;
    --light: #f0e6ff;
    --muted: #b3a6c5;
    --line: rgba(255, 105, 255, .23);
    --body: "VT323", "Courier New", monospace;
    --display: "Russo One", sans-serif;
    --pixel: "Press Start 2P", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--cyan);
    font: 20px/1.4 var(--body);
}
body::after {
    position: fixed;
    z-index: 10;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(187, 153, 255, .03) 2px 4px);
    content: "";
    pointer-events: none;
}
a { color: var(--teal); text-underline-offset: 4px; }
a:hover { color: var(--cyan); }
.starfield {
    position: fixed;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 5%, rgba(0, 221, 255, .1), transparent 38rem),
        radial-gradient(ellipse at 88% 32%, rgba(255, 105, 255, .11), transparent 35rem),
        linear-gradient(180deg, #0a0015, #120020 52%, #0a0015);
}
.wrap { width: min(100% - 36px, 1160px); margin-inline: auto; }
.site-header {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 26px;
    border-bottom: 1px solid rgba(255, 105, 255, .17);
}
.wordmark { display: flex; gap: 9px; color: var(--light); text-decoration: none; white-space: nowrap; }
.wordmark .prompt { color: var(--green); }
.site-header nav { display: flex; gap: 20px; margin-left: auto; }
.site-header nav a, .back-link { color: var(--purple); font-family: var(--pixel); font-size: 9px; text-decoration: none; }
.site-header nav a:hover, .back-link:hover { color: var(--cyan); }
.back-link { white-space: nowrap; }

.hero { padding: 26px 0 37px; }
.hero-scene {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 105, 255, .4);
    border-radius: 10px;
    background: #11001e;
    box-shadow: 0 0 35px rgba(255, 20, 147, .12), 0 0 80px rgba(0, 221, 255, .06);
}
.hero-source { position: absolute; z-index: 1; inset: 0; display: block; }
.hero-gif { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .3; filter: saturate(.7); }
.scene-shade { position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, rgba(10, 0, 21, .82) 0%, rgba(10, 0, 21, .6) 50%, rgba(10, 0, 21, .12) 100%), linear-gradient(0deg, rgba(10, 0, 21, .45), transparent 48%); }
.hero-copy { position: relative; z-index: 2; width: min(720px, 76%); padding: 45px clamp(24px, 6vw, 72px); }
.eyebrow { margin: 0 0 14px; color: var(--pink); font: 9px/1.7 var(--pixel); letter-spacing: .03em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 12px; color: var(--light); font: clamp(38px, 6vw, 68px)/1.1 var(--display); letter-spacing: -.035em; text-shadow: 0 2px 12px #08000f; }
h1 span { color: transparent; background: linear-gradient(90deg, var(--pink), var(--cyan), var(--gold)); background-clip: text; -webkit-background-clip: text; }
.hero-copy > p:not(.eyebrow) { max-width: 570px; margin-bottom: 20px; color: #e3d8ef; font-size: 23px; text-shadow: 0 2px 8px #08000f; }
.scroll-cta { display: inline-block; padding: 7px 13px; border: 1px solid rgba(0, 221, 255, .4); border-radius: 3px; background: rgba(12, 12, 12, .76); color: var(--cyan); text-decoration: none; }
.scroll-cta span { padding-left: 8px; color: var(--pink); }
.anime-sticker { position: absolute; z-index: 3; right: 26px; bottom: 21px; display: block; width: 112px; height: 112px; overflow: hidden; padding: 5px; border: 1px solid var(--pink); background: rgba(12, 12, 12, .88); box-shadow: 0 0 20px rgba(255, 105, 255, .3); transform: rotate(3deg); }
.anime-sticker img { display: block; width: 100%; height: 100%; object-fit: cover; }

.snapshot { margin: 0 0 74px; padding: 17px 20px 12px; border: 1px solid var(--line); border-radius: 6px; background: rgba(12, 12, 12, .8); box-shadow: 0 0 30px rgba(255, 105, 255, .05); }
.snapshot-title { margin-bottom: 13px; color: var(--light); font: 9px var(--pixel); }
.snapshot-title span { color: var(--pink); }
.snapshot-title small { margin-left: 9px; color: var(--muted); font: 8px var(--pixel); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-card { min-height: 86px; display: flex; flex-direction: column; justify-content: center; padding: 4px 20px; border-right: 1px solid rgba(187, 153, 255, .16); }
.stat-card:last-child { border-right: 0; }
.stat-card strong { color: var(--cyan); font: 30px/1 var(--display); text-shadow: 0 0 12px rgba(0, 221, 255, .35); }
.stat-card span { margin-top: 7px; color: var(--muted); font-size: 17px; }
.snapshot-footnote { margin: 8px 0 0; color: #988ca8; font-size: 15px; }

.section-block { margin-bottom: 80px; scroll-margin-top: 25px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 11px; }
.section-heading .eyebrow { margin-bottom: 8px; }
h2 { margin-bottom: 0; color: var(--light); font: clamp(27px, 4vw, 39px)/1.2 var(--display); }
.section-mark { color: var(--gold); font: 7px var(--pixel); }
.section-intro { max-width: 850px; margin-bottom: 21px; color: var(--muted); font-size: 19px; }
.map-window { overflow: hidden; border: 1px solid rgba(255, 105, 255, .35); border-radius: 7px; background: var(--term); box-shadow: 0 0 30px rgba(0, 221, 255, .06); }
.window-bar { min-height: 35px; display: flex; align-items: center; gap: 13px; padding: 0 13px; border-bottom: 1px solid rgba(255, 105, 255, .2); background: linear-gradient(90deg, #2a1038, #111); color: var(--purple); font-size: 16px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.window-dots i:nth-child(2) { background: var(--gold); }
.window-dots i:nth-child(3) { background: #28c840; }
.window-status { margin-left: auto; color: var(--green); font: 6px var(--pixel); }
.map-scroll { overflow-x: auto; padding: 10px; scrollbar-color: rgba(255, 105, 255, .4) #111; }
.network-map { display: block; width: 100%; min-width: 920px; height: auto; }
.network-map text { font-family: var(--body); }
.map-kicker { fill: var(--pink); font: 10px var(--pixel) !important; }
.flow-line { fill: none; stroke: var(--cyan); stroke-width: 2; }
.tunnel-link { fill: none; stroke: var(--pink); stroke-width: 2; stroke-dasharray: 6 5; }
.backup-line { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 5 4; }
.node { stroke-width: 1.5; }
.node-public { fill: #11131f; stroke: var(--cyan); }
.node-edge { fill: #191025; stroke: var(--pink); }
.node-tunnel { fill: #181124; stroke: var(--pink); stroke-dasharray: 5 3; }
.node-router { fill: #101b21; stroke: var(--cyan); }
.node-title { fill: var(--light); font: 11px var(--pixel) !important; }
.node-sub { fill: var(--muted); font-size: 16px; }
.map-note { fill: var(--purple); font-size: 15px; }
.network-boundary { fill: rgba(0, 221, 255, .025); stroke: rgba(0, 221, 255, .32); stroke-width: 1.5; stroke-dasharray: 5 4; }
.boundary-title { fill: var(--cyan); font: 11px var(--pixel) !important; }
.group-box { fill: rgba(12, 12, 12, .8); stroke: rgba(187, 153, 255, .36); stroke-width: 1.4; }
.group-title { fill: var(--light); font: 12px var(--pixel) !important; }
.cluster-box { stroke: rgba(255, 105, 255, .42); }
.cluster-count { fill: var(--green); font: 8px var(--pixel) !important; }
.vlan { fill: rgba(0, 221, 255, .06); stroke: rgba(0, 221, 255, .25); }
.vlan-restricted { fill: rgba(255, 105, 255, .08); stroke: rgba(255, 105, 255, .45); }
.vlan-label { fill: var(--cyan); font: 8px var(--pixel) !important; }
.vlan-foot { fill: var(--muted); font-size: 15px; }
.host-card { fill: rgba(0, 221, 255, .055); stroke: rgba(0, 221, 255, .3); }
.host-name { fill: var(--light); font: 9px var(--pixel) !important; }
.host-spec { fill: var(--teal); font-size: 14px; }
.host-role { fill: var(--muted); font-size: 17px; }
.backup-card { fill: rgba(57, 197, 187, .065); stroke: var(--teal); }
.backup-jobs { fill: rgba(255, 215, 0, .04); stroke: rgba(255, 215, 0, .35); }
.map-legend { display: flex; flex-wrap: wrap; gap: 20px; padding: 9px 15px 12px; border-top: 1px solid rgba(187, 153, 255, .14); color: var(--muted); font-size: 16px; }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend i { display: inline-block; width: 14px; height: 4px; background: var(--cyan); }
.map-legend .legend-pink { background: var(--pink); }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 23px; }
.service-card { min-height: 205px; padding: 21px 23px; border: 1px solid var(--line); border-radius: 7px; background: linear-gradient(135deg, rgba(12, 12, 12, .9), rgba(21, 0, 37, .74)); box-shadow: 0 12px 32px rgba(0, 0, 0, .14); }
.card-index { color: var(--pink); font: 7px var(--pixel); }
.service-card h3 { margin: 13px 0 6px; color: var(--light); font: 21px var(--display); }
.service-card p { max-width: 550px; margin-bottom: 15px; color: #c3b8d0; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-tags span { padding: 3px 8px; border: 1px solid rgba(0, 221, 255, .22); border-radius: 3px; color: var(--cyan); font-size: 16px; }
.game-card { display: grid; grid-template-columns: 1fr 190px; align-items: center; gap: 15px; }
.ai-card { grid-column: 1 / -1; }
.game-art-frame, .ai-art-frame { display: block; overflow: hidden; height: 120px; border: 1px solid rgba(255, 105, 255, .36); border-radius: 5px; background: rgba(0, 221, 255, .06); }
.game-art-frame img, .ai-art-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ai-card { grid-template-columns: 1fr 220px; }
.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 23px; }
.issue-card { min-height: 170px; padding: 18px; border: 1px solid rgba(0, 221, 255, .2); border-radius: 6px; background: linear-gradient(135deg, rgba(12, 12, 12, .88), rgba(21, 0, 37, .72)); }
.issue-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--pink); font: 7px var(--pixel); }
.issue-meta b { padding: 4px 6px; border: 1px solid rgba(0, 255, 65, .35); border-radius: 2px; color: var(--green); font-size: 6px; }
.issue-card h3 { margin: 17px 0 7px; color: var(--light); font: 19px var(--display); }
.issue-card p { margin: 0; color: var(--muted); }

.site-footer { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 28px; border-top: 1px solid rgba(255, 105, 255, .16); color: var(--muted); font-size: 17px; }
.site-footer a { color: var(--purple); font: 7px var(--pixel); text-decoration: none; }

@media (max-width: 760px) {
    .wrap { width: min(100% - 26px, 1160px); }
    .site-header { min-height: 64px; gap: 12px; }
    .wordmark { flex-direction: column; gap: 0; font-size: 16px; line-height: 1.1; }
    .site-header nav { gap: 11px; }
    .site-header nav a, .back-link { font-size: 7px; }
    .hero-scene { min-height: 365px; }
    .hero-source { inset: 0; }
    .hero-copy { width: 85%; padding: 35px 23px; }
    .hero-copy > p:not(.eyebrow) { max-width: 480px; font-size: 21px; }
    .anime-sticker { right: 14px; bottom: 14px; width: 76px; height: 76px; }
    .scene-label { right: 102px; bottom: 18px; font-size: 5px; }
    .snapshot { margin-bottom: 58px; padding: 14px; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card { min-height: 76px; padding-left: 12px; }
    .stat-card:nth-child(2) { border-right: 0; }
    .stat-card:nth-child(-n+2) { border-bottom: 1px solid rgba(187, 153, 255, .16); }
    .section-heading { align-items: start; flex-direction: column; }
    .section-mark { margin-top: -4px; }
    .section-block { margin-bottom: 62px; }
    .service-grid { grid-template-columns: 1fr; }
    .issue-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 450px) {
    .site-header nav { display: none; }
    .back-link { margin-left: auto; }
    .hero-scene { min-height: 425px; align-items: flex-start; }
    .hero-source { inset: 0; }
    .scene-shade { background: linear-gradient(90deg, rgba(10, 0, 21, .9), rgba(10, 0, 21, .5)), linear-gradient(0deg, rgba(10, 0, 21, .7), transparent 65%); }
    .hero-copy { width: 100%; padding: 36px 19px; }
    h1 { font-size: 41px; }
    .hero-copy > p:not(.eyebrow) { font-size: 20px; }
    .anime-sticker { width: 72px; height: 72px; }
    .game-card { grid-template-columns: 1fr; }
    .game-art-frame, .ai-art-frame { height: 145px; }
    .ai-card { grid-column: auto; }
    .ai-card { grid-template-columns: 1fr; }
    .issue-grid { grid-template-columns: 1fr; }
    .window-status { font-size: 5px; }
    .map-legend { gap: 8px 16px; }
    .site-footer { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .loop-gif { visibility: hidden; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
