/* Registro visual de MU Ascension — solo lo usa Pages/Cuenta/Registrar.cshtml
   (se enlaza desde la sección "Styles" de esa página; no afecta al resto del portal). */

.registro-shell {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  margin: 10px auto 30px;
  max-width: 1060px;
  border: 1px solid var(--portal-line);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(31, 21, 54, .95), rgba(13, 9, 24, .97));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

/* ---------- Columna izquierda: venta ---------- */
.registro-lado {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 44px 38px;
  background:
    linear-gradient(200deg, rgba(9, 7, 17, .25) 0%, rgba(9, 7, 17, .88) 78%),
    radial-gradient(480px 320px at 70% 12%, rgba(111, 67, 196, .5), transparent 70%),
    url("../assets/mu-ascension-emblema.png") center 22% / 240px no-repeat,
    #100b1d;
  border-right: 1px solid var(--portal-line);
}
.registro-lado .kicker {
  color: var(--portal-gold);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.registro-lado h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -.5px;
}
.registro-lado h2 span { color: var(--portal-gold); display: block; }
.registro-bullets { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.registro-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d8d0e6;
  font-size: .95rem;
  font-weight: 700;
}
.registro-bullets .check {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #17240f;
  background: var(--portal-green);
  font-size: .8rem;
  font-weight: 900;
}
.registro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 14px;
  border: 1px solid rgba(255, 201, 91, .4);
  border-radius: 999px;
  color: var(--portal-gold);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(9, 7, 17, .55);
}
.registro-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--portal-green);
  box-shadow: 0 0 10px var(--portal-green);
}

/* ---------- Columna derecha: formulario ---------- */
.registro-form { padding: 40px 42px 36px; }
.registro-form h1 { margin: 0 0 6px; font-size: 1.7rem; }
.registro-form .intro { margin: 0 0 24px; color: #a99cb8; font-size: .92rem; line-height: 1.6; }

/* Indicador de pasos: Cuenta → Descarga → Juega */
.registro-pasos {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 26px;
}
.registro-paso {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #887b9e;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.registro-paso b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--portal-line);
  color: #887b9e;
  font-size: .74rem;
}
.registro-paso.activo { color: var(--portal-gold); }
.registro-paso.activo b { border-color: var(--portal-gold); color: #241606; background: var(--portal-gold); }
.registro-paso.hecho { color: var(--portal-green); }
.registro-paso.hecho b { border-color: var(--portal-green); color: #17240f; background: var(--portal-green); }
.registro-pasos .raya { flex: 1; min-width: 14px; height: 1px; background: var(--portal-line); }

/* Campos grandes con icono */
.registro-form label { display: block; margin: 18px 0 7px; color: #a79bbd; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.campo { position: relative; }
.campo svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #887b9e;
  pointer-events: none;
}
.campo input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 1px solid rgba(191, 164, 255, .22);
  border-radius: 12px;
  background: #0e0b18;
  color: #f6f0ff;
  font: inherit;
  font-size: 1rem;
}
.campo input:focus {
  outline: none;
  border-color: var(--portal-purple);
  box-shadow: 0 0 0 3px rgba(180, 147, 255, .14);
}
.campo input:focus + svg, .campo:focus-within svg { color: var(--portal-gold); }
.registro-form .ayuda { display: block; margin-top: 6px; color: #887b9e; font-size: .78rem; }
.registro-form .error-campo { display: block; margin-top: 5px; color: #e06666; font-size: .82rem; }
.registro-form .error { margin: 0 0 18px; padding: 13px 16px; border-left: 3px solid #e06666; border-radius: 8px; background: rgba(224, 102, 102, .1); font-size: .9rem; }

/* Botón primario enorme */
.registro-boton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 26px;
  padding: 17px 20px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--portal-gold), #df9f2d);
  color: #251706;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 201, 91, .24);
  transition: transform .2s, box-shadow .2s;
}
.registro-boton:hover { transform: translateY(-2px); box-shadow: 0 15px 38px rgba(255, 201, 91, .38); text-decoration: none; color: #251706; }
.registro-pie { margin: 20px 0 0; color: #887b9e; font-size: .9rem; text-align: center; }
.registro-pie a { color: var(--portal-gold); font-weight: 800; }

/* ---------- Éxito: empuje a la descarga ---------- */
.registro-exito { text-align: center; padding: 8px 0 4px; }
.registro-exito .sello {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(97, 226, 154, .14);
  border: 1px solid rgba(97, 226, 154, .45);
  color: var(--portal-green);
  font-size: 1.7rem;
}
.registro-exito h2 { margin: 0 0 8px; font-size: 1.5rem; }
.registro-exito p { margin: 0 auto 22px; max-width: 420px; color: #a99cb8; font-size: .92rem; line-height: 1.6; }
.registro-descarga {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--portal-gold), #df9f2d);
  color: #251706;
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(255, 201, 91, .28);
  transition: transform .2s, box-shadow .2s;
}
.registro-descarga:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(255, 201, 91, .42); text-decoration: none; color: #251706; }
.registro-descarga .grande { font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; }
.registro-descarga .chico { font-size: .78rem; font-weight: 700; opacity: .85; }
.registro-exito .secundario {
  display: inline-block;
  margin-top: 14px;
  color: #d8d0e6;
  font-size: .9rem;
  font-weight: 800;
}
.registro-exito .secundario:hover { color: var(--portal-gold); }

/* ---------- Responsive (móvil primero en tráfico) ---------- */
@media (max-width: 860px) {
  .registro-shell { grid-template-columns: 1fr; margin: 0 auto 20px; border-radius: 18px; }
  .registro-lado {
    order: 2;
    padding: 26px 22px;
    border-right: 0;
    border-top: 1px solid var(--portal-line);
    background:
      linear-gradient(200deg, rgba(9, 7, 17, .55) 0%, rgba(9, 7, 17, .92) 80%),
      radial-gradient(320px 200px at 80% 0%, rgba(111, 67, 196, .45), transparent 70%),
      url("../assets/mu-ascension-emblema.png") right -30px top -20px / 150px no-repeat,
      #100b1d;
  }
  .registro-lado h2 { font-size: 1.35rem; }
  .registro-form { order: 1; padding: 26px 20px 28px; }
  .registro-paso span { display: none; }
  .registro-paso.activo span { display: inline; }
}
