.gate-intro {
  pointer-events: auto;
  transition: transform 1450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gate-intro .intro-content {
  flex-direction: column;
}

.gate-panel {
  position: absolute;
  top: calc(100% + 34px);
  left: 50%;
  width: min(320px, 76vw);
  display: grid;
  gap: 12px;
  transform: translateX(-50%);
  opacity: 0;
  animation: gatePanelIn 520ms ease forwards;
}

.gate-panel[hidden] {
  display: none;
}

.gate-label,
.gate-status {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: rgba(230, 235, 245, 0.62);
  font-size: 12px;
  letter-spacing: 2.4px;
  text-align: center;
  text-transform: uppercase;
}

.gate-input {
  height: 42px;
  border: 1px solid rgba(120, 220, 255, 0.34);
  border-radius: 999px;
  background: rgba(4, 10, 20, 0.54);
  color: rgba(235, 245, 255, 0.94);
  font: 600 18px/1 "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  letter-spacing: 5px;
  outline: none;
  padding: 0 20px;
  text-align: center;
  box-shadow:
    inset 0 0 18px rgba(120, 220, 255, 0.04),
    0 0 24px rgba(120, 220, 255, 0.06);
}

.gate-input:focus {
  border-color: rgba(120, 220, 255, 0.7);
  box-shadow:
    inset 0 0 18px rgba(120, 220, 255, 0.08),
    0 0 34px rgba(120, 220, 255, 0.13);
}

.gate-button {
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(120, 220, 255, 0.9);
  color: rgb(2, 7, 14);
  cursor: none;
  font: 750 12px/1 "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.gate-button:hover,
.gate-button:focus-visible {
  background: rgba(170, 235, 255, 0.96);
}

.gate-status {
  min-height: 16px;
  color: rgba(255, 105, 105, 0.84);
  letter-spacing: 1.6px;
}

.gate-exiting .gate-panel {
  opacity: 0;
  transition: opacity 180ms ease;
}

.gate-exiting .gate-intro {
  transform: translateY(-40vh);
}

@keyframes gatePanelIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
