/* ============================================================
   PANDAJORDAN · Centro de Recargas
   Tema: Negro + Azul oscuro (neón azul sobre negro)
   ============================================================ */

:root {
  /* Fondo */
  --bg:          #05070e;
  --bg-2:        #070b16;
  --surface:     #0b1120;
  --surface-2:   #0f1830;
  --surface-3:   #14213f;

  /* Azul de marca (medio oscuro + brillo neón) */
  --blue-deep:   #1e3a8a;   /* azul oscuro */
  --blue:        #2563eb;   /* azul principal */
  --blue-bright: #3b82f6;   /* azul brillante */
  --cyan:        #38bdf8;   /* acento cian para detalles */
  --glow:        rgba(59, 130, 246, .55);
  --glow-soft:   rgba(59, 130, 246, .22);

  /* Texto */
  --text:        #eaf1ff;
  --text-soft:   #9fb3d6;
  --text-dim:    #6b7ea3;

  /* Bordes / líneas */
  --border:      rgba(59, 130, 246, .16);
  --border-soft: rgba(148, 178, 230, .08);

  /* Estados */
  --green:       #22e06b;
  --amber:       #f5b53d;
  --red:         #ff5468;

  --radius:      16px;
  --radius-sm:   11px;
  --shadow:      0 10px 40px -12px rgba(0, 0, 0, .7);
  --shadow-blue: 0 8px 34px -10px var(--glow);

  --font: 'Sora', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; border-radius: 6px; }

/* Fondo con halos azules */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 80% -8%, rgba(37, 99, 235, .20), transparent 60%),
    radial-gradient(900px 600px at 0% 12%, rgba(30, 58, 138, .22), transparent 55%),
    radial-gradient(800px 800px at 50% 120%, rgba(56, 189, 248, .10), transparent 60%);
  pointer-events: none;
}

