@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Montserrat:wght@300;400;600;700;800&display=swap');

/* ════════════════════════════════════════════════════════════════
   DashRun — Presentación (presentacion.html)
   16 diapositivas en HTML/CSS reales (texto traducible).
════════════════════════════════════════════════════════════════ */

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

:root {
  --clr-bg:        #08080F;
  --clr-bg2:       #0D0E18;
  --clr-panel:     rgba(14,14,26,0.82);
  --clr-border:    rgba(255,255,255,0.08);
  --clr-white:     #FFFFFF;
  --clr-muted:     rgba(255,255,255,0.62);
  --clr-blue:      #1E8BFF;
  --clr-cyan:      #00D4FF;
  --clr-violet:    #7B3BFF;
  --clr-purple:    #A43BFF;
  --clr-magenta:   #FF2DA0;
  --clr-red:       #FF3B3B;
  --clr-orange:    #FF8A00;
  --clr-yellow:    #FFC400;
  --clr-green:     #39F5A0;
  --clr-gold:      #FFC738;
  --clr-gold-dk:   #B8862B;

  --grad-brand:    linear-gradient(90deg, #1E8BFF 0%, #A43BFF 30%, #FF2DA0 55%, #FF8A00 80%, #FFC400 100%);
  --grad-chrome:   linear-gradient(180deg, #FFFFFF 0%, #E9EDF5 45%, #A9B2C4 70%, #F4F6FA 100%);
  --grad-gold:     linear-gradient(180deg, #FFF1B8 0%, #FFD45A 35%, #E2A12E 70%, #FFE38A 100%);
  --grad-green:    linear-gradient(180deg, #A8FFD9 0%, #39F5A0 55%, #19C47C 100%);

  --font-display:  'Rajdhani', 'Arial Narrow', sans-serif;
  --font-body:     'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --pad-x:         clamp(16px, 4vw, 56px);
  --slide-max:     1240px;
  --topbar-h:      64px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--topbar-h);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--clr-bg);
  color: var(--clr-white);
  font-family: var(--font-body);
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

/* ════════════════════════════════════════════════════════════════
   BARRA SUPERIOR + PROGRESO
════════════════════════════════════════════════════════════════ */
.pr-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 var(--pad-x);
  background: rgba(8,8,15,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--clr-border);
}

.pr-topbar-logo img {
  height: 40px;
  width: auto;
}

.pr-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.pr-btn:hover { filter: brightness(1.1); }
.pr-btn:active { transform: scale(0.97); }
.pr-btn:focus-visible { outline: 2px solid var(--clr-white); outline-offset: 2px; }

.pr-btn--ghost {
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--clr-white);
  background: rgba(255,255,255,0.04);
}

.pr-btn--primary {
  color: var(--clr-white);
  background: linear-gradient(135deg, #4F2BFF 0%, #C023E8 100%);
  box-shadow: 0 6px 22px rgba(160,40,240,0.35);
}

.pr-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 3px;
  width: 100%;
  background: var(--grad-brand);
  transform-origin: left center;
  transform: scaleX(0);
}

/* ════════════════════════════════════════════════════════════════
   NAVEGACIÓN LATERAL (puntos) — solo desktop
════════════════════════════════════════════════════════════════ */
.pr-dots {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.pr-dots a {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transition: background 0.2s ease, transform 0.2s ease;
}

.pr-dots a:hover { background: rgba(255,255,255,0.6); }

.pr-dots a.active {
  background: var(--clr-white);
  transform: scale(1.35);
  box-shadow: 0 0 10px rgba(164,59,255,0.9);
}

/* ════════════════════════════════════════════════════════════════
   DIAPOSITIVA (base)
════════════════════════════════════════════════════════════════ */
.slide {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--topbar-h) + 36px) var(--pad-x) 56px;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--clr-bg);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* Malla hexagonal de fondo */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='208' viewBox='0 0 120 208'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M60 0 L120 34.6 L120 103.9 L60 138.6 L0 103.9 L0 34.6 Z'/%3E%3Cpath d='M60 138.6 L60 208'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 208px;
  pointer-events: none;
}

/* Línea de color superior (como en las láminas) */
.slide::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: -1;
  background: var(--grad-brand);
  opacity: 0.85;
}

.slide-inner {
  position: relative;
  width: 100%;
  max-width: var(--slide-max);
  margin: 0 auto;
}

