/* ===== GeoSolvr: More games (more-games.html) =====
   Loaded after styles.css and discoveries.css (which give the page, header and menu). */

.mg-intro {
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--text-secondary);
}

.mg-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 960px;
  margin-bottom: 40px;
}

/* A game: picture on the left, words on the right (stacked on phones) */
.mg-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  overflow: hidden;
  background: var(--surface-1);
  border-radius: 16px;
}

.mg-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  overflow: hidden;
  text-decoration: none;
  background: var(--surface-3);
}

.mg-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shown until the picture is in place */
.mg-art-name {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.mg-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.mg-name {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.mg-tagline {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

.mg-desc {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.mg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.mg-tags li {
  padding: 3px 10px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--surface-0);
  border-radius: 999px;
}

.mg-play {
  margin-top: auto;
  text-decoration: none;
}

.mg-tags + .mg-play {
  margin-top: 24px;
}

/* "More on the way": quieter, outlined */

.coming-soon {
  margin-top: 30px;
}

.mg-soon .mg-name {
  font-size: 18px;
}

.mg-soon .mg-desc {
  margin-top: 6px;
}

@media (max-width: 900px) {
  .mg-card {
    grid-template-columns: 1fr;
  }

  .mg-art {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .mg-body {
    padding: 20px;
  }

  .mg-play {
    align-self: stretch;
    text-align: center;
  }
}
