/* ===== Single Game Page Styling ===== */

.game-single { padding: 2rem 1rem; max-width: 1200px; margin: auto; }

.game-info-wrap { display: flex; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; }

@media (max-width: 768px) { .game-info-wrap { flex-direction: column; } }

.game-cover img { border-radius: 12px; max-width: 100%; height: auto; box-shadow: 0 0 15px rgba(0, 255, 102, 0.3); }

.game-details h1 { font-size: 2rem; margin-bottom: 1rem; }

.game-meta { list-style: none; padding: 0; margin: 1rem 0; }

.game-meta li { margin-bottom: 0.5rem; color: var(--text-light); }

.platform-icon-list { display: flex; gap: 0.5rem; list-style: none; padding: 0; margin-top: 0.25rem; }

.platform-icon-item img { width: 28px; height: 28px; object-fit: contain; background: #1a1a1a; border-radius: 6px; padding: 4px; }

.metacritic-score { font-weight: bold; padding: 0.2rem 0.6rem; border-radius: 6px; margin-left: 0.5rem; }

.metacritic-score.green { background: #00ff66; color: black; }

.metacritic-score.yellow { background: #ffcc00; color: black; }

.metacritic-score.red { background: #ff4444; color: white; }

.btn { display: inline-block; background: var(--accent); color: black; padding: 0.6rem 1.2rem; border-radius: 8px; text-decoration: none; font-weight: bold; margin-top: 1rem; transition: background 0.2s; }

.btn:hover { background: white; color: var(--accent); }

.game-trailer { margin-top: 2rem; text-align: center; }

.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; border-radius: 12px; }

.embed-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.game-gallery { margin-top: 2rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }

.gallery-grid a img { border-radius: 8px; transition: transform 0.2s ease; width: 100%; }

.gallery-grid a:hover img { transform: scale(1.05); }

.related-content { margin-top: 3rem; }

.related-content h2 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--accent); }

.related-content ul { list-style: none; padding-left: 0; margin: 0; }

.related-content li { margin-bottom: 0.6rem; }

.related-content a { color: var(--text-light); text-decoration: underline; transition: color 0.2s ease; }

.related-content a:hover { color: var(--accent); }

.game-description {
  margin-top: 2rem;
  background: var(--bg-medium);
  border-left: 4px solid var(--accent);
  padding: 1rem;
  border-radius: 8px;
}

.game-description h2 {
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.game-description-content {
  color: var(--text-light);
  line-height: 1.6;
}