/* Pixel Pass - mejoras de conversión y confianza (nov 2026).
   Se carga después del resto de las hojas para poder ajustar sin tocar lo existente. */

/* ---------- Consolas disponibles (PS4 / PS5) ---------- */
.card-compat,
.detail-compat {
  display: inline-flex;
  gap: 0.3rem;
}

.compat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  padding: 0.2rem 0.4rem;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
}

.compat-chip.is-on {
  background: rgba(113, 102, 255, 0.95);
  color: #ffffff;
}

.compat-chip.is-off {
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.34);
  text-decoration: line-through;
}

.detail-compat .compat-chip {
  padding: 0.38rem 0.6rem;
  font-size: 0.85rem;
}

.detail-compat .compat-chip.is-on {
  background: rgba(18, 217, 133, 0.14);
  border: 1px solid rgba(18, 217, 133, 0.5);
  color: var(--green);
}

/* ---------- Badge de ahorro en la tarjeta ---------- */
.cover .card-saving {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 5;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  background: var(--green);
  color: #03130c;
  font-size: 0.82rem;
  font-weight: 950;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* ---------- Comparación de precio en la ficha ---------- */
.price-compare {
  display: grid;
  gap: 0.35rem;
  width: min(660px, 100%);
  padding: 0.8rem 1rem;
  border: 1px solid rgba(18, 217, 133, 0.28);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(18, 217, 133, 0.1), rgba(25, 211, 255, 0.05));
}

.price-compare-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-weight: 800;
}

.price-compare-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-compare-row s {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
}

.price-compare-row.is-ours span {
  color: #ffffff;
}

.price-compare-row strong {
  color: var(--green);
  font-size: 1.25rem;
}

.price-compare-saving {
  margin: 0.15rem 0 0;
  padding-top: 0.4rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 800;
}

.price-compare-saving b {
  margin-left: 0.3rem;
  padding: 0.1rem 0.35rem;
  border-radius: 5px;
  background: var(--green);
  color: #03130c;
}

