/* ===== Level Up · tema neón ===== */
:root {
  --bg: #07070d;
  --bg-2: #0e0e1a;
  --card: #12121f;
  --line: #24243a;
  --text: #f2f2f7;
  --muted: #a3a3bd;
  --pink: #ff2ec4;
  --pink-logo: #e933b0;
  --blue: #1e3bff;
  --cyan: #00d4ff;
  --green: #25d366;
  --glow-pink: 0 0 8px rgba(255, 46, 196, .7), 0 0 24px rgba(255, 46, 196, .35);
  --glow-blue: 0 0 8px rgba(30, 59, 255, .8), 0 0 24px rgba(0, 212, 255, .35);
  --radius: 14px;
  --pixel: "Press Start 2P", monospace;
  --body: "Rajdhani", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
/* Rejilla tipo arcade de fondo */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 46, 196, .14), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(30, 59, 255, .18), transparent 45%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 32px 32px;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.pixel { font-family: var(--pixel); letter-spacing: .02em; }
.pink { color: var(--pink); text-shadow: var(--glow-pink); }
.blue { color: var(--cyan); text-shadow: var(--glow-blue); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 7, 13, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header::after {
  content: ""; display: block; height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  box-shadow: 0 0 12px var(--pink);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 46px; }
.brand span { font-family: var(--pixel); font-size: 15px; color: var(--pink); text-shadow: var(--glow-pink); }
.tabs { display: flex; gap: 6px; list-style: none; }
.tabs a {
  display: block; padding: 8px 16px; border-radius: 999px;
  font-weight: 600; font-size: 17px; color: var(--muted);
  border: 1px solid transparent; transition: .2s;
}
.tabs a:hover { color: var(--text); border-color: var(--line); }
.tabs a.active { color: #fff; border-color: var(--pink); box-shadow: var(--glow-pink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; font-size: 20px; cursor: pointer; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--body); font-weight: 700; font-size: 17px; cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-pink { background: var(--pink); color: #fff; box-shadow: var(--glow-pink); }
.btn-blue { background: transparent; color: #fff; border-color: var(--blue); box-shadow: var(--glow-blue); }
.btn-wa { background: var(--green); color: #04210f; }
.btn-wa:hover { box-shadow: 0 0 18px rgba(37, 211, 102, .6); }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== Hero ===== */
.hero { padding: 72px 0 56px; text-align: center; position: relative; }
.hero-logo { margin: 0 auto 26px; }
.hero-logo img { width: min(360px, 78%); height: auto; margin: 0 auto; filter: drop-shadow(0 0 16px rgba(255, 46, 196, .35)) drop-shadow(0 0 26px rgba(30, 59, 255, .3)); animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero p.lead { color: var(--muted); max-width: 620px; margin: 0 auto 28px; font-size: 20px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.badge-pill { border: 1px solid var(--line); background: var(--bg-2); padding: 6px 14px; border-radius: 999px; font-size: 15px; color: var(--muted); }

/* ===== Secciones ===== */
section.block { padding: 56px 0; }
.section-title { font-family: var(--pixel); font-size: clamp(16px, 3vw, 24px); margin-bottom: 10px; }
.section-sub { color: var(--muted); margin-bottom: 30px; }
.bolt-divider { height: 2px; background: linear-gradient(90deg, transparent, var(--pink), var(--blue), transparent); margin: 0 auto; width: min(600px, 80%); opacity: .7; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: .2s; }
.feature:hover { border-color: var(--pink); box-shadow: var(--glow-pink); }
.feature:nth-child(even):hover { border-color: var(--blue); box-shadow: var(--glow-blue); }
.feature .ico { font-size: 30px; margin-bottom: 10px; }
.feature h3 { font-size: 21px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 17px; }

.coming {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.coming-card {
  border-radius: var(--radius); padding: 32px; position: relative; overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
}
.coming-card.switch2 { border-color: var(--pink); background: linear-gradient(135deg, rgba(255,46,196,.18), var(--card) 60%); }
.coming-card.ps { border-color: var(--blue); background: linear-gradient(135deg, rgba(30,59,255,.22), var(--card) 60%); }
.coming-card .tag { font-family: var(--pixel); font-size: 10px; display: inline-block; padding: 6px 10px; border-radius: 6px; margin-bottom: 14px; }
.coming-card.switch2 .tag { background: var(--pink); }
.coming-card.ps .tag { background: var(--blue); }
.coming-card h3 { font-size: 26px; margin-bottom: 8px; }
.coming-card p { color: var(--muted); margin-bottom: 18px; }

/* ===== Productos ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--pink); box-shadow: var(--glow-pink); }
.card-media { aspect-ratio: 1 / 1; background: var(--bg-2); position: relative; display: grid; place-items: center; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .placeholder { text-align: center; color: var(--muted); padding: 16px; }
.card-media .placeholder .emoji { font-size: 54px; filter: drop-shadow(0 0 12px var(--pink)); }
.card-media .placeholder small { display: block; font-size: 14px; margin-top: 6px; }
.photo-nav { position: absolute; inset: auto 0 8px; display: flex; justify-content: center; gap: 6px; }
.photo-nav button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.photo-nav button.on { background: var(--pink); box-shadow: var(--glow-pink); }
.cond {
  position: absolute; top: 10px; left: 10px; font-size: 13px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; color: #fff;
}
.cond.usado { background: var(--pink); }
.cond.openbox { background: var(--blue); }
.sold-out { position: absolute; inset: 0; background: rgba(7,7,13,.7); display: grid; place-items: center; font-family: var(--pixel); font-size: 12px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); }
.card h3 { font-size: 21px; line-height: 1.2; }
.card .desc { color: var(--muted); font-size: 16px; flex: 1; }
.price { font-family: var(--pixel); font-size: 15px; color: var(--pink); text-shadow: var(--glow-pink); margin: 8px 0 10px; }
.price.ask { font-family: var(--body); font-weight: 700; font-size: 17px; color: var(--cyan); text-shadow: none; }

/* Buscador y filtros */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.search {
  flex: 1 1 280px; display: flex; align-items: center; gap: 10px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 0 18px;
}
.search:focus-within { border-color: var(--pink); box-shadow: var(--glow-pink); }
.search input { flex: 1; background: none; border: none; outline: none; color: var(--text); font: inherit; padding: 12px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  background: var(--bg-2); border: 1px solid var(--line); color: var(--muted);
  padding: 7px 14px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.chip.on { color: #fff; border-color: var(--blue); box-shadow: var(--glow-blue); background: rgba(30,59,255,.18); }
.chip.on.pinkish { border-color: var(--pink); box-shadow: var(--glow-pink); background: rgba(255,46,196,.15); }
.toggle { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 16px; cursor: pointer; }
.toggle input { accent-color: var(--pink); width: 18px; height: 18px; }
.empty { text-align: center; color: var(--muted); padding: 50px 0; }
.count { color: var(--muted); font-size: 16px; margin-bottom: 14px; }

/* ===== Nosotros ===== */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
.about-text p { color: var(--muted); margin-bottom: 14px; font-size: 19px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-row:last-of-type { border-bottom: none; }
.info-row .ico { font-size: 24px; }
.info-row b { display: block; }
.info-row span { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before {
  counter-increment: s; content: counter(s);
  font-family: var(--pixel); font-size: 18px; color: var(--pink); text-shadow: var(--glow-pink);
  display: block; margin-bottom: 12px;
}
.step:nth-child(even)::before { color: var(--cyan); text-shadow: var(--glow-blue); }
.step h3 { font-size: 20px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 17px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 36px 0 90px; margin-top: 40px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer h4 { font-family: var(--pixel); font-size: 11px; margin-bottom: 12px; color: var(--pink); }
.footer p, .footer a { color: var(--muted); font-size: 16px; }
.footer a:hover { color: var(--text); }
.footer .copy { margin-top: 26px; font-size: 14px; color: #6b6b85; }

/* ===== WhatsApp flotante ===== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); display: grid; place-items: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, .5);
  animation: pulse 2.4s infinite;
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 60% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .tabs {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px 16px;
    display: none;
  }
  .tabs.open { display: flex; }
  .nav .btn-wa.desktop { display: none; }
  .coming, .about-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Tarjetas clicables ===== */
.card { position: relative; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .btn, .card .photo-nav { z-index: 2; }
.card .btn { position: relative; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ver-mas { color: var(--cyan); font-weight: 700; font-size: 15px; }
.card:hover .ver-mas { text-shadow: var(--glow-blue); }
.cond.sellado { background: #0aa37f; }

/* ===== Página de producto ===== */
.breadcrumb { color: var(--muted); font-size: 16px; margin-bottom: 22px; }
.breadcrumb a { color: var(--cyan); font-weight: 600; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.gallery { position: sticky; top: 90px; }
.gallery-main {
  position: relative; aspect-ratio: 1 / 1; background: var(--bg-2); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
}
.gallery-main > img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.gallery-main.placeholder-big { background: var(--card); display: grid; place-items: center; text-align: center; color: var(--muted); }
.gallery-main.placeholder-big .emoji { font-size: 90px; filter: drop-shadow(0 0 16px var(--pink)); }
.g-prev, .g-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(7, 7, 13, .65); color: #fff; font-size: 28px; line-height: 1;
}
.g-prev { left: 10px; } .g-next { right: 10px; }
.g-prev:hover, .g-next:hover { background: var(--pink); }
.g-count { position: absolute; right: 12px; bottom: 12px; background: rgba(7, 7, 13, .7); color: #fff; font-size: 14px; padding: 3px 10px; border-radius: 999px; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 2px 4px; scrollbar-width: thin; }
.thumbs button { flex: 0 0 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); padding: 0; cursor: pointer; background: #fff; opacity: .65; }
.thumbs button.on { border-color: var(--pink); box-shadow: var(--glow-pink); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 4px 0 6px; }
.product-info .price { font-size: 20px; margin: 10px 0 14px; }
.lead-desc { color: var(--muted); font-size: 19px; margin-bottom: 20px; }
.btn-big { width: 100%; padding: 15px 22px; font-size: 18px; }
.trust { list-style: none; display: grid; gap: 6px; margin: 18px 0 8px; color: var(--muted); font-size: 16px; }
.product-info .sub { font-size: 20px; margin: 26px 0 10px; }
.incluye { list-style: none; display: grid; gap: 8px; }
.incluye li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 9px 14px; font-size: 17px; }
.incluye li::before { content: "▸ "; color: var(--pink); }
.specs { display: grid; grid-template-columns: auto 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.specs dt, .specs dd { padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 16px; }
.specs dt { color: var(--muted); background: var(--bg-2); }
.specs dd { background: var(--card); }
.specs dt:last-of-type, .specs dd:last-of-type { border-bottom: none; }

/* Pantalla completa */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }
.lightbox button { position: absolute; background: none; border: none; color: #fff; font-size: 44px; cursor: pointer; padding: 10px 16px; }
.lb-close { top: 12px; right: 12px; font-size: 30px !important; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

@media (max-width: 820px) {
  .product-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .gallery { position: static; }
}
.price-old { font-family: var(--body); font-size: .8em; font-weight: 600; color: var(--muted); text-shadow: none; margin-left: 6px; }
.price-off { font-family: var(--body); font-size: .75em; font-weight: 700; color: #fff; background: var(--blue); text-shadow: none; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
