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

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --clr-bg:         #08080F;
  --clr-violet:     #4F2BFF;
  --clr-magenta:    #C023E8;
  --clr-orange:     #FF6B00;
  --clr-red:        #FF1A1A;
  --clr-cyan:       #00D4FF;
  --clr-white:      #FFFFFF;
  --clr-muted:      rgba(255,255,255,0.55);

  --font-display:   'Rajdhani', sans-serif;
  --font-body:      'Montserrat', sans-serif;

  --clr-gold:       #FFC738;
}

html, body {
  height: 100%;
  width: 100%;
}

html {
  overflow-x: hidden;
}

body {
  background-color: var(--clr-bg);
  font-family: var(--font-body);
  color: var(--clr-white);
  min-height: 100%;
  overflow-x: hidden;
}

/* ─── Canvas de rayas (detrás de todo) ─────────────────────── */
#speed-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ─── Resplandor de fondo ───────────────────────────────────── */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 55% 40% at 50% 38%,
      rgba(79, 43, 255, 0.18) 0%,
      transparent 70%),
    radial-gradient(ellipse 40% 30% at 65% 38%,
      rgba(255, 107, 0, 0.12) 0%,
      transparent 70%);
}

/* ─── Layout principal ──────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  padding: 0 24px;
  width: 100%;
  max-width: 900px;
  min-height: 100vh;
  margin: 0 auto;
}

/* ─── Logo ──────────────────────────────────────────────────── */
.logo-wrap {
  position: relative;
  width: min(560px, 88vw);
  animation: logo-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 32px rgba(79, 43, 255, 0.45))
          drop-shadow(0 0 16px rgba(255, 107, 0, 0.30));
}

@keyframes logo-in {
  from { opacity: 0; transform: scale(0.88) translateY(-12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ─── USDT Distribuido ──────────────────────────────────────── */
.usdt-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 14px;
  animation: fade-up 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  width: min(620px, 92vw);
}

/* Fila horizontal: USDT a la izquierda, Nuevos (24h) a la derecha */
.usdt-main-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 100%;
}

.usdt-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.usdt-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 32px;
}

.usdt-nuevos-label {
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 1.6vw, 0.72rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-muted);
  white-space: nowrap;
}

.usdt-nuevos-value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.usdt-stat-label {
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 1.6vw, 0.72rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-muted);
  white-space: nowrap;
}

.usdt-stat-value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #4DFF91;
  line-height: 1.1;
}

.usdt-stat-symbol {
  font-size: 0.75em;
  opacity: 0.85;
}

@media (max-width: 480px) {
  .usdt-main-row {
    gap: 18px;
  }
  .usdt-right {
    padding-left: 18px;
  }
}

@media (max-width: 360px) {
  .usdt-stat-value {
    font-size: 1.35rem;
  }
  .usdt-main-row {
    gap: 12px;
  }
  .usdt-right {
    padding-left: 12px;
  }
}

/* ─── Contador de usuarios globales ────────────────────────── */
.user-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 18px;
  padding: 10px 24px;
  animation: fade-up 0.9s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
  width: min(620px, 92vw);
}

/* ítem central: DashRun B — color blanco */
.user-stats-item--center .user-stats-value {
  color: var(--clr-white);
}

/* ─── Fila secundaria: DashRun B ───────────────────────────── */
.stats-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 6px;
  animation: fade-up 0.9s 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.stats-secondary-label {
  font-family: var(--font-body);
  font-size: clamp(0.60rem, 1.5vw, 0.70rem);
  font-weight: 300;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--clr-muted);
  opacity: 0.7;
}
.stats-secondary-divider {
  color: var(--clr-muted);
  opacity: 0.4;
  font-size: 0.70rem;
}
.stats-secondary-value {
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 2vw, 0.96rem);
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

.user-stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
  padding: 4px 12px;
}

.user-stats-label {
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 1.6vw, 0.72rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-muted);
  white-space: nowrap;
}

.user-stats-value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--clr-white);
  line-height: 1.1;
}

.user-stats-delta {
  color: #4DFF91;
  display: flex;
  align-items: center;
  gap: 4px;
}

.user-stats-arrow {
  font-size: 0.75em;
  line-height: 1;
  opacity: 0.85;
}

.user-stats-divider {
  width: 1px;
  height: 44px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(79, 43, 255, 0.5) 30%,
    rgba(0, 212, 255, 0.4) 70%,
    transparent
  );
  flex-shrink: 0;
}

