/* ==========================================================================
   IN7 GAME — Individual game detail page
   Art hero • spec rail • how-to-play • strategy • related strip
   ========================================================================== */

.gd-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(30px, 3.4vw, 56px) clamp(44px, 5vw, 82px);
  background:
    radial-gradient(760px 380px at 80% -10%, rgba(203, 159, 42, 0.2), transparent 62%),
    radial-gradient(700px 340px at 4% 90%, rgba(193, 26, 50, 0.1), transparent 60%),
    var(--grad-canvas);
}

.gd-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(26px, 3.6vw, 58px);
  align-items: center;
}

/* --- Art tile --- */
.gd-art {
  position: relative;
  border-radius: var(--r-xl);
  padding: 9px;
  background: var(--grad-gold);
  box-shadow: 0 28px 60px -18px rgba(11, 10, 11, 0.34), var(--shadow-gold-glow);
  transform: rotate(-1.6deg);
  transition: transform 0.7s var(--ease-out);
  max-width: 400px;
  margin-inline: auto;
}

.gd-art:hover { transform: rotate(0deg) translateY(-6px); }

.gd-art__inner {
  position: relative;
  border-radius: calc(var(--r-xl) - 7px);
  overflow: hidden;
  background: #0B0A0B;
  aspect-ratio: 1;
}

.gd-art img { width: 100%; height: 100%; object-fit: cover; }

.gd-art__shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.gd-art__shine::before {
  content: "";
  position: absolute;
  top: -40%; left: 0;
  width: 38%; height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  animation: shimmerSweep 6s var(--ease-in-out) 1.4s infinite;
}

.gd-art__tag {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  z-index: 4;
  white-space: nowrap;
}

/* --- Header copy --- */
.gd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--sp-4);
}

.gd-hero h1 { font-size: clamp(1.9rem, 1.24rem + 2.5vw, 3rem); margin-bottom: var(--sp-3); }
.gd-hook { font-size: var(--fs-lead); color: var(--color-text-muted); line-height: 1.75; max-width: 58ch; }

.gd-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px;
  margin-block: var(--sp-5);
}

.gd-stat {
  padding: 14px 15px;
  border-radius: var(--r-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-soft);
}

.gd-stat span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 5px;
}

.gd-stat b {
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--color-black);
  letter-spacing: -0.015em;
}

@media (max-width: 900px) {
  .gd-hero__inner { grid-template-columns: 1fr; }
  .gd-art { order: -1; max-width: 300px; }
}

/* --- Feature list --- */
.gd-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  gap: var(--sp-4);
}

.gd-feature {
  display: flex;
  gap: 14px;
  padding: var(--sp-5);
  border-radius: var(--r-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-soft);
  transition: all var(--dur-base) var(--ease-out);
}

.gd-feature:hover { border-color: var(--color-gold); transform: translateY(-4px); }

.gd-feature__ic {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--color-gold-tint);
  color: var(--color-crimson);
}

.gd-feature__ic svg { width: 20px; height: 20px; }
.gd-feature h3 { font-size: 0.98rem; margin-bottom: 5px; }
.gd-feature p { font-size: var(--fs-sm); color: var(--color-text-muted); margin: 0; }

/* --- How to play (numbered horizontal) --- */
.howto {
  counter-reset: hstep;
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
}

.howto__item {
  position: relative;
  padding: var(--sp-5) var(--sp-5) var(--sp-5) 0;
}

.howto__item::before {
  counter-increment: hstep;
  content: "0" counter(hstep);
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.howto__item::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 42px; height: 3px;
  border-radius: 3px;
  background: var(--grad-gold);
}

.howto__item h3 { font-size: 1rem; margin-bottom: 6px; }
.howto__item p { font-size: var(--fs-sm); color: var(--color-text-muted); margin: 0; }

/* --- Tip list --- */
.tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }

.tips li {
  display: flex;
  gap: 13px;
  margin: 0;
  padding: 15px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(238, 222, 159, 0.18);
  font-size: var(--fs-sm);
  color: var(--color-text-inverse-muted);
}

.tips svg { width: 19px; height: 19px; flex: none; color: var(--color-gold); margin-top: 2px; }
.tips b { color: #fff; }

/* --- Related strip --- */
.related-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
  gap: var(--sp-4);
}

/* --- Sticky play bar on mobile --- */
.gd-sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 11px var(--gutter);
  background: rgba(255, 253, 247, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 26px rgba(11, 10, 11, 0.1);
}

.gd-sticky__txt { min-width: 0; flex: 1; line-height: 1.3; }
.gd-sticky__txt b { display: block; font-family: var(--font-display); font-size: 0.9rem; color: var(--color-black); }
.gd-sticky__txt span { font-size: 0.7rem; color: var(--color-text-muted); }

@media (max-width: 720px) {
  .gd-sticky { display: flex; }
  body.has-sticky-bar { padding-bottom: 76px; }
}
