.nsv2 {
  --ns-ink: #07111f;
  --ns-night: #09152b;
  --ns-blue: #112a4a;
  --ns-gold: #e5be67;
  --ns-gold-bright: #ffe39a;
  --ns-cyan: #74d9eb;
  --ns-text: #f7f2e7;
  --ns-muted: #b7c2d1;
  position: relative;
  width: min(100%, 72rem);
  margin: 1rem auto 2.5rem;
  overflow: hidden;
  border: 1px solid rgba(229, 190, 103, .34);
  border-radius: 1.35rem;
  color: var(--ns-text);
  background:
    radial-gradient(circle at 12% 5%, rgba(50, 92, 148, .22), transparent 28rem),
    linear-gradient(145deg, #07111f 0%, #091429 50%, #060c18 100%);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, .38), inset 0 1px rgba(255, 255, 255, .04);
  isolation: isolate;
}
.nsv2 *, .nsv2 *::before, .nsv2 *::after { box-sizing: border-box; }
.nsv2 [hidden] { display: none !important; }
.nsv2 button, .nsv2 input { font: inherit; }
.nsv2 button { -webkit-tap-highlight-color: transparent; }
.nsv2 .nsv2-kicker {
  display: inline-block;
  color: var(--ns-cyan);
  font: 800 .72rem/1.3 system-ui, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Portada */
.nsv2-hero {
  position: relative;
  min-height: clamp(27rem, 57vw, 40rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(229, 190, 103, .28);
  background: #061021;
}
.nsv2-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
  transform: scale(1.015);
}
.nsv2-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 7, 18, .12) 0%, rgba(2, 7, 18, .03) 42%, rgba(2, 7, 18, .8) 100%),
    linear-gradient(90deg, rgba(2, 7, 18, .28), transparent 30%, transparent 70%, rgba(2, 7, 18, .28));
}
.nsv2-hero-brand {
  position: absolute;
  top: 1.35rem;
  left: 1.45rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  color: #fff7e3;
  font: 800 .7rem/1.2 system-ui, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}
.nsv2-hero-brand i { display: block; width: 3.2rem; height: 1px; background: linear-gradient(90deg, var(--ns-gold), transparent); }
.nsv2-hero-seal {
  position: absolute;
  top: 49%;
  left: 50%;
  width: clamp(10rem, 22vw, 15rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 .8rem 2.2rem rgba(0, 0, 0, .55));
}
.nsv2-hero-seal .nsv2-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 226, 151, .55);
  border-radius: 50%;
}
.nsv2-hero-seal .nsv2-ring::before,
.nsv2-hero-seal .nsv2-ring::after {
  content: "";
  position: absolute;
  width: .45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ns-gold-bright);
  box-shadow: 0 0 1rem var(--ns-gold);
}
.nsv2-hero-seal .nsv2-ring::before { top: -.24rem; left: calc(50% - .22rem); }
.nsv2-hero-seal .nsv2-ring::after { right: -.24rem; top: calc(50% - .22rem); background: var(--ns-cyan); box-shadow: 0 0 1rem var(--ns-cyan); }
.nsv2-ring-a { animation: nsv2-spin 19s linear infinite; }
.nsv2-hero-seal .nsv2-ring-b { inset: 13%; border-style: dashed; opacity: .78; animation: nsv2-spin-back 14s linear infinite; }
.nsv2-hero-seal .nsv2-ring-c { inset: 27%; border-color: rgba(116, 217, 235, .5); animation: nsv2-spin 10s linear infinite; }
.nsv2-hero-seal strong {
  position: relative;
  z-index: 2;
  color: #fff4d7;
  font: 500 clamp(4rem, 10vw, 7rem)/1 Georgia, serif;
  text-shadow: 0 0 1.6rem rgba(237, 190, 83, .62), 0 .2rem .5rem #000;
}
.nsv2-hero-seal small { position: absolute; bottom: 9%; color: var(--ns-cyan); font-size: 1rem; text-shadow: 0 0 .8rem var(--ns-cyan); }
.nsv2-hero-caption {
  position: absolute;
  right: 1.5rem;
  bottom: 1.2rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font: 700 .75rem/1.4 system-ui, sans-serif;
  letter-spacing: .11em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 10px #000;
}
.nsv2-hero-caption span { color: var(--ns-gold); }

