/* Landing de Nait (nait.party). Mismo lenguaje visual que los screenshots y
   el Instagram: tipografía redonda gruesa, color por juego, confeti. */

:root {
  --lime: #D6F84C;
  --brand: #5E8A00;
  --brand-dark: #4A7000;
  --peach: #FBE4C1;
  --ink: #141210;
  --text2: #6E6656;
  --rey: #B5820A; --cacho: #138A4E; --quien: #7C53D6; --impostor: #2B2D42; --cricri: #D63B3B;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, system-ui, sans-serif;
  --sans: -apple-system, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--peach); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, .logo { font-family: var(--round); font-weight: 900; letter-spacing: -0.03em; }
h1 em, h2 em { font-style: normal; display: inline-block; background: #fff; color: var(--accent, var(--brand)); padding: 0 .22em .06em;
  border-radius: .22em; transform: rotate(-2deg); box-shadow: 0 .09em 0 rgba(0,0,0,.16); }

.store img { height: 64px; width: auto; transition: transform .15s ease; }
.store:hover img { transform: scale(1.04) rotate(-1deg); }

/* Confeti (degradados puros, sin imágenes) */
.confetti { position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background:
    radial-gradient(circle at 8% 22%, #F6A81A 0 7px, transparent 8px),
    radial-gradient(circle at 92% 16%, #fff 0 6px, transparent 7px),
    radial-gradient(circle at 78% 62%, var(--lime) 0 8px, transparent 9px),
    radial-gradient(circle at 14% 74%, #D63B3B 0 6px, transparent 7px),
    radial-gradient(circle at 52% 8%, #7C53D6 0 6px, transparent 7px),
    radial-gradient(circle at 34% 88%, #fff 0 5px, transparent 6px),
    radial-gradient(circle at 66% 30%, #F6A81A 0 5px, transparent 6px),
    radial-gradient(circle at 96% 84%, #fff 0 7px, transparent 8px); }

/* ---------- Hero ---------- */
.hero { --accent: var(--brand); position: relative; overflow: hidden; color: #fff; padding: 0 20px 0;
  background: radial-gradient(900px 600px at 100% 0%, rgba(214,248,76,.45), transparent 60%),
              radial-gradient(800px 600px at 0% 100%, rgba(19,138,78,.55), transparent 60%),
              linear-gradient(160deg, #76AD00 0%, #4A7000 100%); }
.nav { position: relative; z-index: 3; max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.logo { font-size: 40px; line-height: 1; }
.nav-cta { text-decoration: none; font-weight: 800; font-size: 15px; background: #fff; color: var(--brand-dark); padding: 10px 18px; border-radius: 999px; }
.hero-copy { position: relative; z-index: 3; max-width: 760px; margin: 18px auto 0; text-align: center; }
.tag { display: inline-block; font-family: var(--round); font-weight: 900; font-size: 15px; background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.35); padding: 8px 16px; border-radius: 999px; }
.hero h1 { font-size: clamp(52px, 12vw, 108px); line-height: .98; margin: 18px 0 16px; text-wrap: balance; }
.hero p { font-family: var(--round); font-weight: 700; font-size: clamp(18px, 4.4vw, 24px); line-height: 1.3; opacity: .94; text-wrap: balance; max-width: 620px; margin: 0 auto 26px; }
.hero .store { display: inline-block; }

.hero-phones { position: relative; z-index: 2; height: clamp(340px, 88vw, 470px); max-width: 980px; margin: 64px auto 0; }
.ph { position: absolute; bottom: -18%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.28)); }
.ph-c { left: 50%; width: clamp(220px, 48vw, 360px); transform: translateX(-50%); z-index: 3; bottom: -26%; }
.ph-l { left: 50%; width: clamp(180px, 38vw, 300px); transform: translateX(-118%) rotate(-11deg); z-index: 2; }
.ph-r { left: 50%; width: clamp(180px, 38vw, 300px); transform: translateX(18%) rotate(11deg); z-index: 2; }
.emo { position: absolute; z-index: 4; font-size: clamp(44px, 9vw, 80px); filter: drop-shadow(0 10px 10px rgba(0,0,0,.25)); }
.e1 { left: 6%; top: 8%; transform: rotate(-14deg); }
.e2 { right: 6%; top: 2%; transform: rotate(14deg); }
.e3 { right: 12%; top: 46%; transform: rotate(-8deg); }

/* ---------- Juegos ---------- */
section { padding: 72px 20px; }
section h2 { font-size: clamp(38px, 8vw, 64px); line-height: 1.02; text-align: center; margin-bottom: 36px; text-wrap: balance; }
.games { --accent: var(--impostor); background: var(--peach); }
.cards { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: 26px; padding: 22px 20px 20px; border: 3px solid var(--c); box-shadow: 0 8px 0 var(--c);
  transition: transform .15s ease; }
.card:hover { transform: translateY(-4px) rotate(-1deg); }
.card .ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-size: 30px;
  background: color-mix(in srgb, var(--c) 14%, #fff); }
.card h3 { font-size: 26px; margin: 14px 0 6px; color: var(--c); }
.card p { font-size: 16px; line-height: 1.4; color: var(--text2); }
.card small { display: inline-block; margin-top: 12px; font-weight: 800; font-size: 13px; color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, #fff); padding: 5px 10px; border-radius: 999px; }

/* ---------- Banda Quién soy ---------- */
.band { --accent: var(--quien); color: #fff; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 26px;
  background: radial-gradient(700px 500px at 100% 0%, rgba(214,190,255,.5), transparent 60%), linear-gradient(160deg, #9670F0 0%, #5631AE 100%); }
.band-copy { text-align: center; max-width: 700px; }
.band h2 { margin-bottom: 14px; }
.band p { font-family: var(--round); font-weight: 700; font-size: 22px; opacity: .94; }
.band-phone { width: min(860px, 104vw); transform: rotate(-4deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.3)); }

/* ---------- Pasos ---------- */
.steps { --accent: var(--quien); background: #fff; }
.steps ol { list-style: none; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; align-items: center; gap: 18px; background: var(--peach); border-radius: 24px; padding: 18px 20px; }
.steps li b { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--quien); color: #fff;
  font-family: var(--round); font-weight: 900; font-size: 26px; }
.steps h3 { font-size: 22px; line-height: 1.15; }
.steps p { color: var(--text2); margin-top: 2px; }
.steps code { font-family: ui-monospace, Menlo, monospace; font-weight: 800; letter-spacing: 3px; background: #fff; padding: 2px 8px; border-radius: 6px; }

/* ---------- CTA final ---------- */
.final { --accent: var(--rey); position: relative; overflow: hidden; text-align: center; color: #fff;
  background: radial-gradient(700px 500px at 100% 0%, rgba(255,230,150,.5), transparent 60%), linear-gradient(165deg, #E0A818 0%, #9C6E05 100%); }
.final h2 { position: relative; margin-bottom: 12px; }
.final p { position: relative; font-family: var(--round); font-weight: 700; font-size: 22px; margin-bottom: 26px; }
.final .store { position: relative; display: inline-block; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #cfc7b6; padding: 34px 20px 44px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.foot .logo.small { font-size: 30px; color: var(--lime); }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.foot a { text-decoration: none; font-weight: 700; }
.foot a:hover { color: #fff; }
.foot small { font-size: 13px; opacity: .7; }

@media (min-width: 900px) {
  .band { flex-direction: row; justify-content: center; gap: 40px; padding: 90px 40px; }
  .band-copy { text-align: left; max-width: 420px; }
  .band-phone { width: 640px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Política de privacidad ---------- */
.legal-page { background: #fff; }
.legal-hero { --accent: var(--brand); position: relative; overflow: hidden; color: #fff; padding: 0 20px 56px;
  background: radial-gradient(800px 500px at 100% 0%, rgba(214,248,76,.45), transparent 60%), linear-gradient(160deg, #76AD00 0%, #4A7000 100%); }
.legal-head { position: relative; z-index: 3; max-width: 820px; margin: 24px auto 0; }
.legal-head h1 { font-size: clamp(40px, 9vw, 72px); line-height: 1; }
.legal-head p { margin-top: 16px; font-weight: 600; opacity: .9; }
.legal { max-width: 820px; margin: 0 auto; padding: 40px 20px 72px; font-size: 17px; line-height: 1.65; color: #2A2620; }
.legal .lead { font-size: 19px; background: var(--peach); border-radius: 20px; padding: 20px 22px; }
.legal h2 { font-size: 30px; line-height: 1.15; text-align: left; margin: 48px 0 14px; color: var(--ink); scroll-margin-top: 20px; }
.legal h3 { font-size: 21px; margin: 28px 0 8px; color: var(--brand-dark); }
.legal p { margin: 10px 0; }
.legal ul { margin: 10px 0 10px 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--brand-dark); font-weight: 600; }
.legal .facts { list-style: none; margin-left: 0; background: #F7F3EA; border-radius: 16px; padding: 14px 18px; }
.legal .callout { background: #EEF7D4; border: 2px solid var(--lime); border-radius: 16px; padding: 14px 18px; }
.toc { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 6px 18px; margin: 26px 0 8px;
  padding: 18px 20px; border: 2px solid #EFE7D6; border-radius: 20px; }
.toc a { text-decoration: none; font-weight: 600; font-size: 15px; }
.toc a:hover { text-decoration: underline; }

/* ---------- Soporte ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.contact { display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: var(--peach); border-radius: 22px; padding: 20px 22px; }
.contact .ci { font-size: 34px; }
.contact b { font-family: var(--round); font-weight: 900; font-size: 24px; color: var(--ink); }
.contact small { font-size: 16px; color: var(--text2); font-weight: 600; }
a.contact:hover b { color: var(--brand-dark); }
.legal .hint { font-size: 15px; color: var(--text2); }
.faq { border-top: 2px solid #EFE7D6; }
.faq details { border-bottom: 2px solid #EFE7D6; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 4px; font-family: var(--round); font-weight: 900; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 4px 18px; }
.faq .answer p { margin: 0; }
