/* ── Games Hub Page Styles ── */

/* Active nav link (shared with game pages) */
.nav-active {
  color: var(--forest-dark) !important;
  font-weight: 700;
  border-bottom: 2px solid var(--forest);
  padding-bottom: 2px;
}

/* ── Hero ── */
.games-hub-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 3.8rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 25% 0%, rgba(70, 102, 63, 0.16), transparent 50%),
    radial-gradient(ellipse at 80% 85%, rgba(191, 131, 51, 0.14), transparent 48%);
}

.games-hub-bg-left,
.games-hub-bg-right {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
}

.games-hub-bg-left {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(70, 102, 63, 0.17), rgba(70, 102, 63, 0));
  top: -160px;
  left: -140px;
}

.games-hub-bg-right {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(191, 131, 51, 0.17), rgba(191, 131, 51, 0));
  bottom: -240px;
  right: -160px;
}

.games-hub-hero-inner {
  position: relative;
  max-width: 680px;
  margin-inline: auto;
}

.games-hub-title {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.06;
  color: var(--brown);
  margin: 0.3rem 0 1.1rem;
}

.games-hub-subtitle {
  font-size: 1.06rem;
  max-width: 54ch;
  margin: 0 auto;
  opacity: 0.82;
}

/* ── Cards section ── */
.games-hub-cards-section {
  padding-top: 2rem;
}

.games-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

/* ── Individual game hub card ── */
.game-hub-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(70, 102, 63, 0.18);
  border-radius: 22px;
  padding: 2rem 1.8rem 1.8rem;
  box-shadow: 0 18px 40px rgba(61, 44, 29, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.game-hub-card-snackoff {
  border-top: 4px solid rgba(70, 102, 63, 0.6);
}

.game-hub-card-luck {
  border-top: 4px solid rgba(191, 131, 51, 0.65);
}

/* Card header row */
.game-hub-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.game-hub-icon {
  font-size: 2.4rem;
  line-height: 1;
}

.game-hub-badge {
  display: inline-block;
  background: rgba(70, 102, 63, 0.1);
  color: var(--forest-dark);
  border: 1px solid rgba(70, 102, 63, 0.22);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.game-hub-card-luck .game-hub-badge {
  background: rgba(191, 131, 51, 0.1);
  color: #7a5200;
  border-color: rgba(191, 131, 51, 0.3);
}

/* Card name */
.game-hub-name {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  line-height: 1.1;
  color: var(--brown);
  margin-bottom: 0.9rem;
}

/* Intro paragraph */
.game-hub-intro {
  font-size: 0.97rem;
  line-height: 1.65;
  margin: 0 0 1.1rem;
  color: var(--ink);
}

/* Highlights list */
.game-hub-highlights {
  padding-left: 1.1rem;
  margin: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.game-hub-highlights li {
  font-size: 0.93rem;
  color: var(--forest-dark);
  font-weight: 500;
}

/* CTA button */
.game-hub-btn {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.97rem;
}

.game-hub-card-luck .game-hub-btn {
  background: linear-gradient(130deg, var(--amber), #9e6a1a);
  box-shadow: 0 10px 18px rgba(191, 131, 51, 0.28);
}

.game-hub-card-luck .game-hub-btn:hover {
  box-shadow: 0 13px 22px rgba(191, 131, 51, 0.38);
}

/* ── Responsive ── */
@media (max-width: 760px) {
  .games-hub-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .games-hub-hero {
    padding: 3.2rem 0 2.8rem;
  }
}
