/* ===== Pocketball Hunter — landing ===== */

:root {
  --bg: #0b1e33;
  --bg-soft: #0f2742;
  --card: #132c47;
  --line: #1e3a5c;
  --text: #eaf2fb;
  --muted: #9fb6cd;
  --accent: #ffd23f;
  --accent-dark: #e0b423;
  --blue: #46b1ff;
  --red: #e54545;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, #17406b 0%, transparent 55%),
    radial-gradient(900px 500px at -10% 20%, #14314f 0%, transparent 50%),
    var(--bg);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  cursor: pointer;
}
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; }

.btn-play {
  background: #111;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .4);
}
.btn-play:hover { transform: translateY(-2px); filter: brightness(1.12); }

.btn-cta { background: var(--accent); color: #261a00; }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 210, 63, .35); }

.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); }

.btn-small { padding: .45rem .95rem; font-size: .85rem; }
.btn-lg { font-size: 1.05rem; padding: 1rem 1.8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(11, 30, 51, .85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-weight: 800; }
.brand-icon { width: 40px; height: 40px; border-radius: 10px; }
.main-nav { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.main-nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.main-nav a:hover { color: var(--text); }
.main-nav .btn-cta { color: #261a00; }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
  text-align: center;
}
.hero-content { display: flex; flex-direction: column; align-items: center; }
.hero-title { width: min(520px, 92%); margin: 0 0 1rem; }
.hero-tagline { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 40rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; justify-content: center; }
.hero-note { color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.hero-art { width: 100%; max-width: 900px; }
.hero-art img {
  width: 100%;
  margin: 0 auto;
  border-radius: 18px;
  border: 4px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- Secciones ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 2.5rem); }
.section-alt { max-width: none; background: rgba(15, 39, 66, .55); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-alt > .section-head, .section-alt > ol { max-width: 1000px; margin-left: auto; margin-right: auto; }

.section-head { text-align: center; max-width: 46rem; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 .5rem; }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.card {
  background: linear-gradient(180deg, var(--card), rgba(19, 44, 71, .6));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}
.card-emoji { font-size: 1.9rem; }
.card h3 { margin: .6rem 0 .35rem; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Steps (cómo jugar) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.step-num {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.15rem;
  color: #261a00;
  background: var(--accent);
}
.step h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Capturas ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
  justify-content: center;
}
.shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, .12);
  background: #000;
  box-shadow: var(--shadow);
}
.shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- Descarga ---------- */
.download .download-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(160deg, #17406b, var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 2.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.download-icon { width: 96px; height: 96px; margin: 0 auto 1rem; border-radius: 22px; }
.download h2 { margin: 0 0 .4rem; }
.download p { color: var(--muted); margin: 0 0 1.2rem; }

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 1.6rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}
.site-footer p { margin: .25rem 0; }
.dot { margin: 0 .5rem; opacity: .6; }

/* ---------- Créditos ---------- */
.credits-section > .credits { max-width: 1000px; margin-left: auto; margin-right: auto; }
.credits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.credits > li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  color: var(--muted);
}
.credits > li strong { color: var(--text); }
.credits ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.credits li { color: var(--muted); }

/* ---------- Reveal (animación al hacer scroll) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-tagline { margin-inline: auto; }
  .main-nav a:not(.btn-cta) { display: none; }
}
