/* ==========================================================================
   YMobiDev — Game Landing Page Template CSS
   Shared across /<game> pages, themed via --game-accent
   ========================================================================== */

.game-hero {
  padding: clamp(32px, 5vw, 56px) 0 clamp(24px, 4vw, 40px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.game-hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .game-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }
}

.game-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.game-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.game-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: color-mix(in srgb, var(--game-accent, #5B6CF9) 14%, transparent);
  color: var(--game-accent, #5B6CF9);
  margin-bottom: 8px;
}

.game-title {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.1;
}

.game-tagline {
  margin: 6px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 600;
  color: var(--game-accent, #5B6CF9);
}

.game-lead {
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0.9;
}

.game-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.game-btn-primary,
.game-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.game-btn-primary {
  background: var(--game-accent, #5B6CF9);
  color: #ffffff;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--game-accent, #5B6CF9) 30%, transparent);
}

.game-btn-primary:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.game-btn-secondary {
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  color: inherit;
}

.game-btn-secondary:hover {
  border-color: var(--game-accent, #5B6CF9);
}

.game-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.game-banner-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.game-banner {
  display: block;
  width: 100%;
  height: auto;
}

.game-section {
  padding: clamp(28px, 4.5vw, 48px) 0;
}

.game-section-title {
  margin: 0 0 18px;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
}

.game-shots-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 68vw);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 900px) {
  .game-shots-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-columns: unset;
    overflow-x: visible;
  }
}

.game-shot-card {
  scroll-snap-align: start;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  background: rgba(15, 23, 42, 0.04);
}

.game-shot-card img {
  display: block;
  width: 100%;
  height: auto;
}

.game-features-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .game-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.game-feature-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(148, 163, 184, 0.05);
}

.game-feature-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--game-accent, #5B6CF9);
}

.game-feature-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.88;
}

.game-links-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
