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

:root {
  --bg: #05070a;
  --panel: #0b1015;
  --panel-2: #111820;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.17);
  --text: #f1f5f7;
  --muted: #7f8d98;
  --cyan: #37f3e3;
  --cyan-dim: #0c665f;
  --orange: #ff9d3b;
  --orange-dim: #6e3e0f;
  --red: #ff4d54;
  --green: #70ff91;
  --shadow: rgba(0,0,0,.58);
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  background:
    radial-gradient(circle at 25% 0%, rgba(55,243,227,.07), transparent 30%),
    radial-gradient(circle at 90% 15%, rgba(255,157,59,.055), transparent 28%),
    linear-gradient(160deg, #030507, #080c11 48%, #05070a);
  overflow-x: hidden;
}

.world-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background:
    linear-gradient(rgba(55,243,227,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55,243,227,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 92%);
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .08;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    #000 4px
  );
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 49;
  box-shadow: inset 0 0 180px rgba(0,0,0,.72);
}

.command-deck {
  position: relative;
  z-index: 2;
  width: min(1380px, calc(100% - 34px));
  margin: 0 auto;
  padding: 24px 0 28px;
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 15px 18px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)),
    rgba(8,12,16,.82);
  box-shadow: 0 16px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.brand-chip {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border: 1px solid rgba(55,243,227,.5);
  background:
    linear-gradient(135deg, rgba(55,243,227,.15), rgba(55,243,227,.02)),
    #081114;
  box-shadow:
    inset 0 0 30px rgba(55,243,227,.08),
    0 0 22px rgba(55,243,227,.05);
}

.brand-chip strong {
  color: var(--cyan);
  font-family: "Press Start 2P", monospace;
  font-size: .95rem;
  text-shadow: 0 0 12px rgba(55,243,227,.38);
}

.chip-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--cyan);
}

.chip-corner.tl { left: -1px; top: -1px; border-left: 2px solid; border-top: 2px solid; }
.chip-corner.tr { right: -1px; top: -1px; border-right: 2px solid; border-top: 2px solid; }
.chip-corner.bl { left: -1px; bottom: -1px; border-left: 2px solid; border-bottom: 2px solid; }
.chip-corner.br { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }

.brand-copy {
  min-width: 0;
}

.overline,
.subline {
  display: block;
  color: #75838e;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.brand-copy h1 {
  margin: 7px 0;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(.92rem, 2vw, 1.42rem);
  line-height: 1.35;
  white-space: nowrap;
}

.subline {
  color: #597a7a;
}

.sys-cluster {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex: 0 0 auto;
}

.sys-readout,
.clock {
  display: flex;
  min-width: 92px;
  flex-direction: column;
  justify-content: center;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: #080c10;
}

.sys-label {
  color: #60717d;
  font-size: .56rem;
  letter-spacing: .12em;
}

.sys-readout strong {
  margin-top: 4px;
  color: var(--green);
  font-size: .72rem;
}

.sys-readout strong.amber {
  color: var(--orange);
}

.clock {
  min-width: 92px;
  color: #d8e5e6;
  font-size: .72rem;
  font-weight: 700;
  text-align: center;
  align-items: center;
}

.hero-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
  padding: 34px 36px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(55,243,227,.035), transparent 55%),
    rgba(8,12,16,.76);
  position: relative;
  overflow: hidden;
}

.hero-console::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.section-code {
  color: var(--cyan);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.hero-copy h2 {
  margin: 14px 0 14px;
  font-size: clamp(2.5rem, 6vw, 5.7rem);
  line-height: .92;
  letter-spacing: -.07em;
}

.hero-copy h2 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(55,243,227,.75);
  text-shadow: 0 0 25px rgba(55,243,227,.08);
}

.hero-copy p {
  max-width: 740px;
  margin: 0;
  color: #97a7b1;
  font-size: .98rem;
  line-height: 1.72;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  color: #80919a;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.hero-status span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.led.green {
  background: var(--green);
  box-shadow: 0 0 10px rgba(112,255,145,.65);
}

