@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "IBM Plex Mono", monospace;
  color: #ffffff;
  background: #000000;
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__bar {
  width: min(320px, 70vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.preloader__progress {
  width: 0;
  height: 100%;
  background: #ffffff;
  transition: width 120ms linear;
}

.background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("../assets/images/cover.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  animation: backgroundZoom 26s ease-in-out infinite;
  will-change: transform;
}

.hero {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px;
}

.hero__content {
  display: inline-block;
}

h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.015em;
}

p {
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tagline span {
  display: inline-block;
  margin: 0 0.14em;
}

.coming-soon {
  margin-top: 12px;
  color: #00ff66;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-shadow: 0 0 6px rgba(0, 255, 102, 0.65);
}

.terminal-cursor {
  margin-left: 0.3em;
  animation: cursorBlink 900ms steps(1, end) infinite;
}

.social-links {
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 13px;
}

.social-link {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex: 0 0 auto;
}

.social-link svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer {
  position: fixed;
  left: 40px;
  bottom: 40px;
  z-index: 10;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  white-space: nowrap;
}

@keyframes backgroundZoom {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.065);
  }
}

@keyframes cursorBlink {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 25px 20px;
  }

  h1 {
    font-size: 1.7rem;
    letter-spacing: 0.01em;
  }

  p {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .tagline span {
    margin: 0 0.1em;
  }

  .coming-soon {
    font-size: 0.56rem;
    letter-spacing: 0.15em;
  }

  .social-links {
    top: 25px;
    right: 20px;
    gap: 11px;
  }

  .social-link,
  .social-link svg {
    width: 16px;
    height: 16px;
  }

  .footer {
    left: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .footer p {
    font-size: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .background,
  .terminal-cursor {
    animation: none;
  }
}