/* Product pages (games, Academia MAU): hero, features, shots, price, prose. Loaded after style.css; reuses its tokens. */

/* Page hero: a shorter night band with a violet glow */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(20px, 4vw, 40px) 0 clamp(44px, 6vw, 80px);
  background:
    radial-gradient(55% 70% at 85% 10%, rgba(124, 77, 255, .34), transparent 70%),
    radial-gradient(45% 60% at 0% 100%, rgba(143, 208, 255, .12), transparent 70%),
    var(--bg);
}
.page-hero h1 { max-width: 22ch; margin: 0 0 16px; }
.page-hero .lead { margin: 0 0 22px; }
.page-hero .updated { margin: 0; color: var(--muted); }
.alt-lang { margin: 18px 0 0; }
.alt-lang a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 700; }

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 12px; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: "›"; margin: 0 10px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* Game hero: text and key art side by side on wide screens */
.game-hero { display: grid; gap: 36px; align-items: center; }
@media (min-width: 860px) { .game-hero { grid-template-columns: 1fr minmax(0, 360px); gap: 64px; } }
.game-art { width: min(100%, 340px); margin: 0 auto; }
.game-art img { width: 100%; border-radius: 28px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 80px rgba(124, 77, 255, .45); }
.promo { max-width: 52ch; margin: 0 0 22px; color: var(--muted); }

.promises { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.promises li {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface); font-size: .95rem; font-weight: 600;
}
.promises li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* Feature groups from the store description */
.intro { max-width: 62ch; }
.features { display: grid; gap: 20px; margin: 36px 0 0; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 22px 24px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.feature-key { border-color: var(--star); }
.feature ul, .ticks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.feature li, .ticks li { position: relative; padding-left: 22px; }
.feature li::before, .ticks li::before {
  content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px;
  border-radius: 2px; background: var(--star); transform: rotate(45deg);
}

/* Screenshot strip: scrolls sideways, snaps to each shot */
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 64vw, 270px); gap: 18px;
  margin: 28px 0 0; padding: 4px 4px 18px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-color: var(--line) transparent;
}
.shots li { scroll-snap-align: start; }
.shots img { width: 100%; border: 1px solid var(--line); border-radius: 22px; background: #1b1150; box-shadow: var(--shadow); }
.hint { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }

/* App preview video and price card */
.play { display: grid; gap: 40px; align-items: start; }
@media (min-width: 860px) { .play { grid-template-columns: minmax(0, 340px) 1fr; gap: 64px; } }
.preview { width: min(100%, 320px); margin: 0 auto; }
.preview video {
  display: block; width: 100%; height: auto; aspect-ratio: 444 / 960; border-radius: 26px; background: #140e36;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 70px rgba(124, 77, 255, .35);
}
.preview figcaption { margin-top: 12px; color: var(--muted); font-size: .95rem; text-align: center; }
.info-card { margin-top: 24px; }
.info-card .note { margin: 16px 0 0; color: var(--muted); }
.play .cta { margin-top: 24px; }

/* Games list (the card itself lives in style.css, shared with the home page) */
.game-card .promises { margin-bottom: 22px; }
.more { margin: 32px 0 0; color: var(--muted); }

/* Privacy and support text */
.prose { max-width: 760px; }
.prose-card { padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.prose-card + .prose-card { margin-top: 24px; }
.prose h2 { margin: 30px 0 10px; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--accent); font-weight: 600; }
.prose .ticks { margin: 0 0 8px; }
.related { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.related a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 700; }

/* Academia MAU: the warm variant of the product pages */
.page-hero.warm-zone {
  background: var(--wz-bg);
  --ink: var(--wz-ink); --muted: var(--wz-muted); --line: var(--wz-line); --surface: rgba(255, 255, 255, .08);
}
@media (prefers-color-scheme: light) {
  .page-hero.warm-zone { --surface: rgba(255, 255, 255, .6); }
  .page-hero.warm-zone h1 { text-shadow: none; }
}
.mau-art { width: min(100%, 300px); margin: 0 auto; }
.mau-art img { width: 100%; height: auto; filter: drop-shadow(0 26px 34px rgba(255, 150, 50, .35)); }
.shots-wide { grid-auto-columns: clamp(280px, 84vw, 560px); }
.shots-wide img { border-radius: 18px; background: #fff3e6; }
.wardrobe { margin: 44px 0 0; text-align: center; }
.wardrobe ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.wardrobe img { width: auto; height: clamp(108px, 17vw, 170px); }
.wardrobe figcaption { margin-top: 14px; color: var(--muted); }
.info-wrap > * { max-width: 780px; }
.page-hero.warm-zone .eyebrow { color: var(--wz-accent); }
.page-hero.warm-zone .eyebrow .spark { background: var(--wz-accent); }
.page-hero.warm-zone .lead { color: var(--wz-ink); }