/* ---------- Mini garantías en la ficha ---------- */
.detail-trust {
  display: grid;
  gap: 0.35rem;
  width: min(660px, 100%);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.detail-trust span {
  color: var(--green);
  font-weight: 950;
}

.detail-question {
  color: var(--cyan);
  font-weight: 900;
  text-decoration: none;
}

.detail-question:hover,
.detail-question:focus-visible {
  color: #ffffff;
}

/* ---------- Ficha del juego en celular: portada chica + barra de compra fija ---------- */
@media (max-width: 820px) {
  .product-detail-page .detail-layout {
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 0.9rem;
    row-gap: 0.85rem;
  }

  .product-detail-page .detail-info {
    display: contents;
  }

  .product-detail-page .detail-info > * {
    grid-column: 1 / -1;
  }

  .product-detail-page .detail-cover {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 104px;
    margin: 0;
    align-self: start;
    border-radius: 8px;
  }

  .product-detail-page .detail-info > .detail-kicker,
  .product-detail-page .detail-info > h1,
  .product-detail-page .detail-info > .detail-compat {
    grid-column: 2;
  }

  .product-detail-page .detail-info > .detail-kicker {
    grid-row: 1;
    align-self: end;
  }

  .product-detail-page .detail-info > h1 {
    grid-row: 2;
    font-size: clamp(1.45rem, 7vw, 2.1rem);
    line-height: 1;
  }

  .product-detail-page .detail-info > .detail-compat {
    grid-row: 3;
    align-self: start;
  }

  .product-detail-page .detail-description {
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  .product-detail-page .detail-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Barra de compra pegada abajo mientras se recorre la ficha */
  .product-detail-page .detail-purchase {
    position: sticky;
    bottom: 0.55rem;
    z-index: 20;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.5rem;
    padding: 0.6rem 0.65rem;
    border-color: rgba(25, 211, 255, 0.35);
    background:
      linear-gradient(135deg, rgba(113, 102, 255, 0.22), rgba(25, 211, 255, 0.12)),
      rgba(10, 12, 24, 0.96);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
  }

  .product-detail-page .detail-purchase span {
    font-size: 0.62rem;
  }

  .product-detail-page .detail-purchase strong {
    font-size: 1.3rem;
    gap: 0.35rem;
  }

  .product-detail-page .detail-purchase .old-price {
    font-size: 0.75rem;
  }

  .product-detail-page .detail-purchase .button {
    width: auto;
    min-height: 44px;
    padding-inline: 0.8rem;
    font-size: 0.82rem;
  }

  /* En la ficha la consulta por WhatsApp está en el link "¿Tenés dudas?";
     el botón flotante se oculta para no tapar precios ni la barra de compra. */
  body[data-page="producto"] .whatsapp-fab {
    visibility: hidden;
  }
}

@media (max-width: 380px) {
  .product-detail-page .detail-layout {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .product-detail-page .detail-cover {
    width: 88px;
  }

  .product-detail-page .detail-purchase .button.ghost {
    padding-inline: 0.55rem;
  }
}

/* ---------- Portada con banners (promo + juegos) ---------- */
.hero.is-banner {
  background:
    radial-gradient(120% 140% at 85% 30%, rgba(25, 211, 255, 0.22), transparent 55%),
    radial-gradient(90% 120% at 10% 100%, rgba(113, 102, 255, 0.35), transparent 60%),
    #070917;
}

.hero.is-banner .hero-backdrop {
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(1.3);
  transform: scale(1.25);
}

.hero.is-banner .hero-backdrop.is-active {
  opacity: 0.42;
  transform: scale(1.2);
}

.hero.is-banner .hero-shader {
  display: none;
}

.hero.is-promo {
  background:
    radial-gradient(110% 130% at 80% 20%, rgba(18, 217, 133, 0.28), transparent 55%),
    radial-gradient(90% 120% at 0% 100%, rgba(113, 102, 255, 0.45), transparent 60%),
    #070917;
}

.hero.is-promo .hero-backdrop.is-active {
  opacity: 0.18;
}

.hero .hero-accent {
  background: linear-gradient(90deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero.is-promo .hero-price,
.hero.is-promo .hero-meta-strip {
  white-space: normal;
  min-width: 0;
}

.hero .hero-price .hero-promo-copy {
  display: block;
  white-space: normal;
  max-width: 34ch;
  color: #e7ebff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero-art {
  position: absolute;
  top: 50%;
  right: clamp(3.8rem, 8vw, 7rem);
  z-index: 4;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-art:empty {
  display: none;
}

.hero-art-card {
  width: clamp(150px, 17vw, 230px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: #0b0e1d;
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.55),
    0 0 0 6px rgba(255, 255, 255, 0.03),
    0 0 60px rgba(25, 211, 255, 0.22);
}

.hero-art-card.is-single {
  transform: rotate(3deg);
  animation: hero-art-in 520ms ease both;
}

.hero-art-card .cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-art-combo {
  position: relative;
  display: flex;
  align-items: center;
  animation: hero-art-in 520ms ease both;
}

.hero-art-combo .hero-art-card {
  width: clamp(120px, 13vw, 180px);
}

.hero-art-combo .hero-art-card:first-child {
  transform: rotate(-6deg) translateX(14px);
}

.hero-art-combo .hero-art-card:last-of-type {
  transform: rotate(5deg) translateX(-14px);
}

.hero-art-plus {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: #070917;
  font-size: 1.7rem;
  font-weight: 950;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.hero-art-off {
  position: absolute;
  top: -18px;
  right: -22px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #03130c;
  font-size: 1.45rem;
  font-weight: 950;
  transform: rotate(-12deg);
  box-shadow: 0 12px 28px rgba(18, 217, 133, 0.4);
}

.hero-art-off.is-solo {
  position: static;
  width: 130px;
  height: 130px;
  font-size: 2.2rem;
}

@keyframes hero-art-in {
  from { opacity: 0; translate: 24px 0; }
  to { opacity: 1; translate: 0 0; }
}

@media (max-width: 760px) {
  .hero-art {
    top: 1rem;
    right: 1rem;
    transform: none;
  }

  .hero-art-card,
  .hero-art-card.is-single {
    width: 96px;
  }

  .hero-art-combo .hero-art-card {
    width: 78px;
  }

  .hero-art-plus {
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
  }

  .hero-art-off {
    top: -8px;
    right: -10px;
    width: 52px;
    height: 52px;
    font-size: 0.95rem;
  }

  .hero .hero-price .hero-promo-copy {
    font-size: 0.92rem;
  }

  .hero.is-banner .hero-nav {
    top: 26%;
    bottom: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art-card.is-single,
  .hero-art-combo {
    animation: none;
  }
}

/* ---------- Franja de confianza ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  width: min(1240px, calc(100% - 1.4rem));
  margin: 1rem auto 0;
}

.trust-item {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(113, 102, 255, 0.1), rgba(25, 211, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
}

.trust-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.2rem;
}

.trust-item strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.1;
}

.trust-item small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
}

@media (max-width: 900px) {
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .trust-strip {
    gap: 0.5rem;
    width: calc(100% - 0.8rem);
  }

  .trust-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.7rem;
  }

  .trust-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .trust-item strong {
    font-size: 0.92rem;
  }

  .trust-item small {
    font-size: 0.76rem;
  }
}

/* ---------- Reseñas e Instagram ---------- */
.reviews-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 320px);
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scroll-snap-type: x mandatory;
}

.review-card {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  scroll-snap-align: start;
}

.review-card img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
}

.review-stars {
  color: #ffc94d;
  letter-spacing: 0.1em;
}

.review-card blockquote {
  margin: 0;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.review-card figcaption {
  color: var(--muted);
  font-size: 0.88rem;
}

.instagram-cta {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-top: 0.9rem;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(131, 58, 180, 0.35), rgba(253, 29, 29, 0.22), rgba(252, 176, 69, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  text-decoration: none;
}

.instagram-cta strong,
.instagram-cta small {
  display: block;
}

.instagram-cta small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.instagram-cta > span:nth-child(2) {
  flex: 1 1 auto;
}

.instagram-cta-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 9px, #ffffff 9.5px, #ffffff 12px, transparent 12.5px),
    linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

/* ---------- Aviso de pedidos recientes ---------- */
.live-order {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 34;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  max-width: min(340px, calc(100% - 96px));
  padding: 0.55rem 0.7rem 0.55rem 0.55rem;
  border: 1px solid rgba(25, 211, 255, 0.28);
  border-radius: 12px;
  background: rgba(10, 12, 24, 0.95);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.live-order.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.live-order-cover {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 52px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.live-order-cover .cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-order-text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.live-order-text small {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-order-text strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-order-text em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.8rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(18, 217, 133, 0.6);
  animation: live-pulse 1.6s infinite;
}

.live-order-close {
  align-self: start;
  padding: 0 0.2rem;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
}

@keyframes live-pulse {
  70% { box-shadow: 0 0 0 7px rgba(18, 217, 133, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 217, 133, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .live-order { transition: none; transform: none; }
  .live-dot { animation: none; }
}

body[data-page="producto"] .live-order {
  bottom: 96px;
}

@media (max-width: 560px) {
  .live-order {
    left: 10px;
    bottom: 12px;
  }
}

/* ---------- Pie ---------- */
.site-footer .footer-legal {
  max-width: 60ch;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  text-align: center;
}

/* =====================================================================
   Banners v2: cada juego con su tema (colores, decorado, escena y frase)
   ===================================================================== */
.hero.is-banner {
  --theme-a: #7166ff;
  --theme-b: #19d3ff;
  --theme-bg: #070917;
  background:
    radial-gradient(110% 140% at 88% 30%, color-mix(in srgb, var(--theme-b) 34%, transparent), transparent 58%),
    radial-gradient(90% 120% at 0% 100%, color-mix(in srgb, var(--theme-a) 46%, transparent), transparent 62%),
    var(--theme-bg);
}

.hero.theme-promo   { --theme-a: #12d985; --theme-b: #19d3ff; --theme-bg: #061611; }
.hero.theme-vice    { --theme-a: #ff3d9a; --theme-b: #ffb03b; --theme-bg: #1a0726; }
.hero.theme-pitch   { --theme-a: #1fe07a; --theme-b: #c6ff3d; --theme-bg: #04170d; }
.hero.theme-warzone { --theme-a: #ff6a1a; --theme-b: #ffc247; --theme-bg: #120a05; }
.hero.theme-horror  { --theme-a: #d4142c; --theme-b: #ff5a4f; --theme-bg: #0d0405; }
.hero.theme-spidey  { --theme-a: #e11d2e; --theme-b: #2f6bff; --theme-bg: #0a0b1d; }
.hero.theme-agent   { --theme-a: #d9a441; --theme-b: #f5d58a; --theme-bg: #0b0a07; }
.hero.theme-racing  { --theme-a: #ff2a2a; --theme-b: #ffffff; --theme-bg: #0c0c10; }

/* Escena de fondo (sacada del trailer) */
.hero.is-banner.has-art .hero-backdrop {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: var(--hero-focus, center);
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.04);
}

.hero.is-banner.has-art .hero-backdrop.is-active {
  opacity: 0.92;
  transform: scale(1);
}

.hero.is-banner.has-art::before {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--theme-bg) 96%, transparent) 0%, color-mix(in srgb, var(--theme-bg) 78%, transparent) 34%, transparent 70%),
    linear-gradient(0deg, color-mix(in srgb, var(--theme-bg) 80%, transparent), transparent 45%);
}

.hero.theme-horror.has-art .hero-backdrop {
  filter: saturate(0.6) contrast(1.15) brightness(0.9);
}

/* Sin escena: portada difuminada + decorado del tema */
.hero.is-banner:not(.has-art) .hero-backdrop.is-active {
  opacity: 0.35;
}

/* Textos */
.hero.is-banner .hero-content {
  left: clamp(4.4rem, 6.5vw, 5.8rem);
  max-width: min(560px, 52%);
}

.hero.is-banner .hero-content > .eyebrow {
  display: none;
}

.hero.is-banner .hero-status {
  background: linear-gradient(135deg, var(--theme-a), var(--theme-b));
  color: #08060f;
}

.hero.is-banner h1 {
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.55);
}

.hero-tagline {
  margin: 0.45rem 0 0;
  max-width: 36ch;
  color: #eef0ff;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.hero.is-banner .hero-tagline::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 3px;
  margin: 0 0.5rem 0.3rem 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--theme-a), var(--theme-b));
  vertical-align: middle;
}

.hero-offer-chip {
  margin-left: 0.45rem;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  background: var(--green);
  color: #03130c;
  font-size: 0.85em;
  text-shadow: none;
}

.hero.is-banner .hero-quick-links a[data-hero-cta] {
  border-color: transparent;
  background: linear-gradient(135deg, var(--theme-a), var(--theme-b));
  color: #08060f;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--theme-a) 40%, transparent);
}

/* Portada flotante con el brillo del tema */
.hero.is-banner .hero-art-card {
  border-color: color-mix(in srgb, var(--theme-b) 45%, transparent);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.6),
    0 0 70px color-mix(in srgb, var(--theme-a) 45%, transparent);
}

.hero.is-banner.has-art .hero-art-card.is-single {
  width: clamp(120px, 12vw, 170px);
}

/* Decorados por tema (detrás de la portada) */
.hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

/* GTA VI: sol retro de Vice City */
.hero.theme-vice .hero-art::before {
  inset: -18% -40% auto -40%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-linear-gradient(180deg, transparent 0 14px, var(--theme-bg) 14px 20px) bottom / 100% 45% no-repeat,
    linear-gradient(180deg, #ffd23f 0%, #ff8a3d 45%, #ff3d9a 100%);
  opacity: 0.9;
  filter: drop-shadow(0 0 40px rgba(255, 61, 154, 0.55));
}

.hero.theme-vice.is-banner {
  background:
    linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.35)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 64px) bottom / 100% 34% no-repeat,
    radial-gradient(120% 120% at 80% 10%, #5b1f8f 0%, transparent 60%),
    linear-gradient(160deg, #2a0a3f, #1a0726 55%, #0d0418);
}

/* Call of Duty: franjas tácticas y brasas */
.hero.theme-warzone .hero-art::before {
  inset: -14% -32%;
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 106, 26, 0.55), transparent 62%),
    repeating-linear-gradient(-45deg, rgba(255, 194, 71, 0.18) 0 10px, transparent 10px 26px);
  border-radius: 20px;
  transform: rotate(-4deg);
}

.hero.theme-warzone.is-banner {
  background:
    radial-gradient(3px 3px at 20% 30%, rgba(255, 170, 60, 0.8), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 120, 40, 0.7), transparent),
    radial-gradient(2px 2px at 75% 20%, rgba(255, 200, 90, 0.6), transparent),
    radial-gradient(100% 120% at 85% 50%, rgba(255, 106, 26, 0.28), transparent 60%),
    linear-gradient(180deg, #1a0f08, #0b0603);
}

/* FC: círculo central de la cancha */
.hero.theme-pitch .hero-art::before {
  inset: -20% -38%;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

/* Resident Evil: viñeta roja */
.hero.theme-horror.is-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(120, 0, 10, 0.55));
}

/* Spider-Man: telaraña */
.hero.theme-spidey .hero-art::before {
  inset: -30% -45%;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 22px, rgba(255, 255, 255, 0.14) 22px 23px),
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0.14) 0deg 0.7deg, transparent 0.7deg 30deg);
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 70%);
  mask-image: radial-gradient(circle, #000 40%, transparent 70%);
}

/* 007: mira dorada */
.hero.theme-agent .hero-art::before {
  inset: -22% -36%;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 46%, rgba(217, 164, 65, 0.55) 46.5% 47.5%, transparent 48%),
    radial-gradient(circle, transparent 62%, rgba(217, 164, 65, 0.3) 62.5% 63.5%, transparent 64%);
}

/* F1: líneas de velocidad */
.hero.theme-racing .hero-art::before {
  inset: 10% -60% 10% -20%;
  background: repeating-linear-gradient(180deg, transparent 0 16px, rgba(255, 42, 42, 0.45) 16px 19px, transparent 19px 34px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 40%, transparent);
  transform: skewX(-18deg);
}

/* Promo: brillo verde */
.hero.theme-promo .hero-art::before {
  inset: -25% -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 217, 133, 0.35), transparent 65%);
}

@media (max-width: 760px) {
  .hero.is-banner .hero-content {
    left: 0.9rem;
    right: 0.9rem;
    max-width: none;
  }

  .hero.is-banner.has-art::before {
    background:
      linear-gradient(0deg, color-mix(in srgb, var(--theme-bg) 96%, transparent) 0%, color-mix(in srgb, var(--theme-bg) 70%, transparent) 45%, transparent 80%);
  }

  .hero.is-banner.has-art .hero-art-card.is-single {
    width: 78px;
  }

  .hero-tagline {
    font-size: 0.92rem;
    margin-top: 0.25rem;
  }

  .hero.is-banner h1 {
    max-width: calc(100% - 5.5rem);
  }
}

/* ---------- Tarjetas en oferta ---------- */
.product-card.is-offer .cover {
  box-shadow: inset 0 0 0 2px rgba(18, 217, 133, 0.55);
}

.cover .card-saving {
  font-size: 0.95rem;
  padding: 0.3rem 0.5rem;
  letter-spacing: 0.01em;
}

.cover .card-saving small {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* =====================================================================
   Portada v3: heros grandes de cada juego + promo de marca Pixel Pass
   ===================================================================== */
.hero.theme-blade { --theme-a: #c9d6df; --theme-b: #7fd1c4; --theme-bg: #0c1214; }
.hero.theme-frost { --theme-a: #9fd8ff; --theme-b: #ffffff; --theme-bg: #0a1220; }

/* La imagen del juego ocupa todo el banner, nítida */
.hero.is-banner.has-art .hero-backdrop.is-active {
  opacity: 1;
}

.hero.is-banner.has-art .hero-backdrop {
  filter: none;
}

.hero.is-banner.has-art::before {
  background:
    linear-gradient(90deg, rgba(5, 7, 15, 0.88) 0%, rgba(5, 7, 15, 0.55) 30%, rgba(5, 7, 15, 0) 58%),
    linear-gradient(0deg, rgba(5, 7, 15, 0.7) 0%, transparent 38%);
}

.hero.is-banner.has-art.layout-top::before {
  background:
    linear-gradient(180deg, rgba(5, 7, 15, 0.82) 0%, rgba(5, 7, 15, 0.35) 34%, transparent 55%),
    linear-gradient(90deg, rgba(5, 7, 15, 0.45) 0%, transparent 45%);
}

.hero.is-banner.layout-top .hero-content {
  top: clamp(1rem, 2.4vw, 1.6rem);
  bottom: auto;
}

/* En FC 27 el logo ya dice el nombre: en PC el título se oculta visualmente */
@media (min-width: 761px) {
  .hero.is-banner.layout-top h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hero.is-banner.layout-top .hero-tagline {
    margin-top: 0.6rem;
  }

  /* Precio y botón en una sola fila para no tapar el logo */
  .hero.is-banner.layout-top .hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.8rem;
  }

  .hero.is-banner.layout-top .hero-content > .hero-title-row,
  .hero.is-banner.layout-top .hero-content > .hero-tagline {
    flex: 1 1 100%;
  }

  .hero.is-banner.layout-top .hero-meta-strip,
  .hero.is-banner.layout-top .hero-quick-links {
    margin-top: 0.7rem;
  }
}

.hero.theme-horror.is-banner::after {
  display: none;
}

/* Etiqueta de oferta en verde */
.hero.is-banner.is-on-offer .hero-status {
  background: var(--green);
  color: #03130c;
  box-shadow: 0 0 0 3px rgba(18, 217, 133, 0.25);
}

.hero.is-banner .hero-platforms span {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(5, 7, 15, 0.55);
  backdrop-filter: blur(6px);
}

.hero.is-banner .hero-price {
  display: inline-flex;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  background: rgba(5, 7, 15, 0.55);
  backdrop-filter: blur(6px);
}

.hero.is-banner .hero-price:empty {
  display: none;
}

/* ----- Promo de marca ----- */
.hero.is-promo {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 34px 34px,
    radial-gradient(70% 120% at 80% 50%, rgba(25, 211, 255, 0.35), transparent 60%),
    radial-gradient(60% 120% at 10% 100%, rgba(18, 217, 133, 0.35), transparent 60%),
    linear-gradient(120deg, #120c3a 0%, #2a1b8a 45%, #0d3f7a 100%);
}

.hero.is-promo .hero-backdrop.is-active {
  opacity: 0;
}

.hero.is-promo h1 {
  line-height: 0.95;
}

.hero.is-promo .hero-accent {
  font-size: 1.25em;
}

.promo-stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.promo-logo {
  width: clamp(150px, 16vw, 220px);
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.4));
}

.promo-fan {
  position: relative;
  display: flex;
  justify-content: center;
  width: clamp(260px, 30vw, 400px);
  height: clamp(170px, 19vw, 250px);
}

.promo-fan-card {
  position: absolute;
  bottom: 0;
  width: 42%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: #0b0e1d;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}

.promo-fan-card .cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-fan-1 { left: 4%; transform: rotate(-12deg); }
.promo-fan-2 { left: 29%; z-index: 2; transform: translateY(-14px); }
.promo-fan-3 { right: 4%; transform: rotate(12deg); }

.promo-stamp {
  position: absolute;
  top: -10px;
  right: -14px;
  z-index: 3;
  display: grid;
  place-items: center;
  align-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #03130c;
  transform: rotate(-12deg);
  box-shadow: 0 14px 34px rgba(18, 217, 133, 0.45);
  animation: promo-pulse 2.4s ease-in-out infinite;
}

.promo-stamp b {
  font-size: 1.7rem;
  line-height: 1;
}

.promo-stamp small {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes promo-pulse {
  50% { transform: rotate(-12deg) scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  .promo-stamp { animation: none; }
}

@media (max-width: 760px) {
  .hero.is-banner.has-art::before,
  .hero.is-banner.has-art.layout-top::before {
    background:
      linear-gradient(0deg, rgba(5, 7, 15, 0.92) 0%, rgba(5, 7, 15, 0.6) 40%, transparent 70%);
  }

  .hero.is-banner.layout-top .hero-content {
    top: auto;
    bottom: 1.4rem;
  }

  .promo-logo {
    display: none;
  }

  .promo-fan {
    width: 170px;
    height: 120px;
  }

  .promo-fan-card {
    border-radius: 8px;
  }

  .promo-stamp {
    width: 62px;
    height: 62px;
    top: -6px;
    right: -8px;
  }

  .promo-stamp b {
    font-size: 1.1rem;
  }

  .promo-stamp small {
    font-size: 0.5rem;
  }

  .hero.is-promo h1 {
    max-width: none;
  }
}

/* =====================================================================
   Compras reales: cinta de "tickets" en dos filas
   ===================================================================== */
.buyers-section {
  overflow: hidden;
}

.buyers-head {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
  text-align: center;
}

.buyers-head .eyebrow {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin: 0;
}

.buyers-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
}

.buyers-head h2 span {
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.buyers-sub {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.buyers-sub strong {
  color: var(--green);
  font-size: 1.15em;
}

.buyers-marquee {
  display: grid;
  gap: 0.75rem;
  margin-inline: calc(50% - 50vw);
  padding: 0.2rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.buyers-row {
  display: flex;
  width: max-content;
  animation: buyers-scroll var(--buyers-duration, 80s) linear infinite;
}

.buyers-row.is-reverse {
  animation-direction: reverse;
}

.buyers-marquee:hover .buyers-row,
.buyers-marquee:active .buyers-row {
  animation-play-state: paused;
}

.buyers-track {
  display: flex;
  gap: 0.75rem;
  padding-right: 0.75rem;
}

@keyframes buyers-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.buyer-ticket {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  gap: 0.7rem;
  align-items: center;
  width: 290px;
  padding: 0.6rem 0.8rem 0.6rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(113, 102, 255, 0.14), rgba(25, 211, 255, 0.05)),
    #0e1122;
}

/* Corte de "ticket" a la derecha */
.buyer-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  transform: translateY(-50%);
}

.buyer-cover {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 64px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.3rem;
}

.buyer-cover .cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buyer-info {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.buyer-info p {
  margin: 0;
}

.buyer-who {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.buyer-who strong {
  color: #ffffff;
}

.buyer-avatar {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
}

.buyer-game {
  overflow: hidden;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buyer-meta {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.buyer-check {
  color: var(--green);
  font-weight: 900;
}

.buyers-section .reviews-list {
  margin-bottom: 1rem;
}

.buyers-section .instagram-cta {
  max-width: 720px;
  margin: 1.1rem auto 0;
}

@media (max-width: 560px) {
  .buyer-ticket {
    width: 250px;
  }

  .buyer-game {
    font-size: 0.92rem;
  }
}

/* ---------- Medios de pago (Mercado Pago) ---------- */
.mp-only {
  display: none !important;
}

body.mp-enabled .mp-only {
  display: revert !important;
}

body.mp-enabled .pay-chip.mp-only {
  display: inline-flex !important;
}

.pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  width: min(1240px, calc(100% - 1.4rem));
  margin: 0.7rem auto 0;
}

.pay-methods-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
}

.pay-chip.is-highlight {
  border-color: rgba(0, 158, 227, 0.6);
  background: rgba(0, 158, 227, 0.16);
  color: #8fd8ff;
}

.mp-badge {
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: #009ee3;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  vertical-align: middle;
}

@media (max-width: 560px) {
  .pay-methods {
    justify-content: flex-start;
    width: calc(100% - 0.8rem);
  }

  .pay-methods-label {
    flex: 1 1 100%;
  }

  .pay-chip {
    font-size: 0.78rem;
  }
}
