@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #000;
}
body {
  min-height: 100svh;
  overflow-x: hidden;
  background: #000;
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1;
  color: #ffffff;
  font-family: "Courier New", monospace;
}

.bg {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)),
    url("images/colonialcrimesunit_logo.png") center center / cover no-repeat;
  background-color: #000;
  z-index: 0;
  transform: scale(1);
  overflow: hidden;
}

/* ===== GLOBAL BACKGROUND FALLBACK (for subpages) ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)),
    url("images/colonialcrimesunit_logo.png") center center / cover no-repeat;
  background-color: #000;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.08) 0px,
    rgba(255,255,255,0.08) 1px,
    transparent 1px,
    transparent 4px
  );
  animation: scanlineMove 6s linear infinite;
}

@media (max-width: 768px) {
  body::before {
    background:
      linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.34)),
      url("images/colonialcrimesunit_logo.png") center center / contain no-repeat;
  }
}

@media (max-width: 480px) {
  body::before {
    background:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.36)),
      url("images/colonialcrimesunit_logo.png") center 38% / contain no-repeat;
  }
}

.bg::after {
  content: none;
}

.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
  animation: none;
}

@media (max-width: 768px) {
  .bg {
    background:
      linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.34)),
      url("images/colonialcrimesunit_logo.png") center center / contain no-repeat;
    background-color: #000;
  }
}

@media (max-width: 480px) {
  .bg {
    background:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.36)),
      url("images/colonialcrimesunit_logo.png") center 38% / contain no-repeat;
    background-color: #000;
  }
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  box-sizing: border-box;
  z-index: 20;
  color: #fff;
  font-family: "Courier New", monospace;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* LOGO */
.logo {
  cursor: pointer;
  font-size: 25px;
  letter-spacing: 1px;
  color: #ffffff;
  font-family: "Orbitron", "Courier New", monospace;
  text-shadow:
    0 0 4px rgba(255,255,255,0.6),
    0 0 10px rgba(255,255,255,0.5),
    0 0 18px rgba(255,255,255,0.35);
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.15s ease;
  display: inline-block;
}

.english-name {
  display: block;
  font-weight: 700;
}


/* NAV (desktop) */
.site-nav {
  display: flex;
  flex: 1;
  justify-content: space-evenly;
  margin-left: 40px;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.2s ease, transform 0.15s ease;
  display: inline-block;
}

.site-nav a:hover {
  color: #ff3b3b;
  animation: hoverJitter 0.18s linear infinite;
}

/* MENU BUTTON (hidden on desktop) */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-family: inherit;
  cursor: pointer;
}

.menu-icon {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
  margin-right: 8px;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: #fff;
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    padding: 10px 14px;
    margin-left: auto;
  }

  .menu-text {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    width: 24px;
    height: 2px;
  }

  .menu-icon {
    margin-right: 0;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.82);
    padding: 20px 0;
    display: none;
    gap: 20px;
    align-items: center;
    margin-left: 0;
    z-index: 20;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav a {
    font-size: 26px;
    letter-spacing: 2px;
    padding: 0;
    text-align: center;
    width: 100%;
  }

  header.nav-open {
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
  }

  header.nav-open .site-nav {
    display: flex;
  }

  .homepage-intro,
  .page-content {
    padding: 112px 16px 88px;
  }
}

@keyframes hoverJitter {
  0% { transform: translate(0, 0); }
  25% { transform: translate(0.5px, -0.5px); }
  50% { transform: translate(-0.5px, 0.5px); }
  75% { transform: translate(0.5px, 0.5px); }
  100% { transform: translate(0, 0); }
}

@keyframes scanlineMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(100px); }
}

@keyframes flicker {
  0% { opacity: 0.04; }
  50% { opacity: 0.08; }
  100% { opacity: 0.04; }
}

@keyframes redFlash {
  0%, 84%, 100% {
    background-color: rgba(255,255,255,0.03);
  }
  85% {
    background-color: rgba(255,0,0,0.00);
  }
  86% {
    background-color: rgba(255,0,0,0.18);
  }
  87% {
    background-color: rgba(255,0,0,0.08);
  }
  88% {
    background-color: rgba(255,0,0,0.22);
  }
  89% {
    background-color: rgba(255,255,255,0.03);
  }
}

