/* ============================================
   GAME pages (loaded via styles: [games])
   Steam-style: title → media + info box → story → selling points → girls → FAQ → CTAs
   Uses palette/fonts from main.css. Also loaded by the free-demo page (.game-demo-*).
   Width rule: every section shares the .game-top container (1200px, 6% gutter), so text columns
   are as wide as the card grids and the media/info row above them.
   ============================================ */

.game-page {
  --game-heading: #f3ece4;
  --game-body: #dad2c9;
  --game-card-bg: #151110;
  --game-card-border: rgba(255,255,255,0.09);
  --game-card-text: #ddd5cc;
  --game-label: #b8aea4;
  color: var(--text);
}

/* Visually hidden, still read by crawlers/screen readers (H1 separators, icon labels). */
.game-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- WEB DEMO PAGE (layout: gamedemo) --- */
.game-demo-page { color: var(--text); }
.game-demo-wrap { max-width: 1000px; margin: 0 auto; padding: 0 6% 4rem; }
.game-demo-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  overflow: hidden;
}
.game-demo-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.game-demo-page .web-demo-embed {
  aspect-ratio: 16 / 9.35;
}
.game-demo-fallback { text-align: center; padding: 3rem 0; color: var(--text-dim); }
.game-demo-note {
  max-width: 760px;
  margin: 1.6rem auto 0;
  font-family: 'Geologica', sans-serif;
  font-weight: 200;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-dim);
  text-align: center;
}
.game-demo-note a {
  color: #e0a064;
  text-decoration: underline;
  text-decoration-color: rgba(224,160,100,0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}
.game-demo-note a:visited { color: #d58f55; }
.game-demo-note a:hover {
  color: #ffc085;
  text-decoration-color: #ffc085;
  text-shadow: 0 0 18px rgba(224,160,100,0.18);
}
.game-demo-cta {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.game-demo-testimonials .testimonials-head {
  text-align: center;
}

/* --- TITLE --- */
/* extra top padding so the H1 clears the absolute site header (avoids the cluttered feel) */
.game-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 6% 1.2rem;
}
.game-title {
  font-family: 'Cormorant', serif;
  font-weight: normal;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.02;
  color: #fff;
}
.game-title-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  text-align: center;
}
.game-title-split span {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 1.02;
}
.game-title-split small {
  font-family: 'Geologica', sans-serif;
  font-weight: 200;
  font-size: clamp(0.86rem, 1.45vw, 1.12rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm);
  margin-top: 0.1rem;
}
.game-demo-page .game-head {
  text-align: center;
  padding-bottom: 1.6rem;
}
.game-demo-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  margin: 0;
}
.game-demo-title span {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.9;
}
.game-demo-title small {
  font-family: 'Geologica', sans-serif;
  font-weight: 200;
  font-size: clamp(0.95rem, 1.7vw, 1.28rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm);
}
.game-demo-intro {
  max-width: 720px;
  margin: 1.15rem auto 0;
  font-family: 'Geologica', sans-serif;
  font-weight: 200;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text);
}

/* --- TOP: media (left) + info box (right) ---
   A grid, so the testimonials can follow the info box in the DOM (pitch + story first for
   crawlers) while still showing under the tags in the media column. */
.game-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6% 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  column-gap: 1.5rem;
  align-items: start;
}
.game-media { grid-column: 1; grid-row: 1; min-width: 0; }
.game-info  { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 1rem; }
.game-top > .game-media-testimonials { grid-column: 1; grid-row: 2; min-width: 0; }
/* The sticky box must fit the viewport: unstick it on short screens and while the language table is open. */
@media (min-width: 861px) and (max-height: 760px) {
  .game-info { position: static; }
}
@media (min-width: 861px) {
  .game-info:has(.game-langs[open]) { position: static; }
}

