/* Compartir (botones) + vista #/reto (aterrizaje del curioso). */

/* --- Botón de compartir reutilizable (Match Center, Pronóstico, Recap) --- */
.gz-share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  width: 100%; justify-content: center;
  padding: 12px 18px; margin: 0;
  border: none; border-radius: var(--r-pill);
  background: var(--grad-brand); color: #fff;
  font: inherit; font-weight: 700; font-size: .92rem;
  cursor: pointer; box-shadow: var(--shadow-md);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), opacity var(--t-fast);
}
.gz-share-btn svg { width: 18px; height: 18px; }
.gz-share-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.gz-share-btn:active { transform: translateY(0); }
.gz-share-btn:disabled { opacity: .65; cursor: default; }
/* Variante "reto": contorno en vez de relleno (jerarquía más baja que un acierto). */
.gz-share-btn--duel {
  background: var(--surface); color: var(--brand-2);
  border: 1.5px solid var(--brand-2); box-shadow: var(--shadow-sm);
}
.gz-share-btn--duel:hover { background: var(--surface-soft); }

.mp-share { margin-top: 12px; }
.recap-share { margin: 4px auto 8px; max-width: 360px; padding: 0 16px; }

/* --- Vista #/reto --- */
.reto-view { max-width: 560px; margin: 0 auto; padding: 8px 16px 96px; }

.reto-hero {
  position: relative; overflow: hidden;
  text-align: center; padding: 28px 20px 24px; margin-top: 8px;
  border-radius: var(--r-lg);
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow-lg);
}
.reto-hero__glow {
  position: absolute; inset: -40% 0 auto 0; height: 70%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(124,58,237,.55), rgba(79,70,229,.12) 50%, transparent 75%);
  pointer-events: none;
}
.reto-eyebrow {
  position: relative; margin: 0 0 8px; font-size: .74rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.reto-title {
  position: relative; margin: 0 0 6px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1.1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reto-sub { position: relative; margin: 0 0 18px; color: #C9CFDA; font-size: .98rem; font-weight: 500; }

.reto-match {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 12px 0 4px;
}
.reto-match__team { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 36%; }
.reto-match__team img { box-shadow: var(--shadow-sm); border-radius: 50%; background: #fff; }
.reto-match__team b { font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: #fff; }
.reto-match__vs { font-family: var(--font-display); font-weight: 800; color: var(--ink-3); font-size: 1.1rem; }
.reto-match__score {
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: #fff;
  font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 6px;
}
.reto-match__score i { color: var(--ink-3); font-style: normal; font-size: 1.6rem; }
.reto-scorelabel {
  position: relative; margin: 6px 0 0; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.reto-when { position: relative; margin: 14px 0 0; color: var(--ink-3); font-size: .86rem; }

.reto-pop { opacity: 0; transform: translateY(8px) scale(.96); animation: reto-pop .5s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes reto-pop { to { opacity: 1; transform: none; } }

.reto-robot {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 16px auto 0; color: var(--ink-2); font-weight: 600; font-size: .95rem;
}
.reto-robot svg { width: 20px; height: 20px; color: var(--ink-3); }

.reto-cta { margin: 20px 0 0; text-align: center; }
.reto-cta__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border: none; border-radius: var(--r-pill);
  background: var(--grad-brand); color: #fff; font: inherit; font-weight: 700; font-size: 1rem;
  cursor: pointer; box-shadow: var(--shadow-md);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.reto-cta__btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.reto-cta__btn svg { width: 20px; height: 20px; }
.reto-cta__btn--big { width: 100%; max-width: 380px; padding: 16px 22px; font-size: 1.08rem; }
.reto-cta__btn--ghost {
  background: var(--surface); color: var(--brand-2); border: 1.5px solid var(--hairline);
  box-shadow: var(--shadow-sm); margin-top: 10px;
}
.reto-cta__hint { margin: 12px 0 0; color: var(--ink-3); font-size: .9rem; }
.reto-cta__ok, .reto-cta__done, .reto-cta__locked {
  margin: 0 0 14px; font-weight: 700; color: var(--ink); font-size: 1.02rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.reto-cta__ok svg { color: var(--win); width: 22px; height: 22px; }
.reto-cta__ok { color: var(--win); }
.reto-cta .gz-share-btn { margin-top: 4px; max-width: 380px; }

.reto-foot { margin: 26px 0 0; text-align: center; color: var(--ink-3); font-size: .9rem; }
.reto-foot__link {
  background: none; border: none; padding: 0; margin-left: 4px;
  color: var(--brand-2); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline;
}

.reto-rise { opacity: 0; transform: translateY(10px); animation: reto-rise .5s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes reto-rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reto-pop, .reto-rise { animation: none; opacity: 1; transform: none; }
}
