/* ========================================
   NullPo Works - Game detail page
   Built on css/base.css tokens. Reusable for other game pages.
   ======================================== */

.game-page{
  padding-top: calc(var(--header-h) + 54px);
  padding-bottom: 100px;
}
.game-page .wrap{ max-width: 1000px; }

/* ---------- Hero ---------- */
.game-hero{ margin-bottom: 8px; }
.game-hero-head{
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}
.game-icon{
  width: 112px;
  height: 112px;
  flex: none;
  border-radius: 25px;
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 56px -22px var(--accent-glow), 0 4px 16px rgba(0,0,0,0.55);
}
.game-hero-text{ flex: 1 1 320px; min-width: 0; }
.game-title{
  font-family: var(--disp);
  font-weight: 800;
  line-height: 1.06;
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: -0.02em;
  margin: 0.3em 0 0.3em;
}
.game-title .sub{
  display: block;
  font-size: 0.46em;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-dim);
  margin-top: 0.4em;
}
.game-catch{
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.02rem, 2.4vw, 1.22rem);
  line-height: 1.6;
  color: var(--accent);
  margin: 0;
}

/* meta chips */
.game-meta{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip{
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--ink-dim);
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.02);
  white-space: nowrap;
}

/* CTA row */
.game-cta{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Generic section ---------- */
.game-section{ margin-top: 60px; }
.game-h2{
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.game-section > p{ color: var(--ink-dim); line-height: 1.95; margin: 0 0 1.1em; }
.game-section > p:last-child{ margin-bottom: 0; }

/* intro split (text + featured shot) */
.game-intro{
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 36px;
  align-items: center;
}
.game-intro-text p{ color: var(--ink-dim); line-height: 1.95; margin: 0 0 1.1em; }
.game-intro-text p:last-child{ margin-bottom: 0; }
.game-intro-shot{ display: flex; justify-content: center; }
.game-intro-shot img{
  width: 100%;
  max-width: 260px;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  box-shadow: 0 26px 64px -26px rgba(0,0,0,0.75);
}

/* features */
.feature-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.feature-list li{
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  line-height: 1.7;
}
.feature-list li::before{
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 11px;
  height: 11px;
  transform: rotate(45deg);
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* screenshots strip */
.shots{
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shots::-webkit-scrollbar{ height: 8px; }
.shots::-webkit-scrollbar-thumb{ background: var(--line-2); border-radius: 99px; }
.shots .shot{
  flex: none;
  width: min(48vw, 218px);
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  scroll-snap-align: start;
}

/* download / stores */
.store-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.store-card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.store-card h3{
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 14px;
}
.store-btn{ width: 100%; justify-content: center; }
.store-note{ font-size: 0.82rem; color: var(--ink-faint); margin: 12px 0 0; line-height: 1.65; }
.store-note code{ font-family: var(--mono); font-size: 0.92em; color: var(--ink-dim); }
.closed-test-note{
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--ink);
  background: rgba(230,180,80,0.08);
  border: 1px solid rgba(230,180,80,0.32);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

/* legal / back */
.game-legal{ margin-top: 52px; color: var(--ink-faint); font-size: 0.9rem; line-height: 1.7; }
.game-legal a,
.game-back a{ color: var(--ink-dim); text-decoration: underline; text-underline-offset: 3px; }
.game-legal a:hover,
.game-back a:hover{ color: var(--accent); }
.game-back{ margin-top: 18px; font-family: var(--mono); font-size: 0.85rem; }

/* responsive */
@media (max-width: 760px){
  .game-intro{ grid-template-columns: 1fr; gap: 24px; }
  .game-intro-shot img{ max-width: 240px; }
  .store-grid{ grid-template-columns: 1fr; }
  .game-hero-head{ gap: 20px; }
  .game-icon{ width: 92px; height: 92px; border-radius: 21px; }
}

/* official-style store badges */
.store-badge{
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 186px;
  padding: 9px 18px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 11px;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.store-badge:hover{ border-color: rgba(255,255,255,0.65); transform: translateY(-1px); }
.store-badge[aria-disabled="true"]{ opacity: 0.5; pointer-events: none; }
.store-badge-logo{ width: 26px; height: 26px; flex: none; }
.store-badge-text{ display: flex; flex-direction: column; line-height: 1.1; }
.store-badge-text small{ font-size: 0.62rem; font-weight: 500; letter-spacing: 0.01em; opacity: 0.9; }
.store-badge-text strong{ font-size: 1.16rem; font-weight: 600; letter-spacing: 0.01em; font-family: var(--sans); }