/* --- MEDIA CAROUSEL (Splide: main stage + synced thumbs) --- */
.game-carousel-main {
  margin-bottom: 0.6rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: #000;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 16px 40px rgba(0,0,0,0.18);
}
.game-carousel-main .splide__slide {
  aspect-ratio: 16 / 9;
  background: #000;
}
.game-carousel-main .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* vertical/odd images letterbox instead of cropping */
  display: block;
}
/* before Splide mounts, only show the first slide so it doesn't flash a stacked list */
.game-carousel-main:not(.is-initialized) .splide__list { display: block; }
.game-carousel-main:not(.is-initialized) .splide__slide:not(:first-child) { display: none; }
.game-carousel-main .splide__arrow {
  width: 2.75rem;   /* 44px tap target */
  height: 2.75rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(214,182,160,0.16), rgba(103,55,74,0.2)),
    rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 12px 28px rgba(0,0,0,0.28);
  opacity: 0.88;
  transition: opacity 0.25s, border-color 0.25s, background 0.25s, transform 0.25s;
}
.game-carousel-main .splide__arrow:hover {
  border-color: rgba(214,182,160,0.52);
  background:
    linear-gradient(135deg, rgba(214,182,160,0.24), rgba(128,65,88,0.26)),
    rgba(0,0,0,0.64);
  opacity: 1;
  transform: translateY(-50%) scale(1.04);
}
.game-carousel-main .splide__arrow svg { fill: #fff; }

/* thumbnail strip */
.game-carousel-thumbs { margin-bottom: 0; }
.game-carousel-thumbs .splide__list { justify-content: flex-start; }
.game-carousel-thumbs .splide__slide {
  opacity: 0.5;
  border: 2px solid transparent;
  transition: opacity 0.25s, border-color 0.25s;
  cursor: pointer;
}
.game-carousel-thumbs .splide__slide.is-active { opacity: 1; border-color: var(--warm); }
.game-carousel-thumbs .splide__slide:hover { opacity: 0.85; }
.game-carousel-thumbs .splide__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-carousel-thumbs:not(.is-initialized) { display: none; } /* avoid raw thumb flash pre-mount */

/* play-button overlay on the video thumbnail */
.game-thumb-video { position: relative; }
.game-thumb-video::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.8));
  pointer-events: none;
}

/* Static showcase for games with only a few media assets. Avoids a carousel that feels empty. */
.game-static-media {
  display: grid;
  gap: 0.85rem;
}
.game-static-media figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(0,0,0,0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 16px 40px rgba(0,0,0,0.18);
}
.game-static-media img {
  display: block;
  width: 100%;
  height: auto;
}
.game-static-hero img {
  aspect-ratio: 1920 / 620;
  object-fit: cover;
}
.game-static-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.game-static-grid img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.game-static-media-slime-girl-sticky-love {
  gap: 0.95rem;
}
.game-static-media-slime-girl-sticky-love .game-static-grid {
  grid-template-columns: 1fr;
}

