/* ══════════════════════════════════════
   GAME OVERVIEW PAGE — game.css
══════════════════════════════════════ */

/* ── Hero ── */
.game-hero .split {
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.game-hero__copy h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  letter-spacing: -0.065em;
  margin-bottom: 1.25rem;
}

/* App store card */
.game-hero__card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  overflow: hidden;
}

.game-hero__card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.375rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.game-hero__card-header img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.game-hero__card-name {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
}

.game-hero__card-tag {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.2rem;
}

.game-hero__card-rating {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--yellow);
  margin-top: 0.35rem;
}

.game-hero__card-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* ── About ── */
.game-about .split {
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.game-about h2 {
  margin-bottom: 1.25rem;
}

.game-about__body {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.125rem;
}

.game-about__body:last-child {
  margin-bottom: 0;
}

.game-features-list {
  display: flex;
  flex-direction: column;
}

.game-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.game-feature-item:last-child {
  border-bottom: none;
}

.game-feature-item__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 0.45rem;
}

.game-feature-item__title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.game-feature-item__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ── Promise (gradient accent) ── */
.game-promise {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
  text-align: center;
}

.game-promise__inner {
  max-width: 54rem;
  margin: 0 auto;
}

.game-promise__quote {
  font-size: clamp(1.625rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}

.game-promise__sub {
  font-size: 1.0625rem;
  color: rgba(7, 11, 53, 0.7);
  line-height: 1.6;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.game-promise__stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}

.game-promise__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.game-promise__stat strong {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--navy);
  line-height: 1;
}

.game-promise__stat span {
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(7, 11, 53, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.game-promise__divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(7, 11, 53, 0.22);
  flex-shrink: 0;
}

/* ── Gallery ── */
.game-gallery__head {
  margin-bottom: 2.5rem;
}

.game-gallery__head h2 {
  margin-bottom: 0.75rem;
}

.game-gallery__lead {
  max-width: 36rem;
  margin: 0;
}

.game-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.game-thumb {
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--panel);
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}

.game-thumb:hover {
  transform: translateY(-4px);
  border-color: rgba(70, 255, 87, 0.5);
}

.game-thumb:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.game-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* ── Download CTA ── */
.game-cta .split {
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.game-cta__copy h2 {
  margin-bottom: 1.25rem;
}

.game-cta__copy .lead {
  margin-bottom: 2rem;
}

.game-cta__badge {
  display: inline-block;
  transition: transform 0.22s var(--ease-out), opacity 0.2s;
}

.game-cta__badge:hover { transform: translateY(-3px); opacity: 0.85; }

.game-cta__badge:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 8px;
}

.game-cta__visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  transform: rotate(-1.5deg);
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 32, 0.93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox__frame {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: min(1240px, 96vw);
  width: 100%;
  padding: 0 1rem;
}

.lightbox__img {
  flex: 1;
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--panel-hover);
  transform: scale(1.08);
}

.lightbox__close:focus-visible,
.lightbox__prev:focus-visible,
.lightbox__next:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.lightbox__close {
  position: absolute;
  top: -3.75rem;
  right: 1rem;
}

/* ── Responsive ── */
@media (max-width: 1020px) {
  .game-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-cta__visual img {
    transform: none;
  }
}

@media (max-width: 640px) {
  .game-promise__stats {
    gap: 1.5rem;
  }

  .game-promise__divider {
    height: 1.75rem;
  }

  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
  }
}
