* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(
      circle at 68% 50%,
      rgba(0, 135, 205, 0.38) 0%,
      rgba(0, 42, 70, 0.28) 28%,
      rgba(0, 0, 0, 1) 70%
    ),
    #000000;
  color: #ffffff;
}

#webgl {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 135, 205, 0.25), #000 65%);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-label {
  color: rgb(142, 165, 87);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.loader-bar {
  margin-top: 16px;
  width: min(320px, 72vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.loader-bar span {
  display: block;
  width: 45%;
  height: 100%;
  background: rgb(142, 165, 87);
  animation: loading 1.1s ease-in-out infinite;
}

@keyframes loading {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(240%);
  }
}

.content {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  width: min(48vw, 720px);
  padding: clamp(28px, 4vw, 72px) 0 clamp(28px, 4vw, 72px) 6.5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.eyebrow {
  margin-bottom: clamp(36px, 5vw, 70px);
  color: #ffffff;
  font-size: clamp(13px, 1.2vw, 18px);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
}

.content::before {
  content: "";
  width: clamp(160px, 18vw, 280px);
  height: 1px;
  margin-bottom: clamp(36px, 5vw, 70px);
  background: rgb(142, 165, 87);
  box-shadow: 0 0 18px rgba(142, 165, 87, 0.8);
}

h1 {
  margin: 0 0 clamp(24px, 3vw, 44px);
  color: rgb(142, 165, 87);
  font-size: clamp(42px, 5.8vw, 92px);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.055em;
  text-shadow: 0 0 28px rgba(142, 165, 87, 0.28);
}

p {
  max-width: 520px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1.55;
}

.small {
  color: rgb(142, 165, 87);
}

.button {
  pointer-events: auto;
  width: fit-content;
  margin-top: clamp(20px, 2.5vw, 34px);
  padding: 14px 34px;
  border: 1px solid rgb(142, 165, 87);
  border-radius: 999px;
  color: rgb(142, 165, 87);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(142, 165, 87, 0.06);
  box-shadow: 0 0 22px rgba(142, 165, 87, 0.12);
}

.status {
  position: fixed;
  right: 42px;
  top: 50%;
  z-index: 3;
  color: rgb(142, 165, 87);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Tablet */
@media (max-width: 1024px) {
  .content {
    width: 56vw;
    padding-left: 5vw;
  }

  .status {
    right: 24px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  html,
  body {
    overflow: hidden;
  }

  .content {
    width: 100%;
    min-height: 100dvh;
    padding: 72px 24px 72px;
    justify-content: center;
    align-items: flex-start;
  }

  .content::before {
    width: 170px;
    margin-bottom: 30px;
  }

  .eyebrow {
    margin-bottom: 30px;
    font-size: 12px;
  }

  h1 {
    max-width: 520px;
    font-size: clamp(40px, 12vw, 64px);
  }

  p {
    max-width: 460px;
    font-size: 16px;
  }

  .button {
    margin-top: 20px;
    padding: 13px 26px;
    font-size: 12px;
  }

  .status {
    left: 24px;
    right: auto;
    top: auto;
    bottom: 22px;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 10px;
    letter-spacing: 0.14em;
    opacity: 0.9;
  }
}

/* Small mobile */
@media (max-width: 420px) {
  .content {
    padding: 56px 20px 64px;
  }

  .content::before {
    width: 140px;
    margin-bottom: 24px;
  }

  .eyebrow {
    margin-bottom: 24px;
  }

  h1 {
    font-size: clamp(36px, 11vw, 48px);
    margin-bottom: 22px;
  }

  p {
    font-size: 15px;
    line-height: 1.5;
  }

  .status {
    left: 20px;
    bottom: 18px;
  }
}

/* Very low screens */
@media (max-height: 680px) {
  .content {
    padding-top: 34px;
    padding-bottom: 52px;
  }

  .content::before {
    margin-bottom: 22px;
  }

  .eyebrow {
    margin-bottom: 22px;
  }

  h1 {
    margin-bottom: 20px;
  }

  p {
    margin-bottom: 14px;
  }

  .button {
    margin-top: 12px;
  }
}