/* APP — layout tipo app store (hero grande + tarjetas de paso), variante verde + violeta */
:root {
  --bg: #14101c;
  --bg-elevated: #1d1729;
  --bg-card: #241c33;
  --text: #f3f0fa;
  --text-muted: #a99cc2;
  --accent: #39e26a;
  --accent-dark: #1fa84f;
  --gold: #a78bfa;
  --border: #352a49;
  --radius: 16px;
  --max-width: 1080px;
  --font-body: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Header: app-store style pill tabs */
.site-header { background: var(--bg-elevated); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; gap: 10px; }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--text); }
.logo span { color: var(--gold); }
.subnav { background: var(--bg-elevated); border-bottom: 1px solid var(--border); }
.subnav .container { padding-top: 12px; padding-bottom: 12px; }
.pill-nav { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pill-nav a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--bg-card); color: var(--text-muted); font-size: 0.84rem; font-weight: 600; white-space: nowrap; }
.pill-nav a:hover { color: var(--text); text-decoration: none; }
.pill-nav a.active { background: var(--gold); color: #1a1330; }

.btn-cta { display: inline-block; background: var(--accent); color: #06170f; font-weight: 800; padding: 10px 22px; border-radius: 999px; font-size: 0.9rem; }
.btn-cta:hover { background: var(--accent-dark); text-decoration: none; }
.btn-outline { display: inline-block; border: 2px solid var(--gold); color: var(--gold); font-weight: 700; padding: 8px 20px; border-radius: 999px; font-size: 0.88rem; }
.btn-outline:hover { background: var(--gold); color: #1a1330; text-decoration: none; }

/* Hero: big rounded panel like an app store feature banner */
.hero { padding: 32px 0; }
.hero-panel {
  background: radial-gradient(circle at 20% 20%, #3a2a5c 0%, var(--bg-elevated) 60%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
}
.hero-panel h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0 0 12px; }
.hero-panel p { color: var(--text-muted); max-width: 560px; margin: 0 auto 20px; }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.breadcrumb { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; text-align: center; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }

/* Sections — a single consistent vertical rhythm for everything inside .container */
section { padding: 8px 0 40px; }
h2 { font-size: 1.5rem; margin: 40px 0 16px; }
h2:first-child { margin-top: 0; }
h3 { font-size: 1.05rem; margin: 0 0 6px; }
p, ul, ol { margin: 0 0 16px; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

/* Step cards (grid, numbered badge top) */
.step-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0 0 16px; }
.step-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.step-card .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #1a1330;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px;
}
.step-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* Feature grid with icon badges */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0 0 16px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.feature-card .icon { font-size: 1.6rem; margin-bottom: 8px; display: block; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* Table */
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; min-width: 420px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); }
th { color: var(--gold); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "＋ "; color: var(--gold); }
.faq-item[open] summary::before { content: "－ "; }
.faq-item p { color: var(--text-muted); margin: 10px 0 0; }

/* Callout */
.callout { background: var(--bg-elevated); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 14px 18px; font-size: 0.9rem; color: var(--text-muted); margin: 0 0 16px; }
.callout strong { color: var(--text); }
.callout p:last-child { margin-bottom: 0; }

/* Brand tie-in box */
.brand-box { background: linear-gradient(135deg, #2c2044, var(--bg-card)); border: 1px solid var(--gold); border-radius: var(--radius); padding: 24px; text-align: center; margin: 0 0 16px; }
.brand-box h2 { margin-top: 0; }
.brand-box .btn-cta { margin-top: 8px; }

/* Footer */
.site-footer { background: var(--bg-elevated); border-top: 1px solid var(--border); padding: 30px 0 22px; font-size: 0.85rem; color: var(--text-muted); text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 16px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--gold); }
.responsible-gaming { border-top: 1px solid var(--border); padding-top: 14px; margin-top: 14px; max-width: 640px; margin-left: auto; margin-right: auto; }

@media (max-width: 640px) {
  .hero { padding: 24px 0; }
  .hero-panel { padding: 24px 16px; border-radius: 18px; }
  section { padding: 4px 0 28px; }
  h2 { margin-top: 30px; }
}

/* Sticky CTA — cierre de embudo, visible en todas las páginas */
.sticky-cta {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #06170f;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  text-decoration: none;
  line-height: 1;
}
.sticky-cta:hover { background: var(--accent-dark); text-decoration: none; }
@media (max-width: 480px) {
  .sticky-cta { bottom: 12px; right: 12px; padding: 10px 16px; font-size: 0.82rem; }
}
