@font-face {
  font-family: "Splatink";
  src: local("Splatink"), local("Splatink Regular");
  font-display: swap;
}

@font-face {
  font-family: "Giesta Mond";
  src: local("Giesta Mond"), local("GiestaMond"), local("Giesta Mond Regular");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --purple: #942193;
  --blue: #5ce1e6;
  --blurple: #6a74ff;
  --cream: #ddcbb6;
  --black: #08070d;
  --panel: #11101a;
  --pointer-x: 0px;
  --pointer-y: 0px;
  font-family: "Giesta Mond", "Space Mono", monospace;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background:
    linear-gradient(rgba(106, 116, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 116, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 76% 35%, rgba(148, 33, 147, 0.2), transparent 26rem),
    var(--black);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

body::before,
body::after {
  position: fixed;
  z-index: 20;
  pointer-events: none;
  content: "";
}

body::before {
  inset: 13px;
  border: 1px solid rgba(221, 203, 182, 0.15);
  box-shadow: inset 0 0 0 3px var(--black), inset 0 0 0 4px rgba(106, 116, 255, 0.22);
}

body::after {
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 19;
  pointer-events: none;
  opacity: 0.18;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, 0.55) 3px 4px);
}

.ambient-glow {
  position: fixed;
  top: 42%;
  right: 8%;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  opacity: 0.2;
  background: var(--purple);
  filter: blur(130px);
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 34px clamp(32px, 5vw, 78px) 20px;
  animation: drop-in 700ms ease-out both;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--cream);
  text-decoration: none;
}

.brand-icon {
  display: grid;
  width: 57px;
  height: 46px;
  border: 2px solid var(--cream);
  background: var(--purple);
  box-shadow: 4px 4px 0 var(--blue);
  place-items: center;
  font-family: "Splatink", "Archivo Black", sans-serif;
  font-size: 8px;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-align: center;
  transform: rotate(-3deg);
}

