* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #1e293b, #0f172a 70%);
  color: #f8fafc;
  display: flex;
  flex-direction: column;
}

.hub-header {
  text-align: center;
  padding: 42px 20px 24px;
}

.hub-header h1 {
  font-size: 2.5rem;
  letter-spacing: 2px;
  color: #fde047;
  text-shadow: 3px 3px 0 #1e3a8a;
  margin-bottom: 8px;
}

.hub-header p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.category-tabs {
  display: inline-flex;
  gap: 10px;
  background: rgba(15, 23, 42, 0.75);
  padding: 8px;
  border-radius: 14px;
  border: 2px solid #334155;
}

.tab-btn {
  background: transparent;
  border: 2px solid transparent;
  color: #cbd5e1;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.15s;
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.tab-btn.active {
  background: #22c55e;
  color: #052e16;
  border-color: #bbf7d0;
}

.hub-content {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 24px 48px;
}

.category-section {
  margin-bottom: 36px;
}

.category-title {
  font-size: 1.5rem;
  color: #93c5fd;
  border-bottom: 2px solid #334155;
  padding-bottom: 8px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.game-card {
  background: linear-gradient(160deg, #1e293b, #141c30);
  border: 3px solid #334155;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: #4ade80;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.game-card.coming-soon {
  opacity: 0.72;
  border-style: dashed;
}

.game-card.coming-soon:hover {
  transform: none;
  border-color: #ec4899;
  box-shadow: none;
}

.game-emoji {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.game-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  width: fit-content;
}

.badge-finley {
  background: #166534;
  color: #bbf7d0;
}

.badge-caitlin {
  background: #831843;
  color: #fbcfe8;
}

.game-card h3 {
  font-size: 1.4rem;
  color: #fde047;
  margin-bottom: 8px;
}

.game-card p {
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.45;
  margin-bottom: 18px;
}

.launch-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(180deg, #4ade80, #16a34a);
  color: #052e16;
  font-weight: 900;
  padding: 12px 18px;
  border-radius: 10px;
  border: 2px solid #bbf7d0;
  box-shadow: 0 4px 0 #14532d;
  transition: transform 0.1s;
}

.launch-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #14532d;
}

.launch-btn.disabled {
  background: #334155;
  color: #94a3b8;
  border-color: #475569;
  box-shadow: none;
  pointer-events: none;
}

.hub-footer {
  text-align: center;
  padding: 18px;
  color: #64748b;
  font-size: 0.85rem;
  border-top: 1px solid #1e293b;
}
