/* Página de presentación de Twine (/twine). Usa los colores de styles.css. */

.landing { overflow-x: hidden; }

.lhero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(123, 77, 255, 0.45), transparent 70%),
    radial-gradient(700px 380px at 0% 110%, rgba(47, 139, 255, 0.35), transparent 70%),
    linear-gradient(135deg, var(--hero-a), var(--hero-b) 55%, var(--hero-c));
  color: #fff;
  padding: 28px 16px 36px;
}
.lhero__inner { max-width: 1100px; margin: 0 auto; }
.lhero__title {
  font-family: "Luckiest Guy", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: 34px 0 12px;
  max-width: 17ch;
}
.lhero__lead { max-width: 60ch; color: #d8d2ff; font-size: 1.08rem; margin: 0; overflow-wrap: anywhere; }
.lhero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
}
.btn:hover { background: rgba(255, 255, 255, 0.14); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn--primary { background: #5865f2; border-color: #5865f2; }
.btn--primary:hover { background: #4752c4; }
.btn--ghost { border-color: transparent; }

.lstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; max-width: 640px; }
.lstats div { background: rgba(0, 0, 0, 0.25); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.lstats dt { color: #c9c0ff; font-size: 0.8rem; }
.lstats dd { margin: 2px 0 0; font-family: "Luckiest Guy", system-ui, sans-serif; font-size: 1.6rem; color: var(--gold); }

.lmain { max-width: 1100px; margin: 0 auto; padding: 28px 16px 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }

.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 26px; align-items: center; }
.feature--flip .feature__text { order: 2; }
.feature__kicker { margin: 0; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem; }
.feature h2, .lpanel h2 { font-family: "Luckiest Guy", system-ui, sans-serif; font-weight: 400; font-size: 1.7rem; margin: 6px 0 10px; line-height: 1.1; }
.feature p { color: var(--muted); margin: 0; }
.feature .card-img img { width: 100%; height: auto; }

code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; font-size: 0.92em; color: var(--text); }

.lpanel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.lcmds { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.lcmds li { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.lcmds b { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--accent); }
.lcmds span { display: block; color: var(--muted); font-size: 0.88rem; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; color: #1b1446; background: var(--gold); border-radius: 6px; padding: 0 6px; margin-left: 6px; vertical-align: 1px; }

details { border-top: 1px solid var(--border); padding: 12px 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 8px 0 0; }

.foot { max-width: 1100px; margin: 0 auto; padding: 0 16px 30px; color: var(--muted); font-size: 0.82rem; }

@media (max-width: 760px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .feature--flip .feature__text { order: 0; }
  .lstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lstats div:last-child { grid-column: span 2; }
}