/* info box */
.game-capsule {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1rem;
}
.game-info .game-pitch {
  font-family: 'Geologica', sans-serif;
  font-weight: 300;
  font-size: 0.97rem;
  line-height: 1.65;
  color: #ddd5cc;
  margin-bottom: 1.2rem;
  text-wrap: pretty;   /* no lone "her?" on the last line */
}
.game-info .vm-pitch-story {
  display: block;
  margin-top: 0.85rem;
  font-family: 'Cormorant', serif;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.36;
  color: #e9e0d8;
}
/* Keeps hyphenated keywords ("visual-novel", "point-and-click") on one line in the pitch. */
.game-nowrap { white-space: nowrap; }
/* compact single-line facts: label + value on one row each (saves vertical space) */
.game-facts {
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
  font-family: 'Geologica', sans-serif;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.game-facts li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.game-facts .k {
  flex: 0 0 auto;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--game-label);
}
.game-facts .v { font-size: 0.9rem; color: #e6ded6; text-align: right; }
.game-facts .game-facts-status .v { color: #bbcebd; }
.game-facts .game-status-note {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.78rem;
  color: #a8bfaa;
}
.game-platforms { display: inline-flex; gap: 0.55rem; font-size: 1.05rem; color: var(--text); }

/* Languages row: "27" opens a Steam-style Interface / Subtitles table (inner scroll, styled scrollbar). */
.game-facts .game-facts-langs { display: block; padding: 0; }
.game-langs summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 2.2rem;
  padding: 0.5rem 0;
  list-style: none;
  cursor: pointer;
}
.game-langs summary::-webkit-details-marker { display: none; }
.game-langs summary::marker { content: ''; }
.game-langs summary .v { display: inline-flex; align-items: center; gap: 0.55rem; }
.game-langs summary:hover .v,
.game-langs summary:focus-visible .v { color: #fff; }
.game-langs-chev {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid var(--warm);
  border-bottom: 1.5px solid var(--warm);
  transform: translateY(-0.12rem) rotate(45deg);
  transition: transform 0.2s ease;
}
.game-langs[open] .game-langs-chev { transform: translateY(0.1rem) rotate(-135deg); }
/* Fully supported languages only (interface + story text): a compact two-column list, no scroll. */
.game-langs-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem 1rem;
  margin: 0 0 0.7rem;
  padding: 0.7rem 0.8rem;
  list-style: none;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  background: #110e0d;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--game-card-text);
}
.game-langs-list li { min-width: 0; }

.game-cta-col { display: flex; flex-direction: column; gap: 0.9rem; }
.game-cta-col .vl-cta { width: 100%; }
/* Standalone link: padded to a >=44px tap target, text >=0.8rem at readable contrast. */
.game-changelog-link,
.game-changelog-link:visited {
  display: block;
  width: fit-content;
  margin: 0.35rem auto 0;
  padding: 0.75rem 0.5rem;
  font-size: 0.8rem;
  opacity: 0.85;
  border-bottom: 0;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.16);
  text-underline-offset: 0.3em;
}
.game-changelog-link:hover { opacity: 1; }
/* .game-btn-primary / .game-btn-patreon live in main.css (shared across page types). */

/* --- SECTIONS --- */
.game-section {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 2.5rem 6%;
  isolation: isolate;
}
/* Game pages: every section as wide as the media/info row (the free-demo page keeps its own widths). */
.game-page .game-section { max-width: 1200px; }
.game-faq { max-width: 760px; }
.game-prose::before,
.game-cast::before,
.game-faq::before {
  content: '';
  position: absolute;
  inset: -1.8rem calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
  opacity: 0.58;
  background:
    radial-gradient(circle at 18% 4%, rgba(214,182,160,0.045), transparent 34%),
    linear-gradient(135deg, rgba(214,182,160,0.012), rgba(103,55,74,0.018) 58%, rgba(255,255,255,0.006));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.game-cast::before {
  background:
    radial-gradient(circle at 82% 8%, rgba(128,65,88,0.045), transparent 36%),
    linear-gradient(135deg, rgba(103,55,74,0.016), rgba(214,182,160,0.012) 62%, rgba(255,255,255,0.006));
}
.game-faq::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(214,182,160,0.04), transparent 36%),
    linear-gradient(135deg, rgba(214,182,160,0.012), rgba(103,55,74,0.016) 58%, rgba(255,255,255,0.006));
}
.game-section-title {
  font-family: 'Cormorant', serif;
  font-weight: normal;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.12;
  color: var(--game-heading, #f3ece4);
  margin-bottom: 1.5rem;
  text-align: center;
}
.game-section-sub {
  max-width: 620px;
  margin: -1rem auto 1.3rem;
  text-align: center;
  font-family: 'Geologica', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-soft);
}

/* Balanced wrapping: no single word left alone on the last line of a heading or caption. */
.game-title small,
.game-section-title,
.game-prose h2,
.selling-point-title,
.game-image-pair figcaption { text-wrap: balance; }

/* Section kickers use the shared .vl-kicker / .vl-kicker-center (main.css). */
.game-page .vl-kicker { font-size: 0.78rem; }
.vl-kicker + .game-section-title { margin-top: 0; }

