:root {
  --bg: #17181C;
  --accent: #53B449;
  --warn: #FF6B00;
  --panel: #1F2126;
  --panel-2: #262930;
  --text: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(83, 180, 73, 0.28);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ns-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(83, 180, 73, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 5%, rgba(255, 107, 0, 0.12), transparent 50%),
    linear-gradient(180deg, #121317 0%, var(--bg) 40%, #141518 100%);
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #7ad36f;
}

.ns-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #111;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.ns-skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.ns-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.ns-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.ns-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(23, 24, 28, 0.88);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.ns-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  background: rgba(17, 18, 22, 0.96);
}

.ns-header__bar {
  width: min(1180px, calc(100% - 1.5rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ns-logo img {
  width: 140px;
  height: auto;
}

.ns-scoreboard {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(83, 180, 73, 0.45);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ns-scoreboard__live {
  color: #111;
  background: var(--accent);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
  animation: ns-pulse 1.8s ease-in-out infinite;
}

@keyframes ns-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.ns-nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.ns-nav-toggle__bars,
.ns-nav-toggle__bars::before,
.ns-nav-toggle__bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ns-nav-toggle__bars::before {
  position: absolute;
  top: -6px;
}

.ns-nav-toggle__bars::after {
  position: absolute;
  top: 6px;
}

.ns-nav-toggle[aria-expanded="true"] .ns-nav-toggle__bars {
  background: transparent;
}

.ns-nav-toggle[aria-expanded="true"] .ns-nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.ns-nav-toggle[aria-expanded="true"] .ns-nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.ns-nav {
  position: absolute;
  top: calc(var(--header-h) + 1px);
  left: 0;
  right: 0;
  background: #15161a;
  border-bottom: 1px solid var(--line);
  transform: translateY(-0.5rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.ns-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.ns-nav__list {
  list-style: none;
  margin: 0;
  padding: 1rem 1.25rem 1.25rem;
  display: grid;
  gap: 0.35rem;
}

.ns-nav__list a {
  display: block;
  padding: 0.65rem 0.8rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 500;
}

.ns-nav__list a:hover {
  background: rgba(83, 180, 73, 0.12);
  color: var(--accent);
}

.ns-header__cta {
  display: none;
}

.ns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ns-btn:hover {
  transform: translateY(-1px);
}

.ns-btn--accent {
  background: var(--accent);
  color: #111;
}

.ns-btn--accent:hover {
  background: #69c75f;
  color: #111;
}

.ns-btn--warn {
  background: var(--warn);
  color: #111;
}

.ns-btn--warn:hover {
  background: #ff8533;
  color: #111;
}

.ns-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
}

.ns-btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ns-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ns-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 40%, rgba(83, 180, 73, 0.05) 50%, transparent 60%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 48px,
      rgba(255, 255, 255, 0.015) 48px,
      rgba(255, 255, 255, 0.015) 49px
    );
  pointer-events: none;
}

.ns-hero__grid {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.ns-hero__tag {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255, 107, 0, 0.5);
  color: var(--warn);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ns-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.ns-hero__content > p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

.ns-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.ns-hero__hud {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
}

.ns-hud-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 280px);
  padding: 1.4rem 1.2rem;
  background: linear-gradient(160deg, rgba(31, 33, 38, 0.95), rgba(23, 24, 28, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.35rem;
  text-align: center;
  animation: ns-float-hud 4.5s ease-in-out infinite;
}

.ns-hud-panel__kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-family: var(--font-display);
}

.ns-hud-panel strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.ns-hud-panel span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.ns-hud-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px dashed rgba(83, 180, 73, 0.35);
  box-shadow: inset 0 0 40px rgba(255, 107, 0, 0.08);
  animation: ns-spin 18s linear infinite;
}

@keyframes ns-float-hud {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes ns-spin {
  to { transform: rotate(360deg); }
}

.ns-section {
  padding: 3.5rem 0;
}

.ns-section__head {
  margin-bottom: 1.4rem;
}

.ns-eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.ns-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.ns-section p {
  color: var(--muted);
}

.ns-bonus {
  background:
    linear-gradient(180deg, rgba(83, 180, 73, 0.06), transparent 40%),
    var(--bg);
}

.ns-bonus__layout {
  display: grid;
  gap: 1.75rem;
}

.ns-bonus__copy > p:first-child {
  margin-top: 0;
}

.ns-table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.ns-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.ns-table th,
.ns-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.ns-table th {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(83, 180, 73, 0.08);
}

.ns-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.ns-table tr:last-child td {
  border-bottom: 0;
}

.ns-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.ns-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ns-panorama {
  position: relative;
}

.ns-panorama__inner {
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.08), transparent 45%),
    var(--panel);
  border: 1px solid rgba(255, 107, 0, 0.22);
}

.ns-panorama__inner p {
  margin-bottom: 0;
}

.ns-registro {
  background: linear-gradient(180deg, transparent, rgba(83, 180, 73, 0.04));
}

.ns-registro__lead {
  margin-top: 0;
}

.ns-stepper {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.ns-stepper__item {
  position: relative;
  padding: 1.2rem 1.15rem 1.2rem 1.15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.45rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.ns-stepper__item:hover {
  border-color: rgba(83, 180, 73, 0.55);
  transform: translateY(-2px);
}

.ns-stepper__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--warn);
}

.ns-stepper__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.ns-stepper__note {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ns-app__grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.ns-app__copy .ns-section__head {
  margin-bottom: 1rem;
}

.ns-pagos__grid {
  display: grid;
  gap: 1.1rem;
}

.ns-panel {
  padding: 1.4rem 1.3rem;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
}

.ns-panel > p:first-child {
  margin-top: 0;
}

.ns-panel > p:last-child {
  margin-bottom: 0;
}

.ns-panel--accent {
  border-color: rgba(83, 180, 73, 0.35);
  background:
    linear-gradient(160deg, rgba(83, 180, 73, 0.1), transparent 55%),
    var(--panel-2);
}

.ns-panel--accent h2 {
  margin-bottom: 0.85rem;
}

.ns-detalle__block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ns-detalle__block--last {
  margin-bottom: 0;
}

.ns-detalle__split {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  align-items: start;
}

.ns-faq {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 107, 0, 0.08), transparent 40%),
    var(--bg);
}