.led.orange {
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255,157,59,.55);
}

.radar-unit {
  display: grid;
  place-items: center;
}

.radar {
  position: relative;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(55,243,227,.32);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(55,243,227,.08), transparent 66%),
    #061012;
  box-shadow:
    inset 0 0 40px rgba(55,243,227,.06),
    0 0 30px rgba(55,243,227,.04);
  overflow: hidden;
}

.radar-ring,
.radar-cross {
  position: absolute;
  pointer-events: none;
}

.radar-ring {
  border: 1px solid rgba(55,243,227,.15);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}

.ring-1 { width: 70%; height: 70%; }
.ring-2 { width: 42%; height: 42%; }
.ring-3 { width: 16%; height: 16%; }

.radar-cross.h {
  left: 7%;
  right: 7%;
  top: 50%;
  height: 1px;
  background: rgba(55,243,227,.12);
}

.radar-cross.v {
  top: 7%;
  bottom: 7%;
  left: 50%;
  width: 1px;
  background: rgba(55,243,227,.12);
}

.radar-sweep {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48%;
  height: 48%;
  transform-origin: 0 0;
  background: linear-gradient(35deg, rgba(55,243,227,.17), transparent 58%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  animation: sweep 3.2s linear infinite;
}

.radar-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(55,243,227,.9);
  animation: ping 1.8s ease-in-out infinite;
}

.dot-1 { left: 30%; top: 34%; }
.dot-2 { right: 22%; top: 47%; animation-delay: .5s; }
.dot-3 { left: 46%; bottom: 22%; animation-delay: 1s; }

.radar-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(55,243,227,.4);
  font-family: "Press Start 2P", monospace;
  font-size: .72rem;
}

.radar-meta {
  display: flex;
  justify-content: space-between;
  width: 210px;
  margin-top: 8px;
  color: #52656b;
  font-size: .58rem;
  letter-spacing: .13em;
}

.radar-meta strong {
  color: var(--cyan);
}

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

.mode-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 26px 26px 0;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(160deg, rgba(255,255,255,.03), transparent 30%),
    #0a0f14;
  color: inherit;
  text-decoration: none;
  isolation: isolate;
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.mode-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .7;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,.016) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(255,255,255,.016) 50%, transparent 51%);
  background-size: 38px 38px;
}

.mode-card.academy {
  --accent: var(--cyan);
  --accent-soft: rgba(55,243,227,.12);
  --accent-border: rgba(55,243,227,.38);
}

.mode-card.games {
  --accent: var(--orange);
  --accent-soft: rgba(255,157,59,.12);
  --accent-border: rgba(255,157,59,.42);
}

.mode-card:hover,
.mode-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--accent-border);
  box-shadow: 0 26px 70px rgba(0,0,0,.45);
  outline: none;
}

.mode-glow {
  position: absolute;
  top: -35%;
  right: -15%;
  z-index: -1;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(115px);
  opacity: .055;
  transition: opacity .22s ease;
}

.mode-card:hover .mode-glow {
  opacity: .11;
}

.mode-number {
  position: absolute;
  right: 20px;
  bottom: 26px;
  z-index: -1;
  color: rgba(255,255,255,.035);
  font-family: "Press Start 2P", monospace;
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: 1;
}

