@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Press+Start+2P&display=swap");

:root {
  --bg-black: #030507;
  --text-white: #f4f7f8;
  --text-muted: #b7c2c9;
  --cyan: #00d9ff;
  --cyan-dark: #0077aa;
  --crt-green: #26ff66;
  --deep-navy: #06111d;
  --panel-blue: rgba(0, 217, 255, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg-black);
  color: var(--text-white);
  font-family: "IBM Plex Mono", "JetBrains Mono", monospace;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.coming-soon-page {
  min-height: 100vh;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  padding: 24px 42px 28px;
  overflow: hidden;
  background-color: var(--bg-black);
  background-image: url("assets/hero-desktop.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  z-index: -1;
  background:
    radial-gradient(circle at 72% 42%, rgba(0, 180, 120, 0.08), transparent 35%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.44));
}

.hero::after {
  z-index: -1;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0,
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.18;
}

.top-header,
.coming-title,
.hero-content,
.footer-note {
  position: absolute;
  z-index: 1;
}

.top-header {
  top: 25px;
  left: 50%;
  display: grid;
  width: min(920px, calc(100vw - 48px));
  grid-template-columns: minmax(80px, 1fr) auto minmax(80px, 1fr);
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.wordmark {
  color: var(--text-white);
  font-family: "Press Start 2P", monospace;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  text-shadow:
    0 0 7px rgba(244, 247, 248, 0.7),
    0 0 14px rgba(0, 217, 255, 0.32);
  white-space: nowrap;
}

.rainbow {
  width: 100%;
  height: 17px;
  object-fit: fill;
  filter: saturate(1.18) drop-shadow(0 0 5px rgba(0, 217, 255, 0.28));
}

.rainbow-left {
  transform: scaleX(-1);
}

.coming-title {
  top: 74px;
  left: 50%;
  width: min(900px, calc(100vw - 48px));
  margin: 0;
  transform: translateX(-50%);
  color: var(--text-white);
  font-family: "Press Start 2P", monospace;
  font-size: 55px;
  line-height: 1.08;
  text-align: center;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.7),
    0 0 18px rgba(255, 255, 255, 0.25),
    5px 5px 0 rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
}

.hero-content {
  top: 242px;
  left: max(42px, calc((100vw - 1160px) / 2));
  width: min(560px, calc(100vw - 84px));
  color: var(--text-white);
}

.hero-content::before {
  position: absolute;
  inset: -36px -70px -46px -46px;
  z-index: -1;
  content: "";
  background:
    radial-gradient(ellipse at 34% 42%, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.42) 45%, transparent 78%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.18) 72%, transparent);
  pointer-events: none;
}

.hero-content h2 {
  max-width: 520px;
  margin: 0 0 16px;
  font-family: "IBM Plex Mono", "JetBrains Mono", monospace;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.75);
}

.hero-content p {
  max-width: 535px;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.84);
}

.hero-content .highlight {
  margin-top: 16px;
  color: var(--cyan);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.55);
}

.notify-form {
  display: flex;
  width: min(500px, 100%);
  margin-top: 21px;
  border: 1px solid rgba(111, 240, 255, 0.82);
  border-radius: 3px;
  background: rgba(3, 10, 15, 0.8);
  box-shadow:
    0 0 15px rgba(0, 217, 255, 0.27),
    inset 0 0 12px rgba(0, 217, 255, 0.14);
}

.notify-form input {
  min-width: 0;
  flex: 1 1 auto;
  height: 48px;
  padding: 0 18px;
  border: 0;
  outline: 0;
  background: rgba(0, 0, 0, 0.42);
  color: var(--text-white);
  font-size: 14px;
}

.notify-form input::placeholder {
  color: rgba(244, 247, 248, 0.62);
}