.ns-accordion {
  display: grid;
  gap: 0.75rem;
}

.ns-accordion__item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: var(--panel);
  overflow: hidden;
}

.ns-accordion__item > h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.ns-accordion__btn {
  width: 100%;
  text-align: left;
  padding: 1rem 1.15rem;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.ns-accordion__btn::after {
  content: "+";
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
}

.ns-accordion__item.is-open .ns-accordion__btn::after {
  content: "–";
}

.ns-accordion__panel {
  display: none;
  padding: 0 1.15rem 1.1rem;
}

.ns-accordion__item.is-open .ns-accordion__panel {
  display: block;
}

.ns-accordion__panel p {
  margin: 0;
}

.ns-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem;
  background: rgba(31, 33, 38, 0.95);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  animation: ns-float-in 0.45s ease both;
}

.ns-float.is-hidden {
  display: none;
}

@keyframes ns-float-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ns-float__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  cursor: pointer;
}

.ns-float__close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.ns-footer {
  margin-top: 1rem;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #121317;
}

.ns-footer__grid {
  display: grid;
  gap: 1.5rem;
}

.ns-footer__brand p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  max-width: 42ch;
  font-size: 0.95rem;
}

.ns-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.ns-footer__nav a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.92rem;
}

.ns-footer__nav a:hover {
  color: var(--accent);
}

.ns-footer__base {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.75rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.88rem;
}

.ns-footer__base p {
  margin: 0;
}

.ns-cookie {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 110;
  width: min(420px, calc(100% - 2rem));
  padding: 1rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.85rem;
}

.ns-cookie[hidden] {
  display: none;
}

.ns-cookie p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.ns-tech {
  padding: 3rem 0 4rem;
}

.ns-tech h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.15;
}

.ns-tech h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.ns-tech p,
.ns-tech li {
  color: var(--muted);
}

.ns-tech ul {
  padding-left: 1.2rem;
}

.ns-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.ns-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .ns-scoreboard {
    display: inline-flex;
  }

  .ns-hero__grid {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: center;
  }

  .ns-bonus__layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .ns-stepper {
    grid-template-columns: repeat(4, 1fr);
  }

  .ns-stepper__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.55rem;
    right: -0.55rem;
    width: 0.7rem;
    height: 2px;
    background: var(--accent);
    opacity: 0.55;
  }

  .ns-app__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .ns-pagos__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ns-detalle__split {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .ns-footer__grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .ns-nav-toggle {
    display: none;
  }

  .ns-nav {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border: 0;
    margin-left: auto;
  }

  .ns-nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
  }

  .ns-nav__list a {
    padding: 0.45rem 0.55rem;
    font-size: 0.86rem;
  }

  .ns-header__cta {
    display: inline-flex;
    padding: 0.65rem 0.95rem;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .ns-header__bar {
    gap: 0.6rem;
  }
}

@media (max-width: 767px) {
  .ns-float .ns-btn {
    padding: 0.7rem 0.95rem;
    font-size: 0.88rem;
  }

  .ns-cookie {
    bottom: 5.2rem;
  }
}