/* ---------- Utilidades ---------- */
.container { width: min(1200px, 92vw); margin-inline: auto; }
.section { padding-block: 46px; }
.hidden { display: none !important; }
.grad-text {
  background: linear-gradient(92deg, var(--cyan), var(--blue-bright) 55%, #8ab4ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.muted { color: var(--text-soft); }
.dim { color: var(--text-dim); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #1c2c52; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #25406f; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(5, 7, 14, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blue-deep), #0a1430);
  border: 1px solid rgba(99, 158, 255, .35);
  box-shadow: inset 0 0 18px rgba(59, 130, 246, .35), 0 6px 20px -8px var(--glow);
  font-weight: 800; font-size: 18px; letter-spacing: -.5px;
  color: #cfe0ff;
}
.brand-text { line-height: 1.1; }
.brand-pre { font-size: 10px; letter-spacing: 3px; color: var(--text-dim); text-transform: uppercase; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -.3px; }
.brand-name b { color: var(--cyan); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-soft); transition: .18s;
}
.icon-btn:hover { color: var(--text); border-color: var(--blue); box-shadow: 0 0 0 3px var(--glow-soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: 14px;
  transition: .18s; white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(95deg, var(--blue), var(--blue-bright));
  color: #fff; box-shadow: 0 8px 24px -8px var(--glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -8px var(--glow); }
.btn-ghost { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 24px; font-size: 15px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ============================================================
   HERO / CARRUSEL
   ============================================================ */
.hero { padding-top: 26px; }
.carousel { position: relative; border-radius: 22px; overflow: hidden; }
.carousel-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.slide {
  min-width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px;
  padding: 46px clamp(24px, 5vw, 64px);
  background:
    radial-gradient(700px 400px at 78% 20%, rgba(56, 189, 248, .18), transparent 60%),
    linear-gradient(120deg, #0a1330, #0c1a3e 50%, #0a1228);
  border: 1px solid var(--border);
  min-height: 340px; position: relative;
}
.slide-img {
  display: flex; align-items: flex-end; padding: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.slide-overlay {
  width: 100%; padding: 34px clamp(24px, 5vw, 60px) 30px;
  background: linear-gradient(to top, rgba(5, 7, 14, .9), rgba(5, 7, 14, .35) 55%, transparent);
}
.slide-overlay h1 { font-size: clamp(26px, 4.5vw, 46px); font-weight: 800; letter-spacing: -1px; line-height: 1.05; }
.slide-overlay p { margin-top: 10px; color: var(--text-soft); font-size: clamp(14px, 2vw, 18px); }
.slide-body h1 {
  font-size: clamp(30px, 5vw, 54px); font-weight: 800; letter-spacing: -1.4px; line-height: 1.02;
}
.slide-body p { margin-top: 14px; color: var(--text-soft); font-size: clamp(15px, 2vw, 19px); max-width: 30ch; }
.slide-badges { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.slide-thumb {
  border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; position: relative;
  border: 1px solid rgba(99, 158, 255, .25); box-shadow: var(--shadow-blue);
  background: #0a1228;
}
.slide-thumb img { width: 100%; height: 100%; object-fit: cover; }
.game-chips { display: flex; gap: 10px; margin-top: 18px; }
.game-chip {
  width: 64px; height: 64px; border-radius: 13px; overflow: hidden;
  border: 1px solid rgba(99,158,255,.25); background: #0a1228; flex: none;
}
.game-chip img { width: 100%; height: 100%; object-fit: cover; }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; z-index: 5;
  background: rgba(8, 14, 30, .75); border: 1px solid var(--border);
  color: var(--cyan); display: grid; place-items: center; transition: .18s;
}
.carousel-btn:hover { background: var(--blue); color: #fff; }
.carousel-btn.prev { left: 14px; } .carousel-btn.next { right: 14px; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.dot { width: 26px; height: 5px; border-radius: 3px; background: #1c2c52; transition: .2s; cursor: pointer; }
.dot.active { background: var(--blue-bright); width: 40px; box-shadow: 0 0 10px var(--glow); }

/* ============================================================
   SECCIÓN TÍTULOS
   ============================================================ */
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(20px, 3vw, 27px); font-weight: 800; letter-spacing: -.6px; }
.section-head .grad-text { display: inline; }
.link-all { color: var(--cyan); font-weight: 700; font-size: 13px; display: inline-flex; gap: 5px; align-items: center; }
.link-all:hover { text-decoration: underline; }

/* ============================================================
   CATÁLOGO (buscador + categorías)
   ============================================================ */
.catalog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 30px 0 18px; }
.catalog-head h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.8px; }
.search-box { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 0 16px; min-width: min(420px, 100%); transition: .16s; }
.search-box:focus-within { border-color: var(--blue-bright); box-shadow: 0 0 0 3px var(--glow-soft); }
.search-box svg { color: var(--text-dim); flex: none; }
.search-box input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 15px; padding: 14px 0; }
.search-box input::placeholder { color: var(--text-dim); }
.cat-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.cat-chip { padding: 9px 18px; border-radius: 30px; background: var(--surface); border: 1px solid var(--border);
  color: var(--text-soft); font-weight: 600; font-size: 14px; transition: .16s; }
.cat-chip:hover { color: var(--text); border-color: var(--blue); }
.cat-chip.active { background: linear-gradient(95deg, var(--blue), var(--blue-bright)); color: #fff; border-color: transparent; box-shadow: 0 6px 18px -8px var(--glow); }

/* ============================================================
   GRID DE JUEGOS
   ============================================================ */
.games-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.game-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  cursor: pointer; transition: .2s; display: flex; flex-direction: column;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow-blue); }
.game-card-img { aspect-ratio: 1/1; position: relative; overflow: hidden; background: #0a1228; }
.game-card-img img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.game-card:hover .game-card-img img { transform: scale(1.05); }
.game-card-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-weight: 800; font-size: 26px; text-align: center; padding: 12px;
  background: linear-gradient(150deg, var(--surface-3), #0a1228); color: #9fc0ff;
}
.badge-disc {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 800;
  padding: 5px 10px; border-bottom-right-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.badge-star {
  position: absolute; top: 9px; right: 9px; z-index: 2; color: var(--green);
  filter: drop-shadow(0 0 6px rgba(34,224,107,.8));
}
.game-card-body { padding: 14px 14px 16px; }
.game-card-body h3 { font-size: 15px; font-weight: 700; letter-spacing: -.2px; }
.game-card-price { margin-top: 7px; font-size: 13px; color: var(--text-soft); display: flex; align-items: center; gap: 6px; }
.game-card-price b { color: var(--green); font-weight: 800; }
.chip-diamond { color: var(--cyan); }

/* ============================================================
   PÁGINA DETALLE DE JUEGO
   ============================================================ */
.game-hero {
  display: flex; align-items: center; gap: 20px; padding: 22px;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(120deg, var(--surface-2), var(--surface));
  margin-block: 26px;
}
.game-hero-icon {
  width: 78px; height: 78px; border-radius: 18px; overflow: hidden; flex: none;
  border: 1px solid rgba(99,158,255,.3); background: #0a1228;
}
.game-hero-icon img { width: 100%; height: 100%; object-fit: cover; }
.game-hero h1 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; letter-spacing: -.8px; }
.game-hero p { color: var(--text-soft); margin-top: 4px; font-size: 14px; }

.packs-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.packs-head h2 { font-size: 20px; font-weight: 800; }
.packs-hint { font-size: 11px; letter-spacing: 2px; color: var(--text-dim); text-transform: uppercase; }
.packs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.pack-card {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--border); transition: .18s;
  display: flex; flex-direction: column;
}
.pack-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-blue); }
.pack-card.selected {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 2px var(--blue-bright), 0 10px 30px -10px var(--glow);
}
.pack-card.selected::after {
  content: '✓'; position: absolute; top: 10px; right: 10px; z-index: 3;
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue-bright); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
}
.pack-img { aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(150deg, var(--surface-3), #0a1228); }
.pack-img img { width: 100%; height: 100%; object-fit: cover; }
.pack-img-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: var(--cyan); }
.pack-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pack-name { font-weight: 700; font-size: 15px; }
.pack-points {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.3);
  color: var(--cyan); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 20px;
}
.pack-price { margin-top: auto; display: flex; align-items: baseline; justify-content: flex-start; gap: 6px; }
.pack-price .cur { font-size: 13px; color: var(--green); font-weight: 700; }
.pack-price .val { font-size: 21px; font-weight: 800; color: var(--green); }

/* Resumen + formulario */
.checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; margin-top: 30px; align-items: start; }
.checkout-top { display: grid; grid-template-columns: 1fr 340px; gap: 20px; margin-top: 30px; align-items: start; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.panel-pre { font-size: 11px; letter-spacing: 2px; color: var(--text-dim); text-transform: uppercase; }
.panel h3 { font-size: 19px; font-weight: 800; margin-top: 2px; margin-bottom: 16px; color: var(--cyan); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-soft); margin-bottom: 7px; }
.input, .select {
  width: 100%; padding: 13px 14px; border-radius: 11px;
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text);
  font-size: 14px; transition: .16s;
}
.input::placeholder { color: var(--text-dim); }
.input:focus, .select:focus { border-color: var(--blue-bright); box-shadow: 0 0 0 3px var(--glow-soft); outline: none; }
.input-row { display: flex; gap: 10px; }
.input-row .btn { flex: none; }