@media (max-width: 360px) {
  .user-stats {
    padding: 8px 12px;
    gap: 0;
  }
  .user-stats-item {
    padding: 4px 8px;
  }
  .user-stats-value {
    font-size: 1.15rem;
  }
}

/* ─── Tagline ───────────────────────────────────────────────── */
.tagline {
  margin-top: 20px;
  max-width: 560px;
  animation: fade-up 0.9s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tagline p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.82rem, 2vw, 1.02rem);
  line-height: 1.72;
  color: var(--clr-muted);
  letter-spacing: 0.01em;
}

.tagline p strong {
  font-weight: 500;
  color: var(--clr-white);
}

.tagline .separator-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(79, 43, 255, 0.6) 20%,
    rgba(0, 212, 255, 0.4) 50%,
    rgba(255, 107, 0, 0.6) 80%,
    transparent);
  margin-bottom: 18px;
}

/* ─── Botones ───────────────────────────────────────────────── */
.btn-group {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fade-up 0.9s 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.btn {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 42px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.18s;
  background: rgba(255,255,255,0.12);
}

.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Registro — degradado violeta-magenta */
.btn-primary {
  background: linear-gradient(110deg, var(--clr-violet) 0%, var(--clr-magenta) 100%);
  color: var(--clr-white);
  box-shadow:
    0 0 20px rgba(79, 43, 255, 0.45),
    0 4px 16px rgba(192, 35, 232, 0.30);
}
.btn-primary:hover {
  box-shadow:
    0 0 32px rgba(79, 43, 255, 0.65),
    0 6px 24px rgba(192, 35, 232, 0.45);
}

/* Roadmap — borde degradado cyan-violeta */
.btn-roadmap {
  background: transparent;
  color: var(--clr-white);
  position: relative;
}
.btn-roadmap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  padding: 1.5px;
  background: linear-gradient(110deg, var(--clr-cyan), var(--clr-violet));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.btn-roadmap:hover {
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.35);
}

/* Presentación — borde degradado magenta-naranja */
.btn-presentacion {
  background: transparent;
  color: var(--clr-white);
  position: relative;
}
.btn-presentacion::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  padding: 1.5px;
  background: linear-gradient(110deg, var(--clr-magenta), var(--clr-orange));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.btn-presentacion:hover {
  box-shadow: 0 0 22px rgba(192, 35, 232, 0.35);
}

/* Login — borde degradado naranja-rojo */
.btn-secondary {
  background: transparent;
  color: var(--clr-white);
  box-shadow: inset 0 0 0 1.5px transparent;
  position: relative;
}
.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  padding: 1.5px;
  background: linear-gradient(110deg, var(--clr-orange), var(--clr-red));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.btn-secondary:hover {
  box-shadow: 0 0 22px rgba(255, 107, 0, 0.35);
}

/* ─── Animaciones de entrada ────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .logo-wrap, .tagline, .btn-group { animation: none; opacity: 1; }
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 480px) {
  .btn { padding: 12px 32px; font-size: 0.95rem; }
  .btn-group { gap: 12px; }
  .tagline { margin-top: 16px; }
}

/* 4 botones: en celular se ordenan en 2 × 2 del mismo ancho */
@media (max-width: 600px) {
  .btn-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .btn-group .btn {
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    white-space: nowrap;
  }
}

@media (max-width: 340px) {
  .btn-group .btn { font-size: 0.82rem; letter-spacing: 0.08em; }
}

/* ═══════════════════════════════════════════════════════════
   Animaciones compartidas (usadas por "Preguntas Frecuentes")
═══════════════════════════════════════════════════════════ */
@keyframes letter-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes box-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ═══════════════════════════════════════════════════════════
   Sección "¿Cómo Ganar?" — selector Network Marketing / AutoPools
   (clases con prefijo cg- para no chocar con el resto del sitio)
