/* ═══════════════════════════════════════
   La Tienda de la Nada — Standalone
   ═══════════════════════════════════════ */

:root {
  --bg: #050508;
  --panel: rgba(255,255,255,.03);
  --panel-strong: rgba(255,255,255,.05);
  --line: rgba(255,255,255,.07);
  --text: #f4f0e8;
  --text-soft: #b8b0a4;
  --muted: #706860;
  --void: #1a1a2e;
  --void-glow: rgba(120,80,255,.12);
  --gold: #e8c547;
  --gold-light: #f5e08a;
  --gold-dark: #b89620;
  --shadow: 0 24px 80px rgba(0,0,0,.5);
  --radius: 28px;
  --radius-full: 999px;
  --ease: .25s cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* Fondo vacio animado */
.void-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(120,80,255,.06), transparent 40%),
    radial-gradient(ellipse at 70% 80%, rgba(232,197,71,.04), transparent 35%),
    var(--bg);
  z-index: -3;
}

.void-glow {
  position: fixed;
  width: 50rem;
  height: 50rem;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -2;
  animation: floatGlow 12s ease-in-out infinite;
}

.void-glow-1 {
  left: -20rem;
  top: -10rem;
  background: radial-gradient(circle, rgba(120,80,255,.08), transparent 60%);
}

.void-glow-2 {
  right: -20rem;
  bottom: -15rem;
  background: radial-gradient(circle, rgba(232,197,71,.05), transparent 60%);
  animation-delay: -6s;
}

@keyframes floatGlow {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(30px, -20px); }
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-light); }

h1,h2,h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: .96;
  letter-spacing: -.03em;
}

p { margin-top: 0; }

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

/* ─── HEADER ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,5,8,.9), rgba(5,5,8,.4));
  border-bottom: 1px solid var(--line);
  z-index: -1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--muted);
  box-shadow: 0 0 12px rgba(120,80,255,.3);
}

.brand-name {
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: .92rem;
  transition: color var(--ease);
}

.header-nav a:hover { color: #fff; }

.back-link {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  font-size: .82rem !important;
}

/* ─── PILL ─── */
.pill {
  display: inline-flex;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(232,197,71,.15);
  background: linear-gradient(180deg, rgba(232,197,71,.06), rgba(120,80,255,.04));
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* ─── HERO ─── */
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0 80px;
}

.hero h1 {
  font-size: clamp(3.5rem, 7vw, 6rem);
  margin-top: 0;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-text {
  margin: 24px 0 0;
  max-width: 34rem;
  color: var(--text-soft);
  font-size: 1.2rem;
  line-height: 1.7;
}

.hero-text em {
  font-style: normal;
  color: var(--gold-light);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 2rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 2.5rem;
  padding: 20px 28px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.proof-item { text-align: center; }
.proof-item strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.proof-item span { font-size: .78rem; color: var(--muted); }
.proof-sep { width: 1px; height: 36px; background: var(--line); }

/* Void Card */
.void-card {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: .85;
  border-radius: 36px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(18,16,36,.95), rgba(8,6,20,.96));
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: var(--shadow), 0 0 100px rgba(120,80,255,.06);
  margin: 0 auto;
}

.void-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 26px;
  border: 1px solid rgba(120,80,255,.06);
  pointer-events: none;
}

.void-card-label {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: rgba(5,5,8,.9);
  border: 1px solid rgba(255,255,255,.06);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.void-orb-wrap {
  position: absolute;
  inset: 72px 32px 110px;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(120,80,255,.15), transparent 40%),
    rgba(8,6,20,.8);
  border: 1px solid rgba(255,255,255,.04);
}

.void-orb {
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 30%, rgba(255,255,255,.08), transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(50,30,100,.6), rgba(20,10,40,.9));
  box-shadow:
    0 0 0 20px rgba(120,80,255,.02),
    0 0 60px rgba(120,80,255,.12);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 20px rgba(120,80,255,.02), 0 0 60px rgba(120,80,255,.12); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 24px rgba(120,80,255,.04), 0 0 80px rgba(120,80,255,.18); }
}

.void-ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.05);
}
.void-ring-2 { inset: 5%; opacity: .5; }

.void-card-footer {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px 24px;
  border-radius: 22px;
  background: rgba(5,5,8,.8);
  border: 1px solid rgba(255,255,255,.06);
}

.void-card-footer h3 {
  font-size: 2rem;
  margin-bottom: 6px;
}

.void-card-footer p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

/* ─── BOTONES ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease);
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  color: #1a1000;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 10px 40px rgba(232,197,71,.2);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover { border-color: rgba(232,197,71,.2); }

.btn-full { width: 100%; }

/* ─── SECTIONS ─── */
.products, .testimonials, .faq { padding: 60px 0; }

