/* ── Play Hub — Landing Page ─────────────────────────────────────────── */
:root {
  --bg-dark: #0a0a1a;
  --bg-card: #141428;
  --bg-card-hover: #1c1c3a;
  --gold: #d4a017;
  --gold-light: #f0c040;
  --text: #e0dcd0;
  --text-muted: #8a8678;
  --border: rgba(212, 160, 23, 0.25);
  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: 'Crimson Text', Georgia, serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-container {
  max-width: 720px;
  width: 100%;
  padding: 40px 20px;
}

.hub-header {
  text-align: center;
  margin-bottom: 48px;
}

.hub-title {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-shadow: 0 2px 20px rgba(212, 160, 23, 0.3);
  margin-bottom: 8px;
}

.hub-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* ── Game Cards ──────────────────────────────────────────────────────── */
.games-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s ease;
  cursor: pointer;
}

.game-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.15);
}

.game-emoji {
  font-size: 3.5rem;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 160, 23, 0.08);
  border-radius: 50%;
}

.game-info {
  flex: 1;
  min-width: 0;
}

.game-name {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.game-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.game-desc {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text);
}

.game-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-pill {
  font-size: 0.8rem;
  padding: 3px 10px;
  background: rgba(212, 160, 23, 0.12);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 20px;
  color: var(--gold-light);
  white-space: nowrap;
}

.game-arrow {
  font-size: 1.8rem;
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.game-card:hover .game-arrow {
  opacity: 1;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.hub-footer {
  text-align: center;
  margin-top: 48px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hub-footer p {
  margin-bottom: 8px;
}

.hub-admin a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.hub-admin a:hover {
  opacity: 1;
  color: var(--gold);
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hub-title {
    font-size: 2.2rem;
  }

  .game-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 16px;
  }

  .game-emoji {
    width: 64px;
    height: 64px;
    font-size: 2.5rem;
  }

  .game-features {
    justify-content: center;
  }

  .game-arrow {
    display: none;
  }
}
