:root {
  --bg-canvas: #1B1C20;
  --bg-card: #23252C;
  --bg-card-hover: #2E323D;
  --accent-teal: #24C8B0;
  --accent-gold: #F59E0B;
  --text-main: #F4F2EC;
  --text-muted: #94A3B8;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: radial-gradient(circle at center, #23262E 0%, #15161A 100%);
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem;
}
.hub-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  margin: auto;
  max-width: 640px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  text-align: center;
}
.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-gold), #D97706);
  color: #0F172A;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}
p.desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.game-btn {
  background: #1B1C20;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.game-btn:hover {
  border-color: var(--accent-gold);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15);
}
.game-icon {
  font-size: 2.2rem;
}
.game-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}
.game-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.footer-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1rem;
}
@media (max-width: 500px) {
  body { padding: 0.75rem; }
  .hub-card { padding: 1.1rem 0.9rem; border-radius: 12px; }
  .badge { margin-bottom: 0.45rem; }
  h1 { font-size: 1.3rem; margin-bottom: 0.25rem; }
  p.desc { font-size: 0.8rem; margin-bottom: 0.95rem; }
  .game-grid { grid-template-columns: 1fr; gap: 0.65rem; margin-bottom: 0.85rem; }
  .game-btn { padding: 0.8rem 0.85rem; gap: 0.35rem; }
  .game-icon { font-size: 1.65rem; }
  .game-title { font-size: 0.98rem; }
  .footer-note { margin-top: 0.5rem; font-size: 0.7rem; }
}

.footer-note a { color: var(--text-muted); }
.game-btn:focus-visible, .footer-note a:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}
