:root {
  --bg: #000000;
  --surface: #0a0a0f;
  --surface-2: #12121a;
  --border: rgba(0, 229, 255, 0.22);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --primary: #00e5ff;
  --primary-dark: #00b8d4;
  --primary-glow: rgba(0, 229, 255, 0.45);
  --accent: #ff1493;
  --accent-glow: rgba(255, 20, 147, 0.4);
  --games: #c026d3;
  --games-glow: rgba(192, 38, 211, 0.35);
  --radius: 18px;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

.hub-hero {
  position: relative;
  min-height: auto;
  overflow: hidden;
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 4px 32px var(--primary-glow);
}

.hub-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(0, 229, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 85% 25%, rgba(255, 20, 147, 0.16) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(192, 38, 211, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #000000 0%, #0a0a12 100%);
}

.hub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.65) 100%);
}

.hub-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2rem;
  text-align: center;
}

.hub-title-wrap {
  margin: 0;
  line-height: 0;
}

.hub-title-img {
  display: block;
  width: min(100%, 920px);
  height: auto;
  margin: 0 auto;
}

.hub-subtitle {
  margin-top: 1rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  letter-spacing: 0.28em;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hub-tagline {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 40rem;
  margin-inline: auto;
}

.hub-seal-sm {
  width: 2.25rem;
  margin: 0;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--border), 0 0 12px var(--primary-glow);
}

.hub-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 100%;
}

.hub-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.hub-intro {
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.95rem;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.06);
}

.hub-intro strong { color: var(--primary); }

.hub-group {
  margin-bottom: 2.5rem;
}

.hub-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hub-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.15rem;
}

.hub-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
  min-height: 200px;
}

.hub-card:hover:not(.hub-card-disabled) {
  transform: translateY(-4px);
}

.hub-card-sports:hover:not(.hub-card-disabled) {
  border-color: var(--primary);
  box-shadow: 0 14px 40px var(--primary-glow);
}

.hub-card-games:hover:not(.hub-card-disabled) {
  border-color: var(--games);
  box-shadow: 0 14px 40px var(--games-glow);
}

.hub-card-dev:hover:not(.hub-card-disabled) {
  border-color: var(--accent);
  box-shadow: 0 14px 40px var(--accent-glow);
}

.hub-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

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

.hub-card-badge {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0, 229, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.hub-card-badge-live {
  color: var(--primary);
  border-color: rgba(0, 229, 255, 0.45);
  background: rgba(0, 229, 255, 0.12);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.hub-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.hub-card-url {
  font-size: 0.78rem;
  color: var(--accent);
  font-family: ui-monospace, 'Cascadia Code', monospace;
  opacity: 0.9;
}

.hub-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  flex: 1;
}

.hub-card-cta {
  font-size: 0.88rem;
  font-weight: 700;
}

.hub-card-sports .hub-card-cta { color: var(--primary); }
.hub-card-games .hub-card-cta { color: var(--games); }
.hub-card-dev .hub-card-cta { color: var(--accent); }

.hub-card-disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.hub-card-disabled .hub-card-cta { color: var(--text-muted); }

.hub-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.hub-map-item {
  padding: 0.85rem 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.82rem;
}

.hub-map-item strong {
  color: var(--text);
}

.hub-map-item code {
  display: block;
  margin-top: 0.25rem;
  color: var(--primary);
  font-size: 0.8rem;
}

.hub-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.hub-footer a {
  color: var(--primary);
  text-decoration: none;
}

.hub-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .hub-hero-content { padding: 1.25rem 0.75rem 1.5rem; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-title-img { width: 100%; }
}