* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: radial-gradient(circle at top, #0f172a, #020617);
  color: #e5e7eb;
}

/* TOP BAR */
.topbar {
  height: 64px;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid #1e293b;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: #38bdf8;
}

.logo span {
  color: white;
}

/* GRID */
.grid {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 22px;
}

/* GAME CARD */
.game-card {
  background: linear-gradient(180deg, #020617, #020617);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  border: 1px solid #1e293b;
  transition: transform .25s, box-shadow .25s, border .25s;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.6);
  border-color: #38bdf8;
}

.thumb {
  height: 130px;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.game-card:hover img {
  transform: scale(1.1);
}

.info {
  padding: 14px;
}

.info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

/* GAME PAGE */
.game-page {
  background: #020617;
}

.back {
  color: #38bdf8;
  text-decoration: none;
  font-size: 20px;
  margin-right: 16px;
}

.game-title {
  font-size: 18px;
  font-weight: 600;
}

.game-container {
  height: calc(100vh - 64px);
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}
