/* ===== GAME PAGE ===== */

.game__cover {
  flex-shrink: 0;
  width: 100%;
  max-width: 320px;
  border-radius: 20px;
  overflow: hidden;
}
@media (min-width: 992px) { .game__cover { max-width: 360px; } }

.game__cover-img {
  width: 100%;
  height: auto;
  display: block;
}

.game__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.game__title {
  margin: 0;
  font-size: 32px;
  font-weight: bold;
  line-height: 1.2;
}
@media (min-width: 768px) { .game__title { font-size: 44px; } }

.game__players {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (min-width: 768px) { .game__players { font-size: 18px; } }

.game__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}
.game__stats--new { display: block; }
.game__stat { white-space: nowrap; }
.game__stat-num { color: rgba(255,255,255,1); font-weight: 600; }
@media (min-width: 768px) { .game__stats { font-size: 15px; gap: 14px 28px; } }

.badge--new {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(116, 66, 200, 0.25);
  color: rgba(255,255,255,0.95);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.game__excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin: 0;
}
@media (min-width: 768px) { .game__excerpt { font-size: 18px; } }

.game__btn {
  align-self: flex-start;
}

.screens__swiper {
  overflow: hidden;
  border-radius: 12px;
}

.screens__slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
@media (min-width: 576px) { .screens__slide img { height: 260px; } }
@media (min-width: 768px) { .screens__slide img { height: 320px; } }

.game__video.video-embed {
  max-width: 720px;
  margin: 0 auto;
}

.review__title { font-size: 20px; }
@media (min-width: 768px) { .review__title { font-size: 24px; } }
.review__text { font-size: 15px; }
@media (min-width: 768px) { .review__text { font-size: 16px; } }

/* Related games */
.related-games { gap: 16px; }
@media (min-width: 992px) { .related-games { grid-template-columns: repeat(4, 1fr); } }
.related-game { display: block; text-decoration: none; color: inherit; padding: 16px; transition: transform 0.2s; }
.related-game:hover { transform: translateY(-4px); }
.related-game__img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 8px; }
.related-game__title { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.related-game__excerpt { font-size: 14px; opacity: 0.7; line-height: 1.4; }

/* Not found */
.game__not-found {
  text-align: center;
  padding: 80px 0;
}
.game__not-found h1 { margin-bottom: 20px; }

/* game__loading — use .loading class from site-ds.css instead */
.game__loading {
  padding: 80px 0;
}

/* Бейджи платности + строка про бесплатность в hero страницы игры */
.game__tags { margin: 4px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.badge--free,
.badge--premium {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: filter 0.2s, background 0.2s;
}
.badge--free { background: rgba(34, 197, 94, 0.22); color: #b9f6cd; }
.badge--premium {
  background: linear-gradient(94.97deg, #4E00A9 1.93%, #F1008E 96.93%);
  color: #fff;
}
/* бейджи платности — кликабельные ссылки на /tariffs */
a.badge--free:hover { background: rgba(34, 197, 94, 0.34); }
a.badge--premium:hover { filter: brightness(1.12); }
.game__free-note {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,0.7);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.game__free-note .icon-check { color: #5ddf8e; font-weight: 700; flex: 0 0 auto; }

/* Корп-мост: привлекательный баннер в самом верху страницы игры (только для игр
   «для больших компаний»). Кликабелен целиком, ведёт на /corporate. */
.corp-banner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin: 12px 0 36px; /* небольшой зазор сверху + чёткий отступ до заголовка игры */
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(94.97deg, rgba(78,0,169,0.55) 1.93%, rgba(241,0,142,0.55) 96.93%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 30px rgba(241,0,142,0.18);
  color: #fff;
  text-decoration: none;
  transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
}
.corp-banner:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(241,0,142,0.28); }
.corp-banner__title { font-size: 20px; font-weight: 700; line-height: 1.3; }
.corp-banner__crown { margin-left: 4px; }
.corp-banner__desc { margin-top: 8px; color: rgba(255,255,255,0.82); line-height: 1.45; font-size: 15px; }
.corp-banner__btn { flex: 0 0 auto; pointer-events: none; } /* span: клик ловит вся карточка */
@media (min-width: 768px) {
  .corp-banner { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 32px; }
  .corp-banner__text { max-width: 64%; }
}
