/* Extracted from index.html during deep frontend refactor. Page-local overrides only. */
:root {
      --bg: #050711;
      --panel: #0b0f1b;
      --panel2: #111625;
      --line: #292e42;
      --text: #f7f5fb;
      --muted: #9da2b5;
      --purple: #7b3fe0;
      --violet: #a95cff;
      --green: #39d98a;
      --red: #ff5f82
    }

    * {
      box-sizing: border-box
    }

    html,
    body {
      margin: 0;
      min-height: 100%;
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg);
      color: var(--text)
    }

    button,
    input,
    select {
      font: inherit
    }

    button {
      cursor: pointer
    }

    .page {
      min-height: 100vh;
      position: relative;
      overflow: hidden;
      background: radial-gradient(800px 650px at 48% 35%, rgba(103, 48, 184, .25), transparent 65%), linear-gradient(90deg, #03050a, #070918 54%, #050711)
    }

    .page:before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .4;
      pointer-events: none;
      background: radial-gradient(circle at 55% 10%, #c264ff 0 1px, transparent 2px), radial-gradient(circle at 25% 20%, #a33fff 0 1px, transparent 2px);
      background-size: 240px 220px, 310px 280px
    }

    .container {
      position: relative;
      z-index: 2;
      width: min(1430px, calc(100% - 72px));
      margin: auto;
      min-height: 100vh
    }

    .topbar {
      height: 84px;
      display: flex;
      align-items: center;
      justify-content: space-between
    }

    .logo {
      font-size: 37px;
      font-weight: 900;
      letter-spacing: -1.7px
    }

    .logo span {
      color: var(--violet)
    }

    .sub {
      font-size: 13px;
      color: #bf63ff;
      margin-top: 6px
    }

    .top-action {
      font-size: 14px;
      color: #aeb2c0
    }

    .top-action button {
      border: 0;
      background: none;
      color: #bb73ff;
      font-weight: 800;
      margin-left: 6px
    }

    .main {
      display: grid;
      grid-template-columns: minmax(500px, 1fr) 600px;
      gap: 50px;
      align-items: center;
      min-height: calc(100vh - 154px)
    }

    .hero {
      min-height: 790px;
      display: flex;
      align-items: center;
      position: relative
    }

    .hero-art {
      position: absolute;
      left: 28%;
      top: 50%;
      transform: translate(-50%, -50%);
      height: 96%;
      width: 500px;
      object-fit: cover;
      object-position: center top;
      opacity: .78;
      filter: brightness(.72);
      mask-image: linear-gradient(90deg, transparent, #000 15%, #000 82%, transparent);
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 82%, transparent)
    }

    .hero:after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(5, 7, 12, .96), rgba(5, 7, 12, .2) 45%, rgba(5, 7, 12, .78));
      pointer-events: none
    }

    .hero-copy {
      position: relative;
      z-index: 2;
      width: 560px
    }

    .hero h2 {
      font-size: 52px;
      line-height: 1.02;
      letter-spacing: -2px;
      margin: 0 0 22px
    }

    .hero h2 span {
      color: var(--violet)
    }

    .lead {
      font-size: 19px;
      font-weight: 700;
      margin: 0 0 8px
    }

    .desc {
      color: #b4b8c8;
      line-height: 1.5;
      max-width: 450px;
      margin: 0
    }

    .features {
      margin-top: 43px;
      display: grid;
      gap: 25px;
      width: 470px
    }

    .feature {
      display: grid;
      grid-template-columns: 48px 1fr;
      gap: 15px
    }

    .icon {
      width: 42px;
      height: 42px;
      border: 2px solid #984dff;
      color: #a55cff;
      border-radius: 12px;
      display: grid;
      place-items: center
    }

    .feature h3 {
      margin: 0 0 5px;
      font-size: 15px
    }

    .feature p {
      margin: 0;
      color: #9fa3b3;
      font-size: 13px;
      line-height: 1.45
    }

    .quote {
      margin-top: 36px;
      width: 440px;
      padding: 20px 24px;
      border: 1px solid rgba(130, 138, 170, .22);
      background: rgba(8, 11, 21, .62);
      border-radius: 15px;
      display: flex;
      gap: 15px
    }

    .quote-avatar {
      width: 55px;
      height: 55px;
      border-radius: 50%;
      background-image: url(/uploads/profile/banner.png);
      /* background: linear-gradient(145deg, #6931ca, #b66bff); */
      display: grid;
      place-items: center;
      flex: none
    }

    .quote p {
      margin: 0;
      line-height: 1.5;
      font-size: 13px
    }

    .quote small {
      display: block;
      color: #858a9e;
      margin-top: 7px
    }

    .card {
      width: 100%;
      max-width: 600px;
      margin-left: auto;
      border: 1px solid rgba(130, 137, 165, .3);
      border-radius: 19px;
      background: rgba(9, 13, 24, .92);
      box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
      padding: 30px 34px 25px;
      backdrop-filter: blur(14px)
    }

    .card-head {
      display: flex;
      gap: 12px;
      margin-bottom: 21px
    }

    .spark {
      color: #a85cff;
      font-size: 25px
    }

    .card h1 {
      font-size: 27px;
      margin: 0;
      letter-spacing: -.6px
    }

    .card h1 span {
      color: var(--violet)
    }

    .subtitle {
      color: #969bad;
      font-size: 13px;
      margin-top: 7px
    }

    .progress {
      display: flex;
      gap: 6px;
      margin: 0 0 24px
    }

    .step-dot {
      height: 4px;
      border-radius: 4px;
      flex: 1;
      background: #252a3c
    }

    .step-dot.active {
      background: #8243e5
    }

    .step-dot.done {
      background: #a55cff
    }

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

    .social {
      height: 52px;
      border: 1px solid #292e3f;
      border-radius: 10px;
      background: #111624;
      color: #f4f4f8;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-weight: 700
    }

    .social:hover {
      border-color: #56456f
    }

    .divider {
      display: flex;
      gap: 12px;
      align-items: center;
      color: #777d91;
      font-size: 11px;
      margin: 22px 0
    }

    .divider:before,
    .divider:after {
      content: "";
      height: 1px;
      background: #262b3c;
      flex: 1
    }

    .field {
      margin-top: 11px
    }

    .field label {
      display: block;
      font-size: 11px;
      color: #d6d9e2;
      margin: 0 0 7px 7px
    }

    .input {
      position: relative
    }

    .input input,
    .input select {
      width: 100%;
      height: 54px;
      border: 1px solid #282e40;
      border-radius: 10px;
      background: #0b0f1b;
      color: #eef0f6;
      outline: 0;
      padding: 0 45px;
      font-size: 14px
    }

    .input input::placeholder {
      color: #858a9d
    }

    .input input:focus {
      border-color: #7542d1;
      box-shadow: 0 0 0 3px rgba(125, 66, 232, .11)
    }

    .field-ico {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: #969aac
    }

    .eye {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      border: 0;
      background: none;
      color: #777d91
    }

    .valid {
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--green);
      display: none
    }

    .field.ok .valid {
      display: block
    }

    .field.ok input {
      border-color: #286f51
    }

    .field.error input {
      border-color: #a33c59
    }

    .error-text {
      display: none;
      color: #ff7895;
      font-size: 10px;
      margin: 5px 7px
    }

    .field.error .error-text {
      display: block
    }

    .dob {
      display: grid;
      grid-template-columns: 1fr 1.25fr 1fr;
      gap: 9px
    }

    .dob select {
      padding: 0 12px !important
    }

    .terms {
      display: flex;
      gap: 9px;
      color: #8e93a5;
      font-size: 11px;
      line-height: 1.45;
      margin: 18px 3px
    }

    .terms input {
      appearance: none;
      width: 18px;
      height: 18px;
      border: 1px solid #5d3a95;
      border-radius: 5px;
      background: #17132a;
      position: relative;
      flex: none
    }

    .terms input:checked {
      background: #7140d5
    }

    .terms input:checked:after {
      content: "✓";
      position: absolute;
      left: 4px;
      top: 0;
      color: white;
      font-weight: 900
    }

    .terms a,
    .link {
      color: #a762f4;
      text-decoration: none
    }

    .primary {
      width: 100%;
      height: 54px;
      border: 0;
      border-radius: 10px;
      background: linear-gradient(90deg, #6730c8, #7e3ce4);
      color: #fff;
      font-size: 16px;
      font-weight: 800
    }

    .primary:disabled {
      opacity: .45;
      cursor: not-allowed
    }

    .secondary {
      width: 100%;
      height: 50px;
      border: 1px solid #30364b;
      background: #111624;
      color: #eee;
      border-radius: 10px;
      font-weight: 700
    }

    .text-btn {
      border: 0;
      background: none;
      color: #a861ff;
      font-size: 11px
    }

    .auth-switch {
      text-align: center;
      color: #9095a7;
      font-size: 12px;
      margin-top: 17px
    }

    .auth-switch button {
      border: 0;
      background: none;
      color: #b56cff;
      font-weight: 800
    }

    .wizard-title {
      font-size: 22px;
      margin: 0
    }

    .wizard-sub {
      font-size: 12px;
      color: #8e94a7;
      margin: 6px 0 20px
    }

    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      max-height: 225px;
      overflow: auto;
      padding-right: 4px
    }

    .chip {
      border: 1px solid #2d3346;
      background: #101524;
      color: #cdd0da;
      border-radius: 9px;
      padding: 9px 11px;
      font-size: 12px;
      transition: .15s
    }

    .chip.selected {
      border-color: #9b58ff;
      background: rgba(132, 60, 224, .2);
      color: #fff;
      box-shadow: inset 0 0 0 1px rgba(172, 96, 255, .25)
    }

    .selected-count {
      color: #9d62ef;
      font-size: 11px
    }

    .wizard-actions {
      display: flex;
      gap: 10px;
      margin-top: 20px
    }

    .wizard-actions>* {
      flex: 1
    }

    .profile-preview {
      display: flex;
      gap: 15px;
      align-items: center;
      border: 1px solid #282e40;
      background: #0c111f;
      border-radius: 12px;
      padding: 14px;
      margin: 16px 0
    }

    .avatar {
      width: 66px;
      height: 66px;
      border-radius: 50%;
      background: linear-gradient(145deg, #7137cf, #b56cff);
      display: grid;
      place-items: center;
      font-size: 28px;
      font-weight: 900
    }

    .profile-preview strong {
      display: block
    }

    .profile-preview small {
      color: #8e94a8
    }

    .success {
      text-align: center;
      padding: 15px 0 5px
    }

    .success-mark {
      width: 74px;
      height: 74px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      margin: 0 auto 18px;
      background: rgba(57, 217, 138, .13);
      border: 1px solid rgba(57, 217, 138, .4);
      color: #53e59b;
      font-size: 34px
    }

    .success h2 {
      margin: 0 0 7px
    }

    .success p {
      color: #969cad;
      font-size: 13px;
      line-height: 1.5
    }

    .mini-profile {
      display: flex;
      gap: 12px;
      align-items: center;
      background: #0c111f;
      border: 1px solid #292f42;
      border-radius: 11px;
      padding: 13px;
      text-align: left;
      margin: 18px 0
    }

    .mini-avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: linear-gradient(145deg, #7438d5, #b96cff);
      font-weight: 900
    }

    .toast {
      position: fixed;
      right: 22px;
      bottom: 22px;
      background: #171c2b;
      border: 1px solid #353b52;
      color: #fff;
      padding: 13px 17px;
      border-radius: 10px;
      display: none;
      z-index: 20;
      font-size: 12px
    }

    .footer {
      height: 70px;
      border-top: 1px solid rgba(94, 99, 122, .2);
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #9298a9;
      font-size: 12px
    }

    .footer-links {
      display: flex;
      gap: 35px
    }

    .footer a {
      color: #a8adbd;
      text-decoration: none
    }

    .lang {
      border: 1px solid #252b3d;
      background: #0b0f1b;
      color: #e1e2e7;
      border-radius: 9px;
      padding: 9px 13px
    }

    @media(max-width:1100px) {
      .container {
        width: min(680px, calc(100% - 32px))
      }

      .main {
        grid-template-columns: 1fr;
        min-height: 0
      }

      .hero {
        min-height: auto;
        padding: 45px 0 25px
      }

      .hero-art {
        left: 60%;
        opacity: .3
      }

      .hero-copy {
        width: 100%
      }

      .card {
        margin: 0 auto 30px
      }

      .footer {
        margin-top: 20px
      }
    }

    @media(max-width:620px) {
      .container {
        width: calc(100% - 20px)
      }

      .topbar {
        height: 68px
      }

      .logo {
        font-size: 29px
      }

      .top-action {
        font-size: 11px
      }

      .hero {
        padding: 25px 0 18px
      }

      .hero h2 {
        font-size: 38px
      }

      .hero-art {
        width: 360px
      }

      .features {
        width: 100%;
        margin-top: 28px
      }

      .quote {
        width: 100%
      }

      .card {
        padding: 22px 15px
      }

      .social-row,
      .dob {
        grid-template-columns: 1fr
      }

      .footer {
        height: auto;
        padding: 20px 0;
        gap: 14px;
        flex-wrap: wrap
      }

      .footer-links {
        gap: 14px;
        flex-wrap: wrap
      }
    }

/* --- original inline block boundary --- */

html,body,button,input,textarea,select{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
