/* ============================================================
   LANDING.CSS — Ninja Revolution 2026 (página pública/inicial)
   Usa os assets de marca reais fornecidos (logo, botões, cenário,
   personagem, cards). Paleta extraída da própria arte: preto +
   chamas laranja/vermelho + dourado.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&display=swap');

:root {
  --lp-bg:        #0a0a10;
  --lp-bg-soft:   #101018;
  --lp-line:      rgba(255,255,255,.08);
  --lp-flame-1:   #ff7a1a;
  --lp-flame-2:   #ff3b30;
  --lp-gold:      #f5c542;
  --lp-text:      #f2f0ea;
  --lp-text-dim:  #b9b6c2;
  --lp-text-faint:#726f7c;
}

* { box-sizing: border-box; }
body.lp-body {
  margin: 0;
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: 'Chakra Petch', sans-serif;
  overflow-x: hidden;
}

.lp-body a { text-decoration: none; color: inherit; }
.lp-body img { display: block; max-width: 100%; }

/* fundo geral: leve gradiente radial + brilho de brasas */
.lp-page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 900px 500px at 80% 15%, rgba(255,122,26,.14), transparent 60%),
    radial-gradient(ellipse 700px 500px at 10% 70%, rgba(255,59,48,.10), transparent 60%),
    var(--lp-bg);
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 28px;
  background: linear-gradient(180deg, rgba(10,10,16,.97), rgba(10,10,16,.88));
  border-bottom: 1px solid var(--lp-line);
  backdrop-filter: blur(6px);
}
.lp-nav-logo img { height: 42px; width: auto; }

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: center;
}
.lp-nav-link {
  margin: 0 15px;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--lp-text-dim);
  position: relative;
  padding: 6px 2px;
  transition: color .15s ease;
}
.lp-nav-link:hover { color: var(--lp-text); }
.lp-nav-link.active { color: var(--lp-flame-1); }
.lp-nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, var(--lp-flame-1), var(--lp-flame-2));
  border-radius: 2px;
}

.lp-nav-cta img { height: 40px; width: auto; transition: transform .15s ease, filter .15s ease; }
.lp-nav-cta:hover img { transform: translateY(-1px); filter: brightness(1.08); }

/* ── HERO ───────────────────────────────────────────────────── */
.lp-hero {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 28px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 560px;
}
.lp-hero-texto { flex: 1.05; min-width: 0; }
.lp-hero-personagem { flex: .95; min-width: 0; }

/* cenário da vila ao fundo do hero, sutil */
.lp-hero-cenario {
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 290px;
  background-image: url('../img/landpage/07_cenario_vila.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  opacity: .55;
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.9) 35%, rgba(0,0,0,.9));
  -webkit-mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.9) 35%, rgba(0,0,0,.9));
  pointer-events: none;
  z-index: 0;
}

.lp-hero-texto { position: relative; z-index: 1; }
.lp-hero-logo { width: min(440px, 90%); margin-bottom: 6px; filter: drop-shadow(0 8px 30px rgba(255,90,20,.25)); }
.lp-hero-titulo { width: min(460px, 95%); margin-bottom: 24px; }

.lp-hero-botoes { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lp-btn-img { transition: transform .15s ease, filter .2s ease; }
.lp-btn-img:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.1); }
.lp-btn-img:active { transform: translateY(0) scale(.99); }
.lp-btn-jogar img { height: 64px; width: auto; }
.lp-btn-criar img { height: 64px; width: auto; }

.lp-hero-personagem {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.lp-hero-personagem img {
  width: min(560px, 100%);
  filter: drop-shadow(0 20px 50px rgba(255,80,20,.3));
  animation: lp-float 5s ease-in-out infinite;
}
@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── FEATURES (cards-banner já prontos como imagem) ──────────── */
.lp-features {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 28px 60px;
  display: flex;
  gap: 16px;
}
.lp-feature-card { flex: 1; min-width: 0; transition: transform .18s ease, filter .18s ease; }
.lp-feature-card img { width: 100%; height: auto; }
.lp-feature-card:hover { transform: translateY(-4px); filter: brightness(1.08); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.lp-footer {
  border-top: 1px solid var(--lp-line);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
}
.lp-footer-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  color: var(--lp-text-faint);
}
.lp-footer-copy img { height: 22px; width: auto; opacity: .85; }
.lp-footer-links {
  display: flex;
  gap: 22px;
  font-size: .78rem;
  color: var(--lp-text-dim);
}
.lp-footer-links a { margin-left: 22px; }
.lp-footer-links a:first-child { margin-left: 0; }
.lp-footer-links a:hover { color: var(--lp-flame-1); }

.lp-footer-legal {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px 20px;
  font-size: .66rem;
  line-height: 1.55;
  color: var(--lp-text-faint);
  text-align: center;
}
.lp-footer-legal p { margin: 0 0 6px; }
.lp-footer-legal p:last-child { margin-bottom: 0; }

/* ── RESPONSIVO ─────────────────────────────────────────────── */
@media (max-width: 980px) {
  .lp-nav-links { display: none; }
  .lp-hero { flex-direction: column; text-align: center; padding-top: 32px; }
  .lp-hero-logo, .lp-hero-titulo { margin-left: auto; margin-right: auto; }
  .lp-hero-botoes { justify-content: center; }
  .lp-hero-personagem { order: -1; }
  .lp-hero-personagem img { width: min(360px, 80%); }
  .lp-features { flex-wrap: wrap; }
  .lp-feature-card { flex: 1 1 calc(50% - 8px); }
}
@media (max-width: 520px) {
  .lp-feature-card { flex: 1 1 100%; }
  .lp-btn-jogar img, .lp-btn-criar img { height: 52px; }
  .lp-footer { justify-content: center; text-align: center; }
}
