/* Multi-step registration — Lurking.Me theme (turquoise / void), full-width immersive panel */

@keyframes reg-onboard-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reg-onboard {
  --reg-accent: #2dd4bf;
  --reg-accent-soft: rgba(45, 212, 191, 0.14);
  --reg-accent-ring: rgba(45, 212, 191, 0.12);
  --reg-shell: linear-gradient(165deg, rgba(22, 22, 26, 0.97) 0%, rgba(8, 8, 10, 0.98) 55%);
  --reg-edge: rgba(94, 234, 212, 0.14);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-top: 0.75rem;
}

.reg-onboard__shell {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 1.15rem;
  border: 1px solid var(--reg-edge);
  background: var(--reg-shell);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(45, 212, 191, 0.05);
  overflow: hidden;
  min-height: clamp(24rem, calc(100dvh - 15rem), 44rem);
  max-height: min(46rem, calc(100dvh - 7rem));
}

@media (max-width: 640px) {
  .reg-onboard__shell {
    min-height: clamp(22rem, calc(100dvh - 13rem), 36rem);
    max-height: min(38rem, calc(100dvh - 6rem));
  }
}

.reg-onboard__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2.5vw, 1.35rem) clamp(1rem, 3vw, 1.75rem) 0.65rem;
  min-height: 0;
  overflow: hidden;
}

.reg-onboard__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  animation: reg-onboard-fade-up 0.45s ease-out both;
}

.reg-onboard__brand-mark {
  flex-shrink: 0;
  line-height: 0;
}

.reg-onboard__brand-img {
  display: block;
  width: 2.65rem;
  height: 2.65rem;
  object-fit: contain;
}

@media (max-width: 460px) {
  .reg-onboard__brand-img {
    width: 2.35rem;
    height: 2.35rem;
  }
}

@media (min-width: 640px) {
  .reg-onboard__brand-img {
    width: 3rem;
    height: 3rem;
  }
}

.reg-onboard__brand-word {
  font-family: var(--display, "Syne", system-ui, sans-serif);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--paper, #f4f4f5);
}

