/* =========================================================
   LUMEN — registration
   ========================================================= */

.register-page {
  background: #080a08;
}

.reg-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 86px;
}

.reg-nav .nav-inner {
  height: 100%;
}

.reg-nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.reg-nav-link {
  color: var(--ink-dim);
  font-size: 12px;
  transition: color 0.2s;
}

.reg-nav-link:hover {
  color: var(--lime);
}

.reg-shell {
  display: grid;
  grid-template-columns: minmax(440px, 45%) minmax(0, 55%);
  min-height: 100svh;
}

/* ---------- event poster side ---------- */

.reg-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100svh;
  overflow: hidden;
  padding: 132px 48px 42px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 84% 8%, rgba(199, 168, 255, 0.16), transparent 38%),
    radial-gradient(ellipse at 25% 78%, rgba(216, 255, 66, 0.08), transparent 42%),
    linear-gradient(160deg, #10160f 0%, #0a0e0b 54%, #070907 100%);
  isolation: isolate;
}

.reg-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse at 70% 46%, black 2%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 46%, black 2%, transparent 70%);
}

.reg-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 640px;
  height: 640px;
  top: 4%;
  right: -26%;
  border: 1px solid rgba(216, 255, 66, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 120px rgba(216, 255, 66, 0.03) inset;
}

.reg-poster {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 40px;
}

.poster-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--ink-dim);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.poster-eyebrow::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--line-strong);
}

.reg-poster h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(5rem, 8.1vw, 8.8rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.09em;
}

.reg-poster h1 span {
  color: var(--lime);
  font-weight: 400;
}

.poster-tagline {
  position: relative;
  z-index: 2;
  max-width: 390px;
  margin-top: 30px;
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.poster-tagline em {
  color: var(--lime);
}

.poster-details {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 14px 28px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.poster-detail span {
  display: block;
  margin-bottom: 5px;
  color: #747a70;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.poster-detail strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
}

.poster-orbit {
  position: absolute;
  z-index: 0;
  top: 12%;
  left: 42%;
  width: 430px;
  height: 430px;
  transform: translateX(-30%);
  pointer-events: none;
}

.poster-orbit::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: conic-gradient(from 155deg, #173728, #c8ef38, #625195, #0c1711, #173728);
  filter: blur(1px);
  box-shadow: 0 0 120px rgba(216, 255, 66, 0.14);
  animation: posterHue 18s linear infinite;
}

.poster-orbit::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: #0a0e0b;
  box-shadow: inset 28px 20px 70px rgba(0, 0, 0, 0.7);
}

.poster-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(216, 255, 66, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(68deg) rotateZ(-15deg);
}

.poster-ring:nth-child(1) {
  width: 100%;
  height: 100%;
}
.poster-ring:nth-child(2) {
  width: 82%;
  height: 82%;
  border-color: rgba(199, 168, 255, 0.2);
  transform: translate(-50%, -50%) rotateX(68deg) rotateZ(23deg);
}
.poster-ring:nth-child(3) {
  width: 68%;
  height: 68%;
  border-color: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%) rotateX(68deg) rotateZ(55deg);
}

@keyframes posterHue {
  to {
    filter: hue-rotate(20deg);
  }
}

.countdown {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  margin-top: 34px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(10px);
}