═══════════════════════════════════════════════════════════ */
.cg-section {
  --cg-gold:   #FFC738;
  --cg-green:  #39F5A0;
  --cg-brand:  linear-gradient(90deg, #1E8BFF 0%, #A43BFF 30%, #FF2DA0 55%, #FF8A00 80%, #FFC400 100%);
  --cg-chrome: linear-gradient(180deg, #FFFFFF 0%, #E9EDF5 45%, #A9B2C4 70%, #F4F6FA 100%);
  --cg-goldg:  linear-gradient(180deg, #FFF1B8 0%, #FFD45A 35%, #E2A12E 70%, #FFE38A 100%);
  --cg-greeng: linear-gradient(180deg, #A8FFD9 0%, #39F5A0 55%, #19C47C 100%);

  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 20px 90px;
  text-align: center;
}

/* ── Título ── */
.cg-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--clr-white);
  opacity: 0;
  transform: translateY(20px);
}

.cg-hint {
  margin-top: 10px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  color: var(--clr-muted);
  opacity: 0;
  transform: translateY(16px);
}

.cg-section.in-view .cg-title { animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.cg-section.in-view .cg-hint  { animation: fade-up 0.7s 0.12s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

/* ── Línea con dos flechas + 2 botones ── */
.cg-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.6vw, 18px);
  max-width: 860px;
  margin: clamp(26px, 4vw, 40px) auto 0;
  opacity: 0;
  transform: translateY(16px);
}

.cg-section.in-view .cg-switch { animation: fade-up 0.7s 0.24s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

.cg-btn {
  position: relative;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-white);
  background: rgba(12, 12, 24, 0.85);
  border: none;
  border-radius: 6px;
  padding: 14px clamp(16px, 2.6vw, 34px);
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cg-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  padding: 1.5px;
  background: var(--cg-accent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cg-btn--nm { --cg-accent: linear-gradient(110deg, var(--clr-violet), var(--clr-magenta)); }
.cg-btn--ap { --cg-accent: linear-gradient(110deg, var(--clr-orange), #FFC400); }

.cg-btn:hover { transform: translateY(-2px); }
.cg-btn:focus-visible { outline: 2px solid var(--clr-white); outline-offset: 3px; }

.cg-btn--nm:hover,
.cg-btn--nm.active { box-shadow: 0 0 26px rgba(192, 35, 232, 0.45); }
.cg-btn--ap:hover,
.cg-btn--ap.active { box-shadow: 0 0 26px rgba(255, 138, 0, 0.45); }

.cg-btn--nm.active { background: linear-gradient(110deg, var(--clr-violet) 0%, var(--clr-magenta) 100%); }
.cg-btn--ap.active { background: linear-gradient(110deg, #FF6B00 0%, #FFB000 100%); color: #1A0D00; }

/* Línea central con flecha a cada lado */
.cg-line {
  position: relative;
  flex: 1 1 auto;
  min-width: 46px;
  height: 22px;
  display: flex;
  align-items: center;
}

.cg-line-half {
  position: relative;
  flex: 1;
  height: 2px;
  opacity: 0.55;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.cg-line-half--left  { background: linear-gradient(90deg, var(--clr-magenta), rgba(255,255,255,0.5)); }
.cg-line-half--right { background: linear-gradient(90deg, rgba(255,255,255,0.5), var(--clr-orange)); }

/* Puntas de flecha */
.cg-line-half::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.cg-line-half--left::before  { left: 0;  transform: translateY(-50%) rotate(-45deg); border-color: var(--clr-magenta); }
.cg-line-half--right::before { right: 0; transform: translateY(-50%) rotate(135deg); border-color: var(--clr-orange); }

.cg-line-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  border-radius: 50%;
  background: var(--clr-white);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.cg-switch[data-active="nm"] .cg-line-half--left,
.cg-switch[data-active="ap"] .cg-line-half--right {
  opacity: 1;
  filter: drop-shadow(0 0 6px currentColor);
}

.cg-switch[data-active="nm"] .cg-line-half--left  { color: var(--clr-magenta); }
.cg-switch[data-active="ap"] .cg-line-half--right { color: var(--clr-orange); }

/* Animación suave de las flechas mientras nada está seleccionado */
.cg-switch:not([data-active]) .cg-line-half--left::before  { animation: cg-nudge-left 1.6s ease-in-out infinite; }
.cg-switch:not([data-active]) .cg-line-half--right::before { animation: cg-nudge-right 1.6s ease-in-out infinite; }

@keyframes cg-nudge-left  { 50% { left: -5px; } }
@keyframes cg-nudge-right { 50% { right: -5px; } }

/* ── Paneles ── */
.cg-panel {
  margin-top: clamp(28px, 4vw, 44px);
  animation: cg-panel-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cg-panel[hidden] { display: none; }

@keyframes cg-panel-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* Pestañas DashRun / DashRun VIP */
.cg-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cg-tab {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-muted);
  background: transparent;
  border: none;
  border-radius: 7px;
  padding: 10px clamp(14px, 2.4vw, 26px);
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.cg-tab:hover { color: var(--clr-white); }
.cg-tab:focus-visible { outline: 2px solid var(--clr-white); outline-offset: 2px; }

.cg-tab.active {
  color: var(--clr-white);
  background: linear-gradient(110deg, var(--clr-violet), var(--clr-magenta));
}

.cg-tab--vip.active {
  color: #1A0F00;
  background: linear-gradient(180deg, #FFE38A, #E2A12E);
}

.cg-view {
  margin-top: clamp(22px, 3vw, 34px);
  animation: cg-panel-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cg-view[hidden] { display: none; }

/* ── Tipografía de las vistas ── */
.cg-h {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.02;
  font-size: clamp(1.7rem, 4.4vw, 3.2rem);
}

.cg-chrome,
.cg-goldt,
.cg-greent,
.cg-brandt {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.cg-chrome { background-image: var(--cg-chrome); }
.cg-goldt  { background-image: var(--cg-goldg); }
.cg-greent { background-image: var(--cg-greeng); }
.cg-brandt { background-image: var(--cg-brand); }

.cg-rule {
  height: 2px;
  width: min(100%, 900px);
  margin: 12px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #FFD45A 20%, #FFE38A 50%, #FFD45A 80%, transparent);
  box-shadow: 0 0 12px rgba(255, 199, 56, 0.55);
}

.cg-rule--brand {
  background: var(--cg-brand);
  box-shadow: 0 0 12px rgba(164, 59, 255, 0.55);
}

/* ═══ Árbol de referidos ═══ */
.cg-tree-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(8px, 1.6vw, 20px);
  margin-top: clamp(18px, 3vw, 28px);
}

.cg-tree {
  --n: clamp(22px, 2.8vw, 38px);
  --gold: var(--cg-gold);
}

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

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

.cg-root .cg-node {
  width: calc(var(--n) * 1.9);
  height: calc(var(--n) * 1.9);
  border-color: var(--gold);
  background: #0B0B14;
}

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

.cg-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(4px, 1vw, 12px);
  padding-top: 16px;
}

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

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

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

.cg-branch-head { position: relative; }

.cg-branch-head .cg-node {
  width: calc(var(--n) * 1.5);
  height: calc(var(--n) * 1.5);
  border-color: var(--gold);
  background: #0B0B14;
}

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

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

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

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

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

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

/* Etiquetas de nivel a la derecha */
.cg-labels {
  display: grid;
  align-content: end;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cg-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);
  background: rgba(8, 8, 15, 0.8);
  box-shadow: 0 0 10px color-mix(in srgb, var(--lvl) 45%, transparent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  text-transform: uppercase;
  color: var(--clr-white);
}

.cg-labels svg {
  width: 20px;
  height: 20px;
  color: var(--lvl);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

.cg-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;
  margin: 0;
  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);
}

.cg-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.15rem);
  text-transform: uppercase;
  color: var(--clr-white);
}

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

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

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

.cg-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.25rem);
  line-height: 1.15;
  color: var(--clr-white);
}

.cg-coins {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  color: var(--cg-gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(255, 199, 56, 0.6));
}

/* Comisiones VIP por nivel */
.cg-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;
}

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

.cg-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);
}

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

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

.cg-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);
}

.cg-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);
}

