/* Portada de entrada. Reutiliza las variables de app.css. */
.portada { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: max(2rem, env(safe-area-inset-top)) max(1.25rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left)); text-align: center; background: radial-gradient(60rem 40rem at 50% 38%, #163023 0%, var(--bg) 62%); }
.portada .logo { margin: 0; padding: 1rem; background: #fff; border-radius: 28px; width: min(86vw, 22rem); box-shadow: 0 10px 40px rgba(61,220,132,.18); }
.portada .logo img { display: block; width: 100%; height: auto; }
.portada .lema { margin: 0; color: var(--muted); font-size: 1.1rem; }
.portada .entrar { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; min-width: min(80vw, 18rem); margin-top: 1.25rem; padding: 0 2rem; border-radius: var(--radius); background: var(--accion); color: var(--accion-texto); font-size: 1.2rem; font-weight: 800; text-decoration: none; border: 2px solid transparent; }
.portada .entrar:hover { background: var(--accion-hover); }
.portada .entrar:active { background: var(--accion-activo); }
@media (prefers-reduced-motion: no-preference) { .portada .entrar { transition: background-color .15s ease; } }
.portada .pie { margin: 1.5rem 0 0; color: var(--muted); font-size: .85rem; }
@media (prefers-reduced-motion: no-preference) { .portada > * { animation: sube .5s ease both; } .portada > *:nth-child(2) { animation-delay: .08s; } .portada > *:nth-child(3) { animation-delay: .16s; } .portada > *:nth-child(4) { animation-delay: .24s; } }
/* Solo movimiento: el contenido se ve desde el primer pintado aunque la animación no corra. */
@keyframes sube { from { transform: translateY(8px); } to { transform: none; } }
.portada-firma { margin-top: .5rem; display: grid; justify-items: center; gap: .25rem; }
.portada-firma .firma a { color: var(--muted); }
.portada-firma .enlaces-pie { margin: 0; font-size: .85rem; color: var(--muted); }
.portada-firma .enlaces-pie a { display: inline-block; min-height: 44px; line-height: 44px; }
.portada .logo { position: relative; }
.portada .logo::after {
  content: "Beta"; position: absolute; top: .75rem; right: .75rem; padding: 0 .5rem;
  border: 1px solid var(--warn); border-radius: 999px; background: var(--bg); color: var(--warn);
  font-size: .8rem; font-weight: 700; line-height: 1.6; letter-spacing: .03em;
}
.portada-beta { max-width: 24rem; display: grid; justify-items: center; gap: .5rem; }
.portada-beta .nota-beta { margin: 0; }
.portada-beta p { margin: 0; }
.portada-beta .opinion { display: inline-flex; align-items: center; text-decoration: none; }
.portada .instalar-portada { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .75rem; color: var(--accent); font-weight: 700; }