/* Halos de color */
.glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}
.glow--blue    { background: #1E5BFF; }
.glow--violet  { background: #7B3BFF; }
.glow--magenta { background: #FF2DA0; }
.glow--orange  { background: #FF7A00; }
.glow--gold    { background: #E2A12E; }
.glow--green   { background: #19C47C; }

.glow--tl { width: 42vw; height: 42vw; max-width: 560px; max-height: 560px; top: -12%; left: -12%; }
.glow--br { width: 42vw; height: 42vw; max-width: 560px; max-height: 560px; bottom: -14%; right: -12%; }
.glow--bl { width: 36vw; height: 36vw; max-width: 480px; max-height: 480px; bottom: -14%; left: -10%; }
.glow--tr { width: 36vw; height: 36vw; max-width: 480px; max-height: 480px; top: -10%; right: -10%; }

/* Contador de lámina */
.slide-num {
  position: absolute;
  left: var(--pad-x);
  bottom: 18px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
}

/* ════════════════════════════════════════════════════════════════
   TIPOGRAFÍA
════════════════════════════════════════════════════════════════ */
.t-display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.t-xxl { font-size: clamp(3rem, 10vw, 8.6rem); }
.t-xl  { font-size: clamp(2.3rem, 6.4vw, 5.6rem); }
.t-lg  { font-size: clamp(2rem, 5vw, 4.2rem); }
.t-md  { font-size: clamp(1.5rem, 3.4vw, 2.8rem); }
.t-sm  { font-size: clamp(1.1rem, 2.2vw, 1.7rem); }

.chrome {
  background: var(--grad-chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(30,40,70,0.9)) drop-shadow(0 0 18px rgba(120,140,255,0.25));
}

.grad-brand {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.grad-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(90,55,0,0.85)) drop-shadow(0 0 16px rgba(255,190,60,0.35));
}

.grad-green {
  background: var(--grad-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0,70,40,0.85)) drop-shadow(0 0 18px rgba(57,245,160,0.35));
}

.c-green  { color: var(--clr-green); }
.c-gold   { color: var(--clr-gold); }
.c-blue   { color: var(--clr-blue); }
.c-orange { color: var(--clr-orange); }

.rule {
  height: 2px;
  width: 100%;
  margin: 14px auto 0;
  background: var(--grad-brand);
  box-shadow: 0 0 14px rgba(164,59,255,0.65);
  border-radius: 2px;
}

.rule--gold {
  background: linear-gradient(90deg, transparent, #FFD45A 20%, #FFE38A 50%, #FFD45A 80%, transparent);
  box-shadow: 0 0 14px rgba(255,199,56,0.6);
}

.center { text-align: center; }

/* Iconos de línea con neón */
.neon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px currentColor);
}

/* ════════════════════════════════════════════════════════════════
   1 · BIENVENIDOS
════════════════════════════════════════════════════════════════ */
.s1-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

.s1-logo img {
  width: 100%;
  max-width: 620px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(120,60,255,0.35));
}

.s1-title {
  display: inline-block;
  max-width: 100%;
  padding-right: 0.06em;
  font-size: clamp(2.6rem, 5.4vw, 5.6rem);
  text-align: left;
}

.s1-title-rule {
  height: 3px;
  margin-top: 16px;
  background: linear-gradient(90deg, transparent, #1E8BFF 15%, #FFFFFF 50%, #FF8A00 85%, transparent);
  box-shadow: 0 0 18px rgba(255,255,255,0.4);
}

.s1-tag {
  margin-top: 18px;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clr-cyan);
}

/* ════════════════════════════════════════════════════════════════
   2 · ¿CUÁNTO TARDAS?
════════════════════════════════════════════════════════════════ */
.s2-title { text-align: center; }

.s2-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2.4vw, 32px);
  margin-top: clamp(24px, 4vw, 44px);
}

.chip-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(170px, 26vw, 360px);
  padding: clamp(10px, 1.6vw, 20px) clamp(18px, 3vw, 40px);
  border-radius: 14px;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 1;
  color: #0B0B14;
  box-shadow: 0 0 30px rgba(164,59,255,0.45);
}

.chip-num--a { background: linear-gradient(90deg, #2E7BFF 0%, #A43BFF 60%, #FF3FBF 100%); }
.chip-num--b { background: linear-gradient(90deg, #FF2DA0 0%, #FF6A3D 55%, #FFC400 100%); }

.s2-sep {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 4rem);
  color: var(--clr-white);
  text-shadow: 0 0 18px rgba(80,140,255,0.8);
}

.s2-flow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  margin-top: clamp(30px, 5vw, 60px);
}

.s2-flow .ico-user  { width: clamp(84px, 13vw, 170px); color: #3D8BFF; }
.s2-flow .ico-wallet{ width: clamp(96px, 15vw, 200px); color: #FFB020; }

.s2-arrow {
  position: relative;
  height: clamp(28px, 4vw, 54px);
}

.s2-arrow svg { width: 100%; height: 100%; }

/* ════════════════════════════════════════════════════════════════
   3 · ¿QUÉ ES DASHRUN?
════════════════════════════════════════════════════════════════ */
.s3-wrap { text-align: center; }

.s3-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.6vw, 22px);
  font-size: clamp(3rem, 9.6vw, 9rem);
  line-height: 0.9;
  flex-wrap: nowrap;
}

.s3-title .chrome { white-space: nowrap; }

.s3-q {
  font-size: 1.25em;
  font-weight: 700;
}

.s3-q--open  { color: #2E7BFF; text-shadow: 0 0 26px rgba(46,123,255,0.9); }
.s3-q--close { color: #FFA21F; text-shadow: 0 0 26px rgba(255,140,0,0.9); }

.s3-arc {
  width: min(80%, 760px);
  height: 3px;
  margin: 10px auto 0;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, #2E7BFF 20%, #FF2DA0 55%, #FF8A00 80%, transparent);
  box-shadow: 0 0 16px rgba(255,45,160,0.6);
}

.s3-logo {
  width: min(86%, 760px);
  height: auto;
  margin: clamp(10px, 2vw, 22px) auto 0;
  filter: drop-shadow(0 0 40px rgba(255,90,40,0.25));
}

/* ════════════════════════════════════════════════════════════════
   4 · SISTEMA DE PARTICIPACIÓN GLOBAL
════════════════════════════════════════════════════════════════ */
.s4-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  margin-top: clamp(24px, 4vw, 44px);
}

.s4-engine {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto;
}

.s4-engine svg { width: 100%; height: auto; }

.s4-list {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 20px);
  list-style: none;
}

.s4-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: clamp(12px, 1.6vw, 18px) clamp(14px, 2vw, 22px);
  border-radius: 14px;
  background: rgba(10,12,24,0.75);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--accent, #1E8BFF);
  box-shadow: 0 0 24px rgba(0,0,0,0.35);
}

.s4-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  line-height: 1.02;
}

