/* Portada del juego. Reutiliza los colores, botones y la fuente de style.css. */

body.site { font-size: 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #06292b; padding: 6px 10px; border-radius: 6px; z-index: 40; }
.skip:focus { left: 8px; }
.button.steam { padding: 6px 12px; }

.block { padding: 72px 0 8px; }
.block h2 { font-size: 28px; margin-bottom: 18px; }
.mute.small { font-size: 13px; }

/* Portada: franja a todo el ancho con la ilustración; el texto va a la izquierda, sobre la parte oscurecida. */
.hero {
  padding: 32px 20px 40px;
  background:
    linear-gradient(90deg, rgb(13 22 25 / .94) 0%, rgb(13 22 25 / .82) 34%, rgb(13 22 25 / .08) 62%, rgb(13 22 25 / 0) 100%),
    linear-gradient(180deg, rgb(13 22 25 / 0) 78%, var(--bg) 100%),
    url(/media/key-art.webp) center / cover no-repeat;
}
.hero-text { max-width: 1200px; margin: 0 auto; }
.hero-text > * { max-width: 520px; }
.hero-logo { display: block; width: min(100%, 440px); height: auto; margin: 0 0 12px -8px; }
.hero h1, .hero .lead { text-shadow: 0 1px 3px rgb(0 0 0 / .8); }
.hero-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; padding-top: 16px; }
.hero-row .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero h1 { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 800; font-size: 34px; line-height: 1.15; letter-spacing: -.5px; color: var(--ink); margin-bottom: 14px; }
.hero .lead { font-size: 17px; color: #dbe5e8; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.button.big { font-size: 15px; padding: 10px 16px; }
.trailer { margin: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #000; }
.trailer video { display: block; width: 100%; aspect-ratio: 16 / 9; }
.hero-media { min-width: 0; }
.trailer-pick { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 10px; margin-top: 10px; font-size: 13px; color: var(--mute); }

/* Historia: los mismos colores que el logo y los títulos de los tráileres. */
.story { padding: 56px 0 8px; }
.story h2, .propose h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: 1px; color: #3cf0c3; text-shadow: .05em .05em 0 #0a2a24; margin-bottom: 20px; }
.story-text { max-width: 72ch; }
.story-text p { font-size: 16px; line-height: 1.65; color: #c9d6da; margin-bottom: 14px; }
.story-text .you { color: var(--ink); margin: 16px 0 0; }

/* Galería */
.gallery-tabs { margin-bottom: 16px; flex-wrap: wrap; }
.gallery-tabs button { padding: 7px 14px; }
.gallery-more { display: block; margin: 16px auto 0; padding: 8px 16px; }
.gallery-note { margin: 16px 0 0; }
.shots, .loops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.shot { display: block; padding: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #000; cursor: zoom-in; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .2s; }
.shot:hover img { transform: scale(1.03); }
.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 12px; }
.clip { margin: 0; }
.clip video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 4px; background: #000; }
.clip figcaption, .loop figcaption { font-size: 13px; color: var(--mute); margin-top: 6px; }
.loop { margin: 0; }
.loop video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 4px; background: #000; }

.lightbox { padding: 0; border: 0; background: transparent; width: min(1600px, 96vw); max-height: 96vh; }
.lightbox::backdrop { background: #000d; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 8px; }
.lightbox img { max-width: 96vw; max-height: 86vh; border-radius: 8px; }
.lightbox figcaption { color: var(--ink); font-size: 14px; }
.lb-close, .lb-nav { position: fixed; top: 12px; right: 12px; width: 42px; height: 42px; justify-content: center; font-size: 24px; padding: 0; border-radius: 50%; background: #0b1316cc; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-nav.prev { left: 12px; right: auto; }
.lb-nav.next { right: 12px; }

/* Propón tu cara y ficha */
.propose { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.propose p { font-size: 16px; line-height: 1.6; color: #c9d6da; }
.propose-art img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; display: block; }
.specs { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0; font-size: 15px; }
.specs dt { color: var(--mute); }
.specs dd { margin: 0; }

@media (max-width: 900px) {
  .propose, .hero-row { grid-template-columns: minmax(0, 1fr); }
  .hero {
    padding: 150px 16px 20px;
    background:
      linear-gradient(180deg, rgb(13 22 25 / 0) 24%, rgb(13 22 25 / .92) 46%, var(--bg) 62%),
      url(/media/key-art-1280.webp) center top / auto 280px no-repeat,
      var(--bg);
  }
  .hero-text > * { max-width: none; }
  .shots, .loops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story { padding-top: 40px; }
  .block { padding-top: 56px; }
  .hero h1 { font-size: 28px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 24px; }
  .specs { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .specs dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .shot img { transition: none; } }