/* --- PROSE (markdown body): as wide as the card grids, larger type on wide screens --- */
.game-prose {
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.1875rem);
  color: var(--game-body);
}
.game-prose h2 {
  font-family: 'Cormorant', serif;
  font-weight: normal;
  font-size: clamp(1.9rem, 2.9vw, 2.6rem);
  line-height: 1.15;
  color: var(--game-heading);
  margin: 2.6rem 0 1rem;
}
.game-prose > h2:first-child,
.game-prose > .vl-kicker + h2 { margin-top: 0; }
/* Section separator: a warm hairline above every section start after the first (a kicker, or a bare
   H2 that has no kicker above it). */
.game-prose > .vl-kicker:not(:first-child),
.game-prose > h2:not(:first-child):not(.vl-kicker + h2) {
  margin-top: 2.4rem;
  padding-top: 2.4rem;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(212,169,138,0.42), rgba(212,169,138,0.08) 55%, transparent) 1;
}
.game-prose h3 {
  font-family: 'Cormorant', serif;
  font-weight: normal;
  color: #fff;
}
/* Comfortable (not airy) leading - readability comes from spacing BETWEEN paragraphs, not tall lines. */
.game-prose p,
.game-prose li { line-height: 1.62; }
.game-prose p { margin: 0 0 1.25rem; }
.game-prose ul { margin: 0 0 1.4rem 1.2rem; list-style: disc; }
.game-prose li { margin-bottom: 0.5rem; }
.game-prose li::marker { color: var(--warm); }
.game-prose strong { color: #f1e9e1; font-weight: 500; }
.game-prose a:not([class]) { color: var(--link); }
/* Inline section illustrations span the text column, so their edges line up with the card grids. */
.game-prose img {
  display: block;
  margin: 2rem auto;
  max-width: 100%;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.2);
}

/* The shared girls strip (main.css .vl-girls) inside the story prose: no section padding of its own,
   and the prose's generic image frame (border, margin, max-width) must not reach the round portraits. */
.game-prose .vl-girls--inline { padding: 1.4rem 0 2.2rem; }
.game-prose .vl-girls--inline .vl-girl-frame img {
  margin: 0;
  max-width: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Story-prose screenshots open full-size (lightbox, see _layouts/game.html): zoom cursor + a soft lift. */
.game-prose a.game-zoom {
  display: block;
  cursor: zoom-in;
  border-radius: 8px;
}
.game-prose a.game-zoom img { transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.game-prose a.game-zoom:hover img,
.game-prose a.game-zoom:focus-visible img {
  transform: translateY(-3px);
  border-color: rgba(212, 169, 138, 0.5);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4), 0 0 24px rgba(212, 169, 138, 0.14);
}
.game-prose a.game-zoom:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .game-prose a.game-zoom img { transition: none; }
  .game-prose a.game-zoom:hover img,
  .game-prose a.game-zoom:focus-visible img { transform: none; }
}

/* Two gameplay screenshots side by side. */
.game-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 1.8rem 0 2.4rem;
}
.game-image-pair figure { margin: 0; }
.game-prose .game-image-pair img {
  max-width: none;
  width: 100%;
  margin: 0;
}
.game-image-pair figcaption {
  margin-top: 0.6rem;
  font-family: 'Geologica', sans-serif;
  font-weight: 300;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--game-label);
  text-align: center;
}

/* Comparison cards: the HEAD gradients over a solid dark base, so the text keeps >10:1 contrast. */
.game-comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.6rem 0 1.8rem;
}
.game-prose .game-comparison-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.2rem 1.2rem 1.1rem;
  border: 1px solid var(--game-card-border);
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 0%, rgba(214,182,160,0.09), transparent 38%),
    linear-gradient(145deg, rgba(214,182,160,0.04), rgba(103,55,74,0.045) 58%, rgba(255,255,255,0.015)),
    var(--game-card-bg);
  color: var(--game-card-text);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.game-prose .game-comparison-card:hover,
