@font-face { font-family: 'Lilita One'; src: url('lilita-one.woff2') format('woff2'); font-display: swap; }
:root { --cream: #fff6e0; --ink: #2a1f1a; --red: #d93b3b; --sand: #f3e2bd; --muted: #6b5a4e; }
* { box-sizing: border-box; }
html { background: var(--sand); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, 'Segoe UI', sans-serif; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { width: min(1100px, 100% - 32px); margin: 0 auto; flex: 1; padding-bottom: 40px; }
h1, h2, h3, .brand, .btn { font-family: 'Lilita One', system-ui, sans-serif; font-weight: 400; letter-spacing: .3px; }
h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; margin: 18px 0 8px; }
h2 { font-size: 28px; margin: 32px 0 12px; }
a { color: var(--red); }
.top { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; background: var(--ink); }
.brand { color: var(--cream); font-size: 26px; text-decoration: none; }
.lang { color: var(--cream); font-size: 15px; }
.hero { text-align: center; padding: 28px 0 4px; }
.hero h1 { color: var(--red); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.hero p { max-width: 620px; margin: 0 auto; font-size: 19px; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--cream); border: 4px solid var(--ink); border-radius: 22px; overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: 0 7px 0 #2a1f1a33; transition: transform .15s ease, box-shadow .15s ease; }
.card a:hover, .card a:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 0 #2a1f1a33; }
.card img { width: 100%; height: auto; display: block; border-bottom: 4px solid var(--ink); }
.card h3 { font-size: 28px; margin: 14px 18px 4px; }
.card p { margin: 0 18px 16px; flex: 1; }
.btn { display: inline-block; align-self: flex-start; margin: 0 18px 18px; padding: 8px 22px; border-radius: 14px; background: var(--red); color: #fff; font-size: 22px; border: 3px solid var(--ink); text-decoration: none; }
.crumb { margin: 18px 0 0; }
.lead { font-size: 19px; max-width: 760px; margin-top: 0; }
.stage { border: 4px solid var(--ink); border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.stage iframe { width: 100%; height: 100%; border: 0; display: block; }
.full { text-align: right; margin: 8px 0 0; }
.mobile-play { display: none; }
.about { max-width: 760px; }
.muted { color: var(--muted); font-size: 15px; }
footer { display: flex; gap: 18px; justify-content: center; padding: 18px; font-size: 15px; color: var(--muted); }
/* En el celular el juego se abre a pantalla completa: dentro de la página quedaría muy chico. */
@media (max-width: 760px), (max-aspect-ratio: 1/1) {
  .stage, .full { display: none; }
  .mobile-play { display: block; position: relative; margin: 12px 0 0; padding: 0; border-radius: 22px; overflow: hidden; background: var(--ink); }
  .mobile-play img { width: 100%; height: auto; display: block; opacity: .9; }
  .mobile-play span { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 8px 34px; border-radius: 14px; background: var(--red); border: 3px solid var(--ink); font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .card a { transition: none; } }
