:root {
  --ink: #0a0a0a;
  --paper: #00f5c8;
  --white: #ffffff;
  --hot: #ff3264;
  --footer-h: 103px;
  --mono: "Consolas", "Lucida Console", "Cascadia Mono", "Cousine", "DejaVu Sans Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  background: var(--ink);
}

body {
  font-family: var(--mono);
  color: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.holding-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ink);
}

@supports (height: 100dvh) {
  .holding-page {
    min-height: 100dvh;
  }
}

.stage {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

#terminal {
  position: absolute;
  inset: 0;
  padding: clamp(16px, 3vw, 40px);
  font-size: clamp(11px, 1.1vw, 14px);
  line-height: 1.6;
  color: var(--paper);
  overflow: hidden;
  opacity: 0.75;
  z-index: 1;
  white-space: pre-wrap;
  word-break: break-all;
  pointer-events: none;
}

#logo-wrap {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6%;
  pointer-events: none;
}

#logo-img {
  width: min(420px, 60vw);
  height: auto;
  display: block;
  transition: transform 120ms ease;
}

#cursor {
  position: absolute;
  left: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 40px);
  z-index: 20;
  font-size: clamp(11px, 1vw, 13px);
  color: var(--paper);
  opacity: 0.6;
}

#cursor-blink {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--paper);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}

#status {
  position: absolute;
  top: clamp(12px, 2vw, 20px);
  right: clamp(14px, 2.5vw, 30px);
  z-index: 20;
  font-size: 11px;
  color: rgba(0, 245, 200, 0.5);
  text-align: right;
}

#scanbar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(transparent, rgba(0, 245, 200, 0.04), transparent);
  pointer-events: none;
  z-index: 8;
  animation: scan-down 6s linear infinite;
}

.glitch-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(0, 245, 200, 0.4);
  pointer-events: none;
  z-index: 9;
  opacity: 0;
}

#noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 15;
  opacity: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.4'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.stage::before,
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stage::before {
  z-index: 10;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.08) 2px, rgba(0, 0, 0, 0.08) 4px);
}

.stage::after {
  z-index: 10;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes scan-down {
  0% {
    top: -60px;
  }

  100% {
    top: 100%;
  }
}

.footer {
  position: relative;
  height: var(--footer-h);
  background: #0b0b0b;
  color: var(--paper);
  border-top: 1px solid rgba(0, 245, 200, 0.35);
  z-index: 30;
  font-family: var(--mono);
  font-weight: 500;
}

.footer-copy {
  position: absolute;
  left: 47px;
  top: 18px;
  max-width: calc(100% - 440px);
  font-size: clamp(9px, 0.7vw, 13.5px);
  line-height: 1.28;
  letter-spacing: 0;
}

.footer-copy p,
.footer-copy nav {
  margin: 0;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 9px;
  margin-top: 20px !important;
}

.mobile-address {
  display: none;
}

.socials {
  position: absolute;
  right: 44px;
  top: 28px;
  display: flex;
  align-items: center;
  gap: 23px;
}

.social {
  display: block;
  width: 40px;
  height: 40px;
  color: var(--paper);
}

.social svg {
  width: 100%;
  height: 100%;
  display: block;
}

.social svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.social--youtube svg rect,
.social--youtube svg path,
.social--tiktok svg path {
  fill: currentColor;
  stroke: none;
}

.social--youtube svg path {
  fill: #0b0b0b;
}

@media screen and (min-width: 701px) and (max-width: 1199px) {
  :root {
    --footer-h: 104px;
  }

  #logo-img {
    width: min(340px, 56vw);
  }

  .footer-copy {
    left: 22px;
    top: 10px;
    max-width: calc(100% - 295px);
    font-size: 9.6px;
    line-height: 1.24;
  }

  .legal {
    gap: 0 5px;
    margin-top: 16px !important;
  }

  .socials {
    right: 22px;
    top: 33px;
    gap: 14px;
  }

  .social {
    width: 32px;
    height: 32px;
  }
}

@media screen and (max-width: 700px) {
  :root {
    --footer-h: 226px;
  }

  #logo-img {
    width: min(260px, 66vw);
  }

  #terminal {
    font-size: 11px;
    line-height: 1.5;
    padding: 16px;
    opacity: 0.7;
  }

  #status {
    top: 10px;
    right: 10px;
    font-size: 10px;
  }

  #cursor {
    left: 10px;
    bottom: 10px;
    font-size: 10px;
  }

  .footer-copy {
    left: 18px;
    top: 16px;
    right: 16px;
    max-width: none;
    font-size: 10.2px;
    line-height: 1.36;
  }

  .desktop-address {
    display: none;
  }

  .mobile-address {
    display: inline;
  }

  .legal {
    display: block;
    margin-top: 8px !important;
  }

  .legal a,
  .legal span {
    display: inline;
  }

  .socials {
    left: 18px;
    right: auto;
    top: 184px;
    gap: 17px;
  }

  .social {
    width: 30px;
    height: 30px;
  }
}

@media screen and (max-width: 374px) {
  .footer-copy {
    font-size: 9.4px;
  }

  #terminal {
    font-size: 10px;
  }

  #logo-img {
    width: 60vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  #scanbar,
  #cursor-blink {
    animation: none;
  }

  #logo-img,
  #terminal,
  .glitch-line,
  #noise {
    transition: none;
  }
}