.game-prose .game-comparison-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(214,182,160,0.42);
  background:
    radial-gradient(circle at 18% 0%, rgba(214,182,160,0.14), transparent 38%),
    linear-gradient(145deg, rgba(214,182,160,0.06), rgba(103,55,74,0.06) 58%, rgba(255,255,255,0.02)),
    var(--game-card-bg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 16px 34px rgba(0,0,0,0.26);
}
.game-comparison-kicker {
  margin-bottom: 0.4rem;
  font-family: 'Geologica', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm);
}
.game-comparison-card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Cormorant', serif;
  font-weight: normal;
  font-size: 1.5rem;
  line-height: 1.12;
  color: var(--game-heading);
}
.game-comparison-card span:not(.game-comparison-kicker) {
  display: block;
  font-family: 'Geologica', sans-serif;
  font-weight: 300;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--game-card-text);
}
.game-comparison-card em {
  display: block;
  margin-top: auto;
  padding-top: 0.9rem;
  font-family: 'Geologica', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--warm);
}
.game-comparison-card em::after { content: ' →'; }

/* --- "IN SHORT" SUMMARY / CTA BOX (_includes/game-summary.html, after the selling points) --- */
.game-cta-box {
  margin: 2.4rem auto;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(212,169,138,0.22);
  border-radius: 12px;
  background:
    radial-gradient(circle at 16% 0%, rgba(214,182,160,0.12), transparent 38%),
    linear-gradient(145deg, rgba(214,182,160,0.06), rgba(103,55,74,0.08) 58%, rgba(255,255,255,0.025)),
    var(--game-card-bg);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.055),
    0 16px 38px rgba(0,0,0,0.2);
}
.game-cta-box h2 {
  font-family: 'Cormorant', serif;
  font-weight: normal;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  color: var(--warm);
  margin: 0 0 0.6rem;
}
.game-cta-box p { margin: 0 0 1.2rem; line-height: 1.6; color: var(--game-card-text); }
.game-cta-box-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}
.game-cta-box-actions .vl-cta { flex: 1 1 220px; max-width: 280px; }
.game-cta-box-actions .vl-btn { width: 100%; justify-content: center; min-height: 44px; }
.game-cta-box-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  text-align: center;
}
.game-summary .game-cta-box { margin: 0 auto; }
.game-cta-box-media img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}

/* --- SELLING POINTS (universal 4-point pitch, shared data + per-game blurb) --- */
.selling-points-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.selling-point {
  position: relative;
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--game-card-border);
  border-radius: 12px;
  background:
    radial-gradient(circle at 14% 0%, rgba(214,182,160,0.07), transparent 42%),
    linear-gradient(145deg, rgba(214,182,160,0.035), rgba(103,55,74,0.07) 60%, rgba(255,255,255,0.012)),
    var(--game-card-bg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.selling-point::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 1.7rem;
  width: 3rem;
  height: 2px;
  background: var(--warm);
}
.selling-point-title {
  margin: 0 0 0.55rem;
  font-family: 'Cormorant', serif;
  font-weight: normal;
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--game-heading);
}
.selling-point-body {
  margin: 0;
  font-family: 'Geologica', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--game-card-text);
}

/* --- GIRL CARDS (transparent 16:9 art with searchable HTML text overlay) --- */
.game-cast-cards {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  max-width: 920px;
  margin: 0 auto;
}
.game-cast-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  transition: transform 0.35s ease, filter 0.35s ease;
  transform-origin: center;
}
.game-cast-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,0.36));
}
.game-cast-link:hover,
.game-cast-link:focus-visible {
  transform: scale(1.025);
  filter: brightness(1.06);
}
.game-cast-copy {
  position: absolute;
  z-index: 2;
  top: 35%;
  bottom: 13%;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.18rem, 0.55vw, 0.42rem);
  padding: 0 clamp(1rem, 3.2vw, 2.4rem);
  pointer-events: none;
}
/* Soft dark scrim behind the copy (the card art's bokeh gets light); it fades out before the box
   edges, so no visible rectangle. The copy is a positioned z-index layer, so z-index:-1 stays inside it. */