.products h2, .testimonials h2, .faq h2, .final-cta h2 {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 50ch;
  margin: 0 auto 2.5rem;
}

/* ─── PRODUCT GRID ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: border-color var(--ease), transform var(--ease);
}

.product-card:hover {
  border-color: rgba(232,197,71,.15);
  transform: translateY(-2px);
}

.product-card.featured {
  border-color: rgba(232,197,71,.2);
  box-shadow: var(--shadow), 0 0 60px rgba(232,197,71,.06);
}

.product-card.legendary {
  border-color: rgba(120,80,255,.2);
  box-shadow: var(--shadow), 0 0 60px rgba(120,80,255,.06);
}

.product-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-badge.gold {
  background: rgba(232,197,71,.12);
  border-color: rgba(232,197,71,.2);
  color: var(--gold);
}

.product-badge.legendary {
  background: rgba(120,80,255,.12);
  border-color: rgba(120,80,255,.2);
  color: #b8a0ff;
}

.product-void {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin-bottom: 20px;
}

.mini-orb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80,60,140,.5), rgba(20,10,40,.8));
  box-shadow: 0 0 30px rgba(120,80,255,.15);
  animation: pulse 4s ease-in-out infinite;
}

.mini-orb.medium { width: 64px; height: 64px; box-shadow: 0 0 40px rgba(120,80,255,.2); }
.mini-orb.large { width: 80px; height: 80px; box-shadow: 0 0 50px rgba(120,80,255,.25); }

.mini-orb.legendary {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(120,80,255,.5), rgba(232,197,71,.15), rgba(20,10,40,.8));
  box-shadow: 0 0 60px rgba(120,80,255,.3), 0 0 30px rgba(232,197,71,.1);
}

.legendary-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.legendary-sparks span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px var(--gold);
  animation: sparkle 2s ease-in-out infinite;
}

.legendary-sparks span:nth-child(1) { top: 20%; left: 25%; animation-delay: 0s; }
.legendary-sparks span:nth-child(2) { top: 35%; right: 20%; animation-delay: .6s; }
.legendary-sparks span:nth-child(3) { bottom: 25%; left: 30%; animation-delay: 1.2s; }

@keyframes sparkle {
  0%,100% { opacity: .3; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.product-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.product-desc {
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.6;
  flex: 1;
}

.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  margin: 16px 0;
  line-height: 1;
}

.product-price span { font-size: .7em; color: var(--muted); }

.product-note {
  margin: 10px 0 0;
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
}

/* ─── TESTIMONIALS ─── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.testimonial-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: 14px;
}

.testimonial-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.testimonial-card p {
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.7;
}

.testimonial-author {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
}

/* ─── FAQ ─── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 2rem;
}

.faq-item {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-item p {
  color: var(--text-soft);
  font-size: .95rem;
  margin: 0;
}

.faq-item a { color: var(--gold); text-decoration: underline; }

/* ─── FINAL CTA ─── */
.final-cta { padding: 20px 0 80px; }

.final-cta-inner {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 0%, rgba(120,80,255,.08), transparent 30%),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.final-cta-inner p {
  max-width: 600px;
  margin: 18px auto 28px;
  color: var(--text-soft);
  font-size: 1.1rem;
}

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left p { margin: .3rem 0 0; color: var(--muted); font-size: .82rem; }
.footer-left a { color: var(--gold); }

.footer-right {
  display: flex;
  gap: 20px;
}

.footer-right a { color: var(--muted); font-size: .88rem; }
.footer-right a:hover { color: var(--gold-light); }

/* ─── TOAST ─── */
.toast-box {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  display: grid;
  gap: .5rem;
  pointer-events: none;
}

.toast-msg {
  padding: .8rem 1.2rem;
  border-radius: 16px;
  background: rgba(12,10,24,.9);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: .88rem;
  box-shadow: var(--shadow);
  pointer-events: auto;
  backdrop-filter: blur(16px);
  animation: slideIn .3s ease-out;
}

.toast-msg.ok { border-color: rgba(52,211,153,.3); }
.toast-msg.err { border-color: rgba(251,113,133,.3); }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 40px 0 60px; }
  .hero-visual { order: -1; }
  .void-card { max-width: 340px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .hero-proof { flex-wrap: wrap; gap: 16px; }
  .proof-sep { display: none; }
}

@media (max-width: 600px) {
  .header-nav { gap: 14px; }
  .header-nav a { font-size: .82rem; }
  .back-link { display: none; }
  .hero-actions { flex-direction: column; }
  .btn-full { min-height: 52px; }
  .void-card { max-width: 280px; }
}