.cg-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);
}

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

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

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

.cg-depth b { color: var(--cg-gold); }

/* ═══ AutoPools DashRun (10) ═══ */
.cg-ap-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
  text-align: left;
}

.cg-ap-sub {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2.6vw, 2rem);
  line-height: 1.05;
}

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

.cg-net span {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 1.6vw, 1.3rem);
  color: var(--clr-white);
}

.cg-net strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.05;
}

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

.cg-pool {
  padding: 10px;
  border-radius: 14px;
  border: 2px solid var(--acc);
  background: rgba(8, 8, 15, 0.85);
  box-shadow: 0 0 16px color-mix(in srgb, var(--acc) 45%, transparent), inset 0 0 16px color-mix(in srgb, var(--acc) 16%, transparent);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  color: var(--clr-white);
}

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

.cg-pool-price {
  font-size: clamp(1.3rem, 2.1vw, 1.85rem);
  color: var(--acc);
  text-shadow: 0 0 12px color-mix(in srgb, var(--acc) 55%, transparent);
}

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

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

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

.cg-p1  { --acc: #2E9BFF; }
.cg-p2  { --acc: #B44DFF; }
.cg-p3  { --acc: #FF3FBF; }
.cg-p4  { --acc: #FF3B3B; }
.cg-p5  { --acc: #FF8A00; }
.cg-p6  { --acc: #FFD000; }
.cg-p7  { --acc: #3BEA5C; }
.cg-p8  { --acc: #00D4FF; }
.cg-p9  { --acc: #3D7BFF; }
.cg-p10 { --acc: #D63BFF; }

/* ═══ AutoPools DashRun (5) — cards más grandes al ser solo 5 ═══ */
.cg-pools--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.cg-pools--5 .cg-pool { padding: clamp(12px, 1.8vw, 22px) clamp(10px, 1.4vw, 18px); }
.cg-pools--5 .cg-pool-price { font-size: clamp(1.55rem, 2.7vw, 2.4rem); }
.cg-pools--5 .cg-pool-pay   { font-size: clamp(1.15rem, 2vw, 1.65rem); }

/* ═══ AutoPools DashRun VIP (6) — mismo formato que los 10 AutoPools ═══ */
.cg-pools--vip { grid-template-columns: repeat(6, minmax(0, 1fr)); }

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

/* ── Responsive "¿Cómo Ganar?" ── */
@media (max-width: 1100px) {
  .cg-legend { grid-template-columns: 1fr; }
  .cg-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);
  }
  .cg-vipcom { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cg-vipcom-head { grid-column: 1 / -1; justify-content: center; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .cg-vipcom-item { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .cg-pools--vip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .cg-tree-wrap { grid-template-columns: 1fr; }
  .cg-labels { display: none; }
  .cg-branches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cg-branches::before { left: calc(100% / 6); right: calc(100% / 6); }
  .cg-branch:nth-child(n+4) { display: none; }

  .cg-ap-head { grid-template-columns: 1fr; }
  .cg-net { justify-self: start; }
  .cg-pools { grid-template-columns: repeat(2, minmax(0, 1fr)); }

}

@media (max-width: 600px) {
  .cg-section { padding: 48px 16px 70px; }

  .cg-switch { gap: 6px; }
  .cg-btn { padding: 12px 12px; font-size: 0.82rem; letter-spacing: 0.06em; }
  .cg-line { min-width: 34px; }
  .cg-line-dot { width: 8px; height: 8px; margin: 0 3px; }

  .cg-tree { --n: 22px; }
  .cg-tier { gap: 1px; }

  .cg-legend-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }

  .cg-vipcom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-vipcom-item:last-child { grid-column: 1 / -1; }

  .cg-pool { padding: 8px; }

}

@media (max-width: 360px) {
  .cg-btn { padding: 11px 9px; font-size: 0.74rem; letter-spacing: 0.04em; }
  .cg-line { min-width: 24px; }
  .cg-tab { padding: 9px 10px; letter-spacing: 0.04em; }
  .cg-pool-price { font-size: 1.15rem; }
  .cg-pool-pay { font-size: 0.98rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cg-title,
  .cg-hint,
  .cg-switch,
  .cg-panel,
  .cg-view {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .cg-line-half::before { animation: none !important; }
  .cg-btn, .cg-tab, .cg-line-half { transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   Sección "Preguntas Frecuentes"
═══════════════════════════════════════════════════════════ */
.faq-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px 130px;
  text-align: center;
}

/* ── Título ── */
.faq-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.6vw, 2.7rem);
  letter-spacing: 0.02em;
  color: var(--clr-white);
  margin-bottom: 36px;
}

.faq-title {
  opacity: 0;
  transform: translateY(16px);
}

.faq-title.in-view {
  animation: letter-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ── Cuadro con la lista de preguntas ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  opacity: 0;
  transform: translateY(28px) scale(0.98);
}

.faq-section.in-view .faq-list {
  animation: box-in 0.9s 0.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ── Item individual ── */
.faq-item {
  border: 1px solid rgba(79, 43, 255, 0.45);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(79,43,255,0.07) 0%, rgba(8,8,15,0.5) 100%);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(79, 43, 255, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(192, 35, 232, 0.6);
  box-shadow: 0 0 26px rgba(192, 35, 232, 0.16);
}

.faq-item.open {
  border-color: rgba(0, 212, 255, 0.55);
}

/* ── Botón / cabecera de la pregunta ── */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 18px 22px;
  text-align: left;
  font-family: var(--font-body);
  color: var(--clr-white);
}

.faq-question:focus-visible {
  outline: 2px solid var(--clr-cyan);
  outline-offset: -2px;
}

.faq-q-text {
  font-weight: 700;
  font-size: clamp(0.88rem, 1.9vw, 1.02rem);
  line-height: 1.5;
}

/* ── Icono +/− ── */
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-white);
  background: linear-gradient(135deg, var(--clr-violet), var(--clr-magenta));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.open .faq-icon {
  transform: rotate(135deg);
  background: linear-gradient(135deg, var(--clr-orange), var(--clr-red));
}

/* ── Respuesta con animación de expansión suave (grid-rows trick) ── */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p,
.faq-answer ul {
  padding: 0 22px 20px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.82rem, 1.8vw, 0.95rem);
  line-height: 1.75;
  color: var(--clr-muted);
}

.faq-answer p + p { padding-top: 0; }
.faq-answer p:has(+ ul) { padding-bottom: 10px; }

.faq-answer ul {
  list-style: none;
  padding-left: 22px;
}

.faq-answer ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.faq-answer ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-violet), var(--clr-magenta));
}

.faq-ul-pools {
  columns: 1;
  column-gap: 0;
}

/* FAQ 4: grid DashRun / DashRun VIP */
.faq-pools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin-top: 12px;
}
.faq-pools-col { display: flex; flex-direction: column; gap: 6px; }
.faq-pools-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
  width: fit-content;
}
.faq-pools-label--dr  { background: rgba(139,92,246,.18); color: var(--clr-violet); border: 1px solid rgba(139,92,246,.35); }
.faq-pools-label--vip { background: rgba(245,158,11,.12);  color: var(--clr-gold);   border: 1px solid rgba(245,158,11,.30); }

.faq-answer code {
  font-family: monospace;
  color: var(--clr-cyan);
  background: rgba(0, 212, 255, 0.10);
  padding: 1px 6px;
  border-radius: 3px;
}

.faq-answer strong {
  color: var(--clr-white);
  font-weight: 700;
}

.faq-highlight {
  color: var(--clr-gold);
  font-weight: 600;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .faq-title,
  .faq-list {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .faq-answer,
  .faq-icon {
    transition: none !important;
  }
}

/* ── Responsive: Preguntas Frecuentes ── */
@media (max-width: 560px) {
  .faq-section { padding: 40px 14px 90px; }
  .faq-question { padding: 15px 16px; gap: 12px; }
  .faq-answer p,
  .faq-answer ul { padding: 0 16px 16px; }
  .faq-icon { width: 24px; height: 24px; font-size: 0.95rem; }
  .faq-pools-grid { grid-template-columns: 1fr; gap: 16px; }
  .faq-ul-pools { columns: 1; }
}

/* ═══════════════════════════════════════════════════════════
   Footer: redes sociales, contrato y copyright
═══════════════════════════════════════════════════════════ */
.site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  border-top: 1px solid rgba(79, 43, 255, 0.25);
}

/* ── Redes sociales ── */
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--clr-white);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
}

.social-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.18s;
}

.social-btn:hover::after { opacity: 1; }
.social-btn:hover { transform: translateY(-2px); }
.social-btn:active { transform: translateY(0); }

.social-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Colores por red */
.social-telegram {
  background: linear-gradient(135deg, #229ED9 0%, #1a86bb 100%);
  border-color: rgba(34, 158, 217, 0.4);
  box-shadow: 0 0 16px rgba(34, 158, 217, 0.20);
}
.social-telegram:hover {
  box-shadow: 0 0 28px rgba(34, 158, 217, 0.40);
  border-color: rgba(34, 158, 217, 0.70);
}

.social-x {
  background: linear-gradient(135deg, #1d1d1d 0%, #111 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.06);
}
.social-x:hover {
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.40);
}

.social-youtube {
  background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
  border-color: rgba(255, 0, 0, 0.35);
  box-shadow: 0 0 16px rgba(255, 0, 0, 0.18);
}
.social-youtube:hover {
  box-shadow: 0 0 28px rgba(255, 0, 0, 0.38);
  border-color: rgba(255, 0, 0, 0.65);
}

.social-instagram {
  background: linear-gradient(135deg, #833AB4 0%, #C13584 50%, #E1306C 100%);
  border-color: rgba(193, 53, 132, 0.40);
  box-shadow: 0 0 16px rgba(193, 53, 132, 0.18);
}
.social-instagram:hover {
  box-shadow: 0 0 28px rgba(193, 53, 132, 0.38);
  border-color: rgba(193, 53, 132, 0.70);
}

.social-facebook {
  background: linear-gradient(135deg, #1877F2 0%, #155fc2 100%);
  border-color: rgba(24, 119, 242, 0.40);
  box-shadow: 0 0 16px rgba(24, 119, 242, 0.18);
}
.social-facebook:hover {
  box-shadow: 0 0 28px rgba(24, 119, 242, 0.38);
  border-color: rgba(24, 119, 242, 0.70);
}

/* ── Contratos verificados (3 contratos) ── */
.footer-contracts {
  width: 100%;
  max-width: 860px;
  margin: 0 auto 4px;
}

.footer-contracts-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 14px;
}

.footer-contracts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.fc-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.fc-card:hover {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}

.fc-card-head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.fc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fc-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--clr-white);
  flex: 1;
}

.fc-network {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
  opacity: 0.7;
}

.fc-addr-row {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--clr-muted);
  transition: color 0.18s;
}
.fc-addr-row:hover { color: var(--clr-white); }

