:root {
  --black: #030303;
  --panel: #0b0d0f;
  --yellow: #ffc400;
  --yellow-dark: #d99c00;
  --white: #ffffff;
  --ink: #151515;
  --muted: #6f6f76;
  --silver: #d9d9d9;
  --line: rgba(255, 255, 255, 0.14);
  --field: #f8f8f8;
  --pink: #ff4f90;
  --green: #25d366;
  --app-scale: 0.88;
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  zoom: var(--app-scale);
  color: var(--white);
  background: radial-gradient(circle at 70% 10%, rgba(255, 196, 0, 0.08), transparent 32rem), #020202;
  letter-spacing: 0;
}

@supports not (zoom: 1) {
  body {
    width: 113.636%;
    min-height: 113.636vh;
    transform: scale(var(--app-scale));
    transform-origin: top left;
  }
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.register-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
}

.register-nav {
  width: min(1380px, calc(100% - 28px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand img {
  width: 128px;
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 30px);
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.login-link {
  min-height: 38px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--yellow);
  border-radius: 4px;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.register-shell {
  width: min(1380px, calc(100% - 28px));
  min-height: calc(100vh - 176px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(400px, 1fr);
  align-items: stretch;
}

.story-panel {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.72) 45%, rgba(0, 0, 0, 0.96)),
    linear-gradient(135deg, #050607, #111);
}

.story-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.94) 48%, rgba(0, 0, 0, 0.3) 74%, #020202 100%);
}

.story-athlete {
  position: absolute;
  right: -2%;
  bottom: 0;
  z-index: 0;
  height: 89%;
  max-width: none;
  opacity: 0.56;
  filter: saturate(1.08) contrast(1.08);
}

.story-content {
  position: relative;
  z-index: 2;
  width: min(390px, 74%);
  padding: 62px 0 0 32px;
}

.story-kicker {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-content h1 {
  margin: 0;
  font-size: clamp(2.08rem, 3.08vw, 2.84rem);
  line-height: 1;
  text-transform: uppercase;
}

.story-content h1 span {
  display: block;
  color: var(--yellow);
}

.story-content > p:not(.story-kicker) {
  max-width: 300px;
  margin: 16px 0 24px;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

.trust-list {
  display: grid;
  gap: 12px;
  margin-bottom: 70px;
}

.trust-list article {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--yellow);
}

.trust-icon svg,
.register-benefits svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-list strong {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.trust-list small {
  display: block;
  color: var(--silver);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
}

.step-dots {
  position: absolute;
  left: 32px;
  bottom: 26px;
  z-index: 2;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-dots li {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
}

.step-dots li.active {
  color: #080808;
  border-color: var(--yellow);
  background: var(--yellow);
}

.form-panel {
  min-height: 570px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.04), transparent 35%),
    radial-gradient(circle at 18% 100%, rgba(255, 79, 144, 0.12), transparent 28rem);
}

.form-card {
  width: min(100%, 510px);
  min-height: 468px;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #fafafa);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.step-pane {
  min-height: 382px;
  animation: rise 180ms ease;
}

.step-pane[hidden] {
  display: none;
}

.step-count {
  margin: 0 0 14px;
  text-align: center;
  color: #222;
  font-family: "Segoe UI", Arial, sans-serif;
}

.step-count strong {
  font-size: 1.12rem;
}

.form-card h2 {
  margin: 0;
  color: #151515;
  font-size: clamp(1.55rem, 2.45vw, 2.05rem);
  line-height: 1;
  text-align: center;
}

.step-subtitle,
.sent-copy {
  margin: 10px auto 22px;
  max-width: 360px;
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
}

.register-form {
  display: grid;
  gap: 15px;
}

.register-form label {
  display: grid;
  gap: 8px;
  color: #6b6b72;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.register-form input,
.register-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d9dce2;
  border-radius: 8px;
  padding: 0 16px;
  color: #171717;
  background: var(--field);
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.register-form input:focus,
.register-form select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.16);
}

.phone-row {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 10px;
}

.primary-action,
.outline-action {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.primary-action {
  color: #080808;
  background: linear-gradient(180deg, #ffe071, var(--yellow) 45%, var(--yellow-dark));
  box-shadow: 0 16px 28px rgba(255, 196, 0, 0.2);
}

.primary-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.outline-action {
  margin-top: 14px;
  border: 1px solid var(--pink);
  color: var(--pink);
  background: #fff;
}

.terms {
  margin: 0;
  color: #8a8a91;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

.account-switch {
  width: min(340px, 100%);
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  padding: 8px 8px 8px 16px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  color: #6b6d75;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 246, 246, 0.96)),
    #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.login-under-action {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 196, 0, 0.55);
  border-radius: 6px;
  color: #090909;
  background: linear-gradient(180deg, #ffe36d, var(--yellow));
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(255, 196, 0, 0.22);
}

.terms a,
.resend-copy button,
.text-action {
  color: var(--pink);
}

.whatsapp-mark,
.success-check {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 16px auto;
  border-radius: 50%;
}

.whatsapp-mark {
  color: #fff;
  background: var(--green);
}

.whatsapp-mark svg,
.success-check svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phone-preview {
  display: block;
  margin-bottom: 18px;
  color: #151515;
  font-size: 1.22rem;
  text-align: center;
}

.success-note,
.privacy-note,
.dev-code {
  margin: 0 auto 18px;
  padding: 15px;
  border-radius: 8px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.success-note {
  max-width: 360px;
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #1c4e2d;
  background: #f5fff8;
}

.privacy-note {
  max-width: 360px;
  color: #9b2f5f;
  background: #fff1f6;
}

.success-note strong,
.success-note span,
.privacy-note strong,
.privacy-note span {
  display: block;
}

.success-note span,
.privacy-note span {
  margin-top: 4px;
  font-size: 0.86rem;
}

.dev-code {
  max-width: 360px;
  border: 1px dashed #f0a400;
  color: #614600;
  background: #fff9df;
  text-align: center;
}

.text-action {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.otp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.otp-grid input {
  height: 56px;
  padding: 0;
  text-align: center;
  font-size: 1.42rem;
  font-weight: 900;
}

.resend-copy {
  margin: 2px 0 8px;
  color: #5d5d64;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.88rem;
  text-align: center;
}

.resend-copy button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 64px;
}

.password-field button {
  position: absolute;
  right: 10px;
  bottom: 9px;
  min-height: 36px;
  border: 0;
  color: #6b6b72;
  background: transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.password-rules {
  display: grid;
  gap: 8px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
  color: #6f6f76;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.9rem;
}

.password-rules li::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  border: 1px solid #a0a0a6;
  border-radius: 50%;
  vertical-align: -2px;
}

.password-rules li.valid {
  color: #258548;
}

.password-rules li.valid::before {
  border-color: #25a653;
  background: #25a653;
}

.success-pane {
  display: grid;
  align-content: center;
  text-align: center;
}

.success-check {
  color: #fff;
  background: linear-gradient(180deg, #ff77a8, var(--pink));
}

.success-pane p:not(.step-count) {
  max-width: 380px;
  margin: 18px auto 28px;
  color: #55555d;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

.form-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: #ffd45b;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  text-align: center;
}

.register-benefits {
  width: min(1380px, calc(100% - 28px));
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #060708;
  border: 1px solid var(--line);
  border-top: 0;
}

.register-benefits article {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 30px;
}

.register-benefits article + article {
  border-left: 1px solid var(--line);
}

.register-benefits svg {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: var(--yellow);
}

.register-benefits article:nth-child(even) svg {
  color: var(--pink);
}

.register-benefits strong {
  display: block;
  font-size: 1.14rem;
  text-transform: uppercase;
}

.register-benefits span {
  display: block;
  margin-top: 4px;
  color: var(--silver);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.38;
}

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

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .register-shell {
    grid-template-columns: 1fr;
  }

  .story-panel {
    min-height: 470px;
  }

  .form-panel {
    min-height: auto;
  }

  .register-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .register-benefits article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .register-benefits article:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .register-nav,
  .register-shell,
  .register-benefits {
    width: min(100% - 24px, 1320px);
  }

  .brand img {
    width: 126px;
  }

  .login-link {
    display: none;
  }

  .story-panel {
    min-height: 440px;
  }

  .story-athlete {
    right: -12%;
    height: 82%;
    opacity: 0.56;
  }

  .story-content {
    width: min(330px, 88%);
    padding: 54px 0 0 22px;
  }

  .story-content h1 {
    font-size: clamp(2rem, 9.2vw, 2.28rem);
    line-height: 1.05;
  }

  .step-dots {
    left: 22px;
    bottom: 22px;
    gap: 8px;
  }

  .step-dots li {
    width: 26px;
    height: 26px;
  }

  .form-panel {
    padding: 18px 0 28px;
  }

  .form-card {
    min-height: 0;
    padding: 28px 18px;
  }

  .account-switch {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    text-align: center;
  }

  .login-under-action {
    width: 100%;
  }

  .phone-row,
  .two-cols,
  .otp-grid {
    gap: 7px;
  }

  .otp-grid input {
    height: 54px;
    font-size: 1.35rem;
  }

  .register-benefits {
    grid-template-columns: 1fr;
  }

  .register-benefits article,
  .register-benefits article + article,
  .register-benefits article:nth-child(3),
  .register-benefits article:nth-child(4) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .register-benefits article:first-child {
    border-top: 0;
  }
}
