/* Mini game arcade hub — 10-slot game grid */

.hub-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 50% -10%, #2a214055 0%, transparent 55%),
    var(--bg);
}

.hub-header {
  text-align: center;
  padding: 56px 20px 28px;
}

.hub-title {
  margin: 0;
  color: #b69aff;
  font-family: "Courier New", monospace;
  font-size: clamp(44px, 9vw, 68px);
  font-weight: 1000;
  letter-spacing: .08em;
  line-height: 1;
  text-shadow: 4px 4px 0 #6249a6, 8px 8px 0 #34264f;
  -webkit-text-stroke: .8px #e0d3ff;
}

.hub-tagline {
  margin: 18px auto 0;
  max-width: 460px;
  color: #c4bdd4;
  font-size: 14px;
  line-height: 1.6;
}

.hub-main {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 28px 40px;
}

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

.game-card {
  position: relative;
  min-height: 180px;
  border-radius: 14px;
  border: 2px solid #342d42;
  background: linear-gradient(145deg, #191620 0%, #111016 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 18px 14px;
  box-sizing: border-box;
}

.game-card-live {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-color: #51446e;
  box-shadow: 0 14px 34px #0006, inset 0 1px 0 #ffffff0a;
  transition: transform .2s cubic-bezier(.22,.8,.25,1), border-color .2s, box-shadow .2s;
}

.game-card-live:hover,
.game-card-live:focus-visible {
  transform: translateY(-6px);
  border-color: #a78bfa;
  box-shadow: 0 20px 44px #0008, 0 0 30px #a78bfa26;
  outline: none;
}

.game-card-kicker {
  color: #9e91b5;
  font: 800 10px/1 "Courier New", monospace;
  letter-spacing: .24em;
}

.game-card-name {
  color: #eee8fb;
  font: 1000 clamp(20px, 2.4vw, 26px)/1.1 "Courier New", monospace;
  letter-spacing: .05em;
  text-shadow: 2px 2px 0 #34264f;
}

.game-card-desc {
  color: #9e91b5;
  font-size: 11px;
  line-height: 1.45;
  max-width: 180px;
}

.game-card-play {
  margin-top: 4px;
  color: #c4a7ff;
  font: 800 11px/1 "Courier New", monospace;
  letter-spacing: .18em;
}

.game-card-empty {
  border-style: dashed;
  border-color: #2a2434;
  background: transparent;
  opacity: .55;
}

.game-card-slot {
  color: #3d3550;
  font: 900 22px/1 "Courier New", monospace;
  letter-spacing: .1em;
}

.hub-footer {
  text-align: center;
  padding: 0 20px 36px;
  color: #6f6680;
  font: 700 10px/1 "Courier New", monospace;
  letter-spacing: .22em;
  text-transform: uppercase;
}

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

@media (max-width: 560px) {
  .hub-header {
    padding: 40px 16px 22px;
  }
  .hub-main {
    padding: 8px 14px 32px;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .game-card {
    min-height: 150px;
  }
}
