/* Shared site palette; the original game artwork supplies the color. */
.game-landing {
  --gl-ink: var(--ink, #e8eef0);
  --gl-paper: var(--bg, #091113);
  --gl-panel: var(--panel, #101a1e);
  --gl-muted: var(--muted, #a1afb5);
  --gl-accent: var(--teal, #9cbdb8);
  --gl-amber: #d4a664;
  background: var(--gl-paper);
  color: var(--gl-ink);
  font-family: inherit;
  overflow: hidden;
  padding-bottom: 0;
}
.game-landing * { box-sizing: border-box; }
.game-landing [hidden] { display: none !important; }
.game-landing a { color: inherit; }
.game-landing figure { margin: 0; }
.game-landing img { display: block; width: 100%; height: auto; }
.game-landing h1, .game-landing h2, .game-landing h3 { 
  margin: 0; font-weight: 500; font-family: inherit;
  color: var(--gl-ink);
  letter-spacing: -0.02em; 
}
.game-landing button { font-family: inherit; }
.game-landing button:focus-visible, .game-landing a:focus-visible { outline: 3px solid var(--gl-accent); outline-offset: 5px; }

.game-landing .gl-section {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 800px) {
  .game-landing .gl-section { padding: 0 32px; }
}

/* Compact back link */
.game-landing .gl-back-link {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 20px 20px 12px;
  font-size: 13px;
}
@media (min-width: 800px) {
  .game-landing .gl-back-link { padding: 24px 32px 0; font-size: 14px; }
}
.game-landing .gl-back-link a { text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }

/* Hero */
.game-landing .gl-hero { padding-block: 32px 0; }
.game-landing .gl-hero-content {
  display: grid;
  gap: 32px;
}
@media (max-width: 959px) {
  .game-landing .gl-hero-content { grid-template-areas: "title" "art" "desc"; }
}
@media (min-width: 960px) {
  .game-landing .gl-hero-content {
    grid-template-columns: minmax(330px, 38%) 1fr;
    grid-template-areas: "left art";
    align-items: center;
  }
}

.game-landing .gl-hero-left { display: contents; }
@media (min-width: 960px) {
  .game-landing .gl-hero-left { display: block; grid-area: left; }
}
.game-landing .gl-hero-headings { grid-area: title; }
.game-landing .gl-hero-desc-area { grid-area: desc; }
.game-landing .gl-hero-art { grid-area: art; background: var(--gl-panel); border-radius: 4px; overflow: hidden; position: relative; }

.game-landing .gl-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.game-landing .gl-hero-art figcaption {
  position: absolute; bottom: 8px; right: 12px;
  font-size: 11px; color: var(--gl-muted);
  background: rgba(9, 17, 19, 0.7);
  padding: 4px 8px; border-radius: 4px;
}

.game-landing .gl-hero-eyebrow {
  font-size: 12px; text-transform: uppercase; color: var(--gl-accent);
  margin: 0 0 12px; font-weight: 600; letter-spacing: 0.05em;
}

.game-landing h1 { font-size: 34px; line-height: 1.1; margin: 0; }
@media (min-width: 960px) {
  .game-landing h1 { font-size: 48px; }
}
.game-landing .gl-subtitle { display: block; font-size: 24px; color: var(--gl-muted); margin-top: 8px; }
.game-landing .gl-hero-publisher { font-size: 14px; color: var(--gl-muted); margin: 12px 0 0; }

.game-landing .gl-hero-desc { font-size: 17px; line-height: 1.65; max-width: 65ch; margin: 24px 0; }
@media (max-width: 959px) {
  .game-landing .gl-hero-desc { margin-top: 0; }
}
@media (min-width: 960px) {
  .game-landing .gl-hero-desc { font-size: 18px; }
}
.game-landing .gl-hero-status { font-size: 14px; color: var(--gl-muted); margin-bottom: 24px; font-weight: 500; }
.game-landing .gl-gameplay-btn {
  background: var(--gl-ink); color: var(--gl-paper); border: none; padding: 12px 24px;
  font-size: 15px; font-weight: 600; border-radius: 4px; cursor: pointer; transition: background 0.2s;
}
.game-landing .gl-gameplay-btn:hover { background: #fff; }

/* Sections */
.game-landing .gl-section + .gl-section { margin-top: 48px; }
@media (min-width: 960px) {
  .game-landing .gl-section + .gl-section { margin-top: 80px; }
}

.game-landing h2 { font-size: 28px; line-height: 1.2; }
@media (min-width: 960px) {
  .game-landing h2 { font-size: 36px; }
}

/* Gameplay */
.game-landing .gl-gameplay-header { max-width: 650px; margin-bottom: 24px; }
.game-landing .gl-gameplay-header p { font-size: 17px; line-height: 1.65; color: var(--gl-muted); margin: 16px 0 0; }
@media (min-width: 960px) {
  .game-landing .gl-gameplay-header p { font-size: 18px; }
}
.game-landing .gl-gameplay-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.game-landing .gl-gameplay-media figcaption { font-size: 12px; color: var(--gl-muted); margin-top: 8px; }

.game-landing .gl-gameplay-features { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 800px) {
  .game-landing .gl-gameplay-features { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
}
.game-landing .gl-feature h3 { font-size: 18px; margin: 0 0 8px; }
.game-landing .gl-feature p { font-size: 15px; color: var(--gl-muted); margin: 0; line-height: 1.5; }

/* Image zoom */
.game-landing .gl-image-button { display: block; width: 100%; padding: 0; border: 0; background: var(--gl-panel); cursor: zoom-in; position: relative; border-radius: 4px; overflow: hidden; }
.game-landing .gl-enlarge { position: absolute; bottom: 12px; right: 12px; background: rgba(9, 17, 19, 0.8); color: var(--gl-accent); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: transform 0.2s; }
.game-landing .gl-image-button:hover .gl-enlarge { transform: translate(2px, -2px); }

/* City */
.game-landing .gl-city-header { margin-bottom: 24px; max-width: 650px; }
.game-landing .gl-city-header p { font-size: 17px; line-height: 1.65; color: var(--gl-muted); margin: 16px 0 0; }
@media (min-width: 960px) { .game-landing .gl-city-header p { font-size: 18px; } }

.game-landing .gl-scene-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.game-landing .gl-scene-tabs button { background: transparent; color: var(--gl-ink); border: 1px solid #2a3a41; padding: 10px 16px; min-height: 44px; border-radius: 4px; font-size: 14px; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.game-landing .gl-scene-tabs button:hover { border-color: var(--gl-accent); }
.game-landing .gl-scene-tabs button[aria-selected="true"] { background: var(--gl-accent); color: var(--gl-paper); border-color: var(--gl-accent); font-weight: 600; }

.game-landing .gl-scene figure img { aspect-ratio: 16 / 9; object-fit: contain; background: var(--gl-panel); border-radius: 4px; }
.game-landing .gl-scene-portrait figure img { max-height: 560px; width: auto; margin: 0 auto; aspect-ratio: auto; }
.game-landing .gl-scene figcaption { font-size: 12px; color: var(--gl-muted); margin-top: 8px; }
.game-landing .gl-scene-copy { max-width: 650px; margin-top: 16px; }
.game-landing .gl-scene-copy h3 { font-size: 20px; margin: 0 0 8px; }
.game-landing .gl-scene-copy p { font-size: 16px; color: var(--gl-muted); line-height: 1.65; margin: 0; }

/* Brothers */
.game-landing .gl-brothers-header { margin-bottom: 32px; max-width: 650px; }
.game-landing .gl-brothers-header p { font-size: 17px; color: var(--gl-muted); line-height: 1.65; margin: 16px 0 0; }
@media (min-width: 960px) { .game-landing .gl-brothers-header p { font-size: 18px; } }

.game-landing .gl-portraits { display: flex; justify-content:center; gap: 24px; margin:0 auto 48px; max-width: 500px; }
.game-landing .gl-portrait { flex: 1; max-width: 220px; }
.game-landing .gl-portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--gl-panel); border-radius: 4px; }
.game-landing .gl-portrait figcaption { font-size: 16px; margin-top: 12px; text-align: center; }

.game-landing .gl-story-moments { display: grid; gap: 16px; max-width:960px; margin-inline:auto; text-align:center; }
@media (max-width: 599px) { .game-landing .gl-story-moments { grid-template-columns: 1fr 1fr; } }
@media (min-width: 600px) { .game-landing .gl-story-moments { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; } }
.game-landing .gl-story-moments figure img { aspect-ratio: 1; object-fit: cover; background: var(--gl-panel); border-radius: 4px; }
.game-landing .gl-story-moments figcaption { font-size: 14px; margin-top: 8px; }
.game-landing .gl-story-note { text-align:center; font-size: 12px; color: var(--gl-muted); margin-top: 24px; }

.game-landing .gl-extra-moments { display: flex; justify-content:center; gap: 24px; margin:32px auto 0; max-width: 620px; text-align:center; }
@media (max-width: 599px) { .game-landing .gl-extra-moments { flex-direction: column; } }
.game-landing .gl-extra-moments figure { flex: 1; }
.game-landing .gl-extra-moments img { aspect-ratio: 16 / 10; object-fit: contain; }
.game-landing .gl-extra-moments figcaption { font-size: 12px; color: var(--gl-muted); margin-top: 8px; }

/* Origin */
.game-landing .gl-origin { text-align: left; }
.game-landing .gl-origin h2, .game-landing .gl-origin-copy { max-width: 720px; }
.game-landing .gl-origin-copy { margin-top: 24px; }
.game-landing .gl-origin-copy p { font-size: 17px; line-height: 1.65; color: var(--gl-muted); margin: 0 0 16px; }
@media (min-width: 960px) { .game-landing .gl-origin-copy p { font-size: 18px; } }

/* Media section */
.game-landing .gl-media-section { width: min(1120px, 100%); margin: 48px auto 0; padding: 0 20px; }
@media (min-width: 800px) { .game-landing .gl-media-section { padding: 0 32px; } }
@media (min-width: 960px) { .game-landing .gl-media-section { margin-top: 80px; } }

/* Outro */
.game-landing .gl-outro { text-align: center; margin-bottom: 32px; }
.game-landing .gl-media-section + .gl-outro { margin-top: 48px; }
.game-landing .gl-outro-platform { font-size: 16px; color: var(--gl-muted); margin: 12px 0 0; }

/* Stores */
.game-landing .gl-stores { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px; background: var(--gl-panel); }
@media (min-width: 600px) { .game-landing .gl-stores { flex-direction: row; justify-content: center; flex-wrap: wrap; } }
.game-landing .gl-store-badge { display: flex; align-items: center; gap: 12px; padding: 12px 24px; background: #050a0c; color: #fff; border: 1px solid #2a3a41; border-radius: 8px; font-size: 18px; min-width: 200px; opacity: 0.5; }
.game-landing .gl-store-badge:not([disabled]) { opacity: 1; cursor: pointer; }
.game-landing .gl-store-badge svg { width: 24px; height: 24px; }
.game-landing .gl-store-note { text-align: center; font-size: 12px; color: var(--gl-muted); margin: 0; width: 100%; flex-basis: 100%; }

/* Legal nav */
.game-landing .gl-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; padding: 24px 20px 32px; font-size: 14px; color: var(--gl-muted); }
.game-landing .gl-legal a { text-decoration: none; }
.game-landing .gl-legal a:hover { text-decoration: underline; color: var(--gl-ink); }

@media (prefers-reduced-motion: reduce) {
  .game-landing * { scroll-behavior: auto !important; transition: none !important; }
}
.game-landing .gl-sky-credit { display: block; margin-top: 8px; font-size: 12px; color: var(--gl-muted); }
.game-landing .gl-sky-credit a { text-decoration: underline; }
