/* Games Hub — light toon catalog (matches lounge home) */
.cf-hub-shell { max-width: 1280px; margin: 0 auto; padding: 1.25rem 1rem 3rem; }

.cf-hub-spotlight {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  border: 4px solid #bae6fd;
  border-bottom: 8px solid #0369a1;
  margin-bottom: 1.25rem;
  min-height: 280px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}
.cf-hub-spotlight-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 55%, #8b5cf6 100%);
  transition: background 0.6s ease;
}
.cf-hub-spotlight-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.75rem 1.5rem 2.5rem;
}
@media (min-width: 768px) {
  .cf-hub-spotlight-inner { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 2rem 2.5rem 2.75rem; }
}
.cf-hub-eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.35);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.cf-hub-btn-play {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-weight: 900;
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  border-bottom: 4px solid #047857;
  transition: transform 0.1s;
}
.cf-hub-btn-play:active { transform: translateY(3px); border-bottom-width: 1px; }
.cf-hub-btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-weight: 800;
  padding: 0.75rem 1.25rem;
  border-radius: 99px;
}
.cf-hub-spotlight-art {
  display: flex; align-items: center; justify-content: center;
  min-height: 200px;
}
.cf-hub-logo-img {
  max-height: 220px; max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}
.cf-hub-spot-icon {
  width: 140px; height: 140px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 3px solid rgba(255, 255, 255, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: #fff;
}
.cf-hub-spot-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 3;
}
.cf-hub-spot-dots button {
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.35); border: none; padding: 0;
  transition: all 0.2s;
}
.cf-hub-spot-dots button.active { width: 24px; background: #fbbf24; }

.cf-hub-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .cf-hub-stats { grid-template-columns: repeat(4, 1fr); } }
.cf-hub-stat {
  background: #fff;
  border: 3px solid #e2e8f0;
  border-bottom: 6px solid #cbd5e1;
  border-radius: 20px;
  padding: 1rem;
  text-align: center;
}
.cf-hub-stat span { display: block; font-family: 'Fredoka One', cursive; font-size: 1.5rem; color: #0ea5e9; }
.cf-hub-stat small { font-size: 0.65rem; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: 0.08em; }
.cf-hub-stat-wheel { grid-column: span 2; }
@media (min-width: 640px) { .cf-hub-stat-wheel { grid-column: span 1; } }
.cf-hub-wheel-wrap { position: relative; width: 100px; height: 100px; margin: 0 auto 0.35rem; }
#hubWheelCanvas { width: 100%; height: 100%; border-radius: 50%; }
.cf-hub-wheel-spin {
  position: absolute; inset: 28%;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #0ea5e9;
  color: #0284c7;
  font-size: 0.55rem;
  font-weight: 900;
  cursor: pointer;
}
.cf-hub-wheel-spin:disabled { opacity: 0.5; cursor: not-allowed; }

.cf-hub-explorer-head { margin-bottom: 1rem; }
.cf-hub-explorer-head h2 { font-family: 'Fredoka One', cursive; font-size: 1.5rem; color: #1e293b; margin: 0 0 0.25rem; }
.cf-hub-explorer-head p { color: #64748b; font-size: 0.875rem; font-weight: 700; margin: 0; }
.cf-hub-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.cf-hub-tab {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  background: #fff;
  border: 2px solid #e2e8f0;
  color: #64748b;
}
.cf-hub-tab.active, .cf-hub-tab:hover {
  background: #0ea5e9;
  border-color: #0284c7;
  color: #fff;
}
.cf-hub-search-row {
  display: flex; align-items: center; gap: 0.75rem;
  background: #fff;
  border: 3px solid #e2e8f0;
  border-bottom: 5px solid #cbd5e1;
  border-radius: 16px;
  padding: 0.65rem 1rem;
  margin-bottom: 1.25rem;
}
.cf-hub-search-input {
  flex: 1; background: transparent; border: none; outline: none;
  color: #1e293b; font-weight: 700; font-size: 0.9rem;
}
.cf-hub-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 1rem;
}
.cf-hub-game-card {
  background: #fff;
  border: 3px solid #e2e8f0;
  border-bottom: 6px solid #cbd5e1;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.cf-hub-game-card:hover {
  transform: translateY(-4px);
  border-color: #0ea5e9;
  border-bottom-color: #0284c7;
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.15);
}
.cf-hub-card-thumb {
  height: 110px;
  display: flex; align-items: center; justify-content: center;
  background: #f0f9ff;
  padding: 0.5rem;
}
.cf-hub-card-thumb img { max-height: 90%; max-width: 92%; object-fit: contain; }
.cf-hub-card-body { padding: 0.75rem; }
.cf-hub-card-body h4 { font-family: 'Fredoka One', cursive; font-size: 0.95rem; color: #1e293b; margin: 0 0 0.25rem; line-height: 1.2; }
.cf-hub-card-meta { font-size: 0.6rem; font-weight: 800; color: #94a3b8; text-transform: uppercase; }
.cf-hub-card-chip {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 900;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  margin-top: 0.35rem;
}
.cf-hub-chip-hot { background: #fee2e2; color: #dc2626; }
.cf-hub-chip-new { background: #d1fae5; color: #047857; }

.cf-hub-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .cf-hub-panels { grid-template-columns: repeat(3, 1fr); } }
.cf-hub-panel {
  background: #fff;
  border: 3px solid #e2e8f0;
  border-bottom: 6px solid #cbd5e1;
  border-radius: 24px;
  padding: 1.25rem;
}
.cf-hub-panel h3 { font-family: 'Fredoka One', cursive; font-size: 1rem; color: #1e293b; margin: 0 0 0.75rem; }
.cf-hub-panel-link { display: block; text-align: center; margin-top: 0.75rem; font-size: 0.75rem; font-weight: 900; color: #0ea5e9; text-decoration: none; }
.cf-hub-panel-link:hover { color: #0284c7; }
.cf-hub-challenge-list { list-style: none; padding: 0; margin: 0; }
.cf-hub-challenge-list li {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; font-weight: 800;
  padding: 0.5rem 0; border-bottom: 1px solid #f1f5f9;
  color: #475569;
}
.cf-hub-rank-list { list-style: none; padding: 0; margin: 0; }
.cf-hub-rank-list li {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; font-weight: 800;
  padding: 0.4rem 0; color: #64748b;
}
.cf-hub-rank-list span:last-child { color: #f59e0b; }
