/* Landing pública (sin sesión): réplica de la portada de la web de referencia (page.tsx + landing/*),
   adaptada a solo animalitos. Se carga después de app.css; todo va bajo body.landing. */
.landing .wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--s4); }

/* header navy translúcido */
.hdr { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--navy) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.hdr-in { max-width: 1200px; margin: 0 auto; padding: 12px var(--s4); display: flex; align-items: center; gap: var(--s4); }
.hdr .nav { display: none; gap: var(--s5); margin-left: var(--s6); }
@media (min-width: 860px) { .hdr .nav { display: flex; } }
.hdr .nav a { color: #cfe3db; font-weight: 600; font-size: 15px; transition: color .15s; }
.hdr .nav a:hover { color: #fff; }
.hdr-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.hdr-cta .btn svg { width: 16px; height: 16px; }

/* hero */
.landing .hero { position: relative; overflow: hidden; background: linear-gradient(150deg, #0B1B25, #0a3f4a 60%, #0a5b52); }
.landing .hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(245, 179, 1, .22), transparent 70%); pointer-events: none; }
.landing .hero-in { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: var(--s8) var(--s4); display: grid; grid-template-columns: 1fr; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .landing .hero-in { grid-template-columns: 1.1fr .9fr; padding: 72px var(--s4); } }
.landing .hero-logo { margin-inline-start: calc(var(--logo-h, 60px) * -.18); margin-bottom: var(--s5); }
.landing .hero h1 { color: #fff; font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-top: var(--s4); max-width: 12ch; }
@media (min-width: 900px) { .landing .hero h1 { font-size: 52px; } }
.landing .hero p { color: #cfe3db; font-size: 17px; margin-top: var(--s4); max-width: 46ch; }
.landing .hero-cta { display: flex; gap: 12px; margin-top: var(--s6); flex-wrap: wrap; }
.landing .hero-cta .btn { padding: 15px 26px; font-size: 16px; min-height: 54px; flex: 0 1 auto; }
.landing .hero-stats { display: flex; gap: var(--s6); margin-top: var(--s6); color: #cfe3db; flex-wrap: wrap; }
.landing .hero-stats .n { font-size: 24px; font-weight: 800; color: #fff; }
.landing .hero-stats small { font-size: 12px; }
.landing .herocard { margin-top: 0; }
.carousel { position: relative; aspect-ratio: 16/9; background: var(--surface-2); }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s5); color: #fff; opacity: 0; transition: opacity .5s; }
.slide.on { opacity: 1; }
.slide.s1 { background: linear-gradient(120deg, #0EA96B, #0a6d47); }
.slide.s2 { background: linear-gradient(120deg, #B7791F, #8a5a00); }
.slide.s3 { background: linear-gradient(120deg, #0a3f4a, #0a5b52); }
.slide .k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; opacity: .9; }
.slide h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }
.slide .sfig { position: absolute; right: 16px; top: 14px; width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.dots { position: absolute; bottom: 12px; right: 14px; display: flex; gap: 6px; z-index: 2; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: width .3s; }
.dots i.on { background: #fff; width: 20px; border-radius: 99px; }
.landing .nextdraw .cd .t { font-size: 26px; }

/* secciones */
.landing .sec { padding: var(--s8) 0 0; }
.landing .sec-h h2 { font-size: 26px; }
@media (min-width: 560px) { .landing .ggrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .landing .ggrid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 700px) { .landing .winners { grid-template-columns: repeat(3, 1fr); } }

/* confianza + CTA final + pie */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.tcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s5); text-align: center; box-shadow: var(--sh-1); }
.tcard .ic { width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--primary-strong) 14%, transparent); display: grid; place-items: center; margin: 0 auto 10px; color: var(--primary); }
.tcard .ic svg { width: 22px; height: 22px; }
.tcard .t { font-weight: 800; font-size: 15px; }
.tcard .d { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }
.finalcta { background: linear-gradient(135deg, var(--navy), #0a5b52); border-radius: var(--r-lg); padding: var(--s8) var(--s5); text-align: center; color: #fff; position: relative; overflow: hidden; margin: var(--s7) 0; }
.finalcta::after { content: ""; position: absolute; left: -60px; bottom: -60px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(245, 179, 1, .2), transparent 70%); pointer-events: none; }
.finalcta h2 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; position: relative; }
.finalcta p { color: #cfe3db; margin-top: 10px; position: relative; }
.finalcta .btn { margin-top: var(--s6); position: relative; }
.landing .foot { border-top: 1px solid var(--border); padding: var(--s6) 0; margin-top: var(--s4); }
.landing .foot .plus18 { margin-bottom: 10px; }

/* Descarga de la app Android (js/descarga.js) */
.dl-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-lg, 18px); background: linear-gradient(135deg, var(--navy), #163f52); color: #fff; box-shadow: var(--sh-2); }
.dl-ic { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--gold-fill); color: var(--navy); display: grid; place-items: center; }
.dl-ic svg { width: 24px; height: 24px; }
.dl-tx { flex: 1; min-width: 0; }
.dl-tx h2 { font-size: 17px; font-weight: 800; margin: 0 0 2px; color: #fff; }
.dl-tx p { margin: 0; font-size: 13px; opacity: .85; }
.dl-btn { flex: none; white-space: nowrap; }
.dl-btn[aria-disabled="true"] { opacity: .75; pointer-events: none; color: #fff; border-color: rgba(255,255,255,.4); }
.dl-ayuda { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 13px; color: var(--text-muted); }
.dl-ayuda svg { width: 16px; height: 16px; flex: none; color: var(--gold); margin-top: 2px; }
@media (max-width: 380px) { .dl-card { flex-wrap: wrap; } .dl-btn { width: 100%; justify-content: center; } }
/* Guía de instalación en iPhone (app web en la pantalla de inicio). */
.ios-pasos { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.ios-pasos li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: 15px; color: var(--text); }
.ios-pasos .n { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--navy); color: var(--gold-fill); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.ios-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--surface-2); color: #0a84ff; vertical-align: middle; margin: 0 2px; }
.ios-ic svg { width: 17px; height: 17px; }