.mode-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tiny-label {
  color: var(--accent);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.status-tag {
  padding: 7px 9px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.mode-icon {
  height: 145px;
  display: flex;
  align-items: center;
  margin-top: 14px;
}

.terminal-icon {
  position: relative;
  width: 154px;
  height: 104px;
  border: 2px solid var(--cyan);
  background:
    linear-gradient(rgba(55,243,227,.05), rgba(55,243,227,.01)),
    #071013;
  box-shadow:
    inset 0 0 34px rgba(55,243,227,.06),
    8px 8px 0 rgba(55,243,227,.07);
}

.terminal-icon::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -17px;
  height: 7px;
  background: #152126;
  border: 1px solid rgba(55,243,227,.22);
}

.terminal-icon span {
  position: absolute;
  left: 18px;
  top: 25px;
  color: var(--cyan);
  font-family: "Press Start 2P", monospace;
  font-size: 1.05rem;
  text-shadow: 0 0 10px rgba(55,243,227,.35);
}

.terminal-icon i {
  position: absolute;
  left: 18px;
  bottom: 21px;
  width: 52%;
  height: 4px;
  background: rgba(55,243,227,.28);
  box-shadow:
    0 -10px 0 rgba(55,243,227,.16),
    0 10px 0 rgba(55,243,227,.1);
}

.arcade-icon {
  width: 135px;
  transform: skewX(-2deg);
}

.arcade-screen {
  position: relative;
  display: block;
  width: 128px;
  height: 85px;
  border: 2px solid var(--orange);
  background: #160f08;
  box-shadow:
    inset 0 0 30px rgba(255,157,59,.06),
    8px 8px 0 rgba(255,157,59,.07);
  overflow: hidden;
}

.arcade-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 50%, rgba(255,157,59,.07) 50%);
  background-size: 100% 8px;
}

.px {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255,157,59,.3);
}

.p1 { left: 25px; top: 24px; }
.p2 { left: 44px; top: 35px; }
.p3 { right: 30px; top: 19px; }
.p4 { right: 45px; bottom: 18px; }

.arcade-base {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 128px;
  height: 30px;
  padding: 0 16px;
  border: 2px solid rgba(255,157,59,.7);
  border-top: 0;
  background: #1b120a;
}

.arcade-base i {
  position: relative;
  width: 3px;
  height: 15px;
  background: var(--orange);
}

.arcade-base i::after {
  content: "";
  position: absolute;
  left: -4px;
  top: -5px;
  width: 11px;
  height: 7px;
  background: var(--orange);
}

.arcade-base b {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: inset -2px -2px 0 rgba(0,0,0,.25);
}

.mode-copy h3 {
  margin: 12px 0 14px;
  color: #f4f6f7;
  font-size: clamp(2.15rem, 4.8vw, 4.45rem);
  line-height: .92;
  letter-spacing: -.065em;
}

.mode-card.games .mode-copy h3 {
  color: #fff4e6;
}

.mode-copy p {
  max-width: 560px;
  margin: 0;
  color: #8797a1;
  line-height: 1.65;
  font-size: .9rem;
}

.mode-data {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
  margin-top: 24px;
}

.mode-data div {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.015);
}

.mode-data span,
.mode-data strong {
  display: block;
}

.mode-data span {
  color: #53616b;
  font-size: .55rem;
  letter-spacing: .12em;
}