footer {
  margin-top: auto;
  width: 100%;
  text-align: center;
  padding: 24px 20px calc(40px + env(safe-area-inset-bottom));
  box-sizing: border-box;
  color: #ffffff;
  font-family: "Courier New", monospace;
  font-size: 13px;
  line-height: 1.6;
  position: relative;
  z-index: 20;
  opacity: 0.82;
  white-space: normal;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  color: #ff3b3b;
}

/* ===== PAGE CONTENT ===== */
.homepage-intro,
.page-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px 24px 120px;
  box-sizing: border-box;
  color: #ffffff;
  font-family: "Courier New", monospace;
}

.hero-intro,
.content-section,
.terminal-database,
.personnel-section,
.supporting-files {
  background: rgba(0, 0, 0, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 12px 36px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.hero-intro {
  max-width: 760px;
  padding: 28px 30px 30px;
  margin-bottom: 26px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 2.8px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-intro h1,
.content-section h1,
.terminal-database h1 {
  margin: 0 0 16px;
  font-family: "Orbitron", "Courier New", monospace;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow:
    0 0 8px rgba(255,255,255,0.08),
    0 0 22px rgba(255,255,255,0.08);
}

.hero-intro p:last-child,
.content-section p:last-child,
.terminal-database p:last-child,
.personnel-card p:last-child,
.supporting-file-block p:last-child {
  margin-bottom: 0;
}

.hero-intro p,
.content-section p,
.terminal-database p,
.supporting-files p {
  font-size: 17px;
  line-height: 1.72;
  margin: 0 0 14px;
  max-width: 72ch;
}

.content-section {
  max-width: 760px;
  padding: 22px 26px;
  margin-bottom: 18px;
}

.content-section h2 {
  margin: 0 0 14px;
  font-family: "Orbitron", "Courier New", monospace;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
}

.questions p {
  position: relative;
  padding-left: 18px;
}

.questions p::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, 0.78);
}

.crime-board {
  border-color: rgba(255, 59, 59, 0.36);
  box-shadow:
    0 0 0 1px rgba(255, 59, 59, 0.10) inset,
    0 0 28px rgba(255, 59, 59, 0.12),
    0 12px 36px rgba(0, 0, 0, 0.35);
}

.crime-board .address {
  display: inline-block;
  margin-top: 6px;
  margin-bottom: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  font-family: "Orbitron", "Courier New", monospace;
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.invitation {
  margin-bottom: 0;
}

/* ===== EVENT SCHEDULE (POLICE LOG STYLE) ===== */
.event-schedule {
  margin-top: 20px;
  padding: 16px 16px 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  font-family: "Courier New", monospace;
}

.event-schedule p {
  margin: 0 0 12px;
}

.event-schedule p:first-child {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.event-schedule strong {
  display: inline-block;
  font-family: "Orbitron", "Courier New", monospace;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.event-schedule p:not(:first-child) {
  padding: 0 0 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  line-height: 1.65;
}

.event-schedule p:last-child {
  margin-bottom: 0;
  padding-bottom: 4px;
  border-bottom: none;
}

.event-schedule p:not(:first-child)::before {
  content: "[ENTRY]";
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  letter-spacing: 1.6px;
  color: rgba(255, 255, 255, 0.48);
}



@media (max-width: 900px) {
  .homepage-intro,
  .page-content {
    padding: 124px 20px 100px;
  }

  .hero-intro,
  .content-section,
  .terminal-database,
  .personnel-section,
  .supporting-files {
    max-width: 100%;
  }

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

@media (max-width: 768px) {
  footer {
    padding: 28px 18px calc(52px + env(safe-area-inset-bottom));
    font-size: 12px;
    line-height: 1.7;
  }

  footer a {
    display: inline-block;
  }

  .hero-intro {
    padding: 22px 18px 24px;
    margin-bottom: 18px;
  }

  .content-section {
    padding: 18px 18px 20px;
    margin-bottom: 14px;
  }

  .hero-intro h1 {
    font-size: clamp(28px, 9vw, 42px);
    line-height: 1.08;
  }

  .hero-intro p,
  .content-section p,
  .terminal-database p,
  .supporting-files p {
    font-size: 15px;
    line-height: 1.68;
    max-width: 100%;
  }

  .content-section h2 {
    font-size: 14px;
    letter-spacing: 1.6px;
  }

  .crime-board .address {
    display: block;
    font-size: 15px;
    line-height: 1.6;
    word-break: break-word;
  }
  .event-schedule {
    margin-top: 16px;
    padding: 14px 14px 4px;
  }

  .event-schedule strong {
    font-size: 12px;
    letter-spacing: 1.6px;
  }

  .event-schedule p:not(:first-child)::before {
    font-size: 10px;
    letter-spacing: 1.2px;
  }

  .terminal-database,
  .personnel-section,
  .supporting-files {
    padding: 18px;
    margin-bottom: 16px;
  }

  .terminal-topline,
  .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .database-grid,
  .supporting-files {
    grid-template-columns: 1fr;
  }

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

  .personnel-card {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  footer {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .homepage-intro,
  .page-content {
    padding: 104px 14px 72px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .hero-intro h1 {
    font-size: 26px;
  }

  .hero-intro,
  .content-section,
  .terminal-database,
  .personnel-section,
  .supporting-files {
    border-width: 1px;
  }

  .questions p {
    padding-left: 16px;
  }

  .crime-board .address {
    font-size: 14px;
    padding: 9px 12px;
  }
  .event-schedule {
    padding: 12px 12px 2px;
  }

  .event-schedule p {
    font-size: 14px;
  }

  .event-schedule p:not(:first-child) {
    padding-bottom: 10px;
  }
}

/* ===== TEXT VISIBILITY FALLBACK ===== */
.page-content,
.page-content p,
.page-content h1,
.page-content h2,
.page-content h3,
.page-content a,
.page-content span {
  color: #ffffff;
}

/* ===== SITE FOOTER (CLASS-BASED) ===== */
.site-footer {
  margin-top: auto;
  width: 100%;
  text-align: center;
  padding: 24px 20px calc(40px + env(safe-area-inset-bottom));
  box-sizing: border-box;
  color: #ffffff;
  font-family: "Courier New", monospace;
  font-size: 13px;
  line-height: 1.6;
  position: relative;
  z-index: 20;
  opacity: 0.82;
  white-space: normal;
  background: rgba(0,0,0,0.50);
  backdrop-filter: blur(1px);
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ff3b3b;
}
/* ===== UNITS PAGE: TERMINAL DATABASE + PERSONNEL FILES ===== */
.terminal-database,
.personnel-section,
.supporting-files {
  max-width: 100%;
  margin-bottom: 22px;
}

.terminal-database {
  padding: 24px 26px 28px;
  border-color: rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(rgba(255,255,255,0.035), rgba(255,255,255,0.015)),
    rgba(0, 0, 0, 0.62);
}

.terminal-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: -6px 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
  font-family: "Orbitron", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.72);
}

.database-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.database-entry {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

.database-entry-wide {
  grid-column: 1 / -1;
}

.database-label,
.file-index {
  display: block;
  margin-bottom: 8px;
  font-family: "Orbitron", "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.database-entry p {
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

.personnel-section {
  padding: 22px 26px 28px;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.section-heading-row .eyebrow {
  margin: 0;
}

.section-heading-row h2,
.supporting-file-block h2 {
  margin: 0;
  font-family: "Orbitron", "Courier New", monospace;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
}

.personnel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.personnel-card {
  position: relative;
  min-height: 116px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)),
    rgba(0, 0, 0, 0.36);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.025) inset;
}

.personnel-card::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  opacity: 0.72;
}

.personnel-card h3 {
  margin: 0 44px 10px 0;
  font-family: "Orbitron", "Courier New", monospace;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.personnel-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.supporting-files {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 26px;
}

.supporting-file-block {
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.supporting-file-block h2 {
  margin-bottom: 14px;
}

/* ===== HOMEPAGE STATUS INTERFACE ===== */
.homepage-status {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  min-height: 100svh;
  margin: 0 auto;
  padding: 140px 24px 120px;
  box-sizing: border-box;
  color: #ffffff;
  font-family: "Courier New", monospace;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.homepage-status,
.homepage-status p,
.homepage-status h1,
.homepage-status h2,
.homepage-status h3,
.homepage-status a,
.homepage-status span {
  color: #ffffff;
}

.status-database {
  position: relative;
  overflow: hidden;
}

.status-database::before {
  content: "LIVE SYSTEM";
  position: absolute;
  top: 18px;
  right: -34px;
  width: 150px;
  padding: 5px 0;
  transform: rotate(35deg);
  border-top: 1px solid rgba(255, 59, 59, 0.42);
  border-bottom: 1px solid rgba(255, 59, 59, 0.42);
  color: rgba(255, 59, 59, 0.78);
  font-family: "Orbitron", "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 1.6px;
  text-align: center;
  background: rgba(0, 0, 0, 0.34);
}

.status-alert {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin: 20px 0 22px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 59, 59, 0.38);
  background:
    linear-gradient(90deg, rgba(255, 59, 59, 0.14), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.38);
  box-shadow:
    0 0 0 1px rgba(255, 59, 59, 0.06) inset,
    0 0 22px rgba(255, 59, 59, 0.10);
}

.status-alert span {
  font-family: "Orbitron", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.status-alert strong {
  font-family: "Orbitron", "Courier New", monospace;
  font-size: clamp(20px, 4vw, 34px);
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow:
    0 0 8px rgba(255, 59, 59, 0.24),
    0 0 18px rgba(255, 255, 255, 0.10);
}

.status-grid .database-entry p {
  font-family: "Orbitron", "Courier New", monospace;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-grid .database-entry:nth-child(6) {
  border-color: rgba(255, 59, 59, 0.34);
  background:
    linear-gradient(rgba(255, 59, 59, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.36);
}

.investigation-console {
  gap: 18px;
}

.console-mainframe {
  padding: 24px 26px 26px;
}

.console-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.console-briefing {
  min-width: 0;
}

.console-radar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at center, rgba(255, 59, 59, 0.08), transparent 58%),
    rgba(255, 255, 255, 0.035);
}

.radar-screen {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 59, 59, 0.10), transparent 28%),
    rgba(0, 0, 0, 0.50);
  background-size: 26px 26px, 26px 26px, 100% 100%, 100% 100%;
}

.radar-screen::before,
.radar-screen::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.radar-screen::before {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(32deg, transparent 0 23%, rgba(255, 255, 255, 0.12) 23.3% 23.7%, transparent 24%),
    linear-gradient(145deg, transparent 0 30%, rgba(255, 255, 255, 0.10) 30.3% 30.7%, transparent 31%),
    linear-gradient(92deg, transparent 0 48%, rgba(255, 59, 59, 0.16) 48.2% 48.6%, transparent 49%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(255,255,255,0.018) 19px, transparent 20px);
  opacity: 0.65;
}

.radar-screen::after {
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 59, 59, 0.42);
  border-radius: 50%;
  animation: signalPulse 3.8s ease-out infinite;
}

.strange-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.82;
  mix-blend-mode: screen;
  background:
    radial-gradient(ellipse at 30% 34%, rgba(255,255,255,0.20) 0 7%, transparent 8%),
    radial-gradient(ellipse at 42% 42%, rgba(255,255,255,0.16) 0 12%, transparent 13%),
    radial-gradient(ellipse at 25% 58%, rgba(255,255,255,0.13) 0 10%, transparent 11%),
    radial-gradient(ellipse at 68% 30%, rgba(255,255,255,0.17) 0 13%, transparent 14%),
    radial-gradient(ellipse at 78% 52%, rgba(255,255,255,0.12) 0 9%, transparent 10%),
    radial-gradient(ellipse at 57% 72%, rgba(255,255,255,0.15) 0 16%, transparent 17%),
    radial-gradient(ellipse at 84% 76%, rgba(255,59,59,0.16) 0 8%, transparent 9%),
    linear-gradient(118deg, transparent 0 44%, rgba(255,59,59,0.25) 45%, transparent 47%),
    linear-gradient(39deg, transparent 0 58%, rgba(255,255,255,0.13) 59%, transparent 60%);
  filter: blur(0.2px) contrast(1.35);
  animation: strangeMapDrift 18s ease-in-out infinite alternate;
}

.radar-sweep {
  display: none;
}

.radar-node {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  text-decoration: none;
  font-family: "Orbitron", "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 1.2px;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 0 18px rgba(255, 59, 59, 0.08),
    0 0 0 0 rgba(255, 59, 59, 0.20);
  animation: nodePulse 4.2s ease-in-out infinite;
}

.radar-node::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 50%;
}

.radar-node::after {
  position: absolute;
  top: 118%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.56);
}

.node-core {
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  border-color: rgba(255, 59, 59, 0.72);
  color: #ffb5b5;
  background: rgba(80, 8, 8, 0.62);
  box-shadow:
    0 0 0 1px rgba(255, 59, 59, 0.16) inset,
    0 0 26px rgba(255, 59, 59, 0.26),
    0 0 0 9px rgba(255, 59, 59, 0.035);
  animation-delay: 0s;
}

.node-osn {
  left: 78%;
  top: 70%;
  opacity: 0.82;
  border-color: rgba(255, 255, 255, 0.32);
  animation-delay: 2.8s;
}

.node-osn::after {
  content: "DETECTED";
}

.node-karlsruhe {
  left: 18%;
  top: 68%;
  opacity: 0.88;
  border-color: rgba(255, 255, 255, 0.42);
  animation-delay: 1.4s;
}

.node-karlsruhe::after {
  content: "CURRENT";
}

.radar-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-family: "Orbitron", "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.console-log-section {
  grid-template-columns: 1.35fr 0.85fr;
}

.transmission-log p,
.access-log p {
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

.access-log a {
  color: #ffffff;
  text-decoration: none;
  font-family: "Orbitron", "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 1.6px;
}

.access-log a:hover {
  color: #ffb5b5;
  text-shadow: 0 0 12px rgba(255, 59, 59, 0.28);
}

@keyframes signalPulse {
  0% {
    width: 42px;
    height: 42px;
    opacity: 0.55;
  }
  100% {
    width: 260px;
    height: 260px;
    opacity: 0;
  }
}

@keyframes nodePulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.035) inset,
      0 0 14px rgba(255, 59, 59, 0.08),
      0 0 0 0 rgba(255, 59, 59, 0.16);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 59, 59, 0.10) inset,
      0 0 26px rgba(255, 59, 59, 0.20),
      0 0 0 8px rgba(255, 59, 59, 0.035);
  }
}

