/* ─── Vexbound landing — estilos compartidos (home + legal) ───
   Tema oscuro de fantasía a juego con el cliente del juego. Sin dependencias. */

:root {
  --bg: #07060c;
  --bg-soft: #0d0c16;
  --panel: rgba(22, 18, 34, 0.66);
  --gold: #f0e0a8;
  --gold-soft: #cbb78a;
  --purple: #8a7bd8;
  --ink: #e8e3f4;
  --ink-dim: #b3acc9;
  --line: rgba(240, 224, 168, 0.16);
  --maxw: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Rubik, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -8%, rgba(120, 92, 200, 0.22), transparent 60%),
    radial-gradient(ellipse 90% 50% at 50% 108%, rgba(46, 32, 82, 0.30), transparent 70%),
    linear-gradient(var(--bg-soft), var(--bg));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Cinzel, Georgia, serif;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--gold);
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ── Cabecera ── */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  backdrop-filter: blur(10px);
  background: rgba(7, 6, 12, 0.72);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; display: block; }
.brand b {
  font-family: Cinzel, Georgia, serif; font-weight: 800;
  font-size: 20px; letter-spacing: 0.14em; color: var(--gold);
}
.nav-cta {
  display: inline-block; padding: 9px 18px; border-radius: 10px;
  font-weight: 700; font-size: 14px; color: #1a1206;
  background: linear-gradient(#f7e9b0, #d9b765);
  border: 1px solid #f6e9b8;
  box-shadow: 0 6px 18px rgba(176, 140, 70, 0.28);
}
.nav-cta:hover { text-decoration: none; filter: brightness(1.06); }

/* ── Hero ── */
.hero { text-align: center; padding: 76px 0 54px; }
.hero .crest {
  width: 124px; height: 124px; margin: 0 auto 22px;
  filter: drop-shadow(0 0 34px rgba(120, 92, 200, 0.4));
}
.hero-title { margin: 0 0 4px; line-height: 1; }
.hero .tag {
  font-family: Cinzel, Georgia, serif; font-weight: 600;
  font-size: clamp(15px, 2.4vw, 19px); color: var(--gold-soft);
  letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 18px;
}
.hero p.lead {
  max-width: 620px; margin: 0 auto 30px; font-size: 18px; color: var(--ink-dim);
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 12px;
  font-weight: 700; font-size: 16px; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  color: #1a1206; background: linear-gradient(#f7e9b0, #d9b765);
  border-color: #f6e9b8; box-shadow: 0 10px 28px rgba(176, 140, 70, 0.32);
}
.btn-ghost {
  color: var(--gold); background: var(--panel);
  border-color: var(--line);
}
.note { margin-top: 14px; font-size: 13px; color: var(--ink-dim); }

/* ── Secciones ── */
section { padding: 48px 0; }
.section-title { text-align: center; font-size: clamp(26px, 4vw, 36px); margin: 0 0 8px; }
.section-sub { text-align: center; color: var(--ink-dim); margin: 0 auto 36px; max-width: 560px; }

.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px;
}
.card h3 { font-size: 19px; margin: 0 0 8px; color: var(--gold); }
.card p { margin: 0; color: var(--ink-dim); font-size: 15px; }
.card .ico {
  width: 44px; height: 44px; margin-bottom: 14px; display: block;
}

/* ── Pasos numerados (cómo funciona un turno) ── */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px 24px 24px;
}
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 12px;
  font-family: Cinzel, Georgia, serif; font-weight: 800; font-size: 19px;
  color: #1a1206; border-radius: 50%;
  background: linear-gradient(#f7e9b0, #d9b765);
  box-shadow: 0 6px 18px rgba(176, 140, 70, 0.3);
}
.step h3 { font-size: 19px; margin: 0 0 8px; color: var(--gold); }
.step p { margin: 0; color: var(--ink-dim); font-size: 15px; }

/* ── Facciones ── */
.factions { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.faction {
  text-align: center; padding: 20px 14px; border-radius: 14px;
  background: var(--panel); border: 1px solid var(--line);
}
.faction .dot {
  width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 12px;
  box-shadow: 0 0 22px currentColor;
}
.faction b { display: block; font-family: Cinzel, serif; color: var(--gold); font-size: 16px; }
.faction span { font-size: 13px; color: var(--ink-dim); }

/* ── Banda CTA ── */
.cta-band {
  text-align: center; margin: 30px auto; max-width: 720px;
  background: linear-gradient(180deg, rgba(40, 30, 66, 0.5), rgba(20, 16, 34, 0.5));
  border: 1px solid var(--line); border-radius: 20px; padding: 44px 24px;
}
.cta-band h2 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 10px; }
.cta-band p { color: var(--ink-dim); margin: 0 0 24px; }

/* ── Pie ── */
footer {
  border-top: 1px solid var(--line); margin-top: 30px;
  padding: 30px 0; color: var(--ink-dim); font-size: 14px;
}
.foot-row { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-legal { font-size: 13px; opacity: 0.8; }

/* ── Páginas legales ── */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 22px 70px; }
.legal h1 { font-size: clamp(28px, 5vw, 40px); margin: 0 0 6px; }
.legal .updated { color: var(--ink-dim); font-size: 14px; margin: 0 0 30px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; color: var(--gold); }
.legal h3 { font-size: 17px; margin: 22px 0 8px; color: var(--gold-soft); }
.legal p, .legal li { color: var(--ink-dim); font-size: 15.5px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--gold); }
.back { display: inline-block; margin-bottom: 24px; font-size: 14px; }

