/* =================================================================
   RYSU BOOSTING — /links/
   Usa los tokens de style.css (--gold, --panel, --line, Impact1).
   Cada fila lleva --brand: el color de esa red. Solo aparece en el
   hover (borde + glow), así la identidad negro/oro manda y la red
   se identifica al tocarla.
================================================================= */

/* =================== HERO =================== */
.links-hero {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 140px 24px 0;
}
.links-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 10px 0 14px;
  color: var(--white);
}
.links-hero h1 .gold { color: var(--gold); }
.links-hero p { color: var(--mist); font-size: 15.5px; margin: 0; }

/* =================== CONTENEDOR =================== */
.links-wrap { max-width: 560px; margin: 0 auto; padding: 36px 24px 90px; }

/* =================== CTA PRINCIPAL =================== */
/* El único enlace que factura: tamaño, oro y esquina cortada de v2. */
.link-cta {
  display: block;
  background: var(--gold);
  color: var(--ink);
  padding: 20px 22px;
  margin-bottom: 30px;
  clip-path: polygon(0 0, 100% 0, 100% 80%, calc(100% - 18px) 100%, 0 100%);
  transition: filter .25s ease, box-shadow .25s ease, transform .2s ease;
}
.link-cta:hover {
  filter: brightness(1.08);
  box-shadow: 0 14px 36px rgba(255,215,0,0.32);
}
.link-cta .cta-eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; opacity: .65;
}
.link-cta .cta-title {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.85rem; line-height: 1.05; margin: 6px 0 5px;
}
.link-cta .cta-title svg { width: 23px; height: 23px; flex-shrink: 0; }
.link-cta .cta-sub { font-size: 13px; font-weight: 600; opacity: .72; }

/* =================== SEPARADOR =================== */
.links-divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--mist); font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  margin: 0 0 18px;
}
.links-divider::before, .links-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}

/* =================== FILAS =================== */
.link-row {
  --brand: var(--gold);
  display: flex; align-items: center; gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  margin-bottom: 12px;
  color: var(--white);
  transition: border-color .2s ease, transform .15s ease,
              box-shadow .25s ease, background .2s ease;
}
.link-row:hover {
  border-color: var(--brand);
  background: var(--panel2);
  transform: translateY(-2px);
  box-shadow: 0 0 26px -6px var(--brand);
}
.link-row:active { transform: translateY(0) scale(.99); }

.link-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--panel2);
  border-radius: 9px;
  color: var(--white);
  transition: color .2s ease, background .2s ease;
}
.link-row:hover .link-icon { color: var(--brand); background: var(--ink2); }
.link-icon svg, .link-icon img { width: 19px; height: 19px; }
.link-icon img { opacity: .85; transition: opacity .2s ease; }
.link-row:hover .link-icon img { opacity: 1; }

.link-text { flex: 1; min-width: 0; }
.link-name { display: block; font-weight: 800; font-size: 14.5px; letter-spacing: .2px; }
.link-handle {
  display: block; font-size: 12.5px; color: var(--mist);
  overflow-wrap: anywhere; margin-top: 1px;
}

.link-arrow {
  flex-shrink: 0; width: 16px; height: 16px; color: var(--mist);
  transition: transform .2s ease, color .2s ease;
}
.link-row:hover .link-arrow { color: var(--brand); transform: translate(3px, -3px); }

/* Color de marca de cada red — solo se ve al hacer hover/tap */
.link-row.discord   { --brand: #5865F2; }
.link-row.x         { --brand: #FFFFFF; }
.link-row.tiktok    { --brand: #25F4EE; }
.link-row.youtube   { --brand: #FF0000; }
.link-row.instagram { --brand: #E4405F; }
.link-row.twitch    { --brand: #9146FF; }
.link-row.email     { --brand: var(--gold); }

/* Estado "email copiado" */
.link-row.copied { border-color: var(--gold); box-shadow: 0 0 26px -6px var(--gold); }
.link-row.copied .link-handle { color: var(--gold); }

/* =================== LÍNEA DE CONFIANZA =================== */
.links-trust {
  text-align: center; color: var(--mist);
  font-size: 12.5px; margin: 26px 0 0; line-height: 1.7;
}
.links-trust strong { color: var(--gold); font-weight: 800; }

/* =================== MÓVIL =================== */
@media (max-width: 899px) {
  .links-hero { padding-top: 120px; }
  .links-hero p { font-size: 14px; }
  .links-wrap { padding: 30px 20px 70px; }
  .link-cta { padding: 18px 20px; }
  .link-cta .cta-title { font-size: 1.6rem; }
  .link-cta .cta-sub { font-size: 12.5px; }
  .link-row { padding: 12px 14px; gap: 12px; }
  .link-icon { width: 34px; height: 34px; }
  .link-icon svg, .link-icon img { width: 17px; height: 17px; }
  .link-name { font-size: 13.5px; }
  .link-handle { font-size: 12px; }
  .links-trust { font-size: 11.5px; }
}

/* =================== CTA SECUNDARIA: EL CURSO ===================
   Misma anatomia que la CTA de boosting, pero en plata sobre panel:
   se ve como hermana de la dorada sin competir con ella. */
.link-cta.course {
  background: rgba(20,20,20,0.82);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.30);
  margin-top: -16px;   /* pareja visual con la dorada de arriba */
}
.link-cta.course:hover {
  filter: none;
  border-color: rgba(255,255,255,0.55);
  box-shadow: 0 14px 36px rgba(255,255,255,0.10);
}
.link-cta.course .cta-eyebrow { color: #d9d9d9; opacity: .8; }
.link-cta.course .cta-sub { opacity: .62; }

/* Mismo fondo que la shop (el estatico negro), en vez del blur general */
body.links-page::after { background-image: url('../assets/imagenes/FondoGameplayStaticNegro.png'); }