.mode-data strong {
  margin-top: 5px;
  color: #aeb9c0;
  font-size: .66rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.launch-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px -26px 0;
  padding: 17px 24px;
  border-top: 1px solid var(--accent-border);
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.launch-bar strong {
  font-size: 1.3rem;
  transition: transform .18s ease;
}

.mode-card:hover .launch-bar strong {
  transform: translateX(5px);
}

.hazard-strip {
  height: 10px;
  margin: 0 -26px;
  opacity: .55;
  background: repeating-linear-gradient(
    135deg,
    var(--accent) 0 10px,
    #10151a 10px 20px
  );
}

.lower-deck {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.deck-module {
  min-height: 104px;
  padding: 15px;
  border: 1px solid var(--line);
  background: rgba(8,12,16,.76);
}

.module-title {
  display: block;
  color: #5f6d77;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.key-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 15px;
  color: #83929b;
  font-size: .68rem;
}

kbd {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #38434b;
  border-bottom-width: 3px;
  background: #111820;
  color: #e2ebec;
  font: inherit;
  font-weight: 700;
}

.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 31px;
  margin-top: 13px;
}

.signal-bars i {
  width: 12px;
  background: var(--cyan);
  opacity: .75;
  animation: signal 1.4s ease-in-out infinite alternate;
}

.signal-bars i:nth-child(1){height:8px}
.signal-bars i:nth-child(2){height:14px;animation-delay:.1s}
.signal-bars i:nth-child(3){height:22px;animation-delay:.2s}
.signal-bars i:nth-child(4){height:30px;animation-delay:.3s}
.signal-bars i:nth-child(5){height:24px;animation-delay:.4s}
.signal-bars i:nth-child(6){height:16px;animation-delay:.5s}
.signal-bars i:nth-child(7){height:27px;animation-delay:.6s}
.signal-bars i:nth-child(8){height:20px;animation-delay:.7s}

.signal-text {
  display: block;
  margin-top: 7px;
  color: #73928e;
  font-size: .57rem;
  letter-spacing: .1em;
}

.footer-module strong {
  display: block;
  margin-top: 12px;
  color: #cfd9db;
  font-size: 1rem;
}

.footer-module > span:last-child {
  display: block;
  margin-top: 5px;
  color: #5e6a72;
  font-size: .6rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 2px 0;
  color: #45515a;
  font-size: .59rem;
  letter-spacing: .11em;
}

.transition {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(3,5,7,.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}

.transition.active {
  opacity: 1;
  visibility: visible;
}

.transition-box {
  width: min(440px, calc(100% - 36px));
  padding: 26px;
  border: 1px solid rgba(55,243,227,.35);
  background: #080d11;
  box-shadow: 0 0 55px rgba(55,243,227,.05);
}

.transition-kicker {
  color: #5c7275;
  font-size: .62rem;
  letter-spacing: .15em;
}

.transition-box h4 {
  margin: 12px 0 18px;
  color: var(--cyan);
  font-family: "Press Start 2P", monospace;
  font-size: .92rem;
  line-height: 1.5;
}

.loader-track {
  height: 7px;
  overflow: hidden;
  background: #11191d;
}

.loader-track i {
  display: block;
  width: 34%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), #89fff5);
  animation: loader .65s linear infinite;
}

.loader-code {
  margin-top: 11px;
  color: #4d6164;
  font-size: .62rem;
  letter-spacing: .1em;
}

@keyframes sweep {
  to { transform: rotate(360deg); }
}

@keyframes ping {
  50% { opacity: .32; transform: scale(.7); }
}

@keyframes signal {
  to { opacity: .28; }
}

@keyframes loader {
  from { transform: translateX(-100%); }
  to { transform: translateX(300%); }
}

@media (max-width: 980px) {
  .masthead {
    align-items: flex-start;
  }

  .brand-copy h1 {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .sys-cluster {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-console {
    grid-template-columns: 1fr 220px;
  }

  .radar,
  .radar-meta {
    width: 180px;
  }

  .radar {
    height: 180px;
  }
}

@media (max-width: 780px) {
  .masthead {
    flex-direction: column;
  }

  .sys-cluster {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-console {
    grid-template-columns: 1fr;
  }

  .radar-unit {
    display: none;
  }

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

  .lower-deck {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .command-deck {
    width: min(100% - 16px, 1380px);
    padding-top: 8px;
  }

  .masthead {
    padding: 12px;
  }

  .brand-chip {
    width: 50px;
    height: 50px;
  }

  .brand-chip strong {
    font-size: .72rem;
  }

  .brand-copy h1 {
    font-size: .8rem;
  }

  .overline,
  .subline {
    font-size: .5rem;
  }

  .sys-cluster {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .sys-readout,
  .clock {
    min-width: 0;
    padding: 8px;
  }

  .hero-console {
    padding: 24px 20px;
  }

  .hero-copy h2 {
    font-size: clamp(2.3rem, 15vw, 4rem);
  }

  .mode-card {
    min-height: 0;
    padding: 20px 20px 0;
  }

  .mode-copy h3 {
    font-size: clamp(2rem, 13vw, 3.25rem);
  }

  .mode-data {
    grid-template-columns: 1fr;
  }

  .launch-bar {
    margin-left: -20px;
    margin-right: -20px;
  }

  .hazard-strip {
    margin-left: -20px;
    margin-right: -20px;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}



/* =========================================================
   V3.1 — PIXEL TEXT LOGO
   ========================================================= */

.brand-block {
  display: block;
  min-width: 0;
}

.brand-copy {
  min-width: 0;
  width: 100%;
}

.brand-chip,
.chip-corner {
  display: none !important;
}

.pixel-logo {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0;
  width: max-content;
  max-width: 100%;
  margin: 8px 0 9px !important;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(1rem, 2.55vw, 2rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -.08em;
  white-space: nowrap !important;
  filter: drop-shadow(0 0 8px rgba(255,255,255,.03));
}

.pixel-logo .logo-main,
.pixel-logo .logo-dot,
.pixel-logo .logo-com {
  display: inline-block;
}

.pixel-logo .logo-main {
  color: #ffd152;
  text-shadow:
    0 3px 0 #c88d1b,
    0 6px 0 #8a5d0d,
    3px 0 0 rgba(255,224,107,.16);
}

.pixel-logo .logo-dot {
  margin: 0 .18em 0 .12em;
  color: #2cd6ee;
  text-shadow:
    0 3px 0 #1687a0,
    0 6px 0 #0b5265;
}

.pixel-logo .logo-com {
  color: #37dbff;
  text-shadow:
    0 3px 0 #178fae,
    0 6px 0 #0b566d,
    3px 0 0 rgba(92,229,255,.14);
}

.masthead {
  padding-left: 22px;
}

.overline {
  color: #6e7f88;
}

.subline {
  color: #557177;
}

@media (max-width: 1080px) {
  .pixel-logo {
    font-size: clamp(.86rem, 2.35vw, 1.45rem) !important;
  }
}

@media (max-width: 780px) {
  .pixel-logo {
    white-space: normal !important;
    flex-wrap: wrap;
    row-gap: 4px;
    font-size: clamp(.92rem, 5vw, 1.35rem) !important;
  }
}

@media (max-width: 520px) {
  .pixel-logo {
    font-size: clamp(.76rem, 5.7vw, 1.05rem) !important;
    letter-spacing: -.09em;
  }

  .pixel-logo .logo-dot {
    margin-left: .12em;
    margin-right: .12em;
  }
}



/* =========================================================
   V3.2 — READABLE PIXEL LOGO
   Meer ruimte tussen letters + subtielere 3D-schaduw
   ========================================================= */

.pixel-logo {
  font-size: clamp(.98rem, 2.35vw, 1.82rem) !important;
  letter-spacing: .035em !important;
  line-height: 1.22 !important;
}

.pixel-logo .logo-main {
  color: #ffd45a;
  text-shadow:
    0 2px 0 #c88d1b,
    0 4px 0 #80540b;
}

.pixel-logo .logo-dot {
  margin: 0 .24em 0 .18em;
  color: #39dcf4;
  text-shadow:
    0 2px 0 #1687a0,
    0 4px 0 #0b5265;
}

.pixel-logo .logo-com {
  color: #42ddff;
  text-shadow:
    0 2px 0 #178fae,
    0 4px 0 #0b566d;
}

@media (max-width: 1080px) {
  .pixel-logo {
    font-size: clamp(.88rem, 2.2vw, 1.4rem) !important;
    letter-spacing: .03em !important;
  }
}

@media (max-width: 780px) {
  .pixel-logo {
    font-size: clamp(.88rem, 4.6vw, 1.28rem) !important;
    letter-spacing: .025em !important;
  }
}

@media (max-width: 520px) {
  .pixel-logo {
    font-size: clamp(.7rem, 5vw, .98rem) !important;
    letter-spacing: .02em !important;
  }
}



/* =========================================================
   V3.3 — COPYRIGHT & DISCLAIMER
   ========================================================= */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 22px 2px 0;
  color: #45515a;
  font-size: .59rem;
  letter-spacing: .09em;
}

.copyright-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.copyright-block strong {
  color: #91a0a8;
  font-size: .67rem;
  letter-spacing: .08em;
}

.copyright-block span {
  color: #56636b;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.disclaimer-button {
  appearance: none;
  border: 1px solid rgba(55,243,227,.28);
  background:
    linear-gradient(180deg, rgba(55,243,227,.07), rgba(55,243,227,.015)),
    #080d11;
  color: #7fcfc7;
  padding: 9px 11px;
  font: inherit;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.disclaimer-button:hover,
.disclaimer-button:focus-visible {
  color: var(--cyan);
  border-color: rgba(55,243,227,.58);
  background:
    linear-gradient(180deg, rgba(55,243,227,.12), rgba(55,243,227,.03)),
    #080d11;
  outline: none;
}

.revision-label {
  color: #45515a;
  white-space: nowrap;
}

/* Legal modal */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}

.legal-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.legal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,4,6,.88);
  backdrop-filter: blur(8px);
}

.legal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(84vh, 760px);
  overflow: auto;
  border: 1px solid rgba(55,243,227,.34);
  background:
    linear-gradient(180deg, rgba(55,243,227,.035), transparent 18%),
    #090e12;
  box-shadow:
    0 30px 100px rgba(0,0,0,.65),
    0 0 45px rgba(55,243,227,.045);
}

.legal-panel::before,
.legal-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  pointer-events: none;
}

.legal-panel::before {
  top: 0;
  background: linear-gradient(90deg, var(--cyan), transparent 55%);
}

.legal-panel::after {
  bottom: 0;
  background: repeating-linear-gradient(
    135deg,
    var(--cyan) 0 8px,
    transparent 8px 16px
  );
  opacity: .3;
}

.legal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
}

.legal-kicker {
  display: block;
  color: #547377;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.legal-head h4 {
  margin: 8px 0 0;
  color: var(--cyan);
  font-family: "Press Start 2P", monospace;
  font-size: clamp(.8rem, 2vw, 1rem);
  line-height: 1.55;
}

.legal-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  background: #111820;
  color: #a8b5bb;
  font: inherit;
  font-size: 1.4rem;
  cursor: pointer;
}

.legal-close:hover,
.legal-close:focus-visible {
  color: #fff;
  border-color: rgba(55,243,227,.4);
  outline: none;
}

.legal-body {
  padding: 22px 24px;
}

.legal-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 11px 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(55,243,227,.14);
  background: rgba(55,243,227,.025);
  color: #6f8b8c;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.legal-status span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.legal-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(112,255,145,.65);
}

