.hero {
  padding: 8px 0 22px;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero__logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.hero__name {
  font-weight: 700;
  font-size: 1.1rem;
}

/* App-style grid: 2 per row on phones, more on bigger screens. */
.games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .games {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .games {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1;
  padding: 14px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 0.15s ease;
}

.game-card:active {
  transform: scale(0.96);
}

@media (hover: hover) {
  .game-card:hover {
    transform: translateY(-3px);
  }
}

.game-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%);
  z-index: -1;
}

.game-card__icon {
  position: absolute;
  top: 12%;
  inset-inline: 0;
  margin: 0 auto;
  width: 52%;
  z-index: -1;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.game-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.game-card__tag {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.game-card__live {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  background: rgba(0, 0, 0, 0.45);
  color: #86efac;
  backdrop-filter: blur(6px);
}

.game-card--soon {
  background: var(--surface);
  border: 1.5px dashed var(--border);
  box-shadow: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-3);
  pointer-events: none;
}

.game-card--soon::after {
  display: none;
}

.game-card--skeleton {
  background: var(--surface);
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

.footer {
  margin-top: auto;
  padding-top: 32px;
  text-align: center;
  color: var(--text-3);
  font-size: 0.8rem;
}