.qty { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.qty button { width: 46px; height: 46px; font-size: 22px; background: var(--surface-2); color: var(--cyan); transition: .15s; }
.qty button:hover { background: var(--blue); color: #fff; }
.qty input { width: 60px; height: 46px; text-align: center; background: var(--bg-2); border: none; color: var(--text); font-size: 18px; font-weight: 700; }

.summary-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); margin-top: 6px; }
.summary-total .lbl { color: var(--text-soft); font-size: 13px; }
.summary-total .amt { font-size: 30px; font-weight: 800; color: var(--green); }
.summary-line { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; color: var(--text-soft); }
.summary-line b { color: var(--text); }

.notice {
  border-radius: 12px; padding: 13px 16px; font-size: 13.5px; text-align: center; font-weight: 600;
}
.notice-warn { background: rgba(245,181,61,.08); border: 1px solid rgba(245,181,61,.3); color: var(--amber); }
.notice-info { background: rgba(56,189,248,.07); border: 1px solid rgba(56,189,248,.25); color: var(--cyan); }
.notice-ok   { background: rgba(34,224,107,.08); border: 1px solid rgba(34,224,107,.3); color: var(--green); }

/* ============================================================
   MODALES
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: rgba(3, 5, 12, .78); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: .22s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  width: min(440px, 100%); max-height: 92vh; overflow-y: auto;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(99,158,255,.35); border-radius: 22px; padding: 30px 28px;
  box-shadow: 0 0 0 1px rgba(59,130,246,.2), 0 30px 80px -20px rgba(0,0,0,.8);
  transform: translateY(14px) scale(.98); transition: .25s;
}
.modal-overlay.open .modal { transform: none; }
.modal-pre { font-size: 11px; letter-spacing: 3px; color: var(--text-dim); text-transform: uppercase; }
.modal h2 { font-size: 28px; font-weight: 800; letter-spacing: -.6px; margin: 2px 0 22px; }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-3); border: 1px solid var(--border); color: var(--cyan); transition: .15s;
}
.modal-close:hover { background: var(--blue); color: #fff; }
.modal-foot { text-align: center; margin-top: 18px; font-size: 13px; }
.modal-foot a { color: var(--cyan); font-weight: 700; }
.modal-divider { display: flex; align-items: center; gap: 12px; color: var(--text-dim); margin: 18px 0; font-size: 12px; }
.modal-divider::before, .modal-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.btn-google { width: 100%; background: #fff; color: #1a1a1a; font-weight: 700; padding: 13px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-google:hover { background: #f0f0f0; }

/* WhatsApp popup canal */
.wa-modal { width: min(420px, 100%); text-align: center; }
.wa-icon { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  background: radial-gradient(circle, #25d366, #128c3e); box-shadow: 0 0 36px rgba(37,211,102,.6); }
.wa-badge { display: inline-block; font-size: 10px; letter-spacing: 2px; font-weight: 800; color: var(--green);
  background: rgba(34,224,107,.1); border: 1px solid rgba(34,224,107,.35); padding: 4px 12px; border-radius: 20px; }
.wa-list { text-align: left; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.wa-item { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); font-size: 13.5px; }
.wa-item .ic { color: var(--cyan); flex: none; }

/* ============================================================
   FOOTER + FLOTANTES
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); margin-top: 50px; padding-block: 36px; }
.footer-redes { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.redes-link { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 14px; transition: .16s; }
.redes-link:hover { border-color: var(--blue); color: var(--cyan); }
/* Confirmación · datos de Pago Móvil copiables */
.steprow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.step-num { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blue), var(--blue-bright)); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 6px 16px -6px var(--glow); }
.step-num.gray { background: var(--surface-3); color: var(--text-soft); box-shadow: none; }
.steprow h3 { margin: 0; }
.pm-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; padding: 6px 16px; }
.pm-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border-soft); }
.pm-row:last-child { border-bottom: none; }
.pm-k { color: var(--text-soft); font-size: 13.5px; }
.pm-v { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; font-size: 14.5px; background: none; transition: .15s; }
.pm-v:hover { color: var(--cyan); }
.pm-v svg { opacity: .55; width: 15px; height: 15px; }
.pm-amount { display: flex; justify-content: space-between; align-items: center; padding: 15px 0 13px; margin-top: 4px; border-top: 1px dashed var(--border); }
.pm-amt { font-size: 26px; font-weight: 800; color: var(--green); cursor: pointer; }
.pm-amt:hover { filter: brightness(1.15); }
.filebox { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1.5px dashed var(--border); border-radius: 12px;
  background: var(--bg-2); cursor: pointer; transition: .16s; color: var(--text-soft); }
