/* NovaRecargas · ajustes v2: una sola tipografía, fondo del podio con estrellas, reseñas que resaltan,
   redes en dos columnas, catálogo agrupado. Va después de style.css y le gana a sus reglas. */

/* 1. Una sola tipografía en toda la página (antes: Lilita One en títulos, Outfit en texto, Arial en botones y campos) */
body, body *:not(svg):not(svg *):not(.nr-mono):not(code):not(kbd),
button, input, select, textarea, option {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif, 'Noto Color Emoji' !important;
}
h1, h2, h3, .product-title, .top5-title, .social-community-title, .social-handle, .modal-title, .games-hub-head h2 {
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* 3. Fondo: el mismo color del podio, fijo detrás de toda la página (las estrellas van en el canvas) */
html:not([data-theme="light"]) body {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(168, 85, 247, 0.38) 0%, rgba(0, 0, 0, 0) 60%),
    radial-gradient(80% 50% at 0% 100%, rgba(56, 189, 248, 0.14) 0%, rgba(0, 0, 0, 0) 60%),
    radial-gradient(80% 50% at 100% 100%, rgba(236, 72, 153, 0.12) 0%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, #2a1268 0%, #1a0b45 55%, #12072f 100%) fixed;
  background-attachment: fixed;
  background-color: #12072f;
}

/* 4. Reseñas: un recuadro que se despega del fondo */
html:not([data-theme="light"]) .reviews-slider-box.rv-box {
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(250, 204, 21, 0.10) 0%, rgba(0, 0, 0, 0) 55%),
    radial-gradient(90% 70% at 100% 100%, rgba(236, 72, 153, 0.14) 0%, rgba(0, 0, 0, 0) 55%),
    linear-gradient(160deg, #3b1a86 0%, #24105a 55%, #1a0b45 100%);
  border: 1.5px solid rgba(250, 204, 21, 0.35);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.25) inset, 0 18px 50px rgba(124, 58, 237, 0.35), 0 0 36px rgba(250, 204, 21, 0.10);
}
html:not([data-theme="light"]) .review-slider-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

/* 2. Redes: WhatsApp primero y TikTok al lado, en tarjetas compactas */
.social-community-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}
.social-community-grid .social-whatsapp { order: -1; }
.social-community-grid .social-card { padding: 0 !important; min-width: 0; }
@media (max-width: 480px) {
  .social-community-section .social-community-container { padding-left: 14px !important; padding-right: 14px !important; }
}
.social-community-grid .social-card-content {
  padding: 14px !important;
  gap: 8px !important;
  text-align: center;
  align-items: center;
}
.social-community-grid .social-icon-wrapper { width: 46px !important; height: 46px !important; margin: 0 auto; }
.social-community-grid .social-icon-wrapper svg { width: 24px; height: 24px; }
.social-community-grid .social-info { width: 100%; min-width: 0; }
.social-community-grid .social-network-name { font-size: 10px !important; letter-spacing: .05em; line-height: 1.25 !important; display: block; }
.social-community-grid .social-handle { font-size: 14px !important; line-height: 1.25 !important; margin: 2px 0 0 !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.social-community-grid .social-stats { display: none; }
.social-community-grid .social-action-btn {
  align-self: stretch; width: auto !important; min-width: 0; padding: 9px 8px !important; border-radius: 12px !important;
  font-size: 12px !important; line-height: 1.1; white-space: nowrap; display: flex !important; justify-content: center; gap: 5px;
}
.social-community-grid .social-action-btn svg { flex: none; }
/* Si el canal de WhatsApp no está cargado, TikTok ocupa todo el ancho */
.social-community-grid .social-tiktok:only-child,
.social-community-grid .social-whatsapp[style*="display: none"] + .social-tiktok,
.social-community-grid .social-tiktok:has(+ .social-whatsapp[style*="display: none"]) { grid-column: 1 / -1; }

/* 5. Catálogo: tarjeta que agrupa las tarjetas/membresías */
.product-group-card .group-names { font-size: 12px; line-height: 1.35; opacity: .85; text-align: center; }
.product-group-card .price-from { font-size: 12px; font-weight: 700; opacity: .8; margin-right: 2px; }
.pg-overlay {
  position: fixed; inset: 0; z-index: 9999; background: rgba(5, 2, 15, 0.72); backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center; padding: 16px;
}
@media (min-width: 640px) { .pg-overlay { align-items: center; } }
.pg-card {
  width: 100%; max-width: 460px; max-height: 80vh; overflow: auto;
  background: linear-gradient(180deg, #2a1268 0%, #1a0b45 100%); border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 20px; padding: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); color: #fff;
}
.pg-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pg-head h3 { margin: 0; font-size: 20px; }
.pg-close { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
.pg-list { display: grid; gap: 10px; }
.pg-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(168, 85, 247, 0.3); border-radius: 14px; padding: 10px 12px;
}
.pg-item:hover:not(:disabled) { border-color: #a855f7; background: rgba(168, 85, 247, 0.16); }
.pg-item:disabled { opacity: .5; cursor: not-allowed; }
.pg-item img, .pg-ic { width: 48px; height: 48px; object-fit: contain; flex: none; display: grid; place-items: center; }
.pg-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pg-txt b { font-size: 15px; }
.pg-txt small { font-size: 12px; opacity: .8; display: inline-flex; gap: 4px; align-items: center; }
.pg-price { font-weight: 800; font-size: 15px; color: #fde047; white-space: nowrap; }
[data-theme="light"] .pg-card { background: #fff; color: #1e1b4b; }
[data-theme="light"] .pg-item { color: #1e1b4b; background: #faf5ff; }
[data-theme="light"] .pg-close { color: #1e1b4b; background: #f3e8ff; }

/* 8b. Ayuda: preguntas plegables; "¿Cómo recargo en Nova?" con las capturas paso a paso */
.help-section { max-width: 1100px; margin: 0 auto 60px; padding: 0 20px; }
.help-card { background: var(--bg-card); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); padding: 30px 22px; }
.help-title { font-size: 26px; color: #fff; text-align: center; margin: 0 0 4px; }
.help-sub { text-align: center; color: var(--text-muted); font-size: 14px; margin: 0 0 20px; }
.help-item { border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.03); margin-bottom: 10px; overflow: hidden; }
.help-item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.help-item > summary::-webkit-details-marker { display: none; }
.help-item > summary:focus-visible { outline: 2px solid #a78bfa; outline-offset: -2px; }
.help-q { font-weight: 800; font-size: 16px; color: #fff; }
.help-chev { color: #c4b5fd; transition: transform .2s ease; font-size: 14px; }
.help-item[open] .help-chev { transform: rotate(180deg); }
.help-item[open] > summary { border-bottom: 1px solid var(--border-subtle); }
.help-a { padding: 14px 18px 18px; color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.help-a p { margin: 0 0 12px; }
.help-a p:last-child { margin-bottom: 0; }
.help-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.help-steps figure { margin: 0; }
.help-steps img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(196, 181, 253, 0.3); background: #e9d5ff; }
.help-steps figcaption { text-align: center; font-size: 12px; font-weight: 700; color: #c4b5fd; margin-top: 6px; }
@media (max-width: 900px) { .help-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .help-card { padding: 22px 14px; }
  .help-steps { grid-template-columns: 1fr; }
  .help-q { font-size: 15px; }
}
[data-theme="light"] .help-title, [data-theme="light"] .help-q { color: #1e1b4b; }
[data-theme="light"] .help-item { background: #faf5ff; }
