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

body {
  position: relative;
  isolation: isolate;
  background-color: #17174b;
  background-image: url('/img/bg-small-0.3.png');
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  min-height: 100vh;
  overflow-x: hidden;
}

#split {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  gap: 100px;
  padding: 2rem 4%;
  position: relative;
  z-index: 1;
}

#left,
#right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#center {
  text-align: center;
}

#logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 1rem auto;
}

#logos .logo {
  display: block;
  max-width: 400px;
  width: 100%;
  height: auto;
}

h1 {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 96px;
  color: #aafb45;
  text-shadow:
    3px 3px 0px #7b4ecf,
    5px 5px 6px rgba(90, 50, 175, 0.55);
  letter-spacing: 0px;
}

p {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 3.5vw, 54px);
  white-space: nowrap;
  color: #aafb45;
  text-shadow:
    3px 3px 0px #7b4ecf,
    5px 5px 6px rgba(90, 50, 175, 0.55);
  letter-spacing: 0px;
}

#hero-pilot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(253, 0, 105, 0.85);
  padding: 18px 24px 20px;
  border-radius: 6px;
  width: 460px;
  max-width: 100%;
}

#hero-pilot h2 {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 28px);
  color: #fff;
  text-shadow:
    2px 2px 0px #17174b,
    3px 3px 4px rgba(23, 23, 75, 0.5);
  margin-bottom: 10px;
  text-align: center;
}

.pilot-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 400px;
}

.pilot-form input,
.pilot-form textarea {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 13px;
  padding: 7px 9px;
  line-height: 1.3;
  border: none;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #17174b;
  resize: none;
}

.pilot-form button {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  line-height: 1.3;
  border: none;
  border-radius: 4px;
  background-color: #17174b;
  color: #aafb45;
  cursor: pointer;
}

.pilot-form button:hover {
  background-color: #aafb45;
  color: #17174b;
}

.form-status {
  min-height: 1.2em;
  margin: 0.5rem 0 0;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 12px;
  line-height: 1.3;
  color: #ffffff;
  text-align: center;
}

.form-status.is-success {
  color: #aafb45;
}

.form-status.is-error {
  color: #ffb3b3;
}

#bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 15px;
  background-color: rgba(23, 23, 75, 0.85);
  border-radius: 12px;
  z-index: 2;
}

#bottom-logo {
  height: 32px;
  width: auto;
}

#bottom-msg {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 600;
  font-size: clamp(12px, 1.4vw, 18px);
  color: #aafb45;
  text-shadow:
    1px 1px 0px #7b4ecf,
    2px 2px 4px rgba(90, 50, 175, 0.4);
}

#bottom-msg a {
  color: #ff4d8a;
  text-decoration: none;
}

#bottom-msg a:hover {
  color: #9b6dff;
}

#bottom-msg {
  text-align: center;
}

.mobile-break {
  display: none;
}

.footer-line {
  white-space: nowrap;
}

@media (max-width: 768px) {
  h1 {
    text-shadow:
      1.5px 1.5px 0px #7b4ecf,
      2.5px 2.5px 3px rgba(90, 50, 175, 0.55);
  }

  #bottom-bar {
    width: min(88vw, 380px);
    gap: 6px;
    padding-inline: 18px;
  }

  .mobile-break {
    display: block;
  }
}

@media (orientation: portrait) {
  body {
    display: flex;
    flex-direction: column;
  }

  #split {
    flex-direction: column;
    flex: 1 0 auto;
    gap: 2rem;
    min-height: auto;
  }

  #left,
  #right {
    flex: 0 0 auto;
    width: 100%;
  }

  p {
    font-size: clamp(16px, 7.5vw, 54px);
  }

  #bottom-bar {
    position: static;
    transform: none;
    margin: 0 auto 15px;
  }

  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    pointer-events: none;
    z-index: 0;
    background-image:
      repeating-linear-gradient(
        to bottom,
        rgba(170, 251, 69, 0.22) 0 1px,
        transparent 1px 22px
      ),
      repeating-linear-gradient(
        to right,
        rgba(170, 251, 69, 0.22) 0 1px,
        transparent 1px 22px
      );
    background-position: top left;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 92%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 92%);
  }
}

@media (orientation: landscape) {
  body::before {
    content: none;
  }
}
