/* =============================================================
   parejas.club - LOS MÁS LIGONES (diseño 2026)
   Página /los-mas-ligones

   Dos rankings (hombres / mujeres) en tarjetas de foto única: el
   protagonista es la cara, el número del top y las cifras del ligoteo.
   Todas las clases llevan el prefijo "lig-" / "ligon-" para no chocar
   con las otras hojas del diseño 2026.
   ============================================================= */

.main-lig {
  height: auto;
  min-height: 100vh;
}

.main-lig .content-container {
  display: block;
  min-height: 0;
}

.main-lig .content-area {
  width: 100%;
  max-width: 86%;
  margin: 0 auto;
  overflow: visible;
  padding-bottom: 3rem;
}

@media screen and (max-width: 40em) {
  .main-lig .content-area {
    max-width: 100%;
    padding-left: .65rem;
    padding-right: .65rem;
  }
}

.content-lig {
  font-family: 'Metropolis', 'Segoe UI', system-ui, sans-serif;
  color: var(--pc-ink);
}

.content-lig a {
  color: var(--pc-ink);
}

/* --------------------------------------------------------------
   HERO
   -------------------------------------------------------------- */
.lig-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 3rem;
  padding: 3.4rem 1.5rem 3rem;
  border-radius: 2.2rem;
  background:
    radial-gradient(58rem 28rem at 92% -18%, rgba(255, 216, 107, .38) 0%, rgba(255, 216, 107, 0) 70%),
    radial-gradient(42rem 24rem at 4% 108%, rgba(255, 77, 157, .45) 0%, rgba(255, 77, 157, 0) 72%),
    linear-gradient(135deg, #2d0a56 0%, #7b2ff7 52%, #ce2169 100%);
  box-shadow: 0 28px 64px -30px rgba(59, 15, 111, .95);
  isolation: isolate;
}

.lig-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.lig-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(30px);
  opacity: .5;
}

.lig-orb-1 {
  width: 26rem;
  height: 26rem;
  top: -12rem;
  right: -6rem;
  background: radial-gradient(circle, #ffd86b 0%, rgba(255, 216, 107, 0) 70%);
  animation: lig-float 12s ease-in-out infinite;
}

.lig-orb-2 {
  width: 22rem;
  height: 22rem;
  bottom: -11rem;
  left: -7rem;
  background: radial-gradient(circle, #ff4d9d 0%, rgba(255, 77, 157, 0) 70%);
  animation: lig-float 15s ease-in-out infinite reverse;
}

.lig-orb-3 {
  width: 18rem;
  height: 18rem;
  top: 42%;
  left: 48%;
  background: radial-gradient(circle, #ffffff 0%, rgba(255, 255, 255, 0) 70%);
  opacity: .28;
  animation: lig-float 18s ease-in-out infinite;
}

@keyframes lig-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(1.6rem, -1.2rem, 0) scale(1.08); }
}

.lig-hearts i {
  position: absolute;
  color: rgba(255, 255, 255, .14);
  font-style: normal;
  animation: lig-rise 13s linear infinite;
}

.lig-hearts i:nth-child(1) { left: 8%;  font-size: 2.2rem; animation-delay: 0s; }
.lig-hearts i:nth-child(2) { left: 26%; font-size: 1.4rem; animation-delay: 2.5s; }
.lig-hearts i:nth-child(3) { left: 57%; font-size: 3.1rem; animation-delay: 4.2s; }
.lig-hearts i:nth-child(4) { left: 78%; font-size: 1.8rem; animation-delay: 6.3s; }
.lig-hearts i:nth-child(5) { left: 43%; font-size: 1.1rem; animation-delay: 8.6s; }

@keyframes lig-rise {
  0% { transform: translateY(120%) rotate(0deg); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-140%) rotate(24deg); opacity: 0; }
}

.lig-hero-inner {
  max-width: 62rem;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.lig-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: .45rem 1.1rem;
  border-radius: 2rem;
  background: rgba(255, 216, 107, .18);
  border: 1px solid rgba(255, 216, 107, .5);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffe9ad;
}

.lig-title {
  color: #fff;
  margin: 0 0 1rem;
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: .95;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-shadow: 0 .5rem 1.6rem rgba(45, 10, 86, .5);
}