.s4-item h3 .eq { color: var(--accent); padding: 0 4px; }

.s4-item h3 small {
  display: block;
  font-size: 0.82em;
  color: rgba(255,255,255,0.92);
}

.s4-ico {
  width: clamp(56px, 7vw, 84px);
  height: clamp(56px, 7vw, 84px);
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--accent);
}

.s4-ico svg { width: 100%; height: 100%; }

.s4-item--wallet   { --accent: #2E9BFF; }
.s4-item--usdt     { --accent: #39F5A0; }
.s4-item--contract { --accent: #FFB020; }

/* ════════════════════════════════════════════════════════════════
   5 · PARTICIPACIÓN BÁSICA 27 USDT
════════════════════════════════════════════════════════════════ */
.s5-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 28px);
  margin-top: clamp(28px, 5vw, 56px);
}

.feat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: clamp(20px, 3vw, 36px) 14px clamp(22px, 3vw, 36px);
  border-radius: 16px;
  border: 2px solid var(--accent);
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 18%, transparent), rgba(8,8,15,0.9) 70%);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 45%, transparent), inset 0 0 22px color-mix(in srgb, var(--accent) 20%, transparent);
  text-align: center;
  color: var(--accent);
}

.feat-card svg {
  width: clamp(64px, 8vw, 110px);
  height: clamp(64px, 8vw, 110px);
}

.feat-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 2.6vw, 2.25rem);
  line-height: 1;
  color: var(--clr-white);
  text-shadow: 0 2px 0 rgba(0,0,0,0.6);
}

