/* Claims & Caverns press kit — static build (mirrors app/globals.css) */

:root {
  --ink: #f8f4e8;
  --muted: #bdb7a8;
  --coal: #0a0b0e;
  --panel: #14161b;
  --line: #2d3038;
  --gold: #ffc928;
  --gold-deep: #e49a11;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--coal);
}

body {
  margin: 0;
  background: radial-gradient(circle at 85% 30%, rgba(84, 46, 21, 0.18), transparent 32rem), var(--coal);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1, h2, h3, p, dl, dd, ul {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

a { color: inherit; }

.topbar {
  position: absolute;
  z-index: 10;
  top: 22px;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 8px 10px 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 9, 12, 0.7);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}
.wordmark { display: inline-flex; gap: 9px; align-items: center; color: var(--gold); font-weight: 900; letter-spacing: -0.03em; text-decoration: none; }
.wordmark span { color: var(--ink); font-size: 0.86rem; font-weight: 700; letter-spacing: 0; }
.nav-links { display: flex; justify-content: center; gap: 24px; }
.nav-links a, footer a { color: #d4cfc3; font-size: 0.86rem; font-weight: 700; text-decoration: none; }
.nav-links a:hover, footer a:hover, .text-link:hover { color: var(--gold); }
.nav-steam { display: inline-flex; min-height: 40px; align-items: center; padding: 0 17px; border-radius: 999px; color: #1b1300; background: var(--gold); font-size: 0.86rem; font-weight: 900; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero { min-height: 720px; position: relative; display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 7, 10, 0.96) 0%, rgba(6, 7, 10, 0.7) 37%, rgba(6, 7, 10, 0.12) 72%), linear-gradient(0deg, rgba(6, 7, 10, 0.92), transparent 55%); }
.hero-content { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 136px 0 80px; position: relative; z-index: 1; }
.eyebrow, .section-kicker { margin: 0 0 14px; color: var(--gold); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.game-logo { width: min(560px, 78vw); height: auto; margin-left: -18px; filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.55)); }
.hero-copy { max-width: 620px; margin: 8px 0 0; font-size: clamp(1.2rem, 2vw, 1.65rem); line-height: 1.45; color: #eee8db; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button svg { width: 18px; height: 18px; margin-right: 9px; fill: currentColor; flex: 0 0 auto; }
.button span, .download-pill span { margin-right: 8px; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.button-primary { color: #1b1300; background: linear-gradient(135deg, var(--gold), var(--gold-deep)); }
.button-secondary { background: rgba(16, 18, 22, 0.78); border-color: #68645d; }
.page-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 120px; }
.intro-grid { display: grid; grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.65fr); gap: 22px; }
.panel, .placeholder-section { border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(28, 30, 36, 0.95), rgba(15, 17, 21, 0.96)); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2); }
.panel { padding: clamp(28px, 4vw, 46px); }
h2, h3, p { text-wrap: pretty; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -0.04em; }
h3 { margin: 34px 0 14px; font-size: 1.05rem; }
.facts-list { display: grid; gap: 0; margin: 34px 0 0; }
.facts-list div { padding: 18px 0; border-top: 1px solid var(--line); }
.facts-list dt { margin-bottom: 5px; color: var(--muted); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.facts-list dd { margin: 0; font-size: 1.04rem; font-weight: 700; }
.contact-block { display: grid; gap: 6px; margin-top: 24px; padding: 18px; border: 1px solid rgba(255, 201, 40, 0.3); border-radius: 14px; background: rgba(255, 201, 40, 0.06); }
.contact-block span { color: var(--muted); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-block a { color: var(--gold); font-weight: 800; text-underline-offset: 4px; }
.lede { max-width: 760px; margin: 26px 0 0; color: #d7d1c4; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.7; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.feature-list li { position: relative; padding: 17px 18px 17px 42px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.025); color: #d7d1c4; line-height: 1.55; }
.feature-list li::before { content: "✦"; position: absolute; left: 17px; color: var(--gold); }
.placeholder-section { margin-top: 22px; padding: clamp(34px, 5vw, 56px); }
.placeholder-section p:last-child { color: var(--muted); }

.media-section, .download-section { padding-top: 110px; scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-summary { max-width: 680px; margin: 18px 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.text-link { flex: 0 0 auto; color: #ddd7ca; font-weight: 800; text-decoration: none; }
.download-pill { display: inline-flex; flex: 0 0 auto; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid #68645d; border-radius: 999px; background: rgba(16, 18, 22, 0.78); font-size: 0.86rem; font-weight: 800; text-decoration: none; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.download-pill:hover { transform: translateY(-2px); border-color: #8a8578; background: rgba(255, 255, 255, 0.06); }
.video-frame { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #050505; box-shadow: 0 34px 100px rgba(0, 0, 0, 0.36); aspect-ratio: 16 / 9; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.video-title { margin: 0 0 12px; color: var(--muted); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.video-download { margin-top: 12px; display: flex; }
.screenshot-grid, .key-art-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.image-card, .brand-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); text-decoration: none; box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18); }
.image-card { display: block; }
.image-card img { display: block; width: 100%; height: auto; transition: transform 300ms ease, filter 300ms ease; }
.image-card:hover img { transform: scale(1.018); filter: brightness(1.06); }
.image-card > span, .brand-card > span { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 52px; padding: 0 18px; border-top: 1px solid var(--line); color: #d8d2c4; font-size: 0.84rem; font-weight: 800; }
.screenshot-card img { aspect-ratio: 16 / 9; object-fit: cover; }
.key-art-preview { height: 340px; display: grid; place-items: center; overflow: hidden; background: #07080a; }
.key-art-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, 0.8fr); gap: 18px; }
.brand-card { display: grid; grid-template-rows: 1fr auto; }
.transparency-grid { min-height: 340px; display: grid; place-items: center; padding: clamp(24px, 5vw, 64px); background-color: #202226; background-image: linear-gradient(45deg, #292c31 25%, transparent 25%), linear-gradient(-45deg, #292c31 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #292c31 75%), linear-gradient(-45deg, transparent 75%, #292c31 75%); background-position: 0 0, 0 12px, 12px -12px, -12px 0; background-size: 24px 24px; }
.transparency-grid img { width: 100%; height: auto; max-height: 430px; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.42)); }
.brand-card-mark .transparency-grid img { max-width: 310px; }
.character-strip { position: relative; height: 420px; margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(circle at 60% 50%, #20242a, #08090b 68%); }
.character-strip img { width: 100%; height: 100%; object-fit: contain; }
.download-section { display: grid; grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.5fr); align-items: end; gap: 48px; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.download-grid a { min-height: 102px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.025); text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }
.download-grid a:hover { transform: translateY(-2px); border-color: var(--gold); background: rgba(255, 201, 40, 0.05); }
.download-grid a > span:first-child { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 10px; color: #211500; background: var(--gold); font-size: 0.72rem; font-weight: 900; }
.download-grid a > span:last-child { color: var(--gold); font-size: 1.25rem; }
.download-grid strong { font-size: 0.95rem; }
footer { min-height: 180px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin-top: 120px; padding-top: 38px; border-top: 1px solid var(--line); color: var(--muted); }
footer img { width: 180px; height: auto; }
footer p { font-size: 0.82rem; }
footer div { display: flex; gap: 20px; }

@media (max-width: 820px) {
  .topbar { top: 12px; width: calc(100% - 24px); grid-template-columns: 1fr auto; padding-left: 16px; }
  .nav-links { display: none; }
  .hero { min-height: 640px; }
  .hero-art { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(6, 7, 10, 0.9), rgba(6, 7, 10, 0.24)), linear-gradient(0deg, rgba(6, 7, 10, 0.97), rgba(6, 7, 10, 0.12) 75%); }
  .hero-content { width: min(100% - 32px, 640px); padding-bottom: 48px; }
  .page-shell { width: min(100% - 32px, 640px); padding-top: 42px; }
  .intro-grid, .feature-list, .screenshot-grid, .key-art-grid, .brand-grid, .download-section, .video-grid { grid-template-columns: 1fr; }
  .media-section, .download-section { padding-top: 76px; }
  .section-heading { align-items: start; flex-direction: column; }
  .key-art-preview { height: 260px; }
  .transparency-grid { min-height: 260px; }
  .character-strip { height: 300px; }
  footer { grid-template-columns: 1fr; align-items: start; padding: 46px 0 24px; }
  footer p { margin: 0; }
}

@media (max-width: 500px) {
  .wordmark span { display: none; }
  .hero { min-height: 590px; }
  .hero-content { padding-top: 120px; }
  .game-logo { width: 92vw; margin-left: -12px; }
  .button { width: 100%; }
  .download-grid { grid-template-columns: 1fr; }
}

/* Lightbox — mobile-first: never overflow the viewport */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
  background: rgba(5, 6, 8, 0.92);
  overscroll-behavior: none;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  display: block;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 12, 15, 0.7);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.12); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 12, 15, 0.7);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 160ms ease, opacity 160ms ease;
}
.lightbox-nav[hidden],
.lightbox-count[hidden] { display: none; }
.lightbox-nav:hover:not(:disabled) { background: rgba(255, 255, 255, 0.12); }
.lightbox-nav:disabled { opacity: 0.35; cursor: default; }
.lightbox-prev { left: max(10px, env(safe-area-inset-left)); }
.lightbox-next { right: max(10px, env(safe-area-inset-right)); }
.lightbox-count {
  position: absolute;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(10, 12, 15, 0.7);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .lightbox { padding: 24px; }
}

/* Screenshot carousel — vertical, two at a time (mobile-first) */
.screenshot-carousel {
  overflow: hidden;
  position: relative;
}
.carousel-track {
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}
.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #68645d;
  border-radius: 999px;
  background: rgba(16, 18, 22, 0.78);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}
.carousel-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: #8a8578;
  background: rgba(255, 255, 255, 0.06);
}
.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.carousel-count {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  min-width: 88px;
  text-align: center;
}