.game-cast-copy::before {
  content: '';
  position: absolute;
  inset: -2rem -3.5rem;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(10,8,8,0.52), rgba(10,8,8,0.4) 60%, transparent);
}
.game-cast-left .game-cast-copy {
  left: 31%;
  text-align: left;
  align-items: flex-start;
}
.game-cast-right .game-cast-copy {
  right: 31%;
  text-align: right;
  align-items: flex-end;
}
.game-cast-name {
  display: block;
  font-family: 'Cormorant', serif;
  font-size: clamp(1.9rem, 5vw, 4.45rem);
  line-height: 0.9;
  color: #fff;
  text-shadow: 0 3px 18px rgba(0,0,0,0.65);
}
.game-cast-epithet {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.35rem, 0.8vw, 0.65rem);
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-weight: normal;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}
.game-cast-right .game-cast-epithet { flex-direction: row-reverse; }
.game-cast-epithet img {
  flex: 0 0 auto;
  width: clamp(34px, 6.5vw, 72px);
  height: auto;
  opacity: 0.9;
}
.game-cast-desc {
  display: block;
  max-width: 26em;
  font-family: 'Geologica', sans-serif;
  font-weight: 300;
  font-size: clamp(0.8rem, 1.45vw, 1.02rem);
  line-height: 1.45;
  color: #efe6de;
  text-shadow: 0 2px 12px rgba(0,0,0,0.75);
}

/* --- FAQ --- */
.game-faq-category {
  margin: 2.2rem 0 0.8rem;
  font-family: 'Geologica', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm);
}
.game-faq-category:first-child,
.game-section-title + .game-faq-category { margin-top: 0; }
.faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0;
  margin-bottom: 0.7rem;
  background:
    linear-gradient(135deg, rgba(214,182,160,0.035), rgba(103,55,74,0.045) 58%, rgba(255,255,255,0.014)),
    #131010;
  overflow: hidden;
  transition: border-color 0.28s, background 0.28s, box-shadow 0.28s;
}
.faq-item:hover,
.faq-item[open] {
  border-color: rgba(214,182,160,0.26);
  background:
    linear-gradient(135deg, rgba(214,182,160,0.065), rgba(103,55,74,0.075) 58%, rgba(255,255,255,0.018)),
    #131010;
  box-shadow: 0 14px 34px rgba(0,0,0,0.14);
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.95rem 1rem;
  font-family: 'Geologica', sans-serif;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.45;
  color: #ebe3da;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::marker, .faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '+';
  flex: 0 0 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.12rem;
  border-radius: 999px;
  color: var(--warm);
  background: rgba(214,182,160,0.1);
  transition: transform 0.28s, background 0.28s;
}
.faq-item[open] summary::before {
  background: rgba(214,182,160,0.18);
  transform: rotate(45deg);
}
.faq-item p {
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #d8d0c7;
  margin: 0;
  padding: 0 1.1rem 1.1rem 2.75rem;
  animation: faqReveal 0.24s ease;
}
.faq-item p a { color: var(--link); }

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- TAGS (low prominence, sit under the visuals in the media column) --- */
.game-tags-section { margin: 1rem 0 0; }
.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}
.game-tag {
  font-family: 'Geologica', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.3px;
  color: #d6cdc4;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    linear-gradient(135deg, rgba(214,182,160,0.09), rgba(103,55,74,0.12)),
    rgba(255,255,255,0.03);
  padding: 3px 9px;
  border-radius: 999px;
}

/* --- TESTIMONIALS inside the media column (rendered directly under the tags) ---
   Readability first: full-width track (the arrows sit in the heading row, not beside the cards), a calm
   near-solid dark card (the warm sheen stays faint so the text keeps >12:1), brighter quote text and a
   clear author line pinned to the card bottom. The card styling is shared with the free-demo page
   (.game-demo-testimonials); the heading-row arrow layout stays game-page only (the demo head is centered). */
