/* ==========================================================================
   XZ TRADERS · Área de socios
   Mismo diseño "VIP platino" que xztraders.com: negro, platino y el violeta
   de la marca XZ. Lo propio de esta web está en "Área de socios", al final.
   ========================================================================== */

/* Fuentes alojadas en la propia web (assets/fonts, licencia OFL) */
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg: #08080b;
  --bg-deep: #000000;
  --surface: #0f0f14;
  --surface-2: #15151c;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f5f5f8;
  --text-2: #a4a4b0;
  --text-3: #686874;

  /* Platino y violeta XZ */
  --plat: #ececf2;
  --plat-2: #b8b9c6;
  --violet: #8b7bff;
  --violet-hi: #c3c1ff;
  --violet-line: rgba(139, 123, 255, 0.3);
  --violet-glow: rgba(124, 108, 255, 0.45);

  --up: #22c98a;
  --down: #f05252;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --container: 1120px;
  --gutter: 24px;
  --nav-h: 64px;

  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  background: #000;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

svg {
  flex-shrink: 0;
}

::selection {
  background: rgba(139, 123, 255, 0.4);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--violet-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --------------------------------------------------------------------------
   Tipografía
   -------------------------------------------------------------------------- */

.title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.title--xl {
  font-size: clamp(2.25rem, 5.4vw, 4.25rem);
}

/* Texto con brillo metálico: platino que vira a violeta */
.shine {
  background: linear-gradient(100deg, #ffffff 0%, var(--plat-2) 38%, var(--violet-hi) 70%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--text-2);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--violet-hi);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet-glow);
}

.link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--violet-line);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s, color 0.2s;
}

.link:hover {
  color: var(--violet-hi);
  text-decoration-color: var(--violet-hi);
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */

/* Principal: platino con halo violeta */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #e6e6ee 55%, #c9cad6 100%);
  color: #0b0b10;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 14px 40px -12px var(--violet-glow),
    0 2px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background-color 0.2s, border-color 0.2s;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 20px 50px -12px rgba(124, 108, 255, 0.7),
    0 2px 8px rgba(0, 0, 0, 0.5);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: none;
}

.btn--line {
  padding: 11px 18px;
  background: rgba(139, 123, 255, 0.08);
  border-color: var(--violet-line);
  color: var(--violet-hi);
  font-size: 14.5px;
  box-shadow: none;
}

.btn--line:hover {
  background: rgba(139, 123, 255, 0.14);
  border-color: var(--violet-hi);
  box-shadow: 0 10px 30px -12px var(--violet-glow);
}

.btn--sm {
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13.5px;
}

.btn--lg {
  padding: 16px 28px;
  font-size: 16.5px;
}

.btn--block {
  width: 100%;
}

.live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--up);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--up);
  animation: ping 2s var(--ease) infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  80%,
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.nav.is-scrolled {
  background: rgba(8, 8, 11, 0.72);
  border-bottom-color: var(--border);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 44px;
  height: 22px;
}

.brand__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 8px;
  font-size: 14px;
  color: var(--text-2);
}

.nav__links a {
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Hero (centrado, con la tarjeta debajo como pieza principal)
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 40px;
  background: var(--bg-deep);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg-deep);
  pointer-events: none;
}

/* Haces de luz en 3D (assets/js/beams.js) */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.has-beams .hero__canvas {
  opacity: 0.55;
}

.has-beams .beam,
.has-beams .hero__grain {
  display: none;
}

/* Resplandor violeta bajo la tarjeta */
.hero__glow {
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: min(1100px, 120vw);
  height: 70%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 108, 255, 0.34), rgba(124, 108, 255, 0.1) 55%, transparent 78%);
  filter: blur(30px);
}

/* Haces de luz diagonales (respaldo si no hay WebGL) */
.beam {
  position: absolute;
  top: -40%;
  height: 180%;
  transform: rotate(-30deg);
  transform-origin: center;
  filter: blur(3px);
  opacity: calc(var(--o, 0.9) * 0.6);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 1.5%,
    rgba(255, 255, 255, 0.3) 18%,
    rgba(255, 255, 255, 0.07) 52%,
    rgba(255, 255, 255, 0) 100%
  );
  -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 26%, #000 48%, transparent 64%, #000 78%, transparent 96%);
  mask-image: linear-gradient(180deg, transparent 4%, #000 26%, #000 48%, transparent 64%, #000 78%, transparent 96%);
  animation: beam-drift var(--d, 14s) ease-in-out infinite alternate;
}

.beam--1 {
  left: 2%;
  width: 18vw;
  --o: 0.55;
  --d: 16s;
}

.beam--2 {
  left: 24%;
  width: 14vw;
  --o: 0.85;
  --d: 13s;
  animation-delay: -4s;
}

.beam--3 {
  left: 44%;
  width: 20vw;
  --o: 0.7;
  --d: 18s;
  animation-delay: -8s;
}

.beam--4 {
  left: 64%;
  width: 11vw;
  --o: 0.6;
  --d: 15s;
  animation-delay: -2s;
}

.beam--5 {
  left: 80%;
  width: 16vw;
  --o: 0.45;
  --d: 17s;
  animation-delay: -6s;
}

.beam--6 {
  left: -18%;
  width: 22vw;
  top: -10%;
  --o: 0.35;
  --d: 20s;
  animation-delay: -10s;
}

@keyframes beam-drift {
  0% {
    transform: rotate(-30deg) translate3d(-3%, -4%, 0);
  }
  100% {
    transform: rotate(-30deg) translate3d(3%, 4%, 0);
  }
}

.hero__grain {
  position: absolute;
  inset: -50%;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}

@keyframes grain {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-3%, 2%);
  }
  50% {
    transform: translate(2%, -3%);
  }
  75% {
    transform: translate(-2%, -1%);
  }
  100% {
    transform: translate(0, 0);
  }
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, rgba(0, 0, 0, 0.62), transparent 75%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 25%, transparent 80%, var(--bg) 100%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--plat);
  font-size: 13px;
  font-weight: 500;
}

.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 10px var(--violet);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