.legal-body p {
  margin: 0 0 16px;
  color: #94a3ab;
  font-size: .8rem;
  line-height: 1.75;
}

.legal-body strong {
  color: #dbe5e7;
}

.legal-signature {
  margin-top: 24px;
  padding: 16px;
  border-left: 3px solid var(--orange);
  background: rgba(255,157,59,.045);
}

.legal-signature span,
.legal-signature strong {
  display: block;
}

.legal-signature span {
  color: #8c7357;
  font-size: .57rem;
  letter-spacing: .12em;
}

.legal-signature strong {
  margin-top: 7px;
  color: var(--orange);
  font-family: "Press Start 2P", monospace;
  font-size: .73rem;
  letter-spacing: .04em;
}

.legal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--line);
  color: #4e5d64;
  font-size: .54rem;
  letter-spacing: .08em;
}

.legal-confirm {
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid rgba(55,243,227,.35);
  background: rgba(55,243,227,.07);
  color: var(--cyan);
  font: inherit;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
}

.legal-confirm:hover,
.legal-confirm:focus-visible {
  background: rgba(55,243,227,.13);
  outline: none;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .legal-modal {
    padding: 10px;
  }

  .legal-panel {
    max-height: 90vh;
  }

  .legal-head,
  .legal-body,
  .legal-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