.brand-copy {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--blue);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.signal {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid rgba(92, 225, 230, 0.4);
  color: var(--blue);
  background: rgba(92, 225, 230, 0.05);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.signal-light {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 9px var(--blue);
  animation: signal-pulse 1.6s steps(2, end) infinite;
}

main {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: calc(100svh - 196px);
  place-items: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.7fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
  width: min(1320px, 100%);
  padding: 30px clamp(32px, 7vw, 112px) 70px;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.kicker {
  display: flex;
  justify-content: space-between;
  width: min(100%, 610px);
  margin: 0 0 clamp(28px, 5vh, 55px);
  color: var(--blue);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: reveal 650ms 150ms both;
}

.kicker span:first-child::before {
  display: inline-block;
  width: 31px;
  height: 6px;
  margin-right: 10px;
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  content: "";
}

h1 {
  margin: 0;
  font-family: "Splatink", "Archivo Black", Impact, sans-serif;
  font-size: clamp(76px, 10.4vw, 166px);
  font-weight: 900;
  line-height: 0.66;
  letter-spacing: -0.09em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

h1 span {
  position: relative;
  display: block;
  width: max-content;
  animation: title-in 850ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1 span::before,
h1 span::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: attr(data-text);
}

.title-code {
  color: var(--cream);
  -webkit-text-stroke: 1px var(--cream);
}

.title-code::before {
  color: var(--blurple);
  transform: translate(7px, 7px);
}

.title-code::after {
  color: transparent;
  -webkit-text-stroke: 1px var(--blue);
  transform: translate(12px, 12px);
}

.title-purple {
  z-index: 2;
  margin-top: 0.34em;
  margin-left: 0.18em;
  color: var(--purple);
  -webkit-text-stroke: 2px var(--cream);
  animation-delay: 90ms;
}

.title-purple::before {
  color: var(--blue);
  -webkit-text-stroke: 2px var(--blue);
  transform: translate(8px, 8px);
}

.title-purple::after {
  color: transparent;
  -webkit-text-stroke: 2px var(--blurple);
  transform: translate(14px, 14px);
}

.announcement {
  display: flex;
  gap: 17px;
  align-items: flex-start;
  width: min(450px, 88%);
  margin: clamp(48px, 8vh, 82px) 0 0 8px;
  padding-top: 15px;
  border-top: 1px solid rgba(221, 203, 182, 0.25);
  animation: reveal 700ms 500ms both;
}

.announcement-arrow {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: -0.25em;
}

.announcement p {
  margin: 0;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.announcement .announcement-sub {
  margin-top: 7px;
  color: rgba(221, 203, 182, 0.54);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.terminal-wrap {
  position: relative;
  width: min(390px, 100%);
  transform: translate(var(--pointer-x), var(--pointer-y)) rotate(2.5deg);
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: terminal-in 900ms 250ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.terminal-shadow {
  position: absolute;
  inset: 14% -9% -7% 9%;
  z-index: -1;
  border: 2px solid var(--blurple);
  background: repeating-linear-gradient(135deg, var(--purple) 0 2px, transparent 2px 9px);
}

.terminal {
  position: relative;
  border: 2px solid var(--cream);
  background: var(--panel);
  box-shadow: 9px 9px 0 var(--purple), 13px 13px 0 var(--blue);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding: 0 13px;
  border-bottom: 2px solid var(--cream);
  color: var(--cream);
  background: var(--purple);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.terminal-lights {
  display: flex;
  gap: 5px;
}

.terminal-lights i {
  width: 6px;
  height: 6px;
  border: 1px solid var(--cream);
  border-radius: 50%;
  background: var(--blue);
}

.terminal-lights i:nth-child(2) {
  background: var(--blurple);
}

.terminal-lights i:nth-child(3) {
  background: var(--purple);
}

.terminal-screen {
  position: relative;
  min-height: 360px;
  margin: 20px;
  overflow: hidden;
  border: 2px solid var(--blurple);
  border-radius: 20px 20px 28px 28px / 14px 14px 32px 32px;
  padding: 24px 25px 20px;
  color: var(--blue);
  background:
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(92, 225, 230, 0.035) 4px 5px),
    radial-gradient(circle at center, #17182b 0, #080912 80%);
  box-shadow: inset 0 0 35px rgba(106, 116, 255, 0.22), 0 0 18px rgba(92, 225, 230, 0.1);
}

.screen-glare {
  position: absolute;
  top: -40%;
  left: -40%;
  width: 65%;
  height: 150%;
  background: linear-gradient(90deg, transparent, rgba(221, 203, 182, 0.05), transparent);
  transform: rotate(24deg);
  animation: glare 6s 1s infinite;
}

.terminal-label {
  margin: 0;
  color: rgba(92, 225, 230, 0.6);
  font-size: 7px;
  letter-spacing: 0.22em;
  text-align: center;
}

.pixel-mark {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  justify-content: center;
  margin: 27px 0 29px;
  font-family: "Splatink", "Archivo Black", sans-serif;
  font-size: clamp(35px, 4vw, 48px);
  font-weight: 900;
  line-height: 0.7;
  letter-spacing: -0.08em;
  filter: drop-shadow(5px 4px 0 var(--purple));
}

.pixel-mark span:last-child {
  color: var(--cream);
  font-size: 0.86em;
  transform: translateX(8px);
}

.boot-copy {
  font-size: 8px;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.boot-copy p {
  margin: 0;
}

.boot-copy strong {
  color: var(--cream);
  font-weight: 400;
}

.cursor {
  color: var(--cream);
  animation: blink 800ms steps(1, end) infinite;
}

.progress-track {
  height: 10px;
  margin-top: 22px;
  border: 1px solid var(--blue);
  padding: 2px;
}

.progress-track span {
  display: block;
  width: 74%;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--blue) 0 7px, transparent 7px 10px);
}

.progress-value {
  margin: 7px 0 0;
  color: rgba(92, 225, 230, 0.62);
  font-size: 7px;
  letter-spacing: 0.14em;
  text-align: right;
}

.terminal-base {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: flex-end;
  height: 26px;
  padding-right: 17px;
  border-top: 1px solid rgba(221, 203, 182, 0.28);
}

.terminal-base span {
  width: 3px;
  height: 3px;
  background: var(--cream);
}

.terminal-caption {
  margin: 22px 0 0;
  color: rgba(221, 203, 182, 0.52);
  font-size: 7px;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

footer {
  position: relative;
  z-index: 10;
}

.ticker {
  width: 100%;
  overflow: hidden;
  border-top: 2px solid var(--cream);
  border-bottom: 2px solid var(--cream);
  color: var(--black);
  background: var(--blue);
  transform: rotate(-0.55deg) scale(1.01);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 25s linear infinite;
  will-change: transform;
}

.ticker-group {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-around;
  min-width: max(100vw, 760px);
  padding: 9px 0;
}

.ticker span {
  padding: 0 24px;
  font-family: "Splatink", "Archivo Black", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.ticker i {
  font-style: normal;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 21px clamp(32px, 5vw, 78px) 32px;
  color: rgba(221, 203, 182, 0.45);
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes title-in {
  from { opacity: 0; transform: translate(-30px, 25px) skewX(-8deg); }
  to { opacity: 1; transform: translate(0) skewX(0); }
}

@keyframes terminal-in {
  from { opacity: 0; transform: translate(45px, 25px) rotate(8deg); }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(14px); }
}

@keyframes drop-in {
  from { opacity: 0; transform: translateY(-12px); }
}

@keyframes signal-pulse {
  50% { opacity: 0.25; }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes glare {
  0%, 72% { transform: translateX(0) rotate(24deg); }
  100% { transform: translateX(280%) rotate(24deg); }
}

@keyframes ticker {
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 80px;
    padding-top: 80px;
    padding-bottom: 120px;
  }

  .hero-copy {
    width: min(680px, 100%);
  }

  h1 {
    font-size: clamp(82px, 17vw, 145px);
  }

  .terminal-wrap {
    justify-self: center;
    width: min(430px, 88%);
  }

  .coordinates {
    display: none;
  }
}

@media (max-width: 560px) {
  body::before {
    inset: 7px;
  }

  .site-header {
    padding: 25px 24px 15px;
  }

  .signal {
    border: 0;
    padding-right: 0;
    font-size: 0;
  }

  .hero {
    gap: 67px;
    padding: 70px 24px 95px;
  }

  .kicker {
    margin-bottom: 42px;
  }

  .kicker span:last-child {
    display: none;
  }

  h1 {
    font-size: clamp(67px, 21.5vw, 104px);
    line-height: 0.7;
  }

  .title-purple {
    margin-top: 0.38em;
  }

  .announcement {
    width: 100%;
    margin-top: 61px;
  }

  .terminal-wrap {
    width: calc(100% - 24px);
  }

  .terminal-screen {
    min-height: 330px;
    margin: 14px;
    padding: 22px 18px 18px;
  }

  .pixel-mark {
    margin: 25px 0;
    font-size: 39px;
  }

  .footer-meta {
    padding: 19px 24px 30px;
  }

  .footer-meta span:last-child {
    margin-left: auto;
    text-align: right;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  .hero {
    padding-top: 10px;
    padding-bottom: 42px;
  }

  .kicker {
    margin-bottom: 36px;
  }

  .announcement {
    margin-top: 60px;
  }

  .terminal-screen {
    min-height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .terminal-wrap {
    transition: none;
  }
}