.notify-form button {
  flex: 0 0 auto;
  min-width: 146px;
  height: 48px;
  padding: 0 21px;
  border: 1px solid #6ff0ff;
  border-width: 0 0 0 1px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, #20dfff, #008dcc);
  box-shadow:
    0 0 12px rgba(0, 217, 255, 0.6),
    inset 0 0 8px rgba(255, 255, 255, 0.35);
  color: #001018;
  cursor: pointer;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.notify-form button:hover,
.notify-form button:focus-visible {
  background: linear-gradient(180deg, #69efff, #00a8ea);
}

.notify-form button:focus-visible,
.learn-more:focus-visible,
.notify-form input:focus-visible {
  outline: 2px solid var(--crt-green);
  outline-offset: 3px;
}

.hero-content .form-message {
  min-height: 24px;
  margin-top: 10px;
  color: var(--crt-green);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 0 10px rgba(38, 255, 102, 0.55);
}

.learn-more {
  display: inline-flex;
  align-items: center;
  margin-top: 3px;
  color: var(--cyan);
  font-family: "IBM Plex Mono", "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.46);
}

.learn-more::after {
  width: 9px;
  height: 9px;
  margin-left: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.learn-more:hover {
  color: var(--text-white);
}

.details-anchor {
  position: absolute;
  top: -120px;
}

.footer-note {
  bottom: 22px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(700px, calc(100vw - 48px));
  gap: 12px;
  transform: translateX(-50%);
  color: rgba(244, 247, 248, 0.78);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.footer-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(38, 255, 102, 0.7));
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1120px) {
  .hero {
    padding-inline: 30px;
    background-position: 60% center;
  }

  .coming-title {
    top: 78px;
    font-size: 42px;
  }

  .hero-content {
    top: 220px;
    left: 30px;
    width: min(500px, calc(100vw - 60px));
  }

  .hero-content h2 {
    font-size: 28px;
  }
}

@media (max-width: 760px) {
  .hero {
    display: block;
    min-height: 100svh;
    padding: 20px 20px 24px;
    background-image: url("assets/hero-mobile.png");
    background-position: center center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.72) 43%, rgba(0, 0, 0, 0.48) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.4));
  }

  .top-header,
  .coming-title,
  .hero-content,
  .footer-note {
    position: relative;
    inset: auto;
    transform: none;
  }

  .top-header {
    left: auto;
    width: 100%;
    grid-template-columns: minmax(42px, 1fr) auto minmax(42px, 1fr);
    gap: 10px;
  }

  .wordmark {
    font-size: 9px;
  }

  .rainbow {
    height: 12px;
  }

  .coming-title {
    left: auto;
    width: 100%;
    margin-top: 28px;
    font-size: 30px;
    line-height: 1.18;
  }

  .hero-content {
    left: auto;
    width: 100%;
    max-width: 520px;
    margin-top: 32px;
  }

  .hero-content h2 {
    max-width: 390px;
    font-size: 23px;
    line-height: 1.22;
  }

  .hero-content p {
    max-width: 390px;
    font-size: 14px;
    line-height: 1.62;
  }

  .notify-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 390px;
    border-radius: 4px;
  }

  .notify-form input,
  .notify-form button {
    width: 100%;
    height: 48px;
  }

  .notify-form button {
    border-width: 1px 0 0;
    border-radius: 0 0 3px 3px;
  }

  .form-message {
    max-width: 390px;
    font-size: 12px;
  }

  .learn-more {
    font-size: 13px;
  }

  .footer-note {
    width: min(100%, 390px);
    margin-top: 36px;
    margin-right: auto;
    margin-left: auto;
    justify-content: flex-start;
    font-size: 12px;
    text-align: left;
  }

  .footer-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 430px) {
  .hero {
    padding-inline: 16px;
  }

  .top-header {
    grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
    gap: 7px;
  }

  .wordmark {
    font-size: 8px;
  }

  .coming-title {
    margin-top: 26px;
    font-size: 24px;
  }

  .hero-content {
    margin-top: 40px;
  }

  .hero-content h2 {
    font-size: 19px;
  }

  .hero-content p {
    font-size: 13px;
  }

  .notify-form input {
    padding-inline: 13px;
    font-size: 12px;
  }

  .notify-form button {
    font-size: 10px;
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .coming-title {
    top: 64px;
    font-size: 42px;
  }

  .hero-content {
    top: 178px;
  }

  .hero-content h2 {
    font-size: 27px;
  }

  .hero-content p {
    font-size: 14px;
    line-height: 1.58;
  }

  .notify-form {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .coming-title,
  .wordmark,
  .footer-icon {
    animation: crt-pulse 4.8s ease-in-out infinite;
  }
}

@keyframes crt-pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.9;
  }
}