.feat-card--blue    { --accent: #2E9BFF; }
.feat-card--violet  { --accent: #A43BFF; }
.feat-card--magenta { --accent: #FF3FBF; }
.feat-card--orange  { --accent: #FF8A00; }

/* ════════════════════════════════════════════════════════════════
   6 · PASO 1 REGISTRO (ticket)
════════════════════════════════════════════════════════════════ */
.s6-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
}

.ticket {
  position: relative;
  width: min(100%, 420px);
  margin: 0 auto;
  transform: perspective(900px) rotateX(18deg) rotateZ(-12deg);
  padding: 28px 26px 22px;
  border-radius: 18px;
  background: linear-gradient(160deg, #3A2A78 0%, #2A1F55 60%, #22184A 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 2px #4F7BFF, 0 0 30px rgba(164,59,255,0.55), 0 30px 60px rgba(0,0,0,0.6);
}

.ticket::before,
.ticket::after {
  content: '';
  position: absolute;
  top: 62%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--clr-bg);
}

.ticket::before { left: -12px; }

.ticket--vip {
  background: linear-gradient(160deg, #3A2E14 0%, #241C0C 60%, #17120A 100%);
  box-shadow: 0 0 0 2px #E2A12E, 0 0 30px rgba(255, 199, 56, 0.45), 0 30px 60px rgba(0, 0, 0, 0.6);
}

.ticket--vip .ticket-shield { color: var(--clr-gold); }
.ticket--vip .ticket-code { border-top-color: rgba(255, 199, 56, 0.45); }
.ticket::after  { right: -12px; }

.ticket-price {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 10px 30px;
  border-radius: 12px;
  background: linear-gradient(180deg, #6BFFC0, #2EDB8E);
  color: #0B1A12;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1;
  box-shadow: 0 0 22px rgba(57,245,160,0.55);
}

.ticket-shield {
  width: 64px;
  margin: 18px auto;
  color: #3AA0FF;
}

.ticket-code {
  position: relative;
  border-top: 2px dashed rgba(120,170,255,0.45);
  padding-top: 14px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  color: var(--clr-white);
  text-shadow: 0 2px 0 rgba(0,0,0,0.5);
}

.ticket-barcode {
  height: 26px;
  margin-bottom: 8px;
  background: repeating-linear-gradient(90deg, rgba(160,180,255,0.6) 0 2px, transparent 2px 4px, rgba(160,180,255,0.45) 4px 7px, transparent 7px 9px);
  border-radius: 3px;
}

/* ════════════════════════════════════════════════════════════════
   7 · PASO 2 (teléfono)
════════════════════════════════════════════════════════════════ */
.phone {
  position: relative;
  width: min(100%, 340px);
  margin: clamp(24px, 4vw, 40px) auto 0;
  padding: 18px 16px 22px;
  border-radius: 44px;
  background: #0B0C14;
  border: 3px solid #3A2F66;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 0 40px rgba(57,245,160,0.25), 0 0 60px rgba(164,59,255,0.25);
}

.phone-notch {
  width: 90px;
  height: 24px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: #000;
}

.phone-pill {
  margin: 0 -40px;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  background: #0C0E18;
}

.phone-pill--usdt {
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--clr-green);
  border: 2px solid var(--clr-green);
  box-shadow: 0 0 24px rgba(57,245,160,0.55);
}

.phone-down {
  width: 30px;
  margin: 12px auto;
  color: #fff;
}

.phone-pool {
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  background: linear-gradient(180deg, #2B3550, #1A2134);
  border: 2px solid transparent;
  box-shadow: 0 0 0 2px #7B5FFF, 0 0 16px rgba(255,138,0,0.35);
}

.phone-board {
  margin-top: 14px;
  border-radius: 10px;
  padding: 10px 10px 6px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  font-size: 0.72rem;
}

.phone-board-title {
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.85);
}

.phone-board table {
  width: 100%;
  border-collapse: collapse;
  color: rgba(255,255,255,0.7);
}

.phone-board td {
  padding: 5px 2px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.phone-board td:last-child { text-align: right; }
.phone-board .up { color: var(--clr-green); }
.phone-board .up-m { color: #FF3FBF; }

.phone-pill--id {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: clamp(2rem, 4.6vw, 2.7rem);
  color: var(--clr-white);
  border: 2px solid transparent;
  box-shadow: 0 0 0 2px #3D7BFF, 0 0 24px rgba(255,63,191,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.phone-pill--id svg { width: 30px; color: #FF3FBF; }

.phone-bar {
  width: 110px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: rgba(255,255,255,0.6);
}

/* ════════════════════════════════════════════════════════════════
   8 · 10 AUTOPOOLS
════════════════════════════════════════════════════════════════ */
.s8-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
}

.s8-sub {
  margin-top: 6px;
  font-size: clamp(1.4rem, 3.4vw, 2.9rem);
}

.net-box {
  padding: clamp(12px, 1.6vw, 18px) clamp(18px, 2.4vw, 30px);
  border-radius: 14px;
  border: 2px solid var(--clr-green);
  background: rgba(8,24,18,0.75);
  box-shadow: 0 0 26px rgba(57,245,160,0.45), inset 0 0 20px rgba(57,245,160,0.15);
  text-align: center;
}

.net-box span {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  letter-spacing: 0.04em;
}

.net-box strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.8vw, 3.3rem);
  line-height: 1.05;
}

.pools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
  margin-top: clamp(20px, 3vw, 36px);
}

.pool {
  border-radius: 14px;
  padding: 10px;
  border: 2px solid var(--accent);
  background: rgba(8,8,15,0.85);
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 50%, transparent), inset 0 0 18px color-mix(in srgb, var(--accent) 18%, transparent);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
}

.pool-name {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pool-price {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  color: var(--accent);
  text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent);
}

.pool-price small,
.pool-pay small { font-size: 0.6em; }

.pool-pay {
  margin-top: 8px;
  padding: 8px 6px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 34%, #0B0B14);
  border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
}

.pool-pay span {
  display: block;
  font-size: 0.78em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

.pool--1  { --accent: #2E9BFF; }
.pool--2  { --accent: #B44DFF; }
.pool--3  { --accent: #FF3FBF; }
.pool--4  { --accent: #FF3B3B; }
.pool--5  { --accent: #FF8A00; }
.pool--6  { --accent: #FFD000; }
.pool--7  { --accent: #3BEA5C; }
.pool--8  { --accent: #00D4FF; }
.pool--9  { --accent: #3D7BFF; }
.pool--10 { --accent: #D63BFF; }

/* ════════════════════════════════════════════════════════════════
   9 · LISTA GLOBAL FIFO
════════════════════════════════════════════════════════════════ */
.s9-title .t-md { display: block; margin-top: 8px; }

.fifo {
  position: relative;
  margin-top: clamp(28px, 5vw, 56px);
}

.fifo-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
}

.fifo-person {
  flex: 1 1 0;
  max-width: 96px;
  color: rgba(200,205,220,0.55);
}

.fifo-person svg { width: 100%; height: auto; }

.fifo-person--paid { color: var(--clr-green); }
.fifo-person--new  { color: #2E8BFF; }

.fifo-line {
  height: 2px;
  margin-top: 8px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.3) 0 10px, transparent 10px 18px);
}

.fifo-pay {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--clr-green);
}

.fifo-pay svg { width: clamp(70px, 9vw, 120px); }

.fifo-pay-label {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  color: var(--clr-white);
  text-align: right;
}

.fifo-pay-label span { color: var(--clr-green); }

/* ════════════════════════════════════════════════════════════════
   10 · PARTICIPACIÓN 1
════════════════════════════════════════════════════════════════ */
.s10-wrap { text-align: center; }

.badge-frame {
  display: inline-block;
  padding: clamp(10px, 1.6vw, 18px) clamp(26px, 4vw, 56px);
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 22px 100%, 0 50%);
  background: linear-gradient(90deg, #1E8BFF, #A43BFF, #FF2DA0, #FF8A00, #FFC400);
  position: relative;
}

.badge-frame > span {
  display: block;
  padding: clamp(6px, 1vw, 12px) clamp(18px, 3vw, 40px);
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 18px 100%, 0 50%);
  background: #0B0B14;
}

.s10-big {
  margin: clamp(10px, 2vw, 20px) 0 0;
  font-size: clamp(3rem, 11vw, 9.4rem);
  line-height: 1;
}

.s10-glowline {
  width: min(70%, 680px);
  height: 2px;
  margin: 10px auto clamp(16px, 2.4vw, 26px);
  background: linear-gradient(90deg, transparent, #39F5A0, transparent);
  box-shadow: 0 0 16px rgba(57,245,160,0.9);
}

/* ════════════════════════════════════════════════════════════════
   11 + 14 · ÁRBOL DE REFERIDOS
════════════════════════════════════════════════════════════════ */
.tree-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(8px, 1.6vw, 20px);
  margin-top: clamp(18px, 3vw, 30px);
}

.tree {
  --n: clamp(22px, 3vw, 40px);
  position: relative;
}

.tree-root {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 18px;
}

.tree-root .crown {
  width: calc(var(--n) * 1.1);
  color: var(--clr-gold);
  filter: drop-shadow(0 0 8px rgba(255,199,56,0.8));
}

.tree-root .node {
  width: calc(var(--n) * 1.9);
  height: calc(var(--n) * 1.9);
  border-color: var(--clr-gold);
}

.tree-root .you {
  margin-top: -8px;
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--clr-gold);
  color: #1A0F00;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  position: relative;
  z-index: 1;
}

/* barra horizontal que une los 6 directos */
.tree-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(4px, 1vw, 12px);
  padding-top: 16px;
}

.tree-branches::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  background: var(--clr-gold);
  box-shadow: 0 0 6px rgba(255,199,56,0.7);
}

.branch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.branch::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 50%;
  width: 2px;
  height: 16px;
  background: var(--clr-gold);
}

.branch-head { position: relative; }

.branch-num {
  position: absolute;
  top: -6px;
  left: -8px;
  width: calc(var(--n) * 0.62);
  height: calc(var(--n) * 0.62);
  border-radius: 50%;
  background: var(--clr-gold);
  color: #1A0F00;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(var(--n) * 0.42);
  z-index: 1;
}

.branch-head .node {
  width: calc(var(--n) * 1.5);
  height: calc(var(--n) * 1.5);
  border-color: var(--clr-gold);
}

.tier {
  position: relative;
  display: flex;
  justify-content: center;
  gap: clamp(2px, 0.5vw, 6px);
  padding-top: 10px;
}

.tier::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  height: 2px;
  background: var(--lvl);
  opacity: 0.85;
}

.node {
  display: grid;
  place-items: center;
  width: var(--n);
  height: var(--n);
  border-radius: 50%;
  border: 2px solid var(--lvl, #fff);
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--lvl, #fff) 70%, #fff 0%), color-mix(in srgb, var(--lvl, #fff) 55%, #000) 75%);
  box-shadow: 0 0 10px color-mix(in srgb, var(--lvl, #fff) 70%, transparent);
  flex-shrink: 0;
}

.tree-root .node,
.branch-head .node {
  background: #0B0B14;
}

.node svg {
  width: 62%;
  height: 62%;
  fill: #fff;
}

.lv1  { --lvl: #FFC400; }
.lv2  { --lvl: #FF7A1A; }
.lv3  { --lvl: #FF2D7A; }
.lv4  { --lvl: #A12BFF; }
.lv11 { --lvl: #1E9BFF; }

/* Etiquetas de nivel (derecha) */
.tree-labels {
  display: grid;
  grid-template-rows: auto;
  align-content: end;
  gap: 10px;
  list-style: none;
}

.tree-labels li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 150px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 2px solid var(--lvl);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  text-transform: uppercase;
  background: rgba(8,8,15,0.8);
  box-shadow: 0 0 10px color-mix(in srgb, var(--lvl) 45%, transparent);
}

.tree-labels svg { width: 20px; height: 20px; color: var(--lvl); }

/* Leyenda */
.legend {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1.6fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
  margin-top: clamp(20px, 3vw, 30px);
  padding: clamp(14px, 2vw, 22px) clamp(16px, 3vw, 34px);
  border-radius: 16px;
  border: 2px solid var(--clr-gold);
  background: rgba(8,8,15,0.88);
  box-shadow: 0 0 22px rgba(255,199,56,0.25);
}

.legend-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.1;
}

.legend-title small {
  display: block;
  font-size: 0.7em;
  color: var(--clr-muted);
}

.legend-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 6px 30px;
  list-style: none;
  padding: 0 clamp(10px, 2vw, 26px);
  border-left: 1px solid rgba(255,199,56,0.4);
  border-right: 1px solid rgba(255,199,56,0.4);
}

.legend-list li {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  text-transform: uppercase;
}

.legend-list li::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lvl);
  box-shadow: 0 0 8px var(--lvl);
}

.legend-list span { white-space: nowrap; }

.legend-list b {
  color: var(--clr-gold);
  font-weight: 700;
  white-space: nowrap;
}

.legend-side {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.15;
  max-width: 240px;
}

.legend-side svg { width: 48px; height: 48px; color: var(--clr-gold); flex-shrink: 0; }

.depth-note {
  display: block;
  width: fit-content;
  margin: 16px auto 0;
  padding: 8px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.3);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  background: rgba(8,8,15,0.85);
}

/* Comisiones VIP por nivel (misma estructura que el index) */
.vipcom {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(5, minmax(0, 1fr));
  align-items: stretch;
  margin-top: clamp(20px, 3vw, 30px);
  border-radius: 18px;
  background:
    linear-gradient(#0B0B14, #0B0B14) padding-box,
    linear-gradient(90deg, #1E8BFF, #A43BFF, #FF2DA0, #FF8A00, #FFC400) border-box;
  border: 2px solid transparent;
  box-shadow: 0 0 26px rgba(255, 138, 0, 0.25);
  overflow: hidden;
  text-align: center;
}

.vipcom-head,
.vipcom-item {
  padding: clamp(12px, 1.6vw, 18px) clamp(8px, 1.2vw, 14px);
}

.vipcom-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  line-height: 1.05;
  color: var(--clr-white);
}

.vipcom-head svg {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  color: var(--clr-gold);
}

.vipcom-head small {
  display: block;
  font-size: 0.65em;
  color: var(--clr-muted);
}

.vipcom-item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.vipcom-lvl {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 6px;
  border: 1px solid var(--lvl);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.3vw, 1.05rem);
  text-transform: uppercase;
  color: var(--clr-white);
}

.vipcom-amt {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1;
  color: var(--lvl);
  text-shadow: 0 0 12px color-mix(in srgb, var(--lvl) 55%, transparent);
}

.vipcom-note {
  display: block;
  margin-top: 4px;
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.85);
}

.vipcom-max {
  display: block;
  margin-top: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--clr-gold);
  font-size: clamp(0.75rem, 1.05vw, 0.85rem);
  line-height: 1.3;
  color: var(--clr-white);
}

.vipcom-max strong { color: var(--clr-gold); }

/* ════════════════════════════════════════════════════════════════
   12 · PARTICIPACIÓN 2
════════════════════════════════════════════════════════════════ */
.s12-sub {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 2.6vw, 2.1rem);
  color: rgba(255,255,255,0.92);
}

.s12-flow {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr;
  align-items: center;
  gap: clamp(12px, 2.4vw, 32px);
  margin-top: clamp(30px, 6vw, 70px);
}

.frame {
  position: relative;
  padding: clamp(22px, 3.4vw, 42px) clamp(16px, 2.4vw, 30px);
  text-align: center;
  border-radius: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
}

.frame--neon {
  background:
    linear-gradient(#0B0B14, #0B0B14) padding-box,
    linear-gradient(90deg, #1E8BFF, #A43BFF, #FF2DA0, #FF8A00, #FFC400) border-box;
  border: 3px solid transparent;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
}

.frame--gold {
  background:
    linear-gradient(#0E0C08, #0E0C08) padding-box,
    linear-gradient(135deg, #FFE38A, #C8902E 40%, #FFE9A8 60%, #A86F1E) border-box;
  border: 5px solid transparent;
  font-size: clamp(2.8rem, 7vw, 6rem);
  box-shadow: 0 0 40px rgba(255,199,56,0.35);
}

.frame small { font-size: 0.62em; margin-left: 6px; }

.frame::before,
.frame::after {
  content: '';
  position: absolute;
  width: 34%;
  height: 4px;
  border-radius: 4px;
}

.frame::before { top: 12px; right: 18px; }
.frame::after  { bottom: 12px; left: 18px; }

.frame--neon::before,
.frame--neon::after { background: linear-gradient(90deg, #1E8BFF, #FF2DA0, #FFC400); opacity: 0.7; }

.frame--gold::before,
.frame--gold::after { background: linear-gradient(90deg, transparent, #FFE38A, transparent); }

.chevrons {
  display: flex;
  color: #1E8BFF;
}

.chevrons svg { width: clamp(42px, 6vw, 90px); }

.s12-note {
  max-width: 760px;
  margin-top: clamp(22px, 3.4vw, 40px);
  padding: 12px 18px;
  border-left: 3px solid var(--clr-gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.4vw, 1.05rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.s12-note b { color: var(--clr-gold); font-weight: 700; }

/* ════════════════════════════════════════════════════════════════
   13 · DASHRUN VIP 6 POOLS
════════════════════════════════════════════════════════════════ */
.slide--gold::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='208' viewBox='0 0 120 208'%3E%3Cg fill='none' stroke='%23FFC738' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M60 0 L120 34.6 L120 103.9 L60 138.6 L0 103.9 L0 34.6 Z'/%3E%3Cpath d='M60 138.6 L60 208'/%3E%3C/g%3E%3C/svg%3E");
}

.slide--gold::after {
  background: linear-gradient(90deg, transparent, #FFD45A, #FFE38A, #FFD45A, transparent);
}

/* Pools VIP: mismo formato que los 10 AutoPools (diapositiva 8) */
.pools-grid--vip { grid-template-columns: repeat(6, 1fr); }

.pool-tag {
  display: block;
  margin-bottom: 3px;
  font-size: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: none;
}

/* ════════════════════════════════════════════════════════════════
   15 · PREPÁRATE PARA CORRER
════════════════════════════════════════════════════════════════ */
.s15-title { font-size: clamp(2.2rem, 6vw, 5.4rem); font-family: var(--font-body); font-weight: 800; text-transform: uppercase; line-height: 1.05; }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: clamp(40px, 7vw, 90px);
  list-style: none;
}

.steps::before {
  content: '';
  position: absolute;
  top: calc(clamp(86px, 11vw, 150px) / 2 - 6px);
  left: 10%;
  right: 10%;
  height: 12px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: linear-gradient(#0B0B14, #0B0B14) padding-box, var(--grad-brand) border-box;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  color: var(--accent);
}

.step-ring {
  display: grid;
  place-items: center;
  width: clamp(86px, 11vw, 150px);
  height: clamp(86px, 11vw, 150px);
  border-radius: 50%;
  background: #0B0B14;
  border: 3px solid currentColor;
  box-shadow: 0 0 22px currentColor, inset 0 0 0 8px #0B0B14, inset 0 0 0 10px currentColor;
}

.step-ring svg { width: 46%; height: 46%; }

.step p {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  line-height: 1.25;
  color: var(--clr-white);
}

.step--1 { --accent: #1E9BFF; color: #1E9BFF; }
.step--2 { --accent: #A43BFF; color: #A43BFF; }
.step--3 { --accent: #FF3FBF; color: #FF3FBF; }
.step--4 { --accent: #FF6A3D; color: #FF6A3D; }
.step--5 { --accent: #FFC400; color: #FFC400; }

/* ════════════════════════════════════════════════════════════════
   16 · CIERRE (tacómetro)
════════════════════════════════════════════════════════════════ */
.s16-gauge {
  position: relative;
  width: min(92%, 560px);
  margin: 0 auto;
}

.s16-gauge::before,
.s16-gauge::after {
  content: '';
  position: absolute;
  top: 30%;
  width: 46%;
  height: 34%;
  z-index: -1;
  opacity: 0.18;
  background:
    conic-gradient(#fff 25%, transparent 0 50%, #fff 0 75%, transparent 0) 0 0 / 40px 40px;
}

.s16-gauge::before { right: 88%; transform: skewY(-8deg); }
.s16-gauge::after  { left: 88%;  transform: skewY(8deg); }

.s16-gauge svg { width: 100%; height: auto; }

.s16-msg {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  max-width: 980px;
  margin: clamp(-30px, -3vw, -10px) auto 0;
  position: relative;
}

.s16-msg svg { width: clamp(64px, 9vw, 130px); color: #2EA8FF; }

.s16-msg p {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.s16-cta {
  margin-top: clamp(22px, 4vw, 40px);
  text-align: center;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 4.6vw, 3.8rem);
  line-height: 1.1;
}

.s16-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 34px);
}

.s16-actions .pr-btn { height: 48px; padding: 0 26px; font-size: 1.05rem; }

/* ════════════════════════════════════════════════════════════════
   ANIMACIÓN DE ENTRADA (solo si hay JS)
════════════════════════════════════════════════════════════════ */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}

.js .in-view .reveal {
  opacity: 1;
  transform: none;
}

.js .in-view .reveal.d1 { transition-delay: 0.08s; }
.js .in-view .reveal.d2 { transition-delay: 0.16s; }
.js .in-view .reveal.d3 { transition-delay: 0.24s; }
.js .in-view .reveal.d4 { transition-delay: 0.32s; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .vipcom { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vipcom-head { grid-column: 1 / -1; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .vipcom-item { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .pools-grid { grid-template-columns: repeat(5, 1fr); }
  .pools-grid--vip { grid-template-columns: repeat(3, 1fr); }
  .legend { grid-template-columns: 1fr; text-align: left; }
  .legend-list { border-left: 0; border-right: 0; padding: 12px 0; border-top: 1px solid rgba(255,199,56,0.4); border-bottom: 1px solid rgba(255,199,56,0.4); }
  .legend-side { max-width: none; }
}

@media (max-width: 900px) {
  .pr-dots { display: none; }

  .s1-grid { grid-template-columns: 1fr; text-align: center; }
  .s1-title { text-align: center; }

  .s4-grid { grid-template-columns: 1fr; }
  .s4-engine { width: min(80%, 340px); }

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

  .s6-grid { grid-template-columns: 1fr; text-align: left; }
  .ticket { transform: perspective(900px) rotateX(12deg) rotateZ(-6deg); width: min(88%, 380px); margin-top: 30px; }

  .s8-head { grid-template-columns: 1fr; }
  .net-box { justify-self: start; }
  .pools-grid { grid-template-columns: repeat(2, 1fr); }

  .tree-wrap { grid-template-columns: 1fr; }
  .tree-labels { display: none; }
  .tree-branches { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .tree-branches::before { left: calc(100% / 6); right: calc(100% / 6); }
  .branch:nth-child(n+4) { display: none; }


  .s12-flow { grid-template-columns: 1fr; justify-items: center; }
  .s12-flow .frame { width: min(100%, 520px); }
  .chevrons { transform: rotate(90deg); }

  .steps { grid-template-columns: 1fr; gap: 22px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .steps::before { top: 40px; bottom: 40px; left: calc(clamp(86px, 11vw, 150px) / 2 - 6px); right: auto; width: 12px; height: auto; }
  .step { flex-direction: row; text-align: left; gap: 20px; }
}

@media (max-width: 600px) {
  .vipcom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vipcom-item:last-child { grid-column: 1 / -1; }
  :root { --topbar-h: 58px; }

  .pr-topbar-logo img { height: 32px; }
  .pr-btn { height: 36px; padding: 0 12px; font-size: 0.82rem; }
  .pr-topbar .pr-btn--ghost { display: none; }

  .slide { padding-top: calc(var(--topbar-h) + 26px); padding-bottom: 48px; }

  .s2-chips { flex-direction: column; gap: 10px; }
  .chip-num { min-width: min(100%, 260px); }
  .s2-flow { grid-template-columns: auto 1fr auto; }

  .s3-title { display: block; font-size: clamp(2.8rem, 15vw, 4.4rem); }
  .s3-title .chrome { white-space: normal; }
  .s3-q { font-size: 1.1em; }

  .s4-item { grid-template-columns: 1fr auto; }

  .s5-cards { gap: 10px; }
  .feat-card { padding: 18px 8px; gap: 12px; }

  .phone { width: min(84%, 300px); }
  .phone-pill { margin: 0 -22px; }

  .pools-grid { gap: 10px; }
  .pool { padding: 8px; }

  .fifo-person:nth-child(-n+4) { display: none; }

  .tree { --n: 22px; }
  .tree-branches { gap: 2px; }
  .tier { gap: 1px; }
  .legend-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }


  .s16-msg { grid-template-columns: 1fr; justify-items: center; text-align: center; margin-top: 10px; }
  .s16-msg svg { width: 64px; }
  .s16-gauge::before, .s16-gauge::after { display: none; }

  .slide-num { bottom: 12px; }
}

@media (max-width: 380px) {
  .s5-cards { grid-template-columns: 1fr; }
  .pools-grid { grid-template-columns: 1fr 1fr; }
  .pool-price { font-size: 1.2rem; }
  .pool-pay { font-size: 1rem; }
}

/* Pantallas bajas en horizontal (móvil acostado) */
@media (max-height: 520px) and (orientation: landscape) {
  .slide { min-height: auto; padding-top: calc(var(--topbar-h) + 20px); padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pr-btn { transition: none; }
}

@media print {
  .pr-topbar, .pr-dots { display: none !important; }
  .slide { min-height: auto; page-break-after: always; padding-top: 30px; }
}

/* ════════════════════════════════════════════════════════════════
   SELECTOR DE IDIOMA FLOTANTE (Google Translate)
   Orden visual: sobre contenido, header y drawers (≤ 400),
   debajo de toasts (9999) y modales (10000).
════════════════════════════════════════════════════════════════ */

/* — Ocultar barra, tooltips y resaltado nativos de Google — */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-spinner-pos,
.goog-tooltip,
.goog-tooltip:hover,
#goog-gt-tt,
#google_translate_element,
body > .skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO,
.VIpgJd-yAWNEb-L7lbkb {
  display: none !important;
  visibility: hidden !important;
}
body { top: 0 !important; }
.goog-text-highlight,
.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q {
  background: none !important;
  box-shadow: none !important;
}

/* — Contenedor flotante — */
.dr-lang {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 9000;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* — Botón "Idioma" — */
.dr-lang .dr-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  margin: 0;
  padding: 0 28px 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #5A4FD6 0%, #6A40C9 100%);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2px;
  text-transform: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 10px 26px rgba(90,64,210,0.45),
    0 0 36px rgba(106,64,201,0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.dr-lang .dr-lang-btn:hover {
  filter: brightness(1.08);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10),
    0 12px 30px rgba(90,64,210,0.55),
    0 0 44px rgba(106,64,201,0.45);
}
.dr-lang .dr-lang-btn:active { transform: scale(0.97); }
.dr-lang .dr-lang-btn:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}
.dr-lang .dr-lang-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* — Panel de idiomas — */
.dr-lang .dr-lang-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 270px;
  max-height: min(440px, 62vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: rgba(16,14,30,0.98);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(106,64,201,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.dr-lang.open .dr-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.dr-lang .dr-lang-menu::-webkit-scrollbar { width: 6px; }
.dr-lang .dr-lang-menu::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
}

.dr-lang .dr-lang-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #FFFFFF;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease;
}
.dr-lang .dr-lang-item:hover,
.dr-lang .dr-lang-item:focus-visible {
  background: rgba(255,255,255,0.06);
  outline: none;
}
.dr-lang .dr-lang-item.active {
  background: rgba(106,64,201,0.28);
}
.dr-lang .dr-lang-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  padding: 0 6px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
}
.dr-lang .dr-lang-item.active .dr-lang-code {
  background: linear-gradient(135deg, #5A4FD6 0%, #6A40C9 100%);
  color: #FFFFFF;
}
.dr-lang .dr-lang-names {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.dr-lang .dr-lang-native {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dr-lang .dr-lang-es {
  font-size: 11px;
  line-height: 1.2;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dr-lang .dr-lang-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: #FFFFFF;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}
.dr-lang .dr-lang-item.active .dr-lang-check { opacity: 1; }

/* — Ocultar mientras el menú lateral móvil está abierto — */
body:has(.drawer-overlay.open) .dr-lang {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* — Tablet — */
@media (max-width: 768px) {
  .dr-lang {
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .dr-lang .dr-lang-btn {
    height: 50px;
    gap: 10px;
    padding: 0 22px 0 18px;
    font-size: 16px;
  }
  .dr-lang .dr-lang-btn svg { width: 23px; height: 23px; }
}

/* — Móvil (Android / iPhone) — */
@media (max-width: 480px) {
  .dr-lang {
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
  }
  .dr-lang .dr-lang-btn {
    height: 46px;
    gap: 8px;
    padding: 0 18px 0 15px;
    font-size: 15px;
  }
  .dr-lang .dr-lang-btn svg { width: 21px; height: 21px; }
  .dr-lang .dr-lang-menu {
    width: min(260px, calc(100vw - 28px));
    max-height: 60vh;
    max-height: 60dvh;
  }
  .dr-lang .dr-lang-item { padding: 11px 12px; }
}

/* — Pantallas muy pequeñas / horizontal baja — */
@media (max-height: 480px) {
  .dr-lang .dr-lang-menu { max-height: calc(100vh - 100px); }
}

@media (prefers-reduced-motion: reduce) {
  .dr-lang,
  .dr-lang .dr-lang-btn,
  .dr-lang .dr-lang-menu,
  .dr-lang .dr-lang-item { transition: none; }
}

@media print {
  .dr-lang { display: none !important; }
}
