/* =========================================================
   SINGLE GAME PAGE — responsive embed
   ========================================================= */
.game-page {
  padding: var(--gap-md) 0 var(--gap-lg);
}

.game-embed-wrap {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  /* default mobile aspect ratio 16:9; JS/inline style may override per-game */
  aspect-ratio: 16 / 9;
}
.game-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* fullscreen button sits on top of the frame */
.game-embed-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--gap-xs);
  padding: var(--gap-xs) 0;
}
.game-embed-actions button {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.85rem;
}
.game-embed-actions button:hover { border-color: var(--accent); color: var(--accent); }

.game-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-sm);
  margin: var(--gap-md) 0 var(--gap-sm);
}
.game-title-row h1 { font-size: 1.4rem; margin: 0; }

.game-description {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 760px;
}

/* two-column layout: content + sidebar ad, stacks on mobile */
.game-page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
}
@media (min-width: 960px) {
  .game-page-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
  .game-page-layout .sidebar { position: sticky; top: 80px; }
}

/* related games strip */
.related-games h2 { font-size: 1.1rem; margin: var(--gap-lg) 0 var(--gap-sm); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--gap-lg) 0;
  margin-top: var(--gap-xl);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap-md);
  margin-bottom: var(--gap-sm);
}
.site-footer .footer-links a:hover { color: var(--accent); }