.filebox:hover { border-color: var(--blue); color: var(--text); }
.filebox.has-file { border-color: var(--green); border-style: solid; color: var(--green); }
.filebox .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(56,189,248,.1); color: var(--cyan); flex: none; }
.filebox input[type=file] { display: none; }
.req-star { color: var(--red); }

/* Páginas legales / FAQ */
.legal { max-width: 820px; margin: 30px auto; }
.legal h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.6px; margin-bottom: 6px; }
.legal .updated { color: var(--text-dim); font-size: 13px; margin-bottom: 24px; }
.legal h2 { font-size: 19px; font-weight: 700; color: var(--cyan); margin: 26px 0 10px; }
.legal p, .legal li { color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.legal ul { padding-left: 20px; margin: 8px 0; }
.legal li { margin-bottom: 6px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; background: var(--surface); }
.faq-q { width: 100%; text-align: left; padding: 17px 18px; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--text); }
.faq-q:hover { color: var(--cyan); }
.faq-q .chev { transition: transform .2s; color: var(--cyan); flex: none; }
.faq-item.open .faq-q .chev { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a div { padding: 0 18px 17px; color: var(--text-soft); font-size: 14.5px; line-height: 1.7; }

.footer-links { display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.footer-links a { color: var(--text-soft); font-size: 13px; transition: .15s; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { text-align: center; color: var(--text-dim); font-size: 12.5px; margin-top: 18px; }

.float-stack { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.float-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 40px;
  font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px -8px rgba(0,0,0,.6); transition: .18s; }
.float-btn:hover { transform: translateY(-2px); }
.float-wa { background: linear-gradient(95deg, #25d366, #1aa84f); color: #fff; }
.float-canal { background: linear-gradient(95deg, var(--blue-deep), var(--blue)); color: #fff; }

/* Toast de ventas recientes (estilo DanisA) */
.sale-toast {
  position: fixed; left: 18px; bottom: 18px; z-index: 85;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: rgba(11,17,32,.95); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
  max-width: 320px; transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.sale-toast.show { transform: none; }
.sale-toast .dotlive { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); flex: none; }
.sale-toast .av { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(150deg,var(--blue-deep),#0a1430);
  display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #cfe0ff; flex: none; }
.sale-toast .tt { font-size: 13px; font-weight: 700; }
.sale-toast .ds { font-size: 12px; color: var(--text-soft); }

/* Toast genérico (notificaciones) */
.toast-host { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast { padding: 13px 20px; border-radius: 12px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow);
  background: var(--surface-2); border: 1px solid var(--border); animation: toastIn .25s ease; }
.toast.ok  { border-color: rgba(34,224,107,.4); color: var(--green); }
.toast.err { border-color: rgba(255,84,104,.4); color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* Modo mantenimiento */
.mant-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.mant-card { max-width: 460px; text-align: center; background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(99,158,255,.3); border-radius: 24px; padding: 44px 32px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.mant-card h1 { font-size: 28px; font-weight: 800; margin: 16px 0 4px; }
.mant-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--amber);
  background: rgba(245,181,61,.1); border: 1px solid rgba(245,181,61,.35); padding: 6px 14px; border-radius: 20px; margin-bottom: 16px; }
.mant-card p { color: var(--text-soft); font-size: 15.5px; line-height: 1.6; margin-bottom: 20px; }
.mant-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 500; background: linear-gradient(95deg, var(--amber), #ffce6a);
  color: #1a1200; font-weight: 700; font-size: 13px; text-align: center; padding: 12px 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.mant-banner a { color: #1a1200; text-decoration: underline; font-weight: 800; }
.mant-banner svg { flex: none; }

/* Skeleton loading */
.skeleton { background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%);
  background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--radius); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .packs-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-grid, .checkout-top, .field-grid { grid-template-columns: 1fr; }
  .slide { grid-template-columns: 1fr; text-align: center; min-height: auto; }
  .slide-thumb { display: none; }
  .slide-badges, .game-chips { justify-content: center; }
}
@media (max-width: 540px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .packs-grid { grid-template-columns: 1fr; }
  .brand-pre { display: none; }
  .header-actions .btn-text { display: none; }
  .float-btn span { display: none; }
  .float-btn { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