.game-media-testimonials { margin-top: 2.5rem; }
.game-media-testimonials .testimonials { position: relative; max-width: 100%; }
.game-media-testimonials .testimonials-head {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 1rem;
  padding-right: 6.5rem;   /* room for the two arrows */
}
.game-media-testimonials .testimonials-title {
  font-size: clamp(1.6rem, 2.1vw, 2rem);
  line-height: 1.15;
  text-align: left;
  color: var(--game-heading);
}
.game-media-testimonials .testimonials-frame { display: block; }
.game-media-testimonials .testimonial-control {
  position: absolute;
  top: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0.15rem;
  border-color: rgba(255,255,255,0.16);
  background: #171312;
  color: var(--warm);
  font-size: 2.2rem;
}
.game-media-testimonials .testimonial-control-prev { right: 52px; }
.game-media-testimonials .testimonial-control-next { right: 0; }
.game-media-testimonials .testimonial { flex-basis: calc((100% - 1rem) / 2); }
:is(.game-media-testimonials, .game-demo-testimonials) .testimonial {
  gap: 1.1rem;
  padding: 1.35rem 1.45rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(214,182,160,0.055), rgba(214,182,160,0) 42%),
    linear-gradient(145deg, rgba(103,55,74,0) 55%, rgba(103,55,74,0.1)),
    #161211;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