.reg-onboard__brand-word em {
  font-style: normal;
  color: var(--red-hot, #2dd4bf);
}

.reg-onboard__panels {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 0.75rem;
}

.reg-onboard__step {
  display: none;
  flex-direction: column;
  height: 100%;
  min-height: 15rem;
  animation: reg-onboard-fade-up 0.4s ease-out both;
}

.reg-onboard__step.is-active {
  display: flex;
}

.reg-onboard__step--welcome {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 0.25rem 1rem;
}

.reg-onboard__welcome-text {
  margin: 0.75rem 0 0;
  max-width: min(28rem, 100%);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.55;
  font-weight: 500;
  color: #d4d4d8;
}

@media (max-width: 460px) {
  .reg-onboard__welcome-text {
    font-size: 0.92rem;
    line-height: 1.4;
  }
}

.reg-onboard__welcome-text strong {
  color: var(--paper, #f4f4f5);
  font-weight: 700;
}

.reg-onboard__emoji-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(8rem, 18vh, 12rem);
  margin-top: 1rem;
  width: 100%;
}

.reg-onboard__emoji {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.reg-onboard__emoji--side {
  position: absolute;
  width: 5.5rem;
  height: 5.5rem;
  opacity: 0.95;
}

.reg-onboard__emoji--side-left {
  left: max(0%, 50% - 8.5rem);
  transform: rotate(-12deg) translateY(0.35rem);
  animation: reg-onboard-fade-up 0.5s ease-out 0.15s both;
}

.reg-onboard__emoji--side-right {
  right: max(0%, 50% - 8.5rem);
  transform: rotate(12deg) translateY(0.35rem);
  animation: reg-onboard-fade-up 0.5s ease-out 0.15s both;
}

.reg-onboard__emoji--center {
  position: relative;
  z-index: 1;
  width: clamp(6rem, 14vw, 8.25rem);
  height: clamp(6rem, 14vw, 8.25rem);
  margin-top: 0.5rem;
  animation: reg-onboard-fade-up 0.5s ease-out 0.05s both;
}

@media (max-width: 460px) {
  .reg-onboard__emoji--side {
    width: 4.25rem;
    height: 4.25rem;
  }
  .reg-onboard__emoji--center {
    width: 5.5rem;
    height: 5.5rem;
  }
}

.reg-onboard__step--fields {
  align-items: stretch;
  justify-content: center;
  max-width: min(36rem, 100%);
  margin: 0 auto;
  width: 100%;
  padding: 0 0.15rem 0.65rem;
}

@media (min-width: 768px) {
  .reg-onboard__step--fields {
    max-width: min(38rem, 100%);
  }
}

.reg-onboard__title {
  margin: 0.35rem 0 0;
  font-family: var(--display, "Syne", system-ui, sans-serif);
  font-size: clamp(1.12rem, 1.8vw, 1.28rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--paper, #f4f4f5);
}

.reg-onboard__desc {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(244, 244, 245, 0.82);
}

.reg-onboard__stack {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 0.85rem;
  gap: 0;
}

.reg-onboard__stack label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.72);
}

.reg-onboard__stack input {
  margin-top: 0.35rem;
  width: 100%;
  height: 2.35rem;
  padding: 0 0.85rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--paper, #f4f4f5);
  font-size: 0.9rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.reg-onboard__stack input::placeholder {
  color: #71717a;
}

.reg-onboard__stack input:focus {
  border-color: rgba(244, 63, 94, 0.55);
  box-shadow: 0 0 0 3px var(--reg-accent-ring);
}

.reg-onboard__stack--account .field-group {
  margin-top: 0.75rem;
}

.reg-onboard__stack--account .field-group:first-child {
  margin-top: 0;
}

.reg-onboard__stack--account label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d1d5db;
  font-weight: 500;
}

.reg-onboard__stack--account .field-row {
  margin-top: 0;
}

.reg-onboard__hint {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #71717a;
}

.reg-onboard__field-err {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: #fca5a5;
  min-height: 1.1em;
}

.reg-onboard__foot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 3.65rem;
  padding: 0.75rem clamp(0.75rem, 2vw, 1.1rem);
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.65) 0%, rgba(12, 12, 14, 0.92) 100%);
  border-top: 1px solid rgba(63, 63, 70, 0.55);
}

.reg-onboard__navbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 2.25rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.05);
  color: var(--paper, #f4f4f5);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.reg-onboard__navbtn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.09);
  transform: scale(1.04);
}

.reg-onboard__navbtn:active:not(:disabled) {
  transform: scale(0.97);
}

.reg-onboard__navbtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.reg-onboard__navbtn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.reg-onboard__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.reg-onboard__dot {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.35);
  transition: width 0.25s ease, background 0.25s ease;
}

.reg-onboard__dot--active {
  width: 2rem;
  background: var(--reg-accent);
}

.reg-onboard__dot:not(.reg-onboard__dot--active) {
  width: 0.45rem;
}

.reg-onboard__next-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 3.5rem;
  min-height: 2.25rem;
  flex: 0 0 auto;
}

.reg-onboard__submit {
  white-space: nowrap;
  width: auto;
  min-width: 9rem;
  height: 2.45rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: linear-gradient(155deg, #2dd4bf 0%, #14b8a6 45%, #0d9488 100%);
  color: #050505;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(45, 212, 191, 0.22);
}

.reg-onboard__submit:hover {
  filter: brightness(1.06);
  box-shadow: 0 6px 28px rgba(45, 212, 191, 0.28);
}

.reg-onboard__submit:active {
  transform: scale(0.98);
}

.reg-onboard__submit[hidden] {
  display: none !important;
}

.reg-onboard__next-wrap .reg-onboard__navbtn[hidden] {
  display: none !important;
}
