.game-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 80px;
}

/* Hero */
.game-hero {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
}

.game-cover {
  width: 140px;
  height: 187px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e2e4e9;
}

.game-cover-placeholder {
  width: 140px;
  height: 187px;
  border-radius: 10px;
  background: #e2e4e9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
}

.game-info {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 24px;
}

.game-info-text {
  flex: 1;
  min-width: 0;
}

.hero-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  padding-top: 4px;
  gap: 4px;
}

.hero-review-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.game-title {
  font-size: 32px;
  font-weight: 800;
  color: #0d1117;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 6px;
}

.game-studio {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.game-studio span {
  color: var(--text-muted);
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.platform-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: #ecedf0;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.game-genres {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.game-release {
  font-size: 13px;
  color: var(--text-muted);
}

.game-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 12px;
}

/* Score color helpers */
.score-green  { background: #3da66a; }
.score-yellow { background: #d4911e; }
.score-red    { background: #c94444; }
.score-muted  { background: #c4c7ce; }

/* Reviews section */
.reviews-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid #d8dae0;
  padding-bottom: 10px;
}

.reviews-title {
  font-size: 20px;
  font-weight: 800;
  color: #0d1117;
  letter-spacing: -0.3px;
}

.reviews-count {
  font-size: 14px;
  color: var(--text-muted);
}

.review-block {
  background: #fff;
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--brand-color, #e2e4e9);
  border-radius: 8px;
  padding: 20px 22px;
  margin-bottom: 12px;
  transition: box-shadow 0.15s;
}

.review-block:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.outlet-logo {
  height: 32px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.2s, opacity 0.2s;
  flex-shrink: 0;
}

.review-block:hover .outlet-logo {
  filter: grayscale(0%);
  opacity: 1;
}

.outlet-name-text {
  font-size: 14px;
  font-weight: 700;
  color: #0d1117;
  flex-shrink: 0;
}

.review-score-area {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.native-score {
  font-size: 22px;
  font-weight: 800;
  color: #0d1117;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.native-score-suffix {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.normalized-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: #f0f1f3;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Stars */
.stars {
  display: inline-flex;
  gap: 2px;
  font-size: 18px;
  line-height: 1;
}

.star-filled { color: #f59e0b; }
.star-half {
  position: relative;
  display: inline-block;
  color: #d1d5db;
}
.star-half::before {
  content: '\2605';
  position: absolute;
  left: 0;
  top: 0;
  color: #f59e0b;
  clip-path: inset(0 50% 0 0);
}
.star-empty { color: #d1d5db; }

/* Thumbs */
.thumb-icon {
  font-size: 24px;
  line-height: 1;
}

.review-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.read-review {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-blue);
  white-space: nowrap;
  transition: color 0.15s;
}

.read-review:hover {
  color: var(--accent-blue-dim);
}

.author-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.author-link:hover {
  color: var(--accent-blue);
}

.no-reviews {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 15px;
}

/* Unscored label */
.unscored-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Image Gallery */
.game-gallery {
  margin-bottom: 28px;
}

.gallery-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.gallery-scroll::-webkit-scrollbar {
  height: 6px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 200px;
  height: 113px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition: transform 0.15s, box-shadow 0.15s;
}

.gallery-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 32px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

/* Trailer thumbnail */
.gallery-trailer {
  flex-shrink: 0;
  width: 200px;
  height: 113px;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.15s, box-shadow 0.15s;
}

.gallery-trailer:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-trailer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: background 0.15s;
}

.gallery-trailer:hover .play-overlay {
  background: rgba(0,0,0,0.15);
}

.play-btn {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent #0d1117;
  margin-left: 3px;
}

/* Lightbox video */
.lightbox-video {
  max-width: 90vw;
  max-height: 90vh;
  width: 960px;
  height: 540px;
  border-radius: 8px;
  border: none;
  cursor: default;
  display: none;
}

@media (max-width: 640px) {
  .game-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .game-cover, .game-cover-placeholder {
    width: 100px;
    height: 133px;
  }
  .game-title { font-size: 24px; }
  .review-top {
    flex-wrap: wrap;
  }
  .review-score-area {
    margin-left: 0;
  }
}
