/* Home: the live battle takes the first screen; the studio and its next game sit below. */

/* ---------- the home hero: the key art, still and wide, over a game-styled info band ---------- */
.home-hero { position: relative; background: var(--rr-navy); color: #fff; overflow: hidden; }
.hh-art { display: block; overflow: hidden; }
.hh-art img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; }
.hh-band { background: var(--rr-navy); border-top: 3px solid var(--rr-ink); box-shadow: inset 0 3px 0 #2A3E66; }
.hh-copy { display: grid; gap: 20px; padding-top: 24px; padding-bottom: 32px; }
.hh-words { display: grid; gap: 8px; }
.home-hero h1 { font-size: clamp(30px, 8.6vw, 44px); line-height: 1; }
.home-hero .status-line { font: 800 var(--fs-body) var(--game-body); color: var(--gold); }
.hh-acts { display: grid; gap: 14px; }
.hero-cta { display: flex; align-items: center; gap: 16px; }
.hero-cta .btn-green { flex: 1; min-height: 58px; font-size: var(--fs-d4); }
.watch { display: grid; justify-items: center; gap: 2px; padding: 0; border: 0; background: none; color: #fff; font: 400 var(--fs-label) var(--game); letter-spacing: .03em; cursor: pointer; text-shadow: 0 2px 0 var(--rr-ink); }
.watch-disc { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #2F6FD6; border: 3px solid var(--rr-ink); box-shadow: inset 0 -5px 0 rgba(0,0,0,.22), 0 3px 0 var(--rr-ink); }
.watch-disc img { width: 20px; margin-left: 3px; }
.watch:hover .watch-disc { background: #3A7DE6; }
.watch .long { display: none; }
.hero-more a { display: inline-flex; align-items: center; gap: 6px; color: #C9D6EE; font: 800 var(--fs-body) var(--game-body); text-decoration: none; }
.hero-more a:hover { color: var(--gold); }
.hero-more .arr { width: 18px; height: 18px; }

@media (min-width: 900px) {
  /* the art fills what the band leaves of the first screen; crops come off the top and bottom water, never the logo */
  .hh-art img { height: max(420px, min(56.25vw, calc(100svh - 72px - 132px))); animation: drift 26s ease-in-out infinite alternate; transform-origin: 65% 40%; }
  .hh-copy { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding-top: 22px; padding-bottom: 22px; }
  .home-hero h1 { font-size: clamp(28px, 2.5vw, 40px); white-space: nowrap; }
  .hh-acts { grid-auto-flow: column; align-items: center; gap: 28px; }
  .hero-cta { gap: 24px; }
  .hero-cta .btn-green { flex: none; min-width: 280px; }
  .watch { grid-auto-flow: column; gap: 12px; align-items: center; font: 800 var(--fs-body) var(--game-body); letter-spacing: 0; }
  .watch-disc { width: 52px; height: 52px; }
  .watch .long { display: inline; } .watch .short { display: none; }
}
@media (min-width: 900px) and (max-width: 1299px) { .hero-more { display: none; } }
@media (min-width: 900px) and (max-width: 1099px) { .home-hero h1 { white-space: normal; } .hero-cta .btn-green { min-width: 230px; } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.04); } }

/* ---------- below the hero: our games, then news ---------- */
.home-sec { position: relative; z-index: 1; background: var(--sand); padding: 64px 0; }
.home-sec + .home-sec { padding-top: 0; }
.games-sec { padding-top: 64px; }
@media (min-width: 900px) { .home-sec { padding: 112px 0; } .games-sec { padding-top: 112px; } }

/* news: while there is one post, a slim row the same shape as the studio teaser under it */
.news-sec { padding-bottom: 48px; }
.nr-link { display: grid; grid-template-columns: 80px minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr auto;
  grid-template-areas: "art ." "art meta" "art title" "art ." "dek dek"; column-gap: 16px; padding: 20px;
  border: 2px solid var(--sand-2); border-radius: var(--r-art); background: var(--paper); color: var(--ink); text-decoration: none; }
.nr-art { grid-area: art; position: relative; display: block; width: 80px; height: 80px; overflow: hidden; border-radius: 12px;
  background: #2FB8CC url("../img/zone-home.webp") 0 0 / 160px repeat; }
.nr-art img { position: absolute; left: 50%; top: 9%; height: 84%; width: auto; max-width: none; transform: translateX(-50%) rotate(-4deg);
  filter: drop-shadow(2px 3px 0 rgba(14,21,38,.25)); transition: transform .25s ease; }
.nr-meta { grid-area: meta; margin-bottom: 4px; }
.nr-title { grid-area: title; font: 400 var(--fs-d3)/1.1 var(--display); text-wrap: balance; }
.nr-dek { grid-area: dek; margin-top: 14px; font: 400 var(--fs-body)/1.6 var(--sans); color: var(--ink-2); max-width: 40em; text-wrap: pretty; }
.nr-arr { display: none; grid-area: arrow; width: 24px; height: 24px; color: var(--ink); transition: transform .15s; }
.nr-link:hover { color: var(--ink); }
.nr-link:hover .nr-title { color: var(--fire); }   /* display type at 22-26px: fire clears 3:1 for large text */
.nr-link:hover .nr-art img { transform: translateX(-50%) rotate(-2deg) scale(1.06); }
.nr-link:hover .nr-arr { transform: translateX(4px); }
.nr-link:focus-visible { outline-color: var(--ink); }
@media (min-width: 800px) {
  .nr-link { grid-template-columns: 140px minmax(0, 1fr) auto; grid-template-rows: 1fr auto auto auto 1fr;
    grid-template-areas: "art . arrow" "art meta arrow" "art title arrow" "art dek arrow" "art . arrow"; column-gap: 32px; padding: 24px 40px; }
  .nr-art { width: 140px; height: 140px; }
  .nr-dek { margin-top: 8px; }
  .nr-arr { display: block; align-self: center; }
}
@media (min-width: 900px) { .news-sec { padding-bottom: 64px; } }

/* the studio teaser: on phones too */
.studio-sec { padding-top: 0; }
.studio-teaser { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: center; padding: 24px; border-radius: 16px; background: var(--deep); color: var(--sand); text-decoration: none; }
.studio-teaser img { width: 96px; height: 120px; object-fit: cover; border-radius: 12px; }
.studio-teaser > span { display: grid; gap: 8px; }
.st-h { font: 400 var(--fs-d3)/1.1 var(--display); color: #fff; }
.st-line { font: 400 var(--fs-body)/1.6 var(--sans); color: #D6DEE6; max-width: 40em; }
.st-more { display: inline-flex; align-items: center; gap: 8px; color: var(--ember); font: 800 var(--fs-body) var(--sans); }
.studio-teaser:hover { color: var(--sand); }
.studio-teaser:hover .arr { transform: translateX(3px); }
.studio-teaser:focus-visible { outline-color: var(--ink); }
@media (min-width: 800px) { .studio-teaser { grid-template-columns: 140px minmax(0, 1fr); gap: 32px; padding: 32px 40px; } .studio-teaser img { width: 140px; height: 175px; } }
.st-more .arr { width: 18px; height: 18px; flex: none; transition: transform .15s; }
@media (max-width: 799px) { .studio-teaser { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 20px; } .studio-teaser img { width: 80px; height: 100px; } }