:is(.game-media-testimonials, .game-demo-testimonials) .testimonial-quote {
  font-size: 1.02rem;
  line-height: 1.62;
  color: #efe7de;
}
:is(.game-media-testimonials, .game-demo-testimonials) .testimonial-quote::before {
  content: '“';
  display: block;
  height: 1.25rem;
  margin: -0.15rem 0 0.4rem;
  font-size: 3.2rem;
  line-height: 1;
}
:is(.game-media-testimonials, .game-demo-testimonials) .testimonial-by {
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
:is(.game-media-testimonials, .game-demo-testimonials) .testimonial-id { gap: 0.2rem; }
:is(.game-media-testimonials, .game-demo-testimonials) .testimonial-author {
  font-weight: normal;
  font-size: 0.92rem;
  color: var(--game-heading, #f3ece4);
}
/* Source + "Translated from …" note: legible size and contrast (main.css default is 0.7rem dim). */
:is(.game-media-testimonials, .game-demo-testimonials) .testimonial-source {
  font-size: 0.78rem;
  line-height: 1.35;
  color: #c3b9af;
}
:is(.game-media-testimonials, .game-demo-testimonials) .testimonial-translated { font-style: italic; }

@media (max-width: 560px) {
  .game-media-testimonials .testimonial { flex-basis: 100%; }
}

/* --- MAIN ADVENTURE CARD (shown on Velvet Chronicles side-game pages) --- */
.game-main-adventure {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto 3rem;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(214,182,160,0.06), rgba(103,55,74,0.09) 58%, rgba(255,255,255,0.02)),
    #141110;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 14px 34px rgba(0,0,0,0.18);
}
.game-main-adventure-art {
  display: block;
  line-height: 0;
  margin: -1.25rem -1.25rem 0;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.game-main-adventure-art img {
  width: 100%;
  aspect-ratio: 3840 / 1240;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.game-main-adventure-art:hover img,
.game-main-adventure-art:focus-visible img {
  transform: scale(1.03);
}
.game-main-adventure-copy {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 1.45rem 0 0;
  text-align: center;
}
.game-main-adventure-tag {
  font-family: 'Geologica', sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: var(--warm);
  margin: 0 0 0.3rem;
}
.game-main-adventure h2 {
  font-family: 'Cormorant', serif;
  font-weight: normal;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 0.6rem;
  line-height: 1.1;
}
.game-main-adventure h2 a {
  color: #fff;
  text-decoration: none;
}
.game-main-adventure h2 a:hover { color: var(--warm); }
.game-main-adventure-copy > p {
  font-family: 'Geologica', sans-serif;
  font-weight: 300;
  color: var(--game-card-text);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 1.15rem;
}
.game-main-adventure-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 0.75rem;
}
.game-main-adventure-actions .vl-cta {
  flex: 1 1 210px;
  max-width: 230px;
}
.game-main-adventure-actions .vl-cta:first-child {
  flex-basis: 330px;
  max-width: 360px;
}
.game-main-adventure-actions .vl-btn {
  width: 100%;
}
.game-main-adventure-actions .vl-cta:not(:first-child) .vl-btn {
  --vl-btn-glow: rgba(214,182,160,0.08);
  opacity: 0.86;
}
.game-main-adventure-actions .vl-cta:not(:first-child) .vl-btn:hover {
  opacity: 1;
}

/* --- BOTTOM CTA ROW --- */
.game-cta-bottom {
  display: flex;
  gap: 1.1rem 1rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-bottom: 4rem;
}
.game-cta-bottom .vl-cta { flex: 0 0 auto; min-width: 11.5rem; }
.game-cta-bottom .vl-cta .vl-btn { width: 100%; min-height: 44px; white-space: nowrap; }

/* --- TABLET / MOBILE --- */
@media screen and (max-width: 860px) {
  .game-top { grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; }
  /* On mobile, lead with the info column (capsule + short description + facts), THEN the visuals. */
  .game-info { grid-column: 1; grid-row: 1; width: 100%; position: static; }
  .game-media { grid-row: 2; }
  .game-top > .game-media-testimonials { grid-row: 3; margin-top: 1rem; }
  .game-cast-cards { gap: 1rem; }
  .game-cast-copy { top: 34%; bottom: 14%; width: 61%; }
  .game-cast-left .game-cast-copy { left: 33%; }   /* names clear the figure */
  .game-cast-right .game-cast-copy { right: 33%; }
  .game-cast-desc { display: none; }   /* the text stays in the HTML for crawlers */
  .game-comparison-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .selling-points-grid { grid-template-columns: 1fr; }
  .game-main-adventure {
    margin-bottom: 2.2rem;
    padding: 1rem;
  }
  .game-main-adventure-art { margin: -1rem -1rem 0; }
  .game-main-adventure-copy { padding-top: 1.25rem; }
  .game-main-adventure-actions .vl-cta,
  .game-main-adventure-actions .vl-cta:first-child {
    flex-basis: 100%;
    max-width: 100%;
  }
}
@media screen and (max-width: 640px) {
  .game-image-pair,
  .game-comparison-grid { grid-template-columns: 1fr; }
  .game-cta-box { padding: 1.1rem; }
  .game-cta-bottom { flex-direction: column; align-items: stretch; }
  .game-cta-bottom .vl-cta { flex-basis: auto; width: 100%; }
}
@media screen and (max-width: 560px) {
  .game-cast-copy {
    top: 36%;
    bottom: 13%;
    width: 62%;
    padding: 0 1rem;
  }
  .game-cast-copy::before { inset: -1rem -0.75rem; }   /* stays inside the viewport (no side scroll) */
  /* Phones keep the original offsets: the 1.15rem epithet needs the width, and the scrim covers the overlap. */
  .game-cast-left .game-cast-copy { left: 30%; }
  .game-cast-right .game-cast-copy { right: 30%; }
  .game-cast-name { font-size: clamp(1.55rem, 8vw, 2.5rem); }
  /* The flourish image goes on phones to make room for a readable epithet. */
  .game-cast-epithet { font-size: 1.15rem; }
  .game-cast-epithet img { display: none; }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  .game-page *,
  .game-page *::before,
  .game-page *::after {
    transition: none !important;
    animation: none !important;
  }
  .game-page .game-comparison-card:hover,
  .game-page .game-cast-link:hover { transform: none; }
}