.hero__title {
  margin-top: 28px;
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero__title .shine {
  display: block;
}

.hero__lead {
  max-width: 600px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.hero__fine {
  max-width: 46ch;
  margin-top: 16px;
  color: var(--text-3);
  font-size: 13px;
}

/* Tarjeta con dos datos a los lados */
.vip {
  display: grid;
  grid-template-columns: 1fr minmax(0, 540px) 1fr;
  align-items: center;
  gap: 40px;
  width: 100%;
  margin-top: 56px;
}

.vip__spec {
  display: grid;
  gap: 6px;
}

.vip__spec--left {
  justify-items: end;
  text-align: right;
}

.vip__spec--right {
  justify-items: start;
  text-align: left;
}

.vip__spec > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid var(--border-strong);
  min-width: 150px;
}

.vip__spec dd {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.vip__spec small {
  color: var(--text-2);
  font-size: 0.45em;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.vip__spec dt {
  color: var(--text-3);
  font-size: 13px;
}

/* Entrada del hero */
.js .hero__content > * {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s var(--ease) forwards;
}

.js .hero__content > :nth-child(2) {
  animation-delay: 0.06s;
}

.js .hero__content > :nth-child(3) {
  animation-delay: 0.14s;
}

.js .hero__content > :nth-child(4) {
  animation-delay: 0.22s;
}

.js .hero__content > :nth-child(5) {
  animation-delay: 0.28s;
}

.js .hero__content > .vip {
  animation-delay: 0.36s;
  animation-duration: 1.2s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Tarjeta VIP de titanio
   La inclinación la mueve initVipCard() en main.js con variables CSS:
   --rx/--ry giro, --lx/--ly punto de luz, --edge brillo del filo,
   --sx desplazamiento del reflejo y del holograma.
   -------------------------------------------------------------------------- */

.vip__scene {
  --rx: 6deg;
  --ry: -10deg;
  --lx: 30%;
  --ly: 20%;
  --edge: 200;
  --sx: 0%;
  --so: 0.55;
  --tx: 0px;
  --ty: 0px;
  --shx: 10px;
  --shy: 26px;

  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 24px;
  container-type: inline-size;
  perspective: 900px;
  perspective-origin: 50% 46%;
  -webkit-tap-highlight-color: transparent;
}

.vip__shadow {
  position: absolute;
  inset: 24px 0;
  border-radius: 4.4cqw;
  background: #000;
  pointer-events: none;
}

.vip__shadow--far {
  opacity: 0.9;
  filter: blur(36px);
  transform: translate3d(var(--shx), var(--shy), 0) scale(0.96);
}

.vip__shadow--near {
  opacity: 0.6;
  filter: blur(10px);
  transform: translate3d(calc(var(--shx) * 0.4), calc(var(--shy) * 0.34), 0) scale(0.95);
}

.vip__card {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1.586;
  border-radius: 4.4cqw;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  will-change: transform;
}

/* Canto metálico */
.vip__slab {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.vip__slab--1 {
  background: #2a2a33;
  box-shadow: 0 0 0 1px rgba(195, 193, 255, 0.22);
  transform: translateZ(-5px) scale(1.0056);
}

.vip__slab--2 {
  background: #17171d;
  transform: translateZ(-12px) scale(1.0133);
}

.vip__slab--3 {
  background: #0a0a0d;
  box-shadow: 0 0 0 1px rgba(195, 193, 255, 0.1);
  transform: translateZ(-20px) scale(1.0222);
}

.vip__face {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(135deg, #2b2b33 0%, #1a1a20 34%, #111116 68%, #0b0b0e 100%);
  isolation: isolate;
}

.vip__face > * {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Metal cepillado */
.vip__brush {
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px);
  opacity: 0.9;
}

.vip__amb {
  background:
    radial-gradient(80% 75% at var(--lx) var(--ly), rgba(235, 235, 255, 0.16), rgba(195, 193, 255, 0.04) 45%, transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 30%);
}

/* Franja holográfica: cambia de color al inclinar */
.vip__holo {
  inset: 0 auto 0 66%;
  width: 13%;
  background:
    linear-gradient(
      180deg,
      rgba(139, 123, 255, 0.55),
      rgba(98, 214, 255, 0.45) 22%,
      rgba(255, 140, 220, 0.42) 46%,
      rgba(195, 193, 255, 0.5) 70%,
      rgba(98, 214, 255, 0.45) 100%
    );
  background-size: 100% 260%;
  background-position: 50% calc(50% + var(--sx));
  mix-blend-mode: color-dodge;
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

/* Línea de luz que cruza al inclinar */
.vip__sweep {
  overflow: hidden;
  opacity: var(--so);
  -webkit-mask-image: radial-gradient(116% 94% at calc(var(--lx) + 6%) 22%, #000 0%, #000 34%, rgba(0, 0, 0, 0.42) 72%, transparent 100%);
  mask-image: radial-gradient(116% 94% at calc(var(--lx) + 6%) 22%, #000 0%, #000 34%, rgba(0, 0, 0, 0.42) 72%, transparent 100%);
}

.vip__sweep > i {
  position: absolute;
  inset: -70% -40%;
  transform: translateX(var(--sx)) rotate(24deg);
  background: linear-gradient(
    90deg,
    transparent calc(50% - 14px),
    rgba(220, 220, 255, 0.05) calc(50% - 9px),
    rgba(235, 235, 255, 0.2) calc(50% - 2px),
    rgba(250, 250, 255, 0.9) calc(50% - 0.5px),
    rgba(250, 250, 255, 0.9) calc(50% + 0.5px),
    rgba(235, 235, 255, 0.2) calc(50% + 2px),
    rgba(220, 220, 255, 0.05) calc(50% + 9px),
    transparent calc(50% + 14px)
  );
}

.vip__face::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  pointer-events: none;
}

/* Filo de 1px en plata y violeta */
.vip__rim {
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  transform: translateZ(1px);
  background: conic-gradient(
    from calc(var(--edge) * 1deg) at 50% 50%,
    rgba(255, 255, 255, 0.08) 0deg,
    rgba(235, 235, 255, 0.85) 30deg,
    rgba(195, 193, 255, 0.7) 60deg,
    rgba(139, 123, 255, 0.25) 120deg,
    rgba(255, 255, 255, 0.08) 190deg,
    rgba(139, 123, 255, 0.22) 260deg,
    rgba(235, 235, 255, 0.4) 325deg,
    rgba(255, 255, 255, 0.08) 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.vip__type {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6.6cqw 7.2cqw;
  text-align: left;
  transform: translate3d(var(--tx), var(--ty), 15px);
  pointer-events: none;
}

.vip__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vip__brand {
  display: inline-flex;
  align-items: center;
  gap: 2.2cqw;
  color: rgba(245, 245, 250, 0.9);
  font-size: clamp(10px, 2.6cqw, 14px);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.vip__brand svg {
  width: 9cqw;
  height: 4.5cqw;
}

/* "VIP" en relieve plateado */
.vip__tier {
  background: linear-gradient(180deg, #ffffff 0%, #c9cad6 45%, #7d7e8c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(20px, 6.4cqw, 36px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.6));
}

.vip__number {
  display: flex;
  flex-direction: column;
  gap: 1.6cqw;
}

.vip__label,
.vip__reg dt {
  color: rgba(245, 245, 250, 0.42);
  font-family: var(--mono);
  font-size: clamp(7.5px, 1.6cqw, 9.5px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.vip__digits {
  background: linear-gradient(180deg, #ffffff 0%, #d9d9e4 50%, #9a9bab 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--mono);
  font-size: clamp(26px, 9.6cqw, 54px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.7));
}

.vip__reg {
  display: flex;
}

.vip__reg > div {
  display: flex;
  flex-direction: column;
  gap: 1.2cqw;
  padding: 0 3.6cqw;
  border-left: 1px solid rgba(245, 245, 250, 0.12);
}

.vip__reg > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.vip__reg dd {
  color: rgba(245, 245, 250, 0.9);
  font-family: var(--mono);
  font-size: clamp(10px, 2.2cqw, 13px);
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.vip__perks dd {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em 0;
  font-size: clamp(8.5px, 1.9cqw, 11.5px);
  letter-spacing: 0.02em;
}

.vip__perks span + span::before {
  content: "·";
  margin: 0 0.45em;
  color: var(--violet-hi);
}

/* En tarjetas pequeñas (móvil) las ventajas pasan a dos columnas */
@container (max-width: 460px) {
  .vip__perks dd {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0.5em 1.4em;
  }

  .vip__perks span::before {
    content: "·";
    margin-right: 0.45em;
    color: var(--violet-hi);
  }

  .vip__perks span + span::before {
    margin: 0 0.45em 0 0;
  }
}

/* --------------------------------------------------------------------------
   Secciones genéricas
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 56px;
}

.section-head--center {
  align-items: center;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

/* Título a la izquierda y texto a la derecha */
.section-head--split {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section-head--split > div {
  display: grid;
  gap: 16px;
}

.section-head--split .lead {
  max-width: 380px;
}

/* --------------------------------------------------------------------------
   Qué incluye: rejilla de 2 x 2
   -------------------------------------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 20px;
  row-gap: 6px;
  align-items: start;
  padding: 30px 30px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}

/* Brillo que sigue al cursor (assets/js/main.js, initFeatureGlow) */
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 123, 255, 0.12), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.feature:hover {
  border-color: var(--violet-line);
}

.feature:hover::after {
  opacity: 1;
}

.feature__icon {
  display: grid;
  place-items: center;
  grid-row: span 2;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2c2c36, #121217);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  color: var(--violet-hi);
}

.feature__icon svg {
  width: 21px;
  height: 21px;
}

.feature h3 {
  padding-top: 4px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.feature p {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Cómo entrar: tres tarjetas en fila y barra del bot
   -------------------------------------------------------------------------- */

.steps-sec {
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124, 108, 255, 0.16), transparent 70%),
    linear-gradient(180deg, #0c0b12, var(--bg));
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 30px 28px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, #17161f, #0e0e14) padding-box,
    linear-gradient(160deg, rgba(195, 193, 255, 0.55), rgba(255, 255, 255, 0.06) 45%, rgba(139, 123, 255, 0.35)) border-box;
  box-shadow: 0 30px 80px -40px rgba(124, 108, 255, 0.5);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease);
}

.step:hover {
  transform: translateY(-4px);
}

/* Número grande de contorno al fondo de la tarjeta */
.step__num {
  position: absolute;
  top: -0.18em;
  right: 0.06em;
  z-index: -1;
  color: transparent;
  font-size: 168px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  -webkit-text-stroke: 1px rgba(195, 193, 255, 0.22);
  user-select: none;
}

.step__tag {
  padding: 4px 10px;
  border: 1px solid var(--violet-line);
  border-radius: 999px;
  background: rgba(139, 123, 255, 0.1);
  color: var(--violet-hi) !important;
  font-family: var(--mono);
  font-size: 11.5px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step h3 {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.step p {
  color: #d0d0da;
  font-size: 15.5px;
  line-height: 1.6;
  text-wrap: pretty;
}

.step strong {
  color: #fff;
  font-weight: 600;
}

.step .btn,
.step .note {
  margin-top: auto;
}

.step p + .btn {
  margin-top: 8px;
}

.uid {
  padding: 1px 6px;
  border: 1px solid var(--violet-line);
  border-radius: 6px;
  background: rgba(139, 123, 255, 0.1);
  color: var(--violet-hi);
  font-family: var(--mono);
  font-size: 0.88em;
  white-space: nowrap;
}

.note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(34, 201, 138, 0.3);
  border-radius: 999px;
  background: rgba(34, 201, 138, 0.09);
  color: #7fe3b8 !important;
  font-size: 13.5px !important;
  font-weight: 500;
}

.note svg {
  width: 15px;
  height: 15px;
}

/* --------------------------------------------------------------------------
   FAQ en dos columnas
   -------------------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 64px;
}

.faq-grid__head {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  display: grid;
  gap: 18px;
}

.faq {
  border-top: 1px solid var(--border-strong);
}

.faq details {
  border-bottom: 1px solid var(--border-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}

.faq summary:hover {
  color: var(--violet-hi);
}

.faq summary::-webkit-details-marker {
  display: none;
}

/* El "+" va dentro de un círculo y gira al abrir */
.faq summary svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-2);
  transition: transform 0.3s var(--ease), color 0.3s, background-color 0.3s, border-color 0.3s;
}

.faq details[open] summary svg {
  transform: rotate(45deg);
  border-color: transparent;
  background: var(--violet);
  color: #fff;
}

.faq details p {
  max-width: 60ch;
  padding: 0 56px 26px 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   CTA final
   -------------------------------------------------------------------------- */

.cta-final {
  padding: 160px 0;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(124, 108, 255, 0.2), transparent 70%), var(--bg);
}

/* Logo XZ gigante, en contorno, detrás del texto */
.cta-final__mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(1100px, 150vw);
  height: min(560px, 76vw);
  transform: translate(-50%, -50%);
  fill: none;
  stroke: rgba(195, 193, 255, 0.16);
  stroke-width: 1.2;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 40%, transparent 100%);
  pointer-events: none;
}

.cta-final .section-head {
  margin-bottom: 0;
}

.cta-final .lead {
  max-width: 46ch;
}

.cta-final .btn {
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  padding: 56px 0 0;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  overflow: hidden;
}

.footer__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.footer__tag {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 14.5px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 26px;
  color: var(--text-2);
  font-size: 14px;
}

.footer__links a {
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-top: 22px;
}

.footer__legal {
  max-width: 640px;
  color: var(--text-3);
  font-size: 12.5px;
  line-height: 1.6;
}

.footer__copy {
  color: var(--text-3);
  font-size: 12.5px;
  white-space: nowrap;
}

.wordmark {
  margin: 36px 0 -0.22em;
  background: linear-gradient(180deg, #d6d6e0 0%, #7a7a8c 45%, #16161c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(3rem, 13.2vw, 12.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

/* --------------------------------------------------------------------------
   CTA fija móvil
   -------------------------------------------------------------------------- */

.mobile-cta {
  display: none;
}

/* --------------------------------------------------------------------------
   Animación al hacer scroll
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .nav__links {
    display: none;
  }

  .vip {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    max-width: 560px;
  }

  .vip__scene {
    grid-column: 1 / -1;
    order: -1;
  }

  .vip__spec--left,
  .vip__spec--right {
    justify-items: stretch;
    text-align: left;
  }

  .vip__spec > div {
    min-width: 0;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-grid__head {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 16px;
    --nav-h: 60px;
  }

  .section {
    padding: 88px 0;
  }

  .hero {
    padding: calc(var(--nav-h) + 44px) 0 24px;
  }

  .hero__title {
    margin-top: 22px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 380px;
    margin-top: 30px;
  }

  .vip {
    margin-top: 40px;
  }

  .vip__scene {
    padding-block: 12px;
    perspective: 820px;
  }

  .vip__shadow {
    inset: 12px 0;
  }

  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature {
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
    padding: 22px 20px;
  }

  .feature__icon {
    width: 44px;
    height: 44px;
  }

  .feature h3 {
    padding-top: 0;
    font-size: 18px;
  }

  .feature p {
    font-size: 15px;
  }

  .brand__name {
    font-size: 15px;
  }

  .step {
    padding: 24px 22px;
  }

  .step__num {
    font-size: 132px;
  }

  .step h3 {
    font-size: 20px;
  }

  .faq summary {
    padding: 20px 0;
    font-size: 16.5px;
  }

  .faq details p {
    padding: 0 0 22px;
    font-size: 15.5px;
  }

  .cta-final {
    padding: 120px 0;
  }

  .footer__top,
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__links {
    justify-content: flex-start;
  }

  /* Barra fija con CTA */
  .mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    display: block;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(8, 8, 11, 0), rgba(8, 8, 11, 0.92) 35%);
    transform: translateY(110%);
    transition: transform 0.4s var(--ease);
  }

  .mobile-cta.is-visible {
    transform: none;
  }

  .mobile-cta .btn {
    padding: 15px 20px;
    font-size: 16px;
  }

  .footer {
    padding-bottom: 76px;
  }
}

@media (max-width: 380px) {
  .brand__name {
    display: none;
  }
}

/* ==========================================================================
   Área de socios
   ========================================================================== */

[hidden] {
  display: none !important;
}

.brand__sub {
  margin-left: 4px;
  color: var(--violet-hi);
  font-weight: 500;
}

/* La tarjeta muestra el UID (hasta 19 caracteres) en lugar de 4 cifras */
.vip__digits[data-card-uid] {
  font-size: clamp(18px, 6.4cqw, 36px);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Entrar con el UID
   -------------------------------------------------------------------------- */

.access-sec {
  overflow: hidden;
}

.access-sec::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 140px;
  width: min(900px, 100%);
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(124, 108, 255, 0.1), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.access {
  display: grid;
  gap: 16px;
  max-width: 620px;
  margin: 0 auto;
}

.login {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(180, 184, 255, 0.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(124, 108, 255, 0.06), rgba(255, 255, 255, 0.01));
}

.login__label {
  font-size: 15px;
  font-weight: 500;
}

.login__row {
  display: flex;
  gap: 10px;
}

.login__input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.5);
  color: var(--text);
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login__input::placeholder {
  color: var(--text-3);
}

.login__input:focus {
  outline: none;
  border-color: rgba(180, 184, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(124, 108, 255, 0.2);
}

.login__hint {
  color: var(--text-3);
  font-size: 13.5px;
  line-height: 1.5;
}

.login__submit {
  flex-shrink: 0;
}

.login__submit:disabled {
  cursor: progress;
  opacity: 0.8;
}

.login__spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(10, 10, 10, 0.25);
  border-top-color: #0a0a0a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.is-loading .login__spinner {
  display: inline-block;
}

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

.login__result:empty {
  display: none;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  animation: notice-in 0.5s var(--ease) both;
}

@keyframes notice-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.notice > svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.notice strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.notice p {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
}

.notice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.notice--error {
  border-color: rgba(240, 82, 82, 0.3);
  background: rgba(240, 82, 82, 0.06);
}

.notice--error > svg {
  color: var(--down);
}

/* --------------------------------------------------------------------------
   Panel del socio (/panel/): progreso y ventajas
   -------------------------------------------------------------------------- */

.progress {
  display: grid;
  gap: 10px;
  padding: 24px 26px;
  border: 1px solid rgba(180, 184, 255, 0.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(124, 108, 255, 0.07), rgba(255, 255, 255, 0.01));
}

.progress__labels {
  display: flex;
  justify-content: space-between;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress__bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.progress__bar > i {
  display: block;
  width: 0;
  height: 100%;
  min-width: 10px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--plat-2), var(--violet-hi), var(--violet));
  box-shadow: 0 0 18px var(--violet-glow);
  transition: width 1.2s var(--ease);
}

.progress__text {
  color: var(--text-2);
  font-size: 14.5px;
}

.perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.perk {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  color: var(--text-3);
}

.perk.is-unlocked {
  border-color: var(--violet-line);
  color: var(--text);
  box-shadow: 0 30px 80px -50px rgba(124, 108, 255, 0.6);
}

.perk__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.perk__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2c2c36, #121217);
}

.is-unlocked .perk__icon {
  color: var(--violet-hi);
}

.perk__icon svg {
  width: 18px;
  height: 18px;
}

.perk__tier {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.is-unlocked .perk__tier {
  color: var(--up);
}

.perk h3 {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.perk p {
  font-size: 14.5px;
  line-height: 1.55;
}

.is-unlocked p {
  color: var(--text-2);
}

.perk .btn,
.perk__lock {
  margin-top: auto;
}

.perk__lock {
  padding-top: 6px;
  font-family: var(--mono);
  font-size: 12.5px !important;
}

/* --------------------------------------------------------------------------
   Niveles
   -------------------------------------------------------------------------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  list-style: none;
}

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: border-color 0.3s, transform 0.4s var(--ease);
}

.tier:hover {
  border-color: var(--violet-line);
  transform: translateY(-4px);
}

.tier--top {
  border-color: transparent;
  background:
    linear-gradient(180deg, #17161f, #0e0e14) padding-box,
    linear-gradient(160deg, rgba(195, 193, 255, 0.55), rgba(255, 255, 255, 0.06) 45%, rgba(139, 123, 255, 0.35)) border-box;
}

.tier.is-current {
  border-color: var(--violet-hi);
  box-shadow: 0 0 0 1px var(--violet-hi), 0 30px 80px -40px rgba(124, 108, 255, 0.7);
}

.tier.is-current::after {
  content: "Tu nivel";
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.tier__name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tier__min {
  color: var(--text-2);
  font-size: 13.5px;
}

.tier__min strong {
  color: var(--violet-hi);
  font-family: var(--mono);
  font-weight: 500;
}

.tier__list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  list-style: none;
  font-size: 14.5px;
}

.tier__list li {
  position: relative;
  padding-left: 16px;
}

.tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--violet);
}

@media (max-width: 1020px) {
  .tiers {
    grid-template-columns: repeat(2, 1fr);
  }

  .tier--top {
    grid-column: 1 / -1;
  }

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

@media (max-width: 760px) {
  .login {
    padding: 22px 18px;
  }

  .login__row {
    flex-direction: column;
  }

  .progress {
    padding: 20px 18px;
  }

  .tiers,
  .perks {
    grid-template-columns: 1fr;
  }
}

.brand__name {
  white-space: nowrap;
}

@media (max-width: 430px) {
  .brand__sub {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Medallas de nivel (símbolo #medal en el HTML)
   -------------------------------------------------------------------------- */

.medal {
  --medal-metal: url(#metal-socio);
  --medal-ribbon: #2e2766;
  --medal-glow: rgba(139, 123, 255, 0.35);

  display: block;
  flex-shrink: 0;
  width: 48px;
  height: 56px;
  overflow: visible;
  filter: drop-shadow(0 8px 18px var(--medal-glow));
}

.medal__metal {
  fill: var(--medal-metal);
}

.medal__ribbon {
  fill: var(--medal-ribbon);
}

.medal__ring {
  fill: none;
  stroke: var(--medal-metal);
  stroke-width: 1.2;
  opacity: 0.7;
}

.medal--bronce {
  --medal-metal: url(#metal-bronce);
  --medal-ribbon: #5a2c0e;
  --medal-glow: rgba(196, 122, 61, 0.35);
}

.medal--plata {
  --medal-metal: url(#metal-plata);
  --medal-ribbon: #3d404a;
  --medal-glow: rgba(185, 189, 200, 0.3);
}

.medal--oro {
  --medal-metal: url(#metal-oro);
  --medal-ribbon: #6e4708;
  --medal-glow: rgba(240, 185, 58, 0.4);
}

.medal--platino {
  --medal-metal: url(#metal-platino);
  --medal-ribbon: #3a2f95;
  --medal-glow: rgba(157, 143, 255, 0.5);
}

.medal--sm {
  width: 36px;
  height: 42px;
}

.medal--md {
  width: 44px;
  height: 51px;
}

.medal--lg {
  width: 88px;
  height: 102px;
}

/* Tarjetas de la sección Niveles */
.tier .medal {
  margin-bottom: 6px;
  transition: transform 0.4s var(--ease);
}

.tier:hover .medal {
  transform: translateY(-3px) rotate(-4deg);
}

/* Tarjeta 3D del dashboard: el nombre del nivel con su metal */
.vip__tier[data-metal="bronce"] {
  background-image: linear-gradient(180deg, #ffd9b0 0%, #c47a3d 50%, #6b3812 100%);
}

.vip__tier[data-metal="plata"] {
  background-image: linear-gradient(180deg, #ffffff 0%, #c9ccd6 50%, #6e727e 100%);
}

.vip__tier[data-metal="oro"] {
  background-image: linear-gradient(180deg, #fff3c4 0%, #f0b93a 50%, #8a5a0c 100%);
}

.vip__tier[data-metal="platino"] {
  background-image: linear-gradient(180deg, #ffffff 0%, #c3c1ff 50%, #7b6cff 100%);
}

/* Ejemplo de volumen (sección Niveles) */
.tier__eq {
  color: var(--text-3);
  font-size: 12.5px;
}

.volume-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 20px 40px;
  align-items: center;
  margin-top: 24px;
  padding: 28px 30px;
  border: 1px solid rgba(180, 184, 255, 0.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(124, 108, 255, 0.07), rgba(255, 255, 255, 0.01));
}

.volume-example__head {
  display: grid;
  gap: 10px;
}

.volume-example__head h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.volume-example__head p:not(.eyebrow) {
  color: var(--text-2);
  font-size: 15px;
}

.volume-example__head strong {
  color: var(--text);
  font-weight: 600;
}

.volume-example__calc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  list-style: none;
}

.volume-example__calc li {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
}

.volume-example__calc span {
  color: var(--text-3);
  font-size: 12.5px;
  line-height: 1.3;
}

.volume-example__calc strong {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.volume-example__calc .is-total {
  border-color: var(--violet-line);
  background: rgba(139, 123, 255, 0.12);
}

.volume-example__calc .is-total strong {
  color: var(--violet-hi);
}

.volume-example__note {
  grid-column: 1 / -1;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 1020px) {
  .volume-example {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .volume-example {
    padding: 22px 18px;
  }

  .volume-example__calc {
    grid-template-columns: 1fr 1fr;
  }
}

/* --------------------------------------------------------------------------
   Objetivos del mes (portada y panel)
   -------------------------------------------------------------------------- */

.goals-sec {
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(240, 185, 58, 0.07), transparent 70%),
    var(--bg);
}

.goals {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  list-style: none;
}

.goal {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.goal__min {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--violet-hi);
}

.goal__prize {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.goal__eq {
  color: var(--text-3);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.goal > svg {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  color: var(--up);
}

.goal.is-reached {
  border-color: rgba(34, 201, 138, 0.35);
  background: linear-gradient(180deg, rgba(34, 201, 138, 0.08), var(--surface));
}

.goal.is-reached .goal__eq {
  color: var(--up);
}

.goal.is-next {
  border-color: var(--violet-hi);
  box-shadow: 0 0 0 1px var(--violet-line), 0 24px 60px -36px rgba(124, 108, 255, 0.7);
}

.goal.is-next .goal__eq {
  color: var(--violet-hi);
}

.goals__note {
  margin-top: 16px;
  color: var(--text-3);
  font-size: 13.5px;
}

.chip {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
  padding: 3px 9px;
  border: 1px solid rgba(240, 185, 58, 0.4);
  border-radius: 999px;
  background: rgba(240, 185, 58, 0.1);
  color: #f5d27a;
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.goals--dash {
  margin-top: 16px;
}

/* Gráfico de volumen diario (panel). Una serie: el título la nombra. */
.daychart {
  position: relative;
  margin: 16px 0 0;
  padding: 22px 24px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.daychart__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 18px;
}

.daychart__head strong {
  font-size: 16px;
  font-weight: 600;
}

.daychart__head span {
  color: var(--text-2);
  font-size: 13.5px;
}

.daychart__plot {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 160px;
  border-bottom: 1px solid var(--border-strong);
}

/* Valor máximo del eje (el resto, en la ayuda al pasar el ratón) */
.daychart__plot::before {
  content: attr(data-max);
  position: absolute;
  top: -2px;
  left: 0;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 11px;
}

.daychart__plot::after {
  content: "";
  position: absolute;
  inset: 14px 0 auto;
  border-top: 1px solid var(--border);
  pointer-events: none;
}

.daychart__col {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: flex-end;
  height: calc(100% - 16px);
  cursor: default;
}

.daychart__col i {
  display: block;
  width: 100%;
  max-width: 24px;
  border-radius: 4px 4px 0 0;
  background: var(--violet);
  transition: background-color 0.2s;
}

.daychart__col:hover i {
  background: var(--violet-hi);
}

.daychart__col.is-today {
  background: linear-gradient(180deg, transparent, rgba(139, 123, 255, 0.08));
}

.daychart__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 11px;
}

.daychart__tip {
  position: absolute;
  top: 56px;
  transform: translateX(-50%);
  padding: 6px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #0b0b10;
  color: var(--text);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 1020px) {
  .goals {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .goals {
    grid-template-columns: 1fr;
  }

  .daychart {
    padding: 18px 14px 14px;
  }

  .daychart__plot {
    gap: 1px;
    height: 130px;
  }
}

/* Aviso de depósito (panel) */
.deposit {
  display: grid;
  gap: 18px;
  padding: 26px 28px;
  border: 1px solid rgba(240, 185, 58, 0.45);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(240, 185, 58, 0.1), rgba(255, 255, 255, 0.01));
  box-shadow: 0 30px 80px -50px rgba(240, 185, 58, 0.5);
}

.deposit__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.deposit__head .perk__icon {
  color: #f5d27a;
}

.deposit__head .perk__icon svg {
  width: 20px;
  height: 20px;
}

.deposit__head > div {
  display: grid;
  gap: 6px;
}

.deposit strong {
  color: var(--text);
  font-weight: 600;
}

.deposit__steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  list-style: decimal;
  color: var(--text-2);
  font-size: 15px;
}

.deposit__steps li::marker {
  color: #f5d27a;
  font-family: var(--mono);
}

.deposit__tip {
  color: var(--text-2);
  font-size: 14px;
}

.deposit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.perk .btn--line {
  margin-top: 4px;
}

@media (max-width: 760px) {
  .deposit {
    padding: 22px 18px;
  }

  .deposit__head {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Beneficios y descuentos (/beneficios/)
   -------------------------------------------------------------------------- */

.offers-hero {
  max-width: 760px;
}

.offers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, #17161f, #0e0e14) padding-box,
    linear-gradient(160deg, rgba(195, 193, 255, 0.5), rgba(255, 255, 255, 0.06) 45%, rgba(139, 123, 255, 0.3)) border-box;
  box-shadow: 0 30px 80px -50px rgba(124, 108, 255, 0.6);
}

.offer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

.offer__big {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, #ffffff, var(--violet-hi) 60%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.offer__title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.offer__text {
  color: var(--text-2);
  font-size: 15.5px;
}

.offer__text strong {
  color: var(--text);
  font-weight: 600;
}

.offer__table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  list-style: none;
}

.offer__table li {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.3);
}

.offer__table span {
  color: var(--text-3);
  font-size: 12.5px;
}

.offer__table strong {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.offer__terms {
  display: grid;
  gap: 6px;
  padding-left: 18px;
  list-style: disc;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.5;
}

.offer .btn {
  margin-top: auto;
}

.offers__more {
  margin-top: 24px;
  color: var(--text-2);
  font-size: 14.5px;
}

.chip--violet {
  margin: 0;
  border-color: var(--violet-line);
  background: rgba(139, 123, 255, 0.12);
  color: var(--violet-hi);
}

/* Acceso a beneficios desde la portada y el panel */
.offers-teaser {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  border: 1px solid var(--violet-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, rgba(124, 108, 255, 0.14), rgba(255, 255, 255, 0.01) 70%);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}

.offers-teaser:hover {
  border-color: var(--violet-hi);
  transform: translateY(-2px);
}

.offers-teaser .perk__icon {
  color: var(--violet-hi);
}

.offers-teaser .perk__icon svg {
  width: 18px;
  height: 18px;
}

.offers-teaser__text {
  display: grid;
  gap: 4px;
}

.offers-teaser__text strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.offers-teaser__text span {
  color: var(--text-2);
  font-size: 14.5px;
}

.dash-nav__link {
  color: var(--text-2);
  font-size: 14px;
  transition: color 0.2s;
}

.dash-nav__link:hover {
  color: var(--text);
}

.nav__links a[aria-current="page"] {
  color: var(--text);
}

@media (max-width: 1020px) {
  .offers {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .offer {
    padding: 22px 18px;
  }

  .offer__title {
    font-size: 21px;
  }

  .offers-teaser {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 22px 18px;
  }
}

/* --------------------------------------------------------------------------
   Menú del área de socios (main.js, initMemberNav)
   -------------------------------------------------------------------------- */

.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.tabs__link,
.tabbar__link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.tabs__link {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.tabs__link svg {
  width: 17px;
  height: 17px;
}

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

.tabs__link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(180deg, rgba(139, 123, 255, 0.55), rgba(124, 108, 255, 0.3));
  box-shadow: 0 0 0 1px rgba(195, 193, 255, 0.35) inset, 0 10px 30px -12px var(--violet-glow);
}

.tabbar {
  display: none;
}

@media (max-width: 1200px) {
  .dash-nav__uid {
    display: none;
  }
}

@media (max-width: 1020px) {
  .tabs {
    display: none;
  }

  .tabbar {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    border-top: 1px solid var(--border-strong);
    background: rgba(8, 8, 11, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .tabbar__link {
    position: relative;
    flex-direction: column;
    gap: 4px;
    padding: 8px 4px 6px;
    border-radius: 12px;
    font-size: 11.5px;
    text-align: center;
  }

  .tabbar__link svg {
    width: 22px;
    height: 22px;
  }

  .tabbar__link[aria-current="page"] {
    color: #fff;
    background: rgba(139, 123, 255, 0.18);
  }

  .tabbar__link[aria-current="page"] svg {
    color: var(--violet-hi);
  }

  .has-tabbar .footer {
    padding-bottom: 96px;
  }

  .has-tabbar .mobile-cta {
    display: none;
  }
}

/* Nivel de socio: cabecera grande y pista con las 5 medallas (panel) */
.levelcard {
  display: grid;
  gap: 26px;
  padding: 28px 30px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(124, 108, 255, 0.22), transparent 70%) padding-box,
    linear-gradient(180deg, #17161f, #0e0e14) padding-box,
    linear-gradient(160deg, rgba(195, 193, 255, 0.55), rgba(255, 255, 255, 0.06) 45%, rgba(139, 123, 255, 0.35)) border-box;
  box-shadow: 0 40px 100px -60px rgba(124, 108, 255, 0.8);
}

.levelcard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
}

.levelcard__now {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.levelcard__pct {
  background: linear-gradient(100deg, #ffffff 0%, var(--violet-hi) 60%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(44px, 7vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.levelcard__to {
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.levelcard__left {
  display: grid;
  gap: 4px;
  text-align: right;
}

.levelcard__left strong {
  font-size: 20px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.levelcard__left span {
  color: var(--text-2);
  font-size: 13.5px;
}

.track {
  position: relative;
  padding-top: 34px;
}

/* La línea va del centro de la primera medalla (10 %) al de la última (90 %) */
.track__rail {
  position: absolute;
  top: calc(34px + 15px);
  left: 10%;
  right: 10%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.track__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b7bff, #c3c1ff 55%, #f0b93a);
  background-size: 125% 100%;
  box-shadow: 0 0 24px var(--violet-glow);
  transition: width 1.4s var(--ease);
}

.track__you {
  position: absolute;
  top: 0;
  left: 10%;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #fff;
  color: #0b0b10;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 24px -6px rgba(124, 108, 255, 0.8);
  transition: left 1.4s var(--ease);
}

.track__you b {
  font-weight: 700;
}

.track__you span {
  font-family: var(--mono);
  font-size: 11.5px;
}

.track__you::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: #fff;
  z-index: -1;
}

.track__nodes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
}

.track__node {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: var(--text-3);
  font-size: 12.5px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.track__node .medal {
  width: 32px;
  height: 37px;
  margin-bottom: 6px;
}

.track__node strong {
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Niveles aún no alcanzados: medalla apagada */
.track__node:not(.is-done):not(.is-current) .medal {
  filter: grayscale(1);
  opacity: 0.35;
}

.track__node.is-done strong {
  color: var(--text);
}

.track__node.is-current strong {
  color: #fff;
}

.track__node.is-current span {
  color: var(--violet-hi);
}

.track__node.is-current .medal {
  transform: scale(1.25);
}

@media (max-width: 760px) {
  .levelcard {
    padding: 22px 16px 18px;
  }

  .levelcard__left {
    text-align: left;
  }

  .track__node strong {
    font-size: 10.5px;
    letter-spacing: 0;
  }

  .track__node span {
    font-size: 10.5px;
  }

  .track__node .medal {
    width: 26px;
    height: 30px;
  }

  .track__rail {
    top: calc(34px + 12px);
    height: 8px;
  }
}

/* Accesos directos (portada y panel) */
.shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.shortcut {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--violet-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(124, 108, 255, 0.14), rgba(255, 255, 255, 0.01) 70%);
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.3s;
}

.shortcut:hover {
  border-color: var(--violet-hi);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -36px rgba(124, 108, 255, 0.8);
}

.shortcut .perk__icon {
  margin-bottom: 4px;
  color: var(--violet-hi);
}

.shortcut .perk__icon svg {
  width: 20px;
  height: 20px;
}

.shortcut strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.shortcut > span:last-child {
  color: var(--text-2);
  font-size: 14.5px;
}

/* Indicadores (/indicadores/) */
.ind-total {
  color: var(--text);
  font-weight: 600;
}

.indicators {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.indicator {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.indicator.is-unlocked {
  border-color: rgba(34, 201, 138, 0.35);
  background: linear-gradient(180deg, rgba(34, 201, 138, 0.08), var(--surface));
  box-shadow: 0 30px 80px -50px rgba(34, 201, 138, 0.5);
}

.indicator__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.indicator:not(.is-unlocked) .medal {
  filter: grayscale(0.6);
  opacity: 0.75;
}

.indicator__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.indicator__text,
.indicator__left {
  color: var(--text-2);
  font-size: 15px;
}

.indicator .progress__labels,
.indicator .progress__bar {
  width: 100%;
}

.indicator .btn {
  margin-top: auto;
}

.chip--ok {
  margin: 0;
  border-color: rgba(34, 201, 138, 0.4);
  background: rgba(34, 201, 138, 0.12);
  color: #7fe3b8;
}

/* Torneos (/torneos/) */
.offers--one {
  grid-template-columns: minmax(0, 720px);
}

.week-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 22px 26px;
  border: 1px solid rgba(240, 185, 58, 0.45);
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, rgba(240, 185, 58, 0.12), rgba(255, 255, 255, 0.01) 70%);
}

.week-box .perk__icon {
  color: #f5d27a;
}

.week-box .perk__icon svg {
  width: 20px;
  height: 20px;
}

.week-box__text {
  display: grid;
  gap: 2px;
}

.week-box__text > span {
  color: var(--text-2);
  font-size: 14px;
}

.week-box__text strong {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.week-box__text small {
  color: var(--text-3);
  font-size: 13px;
}

@media (max-width: 1020px) {
  .shortcuts,
  .indicators {
    grid-template-columns: 1fr;
  }

  .offers--one {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shortcuts--two {
    grid-template-columns: 1fr;
  }

  .week-box {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .indicator {
    padding: 22px 18px;
  }
}

/* --------------------------------------------------------------------------
   Dashboard (/panel/)
   -------------------------------------------------------------------------- */

.dash-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash {
  min-height: 70vh;
  background:
    radial-gradient(ellipse 70% 40% at 70% 0%, rgba(124, 108, 255, 0.14), transparent 70%),
    var(--bg-deep);
}

.dash-state {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding-block: calc(var(--nav-h) + 120px) 120px;
  color: var(--text-2);
  text-align: center;
}

.dash-state .notice {
  max-width: 560px;
  text-align: left;
}

.dash-state__spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-color: rgba(255, 255, 255, 0.15);
  border-top-color: var(--violet-hi);
}

.dash-hero {
  padding: calc(var(--nav-h) + 56px) 0 32px;
}

.dash-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr minmax(0, 480px);
  align-items: center;
  gap: 56px;
}

.dash-hero__text {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.dash-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.dash-hero__actions .btn:disabled {
  cursor: progress;
  opacity: 0.8;
}

.dash-hero__badge {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dash-hero__fine {
  color: var(--text-3);
  font-size: 13.5px;
}

.dash-sec {
  padding: 28px 0;
}

.dash-sec:last-child {
  padding-bottom: 96px;
}

.dash-head {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.dash-head--locked {
  margin-top: 44px;
}

.dash-title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.dash-sub {
  color: var(--text-2);
  font-size: 15px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.stat {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.stat--tier {
  grid-template-columns: auto 1fr;
  column-gap: 16px;
}

.stat--tier .medal {
  grid-row: span 3;
  align-self: center;
}

.stat dt {
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat dd {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat dd small {
  color: var(--text-3);
  font-size: 16px;
  font-weight: 500;
}

.stat--hero {
  border-color: var(--violet-line);
  background: linear-gradient(180deg, rgba(124, 108, 255, 0.12), var(--surface));
}

.stat p {
  color: var(--text-2);
  font-size: 13.5px;
}



/* Línea entre puntos */





/* Niveles aún no alcanzados: medalla apagada */





.help {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  border: 1px solid var(--violet-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(124, 108, 255, 0.08), rgba(255, 255, 255, 0.01));
}

.help .perk__icon {
  color: var(--violet-hi);
}

.help svg {
  width: 18px;
  height: 18px;
}

.footer--dash {
  padding-top: 32px;
}

@media (max-width: 1020px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .dash-hero .vip__scene {
    max-width: 480px;
  }
}

@media (max-width: 760px) {
  .dash-nav__uid {
    display: none;
  }

  .dash-hero {
    padding-top: calc(var(--nav-h) + 32px);
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat dd {
    font-size: 26px;
  }






  .dash-hero__badge {
    gap: 14px;
  }

  .dash-hero__badge .medal--lg {
    width: 60px;
    height: 70px;
  }

  .help {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

/* --------------------------------------------------------------------------
   Movimiento reducido
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal,
  .js .hero__content > * {
    opacity: 1;
    transform: none;
  }

  .vip__card {
    will-change: auto;
  }
}