.lig-title span {
  display: inline-block;
  background: linear-gradient(100deg, #ffd86b 0%, #ff9ec4 55%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lig-lead {
  max-width: 52rem;
  margin: 0 auto 1.8rem;
  font-size: clamp(.96rem, 1.8vw, 1.12rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .9);
}

.lig-lead b {
  color: #fff;
}

.ligon-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ligon-stats li {
  min-width: 9.5rem;
  padding: .85rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
}

.ligon-stats li.is-record {
  background: rgba(255, 216, 107, .16);
  border-color: rgba(255, 216, 107, .5);
}

.ligon-stats b {
  display: block;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -.03em;
  color: #fff;
}

.ligon-stats li.is-record b {
  color: #ffe9ad;
}

.ligon-stats span {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .75;
}

/* --------------------------------------------------------------
   BLOQUES / CABECERAS
   -------------------------------------------------------------- */
.lig-block {
  margin: 0 0 3.4rem;
  scroll-margin-top: 6rem;
}

.lig-block-head {
  max-width: 46rem;
  margin: 0 auto 1.7rem;
  text-align: center;
}

.lig-block-kicker {
  display: inline-block;
  margin: 0 0 .45rem;
  padding: .3rem .85rem;
  border-radius: 2rem;
  background: rgba(153, 0, 153, .08);
  border: 1px solid var(--pc-line);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pc-pink);
}

.lig-block-title {
  margin: 0 0 .55rem;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -.025em;
}

.lig-block-title span {
  background: var(--pc-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lig-block-sub {
  max-width: 42rem;
  margin: 0 auto;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--pc-ink-soft);
}

/* --------------------------------------------------------------
   TARJETAS: SÓLO LA FOTO + RANKING + CIFRAS
   -------------------------------------------------------------- */
.lig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 1rem;
}

@media screen and (max-width: 40em) {
  .lig-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }
}

.ligon {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1.2rem;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #f6ebf6 0%, #e9d8ec 100%);
  border: 1px solid rgba(153, 0, 153, .14);
  box-shadow: 0 1.2rem 2.2rem -1.8rem rgba(59, 15, 111, .55);
  text-decoration: none;
  isolation: isolate;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ligon:hover,
.ligon:focus-visible {
  transform: translateY(-.25rem);
  border-color: rgba(206, 33, 105, .5);
  box-shadow: 0 1.6rem 2.8rem -1.7rem rgba(59, 15, 111, .65);
}

.ligon-photo {
  position: absolute;
  inset: 0;
  display: block;
}

.ligon-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.ligon:hover .ligon-photo img {
  transform: scale(1.05);
}

/* El número del top, siempre visible sobre la foto. */
.ligon-rank {
  position: absolute;
  top: .55rem;
  left: .55rem;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: .18rem;
  padding: .18rem .55rem .22rem;
  border-radius: .8rem;
  background: linear-gradient(135deg, rgba(59, 15, 111, .92) 0%, rgba(206, 33, 105, .92) 100%);
  border: 1px solid rgba(255, 216, 107, .55);
  box-shadow: 0 .35rem .9rem -.25rem rgba(45, 10, 86, .8);
  color: #fff;
  line-height: 1;
}

.ligon-rank i {
  font-style: normal;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .06em;
  opacity: .8;
}

.ligon-rank b {
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: #ffe9ad;
}

/* Nombre sólo para lectores de pantalla: visualmente manda la foto. */
.ligon-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Cifras en la franja inferior, en pequeño. */
.ligon-info {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .12rem;
  padding: 2.4rem .65rem .6rem;
  background: linear-gradient(180deg, rgba(20, 4, 32, 0) 0%, rgba(20, 4, 32, .78) 45%, rgba(20, 4, 32, .92) 100%);
  color: #fff;
  text-align: left;
}

.ligon-partners {
  font-size: .72rem;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .82);
}

.ligon-partners b {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -.02em;
  color: #fff;
}

.ligon-span {
  font-size: .67rem;
  font-weight: 700;
  color: #ffe9ad;
}

.ligon-freq {
  font-size: .63rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, .78);
}

/* --------------------------------------------------------------
   CIERRE
   -------------------------------------------------------------- */
.lig-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  margin: 0 0 2.4rem;
}

.lig-cta a.pc-btn-primary {
  color: #fff;
  background: var(--pc-grad-pink);
}

.lig-cta a.pc-btn-ghost {
  color: var(--pc-ink);
  background: #fff;
  border: 1px solid rgba(153, 0, 153, .22);
}

.lig-foot {
  border-top: 1px solid var(--pc-line);
  padding-top: 1.4rem;
}

.lig-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .85rem;
}

.lig-foot-links a {
  text-decoration: none;
  color: var(--pc-ink-soft);
}

.lig-foot-links a:hover {
  color: var(--pc-pink);
}

@media screen and (max-width: 40em) {
  .lig-hero {
    padding: 2.2rem 1rem 2rem;
    border-radius: 1.6rem;
  }

  .ligon-stats li {
    min-width: 0;
    flex: 1 1 7rem;
    padding: .7rem .8rem;
  }

  .ligon-stats b {
    font-size: 1.3rem;
  }

  .ligon-info {
    padding: 1.8rem .5rem .5rem;
  }
}