/* Entrada */
.nsv2-body { padding: clamp(1.4rem, 4.5vw, 3.4rem); }
.nsv2-start { max-width: 55rem; margin: 0 auto; }
.nsv2-intro { max-width: 43rem; margin: 0 auto 2.2rem; text-align: center; }
.nsv2-intro h2 {
  margin: .55rem 0 .8rem;
  color: #fff8e9;
  font: 500 clamp(2rem, 5vw, 3.4rem)/1.05 Georgia, serif;
  letter-spacing: -.025em;
}
.nsv2-intro p { margin: 0; color: var(--ns-muted); font-size: 1rem; line-height: 1.75; }
.nsv2-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: clamp(1.25rem, 3.5vw, 2rem);
  border: 1px solid rgba(229, 190, 103, .25);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(18, 40, 70, .74), rgba(5, 13, 27, .88));
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 1rem 2.5rem rgba(0, 0, 0, .2);
}
.nsv2-form::before {
  content: "";
  position: absolute;
  inset: .45rem;
  pointer-events: none;
  border: 1px solid rgba(116, 217, 235, .08);
  border-radius: .72rem;
}
.nsv2-field { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .55rem; }
.nsv2-field label {
  color: #e9dcbf;
  font: 800 .72rem/1.35 system-ui, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.nsv2-field label small { display: block; margin-top: .18rem; color: #8095aa; font-size: .63rem; letter-spacing: .07em; }
.nsv2-input-wrap { position: relative; }
.nsv2-input-wrap > span {
  position: absolute;
  top: 50%;
  left: 1rem;
  z-index: 2;
  color: var(--ns-gold);
  transform: translateY(-50%);
  pointer-events: none;
}
.nsv2-input-wrap input {
  width: 100%;
  min-height: 3.45rem;
  padding: .75rem 1rem .75rem 2.7rem;
  border: 1px solid rgba(194, 211, 229, .28);
  border-radius: .65rem;
  outline: none;
  color: #fff;
  color-scheme: dark;
  background: rgba(2, 8, 18, .62);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.nsv2-input-wrap input::placeholder { color: #73869a; }
.nsv2-input-wrap input:focus { border-color: var(--ns-cyan); background: rgba(5, 18, 34, .82); box-shadow: 0 0 0 3px rgba(116, 217, 235, .12); }
.nsv2-error { grid-column: 1/-1; margin: 0; color: #ffb6a7; font-size: .88rem; text-align: center; }
.nsv2-primary {
  position: relative;
  z-index: 1;
  grid-column: 1/-1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-width: min(100%, 17rem);
  min-height: 3.25rem;
  padding: .75rem 1.35rem;
  border: 1px solid #ffe09a;
  border-radius: 999px;
  color: #181105;
  font-weight: 850;
  cursor: pointer;
  background: linear-gradient(135deg, #ffe59d, #d9a533);
  box-shadow: 0 .8rem 1.7rem rgba(198, 145, 36, .2), inset 0 1px rgba(255, 255, 255, .75);
  transition: transform .2s, filter .2s, box-shadow .2s;
}
.nsv2-primary:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 1rem 2rem rgba(198, 145, 36, .3); }
.nsv2-primary:focus-visible, .nsv2-actions button:focus-visible { outline: 3px solid rgba(116, 217, 235, .65); outline-offset: 3px; }
.nsv2-privacy { position: relative; z-index: 1; grid-column: 1/-1; max-width: 41rem; margin: -.15rem auto 0; color: #879aae; font-size: .76rem; line-height: 1.55; text-align: center; }
.nsv2-privacy span { margin-right: .35rem; color: var(--ns-cyan); }

/* Cálculo */
.nsv2-casting { min-height: 26rem; display: grid; align-content: center; justify-items: center; gap: 1.2rem; text-align: center; }
.nsv2-casting > div { position: relative; width: 12rem; aspect-ratio: 1; display: grid; place-items: center; }
.nsv2-casting i { position: absolute; inset: 0; border: 1px solid rgba(229, 190, 103, .55); border-radius: 50%; animation: nsv2-spin 1.8s linear infinite; }
.nsv2-casting i:nth-child(2) { inset: 15%; border-style: dashed; border-color: rgba(116, 217, 235, .55); animation: nsv2-spin-back 1.2s linear infinite; }
.nsv2-casting i:nth-child(3) { inset: 30%; animation-duration: .8s; }
.nsv2-casting strong { color: #fff2ce; font: 500 4rem/1 Georgia, serif; text-shadow: 0 0 1.4rem var(--ns-gold); animation: nsv2-pulse .8s ease-in-out infinite alternate; }
.nsv2-casting p { margin: 0; color: #dbe3ec; letter-spacing: .08em; }

/* Resultado */
.nsv2-result { max-width: 59rem; margin: 0 auto; }
.nsv2-result-header {
  display: grid;
  grid-template-columns: minmax(10rem, 15rem) 1fr;
  gap: clamp(1.2rem, 4vw, 2.5rem);
  align-items: center;
  padding: clamp(1.3rem, 4vw, 2.4rem);
  border: 1px solid rgba(229, 190, 103, .34);
  border-radius: 1rem;
  background: radial-gradient(circle at 16% 50%, rgba(56, 103, 149, .26), transparent 19rem), rgba(2, 9, 21, .54);
  box-shadow: inset 0 1px rgba(255, 255, 255, .05);
}
.nsv2-number-seal { position: relative; width: min(100%, 13rem); aspect-ratio: 1; display: grid; place-items: center; margin: auto; }
.nsv2-number-seal i { position: absolute; inset: 0; border: 1px solid rgba(229, 190, 103, .56); border-radius: 50%; animation: nsv2-spin 24s linear infinite; }
.nsv2-number-seal i:nth-child(2) { inset: 14%; border-style: dashed; border-color: rgba(116, 217, 235, .42); animation: nsv2-spin-back 18s linear infinite; }
.nsv2-number-seal strong { position: relative; color: #fff3d2; font: 500 clamp(4rem, 10vw, 6.5rem)/1 Georgia, serif; text-shadow: 0 0 1.6rem rgba(229, 190, 103, .46); }
.nsv2-number-seal small { position: absolute; bottom: 12%; color: var(--ns-cyan); }
.nsv2-result-heading h2 { margin: .4rem 0 .3rem; color: #fff8e7; font: 500 clamp(2rem, 5vw, 3.25rem)/1.03 Georgia, serif; letter-spacing: -.03em; }
.nsv2-number-essence { margin: 0 0 1rem; color: var(--ns-gold-bright); font: 800 .77rem/1.4 system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.nsv2-calculation { display: flex; flex-wrap: wrap; gap: .35rem .7rem; color: #93a5b9; font-size: .78rem; }
.nsv2-calculation b { color: #e8edf3; font-weight: 650; font-variant-numeric: tabular-nums; }
.nsv2-reading {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(192, 211, 230, .14);
  border-radius: .8rem;
  background: rgba(4, 13, 27, .46);
}
.nsv2-reading-icon { flex: none; display: grid; place-items: center; width: 2.3rem; aspect-ratio: 1; border: 1px solid rgba(229, 190, 103, .4); border-radius: 50%; color: var(--ns-gold-bright); }
.nsv2-reading h3 { margin: 0 0 .35rem; color: #e9c978; font: 800 .72rem/1.4 system-ui, sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.nsv2-reading p { margin: 0; color: #d7dfe8; font-size: .94rem; line-height: 1.72; }
.nsv2-meaning { border-color: rgba(229, 190, 103, .24); background: linear-gradient(135deg, rgba(31, 58, 91, .56), rgba(4, 13, 27, .58)); }
.nsv2-reading-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.nsv2-watch { margin-top: 1rem; padding: 1rem 1.2rem; border-left: 2px solid #d9886b; border-radius: 0 .65rem .65rem 0; background: rgba(119, 48, 40, .12); }
.nsv2-watch span { color: #efa98f; font: 800 .7rem/1.4 system-ui, sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.nsv2-watch p { margin: .35rem 0 0; color: #d9dfe7; font-size: .9rem; line-height: 1.65; }
.nsv2-action { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; padding: 1.15rem 1.3rem; border: 1px solid rgba(116, 217, 235, .25); border-radius: .8rem; background: linear-gradient(90deg, rgba(32, 103, 129, .22), rgba(7, 18, 35, .48)); }
.nsv2-action > span { flex: none; display: grid; place-items: center; width: 2.5rem; aspect-ratio: 1; border-radius: 50%; color: #06101d; background: var(--ns-cyan); font-size: 1.2rem; }
.nsv2-action b { color: var(--ns-cyan); font: 800 .7rem/1.4 system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.nsv2-action p { margin: .28rem 0 0; color: #f0f4f7; line-height: 1.6; }
.nsv2-influences { margin-top: 1.8rem; }
.nsv2-influences > header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.nsv2-influences h3 { margin: 0; color: #fff6e1; font: 500 clamp(1.45rem, 3.5vw, 2rem)/1.1 Georgia, serif; }
.nsv2-influence-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); gap: .75rem; }
.nsv2-influence {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(192, 211, 230, .15);
  border-radius: .72rem;
  background: rgba(2, 9, 20, .48);
}
.nsv2-influence-number { float: left; display: grid; place-items: center; width: 2.7rem; aspect-ratio: 1; margin: 0 .75rem .35rem 0; border: 1px solid rgba(229, 190, 103, .55); border-radius: 50%; color: #ffe7a8; font: 700 1.15rem/1 Georgia, serif; }
.nsv2-influence small { display: block; margin: 0 0 .15rem; color: #8195ab; font: 800 .62rem/1.4 system-ui, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.nsv2-influence b { display: block; color: #f4ecdc; font-size: .92rem; }
.nsv2-influence p { clear: both; margin: .7rem 0 0; color: #abb9c8; font-size: .82rem; line-height: 1.55; }
.nsv2-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: center; margin-top: 1rem; padding: 1.1rem 1.2rem; border: 1px dashed rgba(229, 190, 103, .36); border-radius: .8rem; }
.nsv2-date-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .55rem; }
.nsv2-date-chips span { display: grid; place-items: center; min-width: 2.45rem; min-height: 2.45rem; padding: .35rem; border: 1px solid rgba(229, 190, 103, .45); border-radius: 50%; color: #ffe7aa; background: rgba(229, 190, 103, .06); font-weight: 800; font-variant-numeric: tabular-nums; }
.nsv2-dates > p { margin: 0; color: #879aaf; font-size: .78rem; line-height: 1.6; }
.nsv2-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.4rem; }
.nsv2-actions button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .65rem 1.1rem; border: 1px solid rgba(229, 190, 103, .42); border-radius: 999px; color: #f8ecd2; font-weight: 750; cursor: pointer; background: rgba(7, 18, 35, .75); transition: transform .2s, border-color .2s, background .2s; }
.nsv2-actions button:hover { transform: translateY(-2px); border-color: var(--ns-gold); background: rgba(29, 48, 72, .84); }
.nsv2-actions button:disabled { cursor: wait; opacity: .58; transform: none; }
.nsv2-share-status { min-height: 1.4rem; margin: .55rem 0 0; color: var(--ns-cyan); font-size: .78rem; text-align: center; }

/* Guía final */
.nsv2-guide { display: grid; grid-template-columns: .9fr 1.35fr; gap: clamp(1.2rem, 4vw, 2.4rem); padding: clamp(1.35rem, 4vw, 2.6rem); border-top: 1px solid rgba(229, 190, 103, .22); background: linear-gradient(120deg, rgba(23, 49, 78, .42), rgba(3, 10, 22, .72)); }
.nsv2-guide-intro h3 { margin: .45rem 0 .6rem; color: #fff5de; font: 500 clamp(1.55rem, 3.5vw, 2.2rem)/1.08 Georgia, serif; }
.nsv2-guide-intro p { margin: 0; color: #aab8c6; font-size: .88rem; line-height: 1.65; }
.nsv2-guide-grid { display: grid; gap: .65rem; }
.nsv2-guide-grid > div { display: flex; gap: .8rem; align-items: flex-start; padding: .72rem 0; border-bottom: 1px solid rgba(192, 211, 230, .1); }
.nsv2-guide-grid > div:last-child { border-bottom: 0; }
.nsv2-guide-grid > div > span { flex: none; color: var(--ns-gold); font: 500 1.35rem/1 Georgia, serif; }
.nsv2-guide-grid p { margin: 0; }
.nsv2-guide-grid b { display: block; margin-bottom: .16rem; color: #edf1f4; font-size: .85rem; }
.nsv2-guide-grid small { display: block; color: #8295a8; font-size: .76rem; line-height: 1.5; }

@keyframes nsv2-spin { to { transform: rotate(360deg); } }
@keyframes nsv2-spin-back { to { transform: rotate(-360deg); } }
@keyframes nsv2-pulse { to { transform: scale(1.08); filter: brightness(1.15); } }

@media (max-width: 720px) {
  .nsv2 { margin-top: .65rem; border-radius: 1rem; }
  .nsv2-hero { min-height: 28rem; }
  .nsv2-hero-image { object-position: 50% 50%; }
  .nsv2-hero-brand { top: 1rem; left: 1rem; font-size: .62rem; }
  .nsv2-hero-seal { top: 51%; width: 11.2rem; }
  .nsv2-hero-caption { right: .9rem; bottom: 1rem; left: .9rem; font-size: .65rem; }
  .nsv2-body { padding: 1.35rem .9rem 1.7rem; }
  .nsv2-form { grid-template-columns: 1fr; padding: 1rem; }
  .nsv2-primary, .nsv2-error, .nsv2-privacy { grid-column: 1; }
  .nsv2-result-header { grid-template-columns: 1fr; text-align: center; }
  .nsv2-number-seal { width: 10.5rem; }
  .nsv2-calculation { justify-content: center; }
  .nsv2-reading-grid { grid-template-columns: 1fr; gap: 0; }
  .nsv2-influences > header { display: block; }
  .nsv2-influences > header .nsv2-kicker { margin-bottom: .3rem; }
  .nsv2-dates { grid-template-columns: 1fr; }
  .nsv2-guide { grid-template-columns: 1fr; }
}

@media (min-width: 721px) {
  .nsv2-form .nsv2-field label { min-height: 2.25rem; }
}

@media (max-width: 420px) {
  .nsv2-hero { min-height: 24rem; }
  .nsv2-hero-seal { width: 9.5rem; }
  .nsv2-hero-caption { line-height: 1.5; }
  .nsv2-intro h2 { font-size: 1.9rem; }
  .nsv2-reading { padding: 1rem .9rem; gap: .7rem; }
  .nsv2-reading-icon { width: 2rem; }
  .nsv2-action { align-items: flex-start; padding: 1rem .9rem; }
  .nsv2-actions { display: grid; }
  .nsv2-actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .nsv2 *, .nsv2 *::before, .nsv2 *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