.countdown-label {
  padding-right: 15px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.countdown-units {
  display: flex;
  gap: 15px;
}

.countdown-unit {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.countdown-unit strong {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.countdown-unit span {
  color: #676d63;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reg-speakers {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
}

.reg-speaker-stack {
  display: flex;
}

.reg-speaker-stack .avatar {
  width: 39px;
  height: 39px;
  margin-left: -9px;
  border-color: #0c100c;
  font-size: 9px;
}

.reg-speaker-stack .avatar:first-child {
  margin-left: 0;
}

.reg-speaker-stack .avatar:nth-child(1) {
  background: linear-gradient(145deg, #b89a73, #4b3823);
}
.reg-speaker-stack .avatar:nth-child(2) {
  background: linear-gradient(145deg, #7462a1, #2a223e);
}
.reg-speaker-stack .avatar:nth-child(3) {
  background: linear-gradient(145deg, #567a6d, #1e2e27);
}
.reg-speaker-stack .avatar:nth-child(4) {
  background: linear-gradient(145deg, #b66d52, #4b2719);
}

.reg-speaker-copy span {
  display: block;
  margin-bottom: 4px;
  color: #72786e;
  font-size: 8px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.reg-speaker-copy strong {
  display: block;
  color: var(--ink-dim);
  font-size: 11px;
  font-weight: 500;
}

.reg-visual-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #62685e;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.reg-visual-foot .foot-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #81887c;
}

.reg-visual-foot .live-dot {
  width: 4px;
  height: 4px;
}

/* ---------- form side ---------- */

.reg-form-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 100svh;
  padding: 126px 56px 70px;
  background: #090b09;
}

.reg-form-inner {
  width: 100%;
  max-width: 600px;
}

.reg-form-head {
  margin-bottom: 30px;
}

.reg-step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.reg-step .live-dot {
  width: 5px;
  height: 5px;
}

.reg-form-head h2 {
  font-size: clamp(2.6rem, 3.8vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.reg-form-head h2 em {
  color: var(--lime);
}

.reg-form-head p {
  max-width: 470px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.reg-form-head p strong {
  color: var(--ink-dim);
  font-weight: 500;
}

.reg-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-dim);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.form-label span {
  color: #666c62;
  font-size: 9px;
  font-weight: 400;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  position: relative;
}

.field input,
.field select {
  width: 100%;
  height: 51px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: #0d100d;
  color: var(--ink);
  font-size: 13px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  cursor: pointer;
}

.field svg {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 13px;
  height: 13px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.field input::placeholder {
  color: #5d635a;
}

.field input:hover,
.field select:hover {
  border-color: var(--line-strong);
}

.field input:focus,
.field select:focus {
  border-color: rgba(216, 255, 66, 0.55);
  background: #0f130e;
  box-shadow: 0 0 0 3px rgba(216, 255, 66, 0.07);
}

.field input:user-invalid {
  border-color: rgba(255, 116, 108, 0.55);
}

.ticket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ticket-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.ticket-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ticket-body {
  position: relative;
  display: block;
  height: 100%;
  padding: 15px 15px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0d100d;
  transition: border-color 0.25s, background 0.25s;
}

.ticket-option:hover .ticket-body {
  border-color: var(--line-strong);
}

.ticket-option input:checked + .ticket-body {
  border-color: rgba(216, 255, 66, 0.52);
  background: linear-gradient(145deg, rgba(216, 255, 66, 0.065), rgba(13, 16, 13, 0.8));
}

.ticket-option input:focus-visible + .ticket-body {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.ticket-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ticket-name {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.ticket-price {
  color: var(--lime);
  font-size: 12px;
  font-weight: 500;
}

.ticket-desc {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.4;
}

.ticket-check {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ticket-check svg {
  width: 9px;
  height: 9px;
}

.ticket-option input:checked + .ticket-body .ticket-check {
  border-color: var(--lime);
  background: var(--lime);
  color: #0a0c06;
}

.ticket-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.ticket-perks span {
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #747a70;
  font-size: 7.5px;
  letter-spacing: 0.03em;
}

.session-list {
  display: grid;
  gap: 7px;
}

.session-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.014);
  color: var(--ink-dim);
  font-size: 11px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.session-check:hover {
  border-color: var(--line-strong);
}

.session-check input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--lime);
  cursor: pointer;
}

.session-check strong {
  color: var(--ink);
  font-weight: 500;
}

.session-check span {
  margin-left: auto;
  color: #62685e;
  font-size: 9px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #797f75;
  font-size: 9.5px;
  line-height: 1.45;
  cursor: pointer;
}

.consent input {
  width: 13px;
  height: 13px;
  margin: 1px 0 0;
  accent-color: var(--lime);
  flex: none;
  cursor: pointer;
}

.consent a {
  color: var(--ink-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.reg-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border-radius: 11px;
  background: var(--lime);
  color: #090b06;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.25s, transform 0.3s var(--ease);
}

.reg-submit:hover {
  background: #e4ff78;
  transform: translateY(-2px);
}

.reg-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.reg-submit:hover svg {
  transform: translate(2px, -2px);
}

.reg-submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.reg-fineprint {
  margin-top: -8px;
  color: #5c6258;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.reg-social-proof {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 26px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.reg-social-proof .avatar-stack .avatar {
  width: 26px;
  height: 26px;
  font-size: 7px;
}

.reg-social-proof strong {
  color: var(--ink-dim);
  font-weight: 500;
}

/* ---------- success ---------- */

.success-view {
  display: none;
  padding-top: 20px;
}

.success-view.is-visible {
  display: block;
  animation: successIn 0.7s var(--ease) both;
}

@keyframes successIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  border: 1px solid rgba(216, 255, 66, 0.45);
  border-radius: 50%;
  background: rgba(216, 255, 66, 0.09);
  color: var(--lime);
  box-shadow: 0 0 40px rgba(216, 255, 66, 0.09);
}

.success-icon svg {
  width: 24px;
  height: 24px;
}

.success-view h2 {
  font-size: clamp(2.5rem, 3.8vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.success-view h2 em {
  color: var(--lime);
}

.success-sub {
  max-width: 450px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.success-sub strong {
  color: var(--ink);
  font-weight: 500;
}

.pass-card {
  position: relative;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid rgba(216, 255, 66, 0.25);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 91% 7%, rgba(199, 168, 255, 0.22), transparent 35%),
    linear-gradient(145deg, #12180f, #090c08);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26);
}

.pass-card::after {
  content: "NEXT/26";
  position: absolute;
  right: -10px;
  bottom: -18px;
  color: rgba(216, 255, 66, 0.055);
  font-size: 76px;
  font-weight: 800;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.pass-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.pass-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.pass-brand svg {
  width: 18px;
  height: 18px;
}

.pass-type {
  padding: 4px 8px;
  border: 1px solid rgba(216, 255, 66, 0.3);
  border-radius: 30px;
  color: var(--lime);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pass-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 20px;
}

.pass-event span {
  display: block;
  margin-bottom: 7px;
  color: #7b8177;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pass-event strong {
  display: block;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.pass-event em {
  display: block;
  margin-top: 3px;
  color: var(--lime);
  font-size: 13px;
}

.pass-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.pass-meta span {
  display: block;
  color: #666c62;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pass-meta strong {
  display: block;
  margin-top: 3px;
  color: var(--ink-dim);
  font-size: 10px;
  font-weight: 500;
}

.pass-qr {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 2px;
  width: 112px;
  height: 112px;
  padding: 7px;
  background: #e8eee0;
  border-radius: 6px;
}

.pass-qr i {
  background: #0b0d09;
  border-radius: 0.5px;
}

.pass-qr i.off {
  background: transparent;
}

.pass-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  border-top: 1px solid var(--line);
  color: #62685e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.success-actions .btn {
  height: 48px;
  font-size: 12px;
}

.success-help {
  margin-top: 20px;
  color: #676d63;
  font-size: 10px;
  line-height: 1.6;
}

.success-help a {
  color: var(--ink-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.confetti-piece {
  position: fixed;
  z-index: 300;
  width: 7px;
  height: 11px;
  pointer-events: none;
  animation: confettiFall 2.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift, 0px), 75vh, 0) rotate(var(--spin, 420deg));
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .reg-shell {
    grid-template-columns: minmax(380px, 42%) minmax(0, 58%);
  }
  .reg-visual {
    padding: 126px 34px 34px;
  }
  .reg-form-wrap {
    padding: 126px 36px 70px;
  }
  .poster-orbit {
    width: 350px;
    height: 350px;
    left: 32%;
  }
  .poster-details {
    grid-template-columns: repeat(2, auto);
  }
}

@media (max-width: 840px) {
  .reg-shell {
    display: block;
  }
  .reg-visual {
    min-height: 640px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 118px 28px 34px;
  }
  .reg-poster {
    margin-top: 110px;
  }
  .reg-poster h1 {
    font-size: clamp(5rem, 18vw, 8rem);
  }
  .poster-orbit {
    top: 8%;
    left: 52%;
    width: 380px;
    height: 380px;
  }
  .poster-details {
    grid-template-columns: repeat(3, auto);
  }
  .reg-form-wrap {
    min-height: auto;
    padding: 72px 28px 70px;
  }
  .reg-form-inner {
    max-width: 640px;
  }
  .reg-nav {
    position: absolute;
  }
}

@media (max-width: 560px) {
  .reg-visual {
    min-height: 585px;
    padding: 106px 20px 26px;
  }
  .reg-poster {
    margin-top: 74px;
  }
  .reg-poster h1 {
    font-size: 5.3rem;
  }
  .poster-tagline {
    margin-top: 22px;
    font-size: 1.9rem;
  }
  .poster-details {
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
  }
  .poster-orbit {
    width: 290px;
    height: 290px;
    top: 12%;
    left: 56%;
    opacity: 0.78;
  }
  .countdown {
    gap: 12px;
    padding: 10px 12px;
  }
  .countdown-label {
    padding-right: 11px;
    font-size: 7px;
  }
  .countdown-units {
    gap: 9px;
  }
  .countdown-unit strong {
    font-size: 13px;
  }
  .reg-visual-foot {
    display: none;
  }
  .reg-form-wrap {
    padding: 58px 20px 60px;
  }
  .reg-nav {
    height: 74px;
  }
  .reg-nav-link {
    display: none;
  }
  .reg-form-head h2 {
    font-size: 2.8rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .ticket-grid {
    grid-template-columns: 1fr;
  }
  .session-check span {
    display: none;
  }
  .pass-body {
    grid-template-columns: 1fr;
  }
  .pass-qr {
    width: 92px;
    height: 92px;
  }
  .success-actions {
    flex-direction: column;
  }
  .success-actions .btn {
    width: 100%;
  }
}