.fc-addr {
  font-family: monospace;
  font-size: clamp(0.58rem, 1.1vw, 0.72rem);
  word-break: break-all;
  flex: 1;
  line-height: 1.4;
}

.fc-ext {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.18s;
}
.fc-addr-row:hover .fc-ext { opacity: 1; }

.fc-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-muted);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.fc-copy-btn:hover {
  background: rgba(77,255,145,0.08);
  border-color: rgba(77,255,145,0.3);
  color: var(--clr-green);
}

@media (max-width: 700px) {
  .footer-contracts-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .fc-addr {
    font-size: 0.62rem;
    word-break: break-all;
  }
}

/* ── Dirección del contrato (legacy - kept for backcup compat) ── */
.footer-contract {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-contract-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-muted);
}

.footer-contract-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid rgba(79, 43, 255, 0.45);
  background: rgba(79, 43, 255, 0.07);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.footer-contract-link:hover {
  border-color: rgba(0, 212, 255, 0.65);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
  background: rgba(0, 212, 255, 0.06);
}

.footer-contract-prefix {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--clr-cyan);
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0, 212, 255, 0.12);
  white-space: nowrap;
}

.footer-contract-addr {
  font-family: monospace;
  font-size: clamp(0.68rem, 1.4vw, 0.82rem);
  color: var(--clr-muted);
  letter-spacing: 0.03em;
  word-break: break-all;
}