/* ── Logo (nav + hero) ── */
.brand-logo { height: 34px; width: auto; display: block; }
.brand-logo:hover { filter: brightness(1.08); }
.hero { position: relative; overflow: hidden; padding-top: 60px; }
.hero-logo {
  width: min(560px, 86%); height: auto; margin: 0 auto 12px; display: block;
  filter: drop-shadow(0 8px 32px rgba(186, 152, 96, 0.4));
}
.hero-glow {
  position: absolute; inset: -16% 0 auto 0; height: 480px; z-index: -1;
  background: radial-gradient(ellipse 58% 60% at 50% 28%, rgba(138, 110, 220, 0.30), transparent 70%);
  pointer-events: none;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Galería de capturas (slider con scroll-snap) ── */
.screens { padding-top: 30px; }
.shots {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 18px; overflow-x: auto; padding: 6px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--gold-soft) transparent;
}
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--gold-soft); border-radius: 8px; }
.shot {
  margin: 0; scroll-snap-align: center;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
}
.shot img {
  display: block; width: 100%; height: auto; aspect-ratio: 512 / 863;
  object-fit: cover; background: #07060c;
}
.shot figcaption {
  padding: 12px 16px; font-size: 13.5px; color: var(--ink-dim);
  border-top: 1px solid var(--line);
}
.shots-hint { text-align: center; font-size: 13px; color: var(--ink-dim); margin: 4px 0 0; }
@media (min-width: 820px) { .shots-hint { display: none; } }

/* ── Galería de héroes (los cinco vicios) ── */
.heroes {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.hero-card {
  position: relative; text-align: center; padding: 0 18px 22px;
  background: linear-gradient(180deg, rgba(30, 24, 50, 0.42), var(--panel));
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--accent, var(--gold)); opacity: 0.9;
}
.hero-card .portrait {
  position: relative; height: 218px; margin: 0 -18px;
  display: flex; align-items: flex-end; justify-content: center;
  background: radial-gradient(ellipse 70% 78% at 50% 22%, color-mix(in srgb, var(--accent, #8a7bd8) 26%, transparent), transparent 70%);
}
.hero-card .portrait img {
  height: 208px; width: auto; object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
}
.hero-card .emblem {
  width: 46px; height: 46px; margin: -22px auto 6px; position: relative;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}
.hero-card h3 { font-size: 19px; margin: 4px 0 2px; color: var(--gold); }
.hero-card .vice {
  margin: 0 0 8px; font-family: Cinzel, serif; font-size: 12.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent, var(--gold-soft));
}
.hero-card .vice-desc { margin: 0; font-size: 13.5px; color: var(--ink-dim); }

/* ── FAQ (acordeón nativo con <details>) ── */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 2px 20px;
}
.faq-list summary {
  cursor: pointer; list-style: none; padding: 16px 30px 16px 0; position: relative;
  font-family: Cinzel, Georgia, serif; font-size: 16px; color: var(--gold);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 24px; line-height: 1; color: var(--gold-soft);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details > p { margin: 0 0 16px; color: var(--ink-dim); font-size: 15px; }

/* ── Badges de valor (bajo el hero) ── */
.badges {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.badges li {
  font-size: 13px; font-weight: 500; color: var(--gold-soft);
  padding: 7px 14px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
}
.badges li::before { content: "✓ "; color: var(--gold); font-weight: 700; }

/* ── Sección de valor (100% gratis) ── */
.value-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 860px; margin: 0 auto;
}
.value-col {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px 26px;
}
.value-col h3 { font-size: 18px; margin: 0 0 16px; color: var(--gold); }
.check, .cross { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.check li, .cross li {
  position: relative; padding-left: 30px; color: var(--ink); font-size: 15px;
}
.check li::before, .cross li::before {
  position: absolute; left: 0; top: 0; font-weight: 700; font-size: 15px;
  width: 20px; height: 20px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; line-height: 1;
}
.check li::before {
  content: "✓"; color: #1a1206;
  background: linear-gradient(#aee0b0, #6fc479);
}
.cross li { color: var(--ink-dim); }
.cross li::before {
  content: "✕"; color: var(--ink);
  background: rgba(224, 86, 58, 0.22); border: 1px solid rgba(224, 86, 58, 0.5);
}

/* ── Banda de comunidad / early access ── */
.community .community-inner {
  text-align: center; max-width: 720px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(40, 30, 66, 0.5), rgba(20, 16, 34, 0.5));
  border: 1px solid var(--line); border-radius: 20px; padding: 40px 24px;
}
.community .cta-row { margin-top: 24px; }
.kicker {
  display: inline-block; margin: 0 0 8px; font-family: Cinzel, serif;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-soft);
}
.community .section-sub { margin-bottom: 0; }

/* ── Responsive (móvil primero) ── */
@media (max-width: 680px) {
  .nav { padding: 11px 16px; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 36px; }
  .hero-logo { width: min(420px, 82%); }
  .hero p.lead { font-size: 16px; }
  section { padding: 36px 0; }
  .btn { padding: 13px 24px; font-size: 15px; }
  .cta-band { padding: 34px 18px; border-radius: 16px; }
  .shots { grid-auto-columns: 78%; }
  .foot-row { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ── Accesibilidad: respeta "reducir movimiento" ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
