:root {
  --bg: #101318;
  --ink: #f7f2e8;
  --muted: #b7c0bb;
  --panel: #171b22;
  --panel-strong: #202631;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #f2c84b;
  --cyan: #35d8c8;
  --red: #f05a46;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(53, 216, 200, 0.08), transparent 280px),
    linear-gradient(135deg, #101318, #151820 54%, #111317);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.hub-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.hub-topbar,
.brand,
.card-meta,
.profile-band,
.hub-footer {
  display: flex;
  align-items: center;
}

.hub-topbar {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.brand {
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #101318;
  background: var(--gold);
  font-weight: 950;
}

.brand strong,
.brand small,
.game-card strong,
.game-card span,
.game-card small,
.roadmap-item strong,
.roadmap-item span,
.roadmap-item small,
.hub-footer span {
  display: block;
}

.brand small,
.hero-band p,
.profile-band p,
.game-card small,
.roadmap-item small,
.hub-footer {
  color: var(--muted);
}

.tool-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.tool-button.primary {
  border-color: transparent;
  background: var(--gold);
  color: #111317;
}

.hero-band,
.profile-band,
.roadmap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(23, 27, 34, 0.88);
  box-shadow: var(--shadow);
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding: clamp(22px, 4vw, 38px);
}

.hero-band h1,
.profile-band h2,
.section-heading h2 {
  margin: 8px 0 0;
  letter-spacing: 0;
  line-height: 1;
}

.hero-band h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 5.2rem);
}

.hero-band p {
  margin: 0;
  align-self: end;
  max-width: 46ch;
  font-size: 1.05rem;
  line-height: 1.6;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile-band {
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 22px;
}

.profile-band p {
  max-width: 70ch;
  margin: 10px 0 0;
  line-height: 1.55;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.game-card,
.roadmap-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.game-card {
  overflow: hidden;
  min-height: 360px;
  color: inherit;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease;
}

.game-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--game-accent), white 12%);
}

.game-art {
  display: grid;
  place-items: center;
  height: 142px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--game-accent), black 50%), rgba(255, 255, 255, 0.04)),
    var(--panel-strong);
  color: #fff;
  font-weight: 950;
  text-align: center;
}

.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-meta {
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 14px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pill.profile {
  background: color-mix(in srgb, var(--game-accent), black 56%);
}

.game-card strong {
  padding: 14px 14px 0;
  font-size: 1.18rem;
}

.game-card span:not(.game-art):not(.pill) {
  padding: 6px 14px 0;
  color: var(--game-accent);
  font-weight: 850;
}

.game-card small {
  padding: 12px 14px 18px;
  line-height: 1.45;
}

.roadmap {
  margin-top: 16px;
  padding: 22px;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.roadmap-item {
  padding: 16px;
}

.roadmap-item span {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
}

.roadmap-item strong {
  margin-top: 10px;
  font-size: 1.1rem;
}

.roadmap-item small {
  margin-top: 8px;
  line-height: 1.45;
}

.hub-footer {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.86rem;
}

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

@media (max-width: 980px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-band,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hub-topbar,
  .profile-band {
    align-items: stretch;
    flex-direction: column;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .hero-band {
    padding: 22px;
  }

  .hero-band h1 {
    font-size: 2.35rem;
  }
}