@keyframes strangeMapDrift {
  0% {
    transform: translate(-4px, 3px) scale(1.03) skew(-1deg, 0deg);
    opacity: 0.68;
  }
  50% {
    transform: translate(5px, -3px) scale(1.06) skew(1deg, -0.6deg);
    opacity: 0.88;
  }
  100% {
    transform: translate(-2px, -5px) scale(1.04) skew(-0.4deg, 0.8deg);
    opacity: 0.74;
  }
}

@media (max-width: 900px) {
  .console-layout,
  .console-log-section {
    grid-template-columns: 1fr;
  }

  .radar-screen {
    min-height: 260px;
  }
}

@media (max-width: 768px) {
  .homepage-status {
    justify-content: flex-start;
    padding: 112px 16px 88px;
  }

  .status-alert {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .status-database::before {
    display: none;
  }

  .status-grid .database-entry p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .homepage-status {
    padding: 104px 14px 72px;
  }

  .console-mainframe {
    padding: 18px;
  }

  .radar-screen {
    min-height: 220px;
  }

  .radar-node {
    width: 48px;
    height: 48px;
    font-size: 8px;
  }

  .node-core {
    width: 60px;
    height: 60px;
  }

  .node-osn {
    left: 76%;
    top: 72%;
  }

  .node-karlsruhe {
    left: 14%;
    top: 70%;
  }

  .radar-caption {
    flex-direction: column;
    gap: 5px;
  }
}