header {
  padding: 2rem 2rem 1.75rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #0a0a18 0%, var(--bg) 100%);
  display: flex;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logo-title {
  font-family: 'Russo One', sans-serif;
  font-size: 28px;
  white-space: nowrap;
  background: linear-gradient(135deg, #a78bfa, #7c6ff7, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.logo-sub {
  font-family: 'Russo One', sans-serif;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: .16em;
  text-transform: uppercase;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

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

.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.card-preview {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.card-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--surface) 100%);
}

.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.card-play {
  margin-top: 1rem;
  padding: 0.65rem 1.2rem;
  border-radius: 10px;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
  color: #fff;
  width: 100%;
}

.card-play:hover {
  filter: brightness(1.15);
  transform: scale(1.02);
}