.footer-ext-icon {
  width: 14px;
  height: 14px;
  color: var(--clr-cyan);
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.18s;
}
.footer-contract-link:hover .footer-ext-icon { opacity: 1; }

/* ── Copyright ── */
.footer-copy-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.footer-copy {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.30);
  text-align: center;
  letter-spacing: 0.02em;
}

.footer-disclaimer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255, 107, 0, 0.35);
  background: rgba(255, 107, 0, 0.06);
  color: rgba(255, 107, 0, 0.80);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
  white-space: nowrap;
}

.footer-disclaimer-btn:hover {
  border-color: rgba(255, 107, 0, 0.65);
  box-shadow: 0 0 16px rgba(255, 107, 0, 0.14);
  color: #FF6B00;
}

.footer-disclaimer-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .site-footer { padding: 36px 16px 48px; gap: 24px; }
  .footer-socials { gap: 10px; }
  .social-btn { padding: 10px 14px; font-size: 0.82rem; }
  .social-icon { width: 16px; height: 16px; }
  .footer-contract-addr { font-size: 0.64rem; }
}

@media (max-width: 400px) {
  .social-btn span { display: none; }
  .social-btn { padding: 12px; border-radius: 50%; width: 46px; height: 46px; justify-content: center; }
  .social-icon { width: 20px; height: 20px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .social-btn, .footer-contract-link { transition: none; }
}

/* ════════════════════════════════════════════════════════════════
   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; }
}
