/* Саундтреки из популярных игр (game_ost) — в стиле ps-console-compare */
.ps-gost-page .ps-gost-landing {
  --ps-gost-ink: #0c1222;
  --ps-gost-muted: #5b6478;
  --ps-gost-card: #ffffff;
  --ps-gost-border: #e5e8ee;
  --ps-gost-brand: #b91c1c;
}

.ps-gost-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: clamp(28px, 5vw, 52px) clamp(20px, 4vw, 48px);
  margin-bottom: 20px;
  background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 38%, #991b1b 100%);
  color: #ecfeff;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.26);
}
.ps-gost-hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse 55% 45% at 12% 30%, rgba(239, 68, 68, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 38% at 90% 70%, rgba(251, 191, 36, 0.1), transparent 50%);
  pointer-events: none;
}
.ps-gost-hero__inner { position: relative; z-index: 1; max-width: 860px; }
.ps-gost-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fecaca;
  margin-bottom: 12px;
}
.ps-gost-hero__title {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 3.8vw, 2.3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}
.ps-gost-page #content h1.ps-gost-hero__title { color: #fff !important; }
.ps-gost-hero__lead { margin: 0; font-size: 1.05rem; line-height: 1.65; color: #fee2e2; }
.ps-gost-hero__lead a { color: #fecaca; text-decoration: underline; }
.ps-gost-hero__stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.ps-gost-hero__stat {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
  color: #e0e7ff;
}
.ps-gost-hero__stat b { color: #fff; }

.ps-gost-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
  padding: 12px 14px;
  background: var(--ps-gost-card);
  border: 1px solid var(--ps-gost-border);
  border-radius: 14px;
}
.ps-gost-anchors a {
  padding: 7px 13px;
  border-radius: 999px;
  background: #f8f9fb;
  border: 1px solid var(--ps-gost-border);
  color: var(--ps-gost-ink);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none !important;
}
.ps-gost-anchors a:hover { border-color: var(--ps-gost-brand); color: var(--ps-gost-brand); }

.ps-gost-section { margin-bottom: 34px; }
.ps-gost-section__title {
  margin: 0 0 6px;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ps-gost-ink);
}
.ps-gost-section__sub { margin: 0 0 18px; color: var(--ps-gost-muted); }

/* Каталог: единые карточки */
.ps-gost-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 16px;
  background: var(--ps-gost-card);
  border: 1px solid var(--ps-gost-border);
  border-radius: 14px;
}
.ps-gost-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
  color: var(--ps-gost-ink);
}
.ps-gost-search__count { font-size: 0.82rem; color: var(--ps-gost-muted); white-space: nowrap; }

.ps-gost-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.ps-gost-card {
  display: flex;
  flex-direction: column;
  background: var(--ps-gost-card);
  border: 1px solid var(--ps-gost-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ps-gost-card:hover { box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1); }
.ps-gost-card__head { display: flex; gap: 14px; align-items: flex-start; }
.ps-gost-card__cover {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  background: #f1f3f7;
}
.ps-gost-card__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background: #f1f3f7;
  font-size: 2.2rem;
  color: #c3cad6;
}
.ps-gost-card__info { min-width: 0; }
.ps-gost-card__name {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ps-gost-ink);
}
.ps-gost-card__label {
  display: block;
  font-size: 0.8rem;
  color: var(--ps-gost-muted);
  margin-bottom: 8px;
}
.ps-gost-card__toggle {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ps-gost-brand);
  cursor: pointer;
  padding: 6px 12px;
  border: 1px solid var(--ps-gost-border);
  border-radius: 999px;
  background: #f8f9fb;
}
.ps-gost-card__toggle:hover { border-color: var(--ps-gost-brand); }
.ps-gost-card.is-open .ps-gost-card__toggle::after { content: ""; }

/* Альбомы (раскрываются) */
.ps-gost-card__albums {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ps-gost-border);
}
.ps-gost-card.is-open .ps-gost-card__albums { display: flex; }
.ps-gost-album {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  background: #f8f9fb;
  border: 1px solid var(--ps-gost-border);
  border-radius: 12px;
}
.ps-gost-album__name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ps-gost-ink);
}
.ps-gost-album__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.ps-gost-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  border: none;
  color: #fff !important;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.ps-gost-chip:hover { transform: translateY(-1px); filter: brightness(1.1); }
.ps-gost-chip--ya { background: #ffdb4d; color: #1a1a1a !important; }
.ps-gost-chip--ya:hover { background: #f2cf3d; }
.ps-gost-chip--zvuk { background: #7141f1; }
.ps-gost-chip--vk { background: #0077ff; }
.ps-gost-chip--apple { background: #1d1d1f; }
.ps-gost-chip--link { background: #0c1222; }
.ps-gost-card__more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ps-gost-brand) !important;
  text-decoration: none !important;
}
.ps-gost-card__more:hover { text-decoration: underline !important; }
.ps-gost-empty { margin-top: 16px; color: var(--ps-gost-muted); }

/* Как это работает */
.ps-gost-about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.ps-gost-about__card {
  background: var(--ps-gost-card);
  border: 1px solid var(--ps-gost-border);
  border-radius: 14px;
  padding: 18px;
}
.ps-gost-about__card h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ps-gost-ink);
}
.ps-gost-about__card p { margin: 0; font-size: 0.88rem; line-height: 1.6; color: var(--ps-gost-muted); }
.ps-gost-about__card a { color: var(--ps-gost-brand); }

/* FAQ */
.ps-gost-faq { display: flex; flex-direction: column; gap: 10px; }
.ps-gost-faq__item {
  background: var(--ps-gost-card);
  border: 1px solid var(--ps-gost-border);
  border-radius: 12px;
  padding: 13px 16px;
}
.ps-gost-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ps-gost-ink);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.ps-gost-faq__item summary::-webkit-details-marker { display: none; }
.ps-gost-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  color: var(--ps-gost-brand);
  transition: transform 0.15s ease;
}
.ps-gost-faq__item[open] summary::after { content: "–"; }
.ps-gost-faq__a { margin-top: 10px; font-size: 0.9rem; line-height: 1.65; color: var(--ps-gost-muted); }

/* CTA */
.ps-gost-cta {
  border-radius: 18px;
  padding: clamp(22px, 4vw, 38px);
  text-align: center;
  background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 55%, #991b1b 100%);
  color: #fee2e2;
  box-shadow: 0 18px 36px rgba(127, 29, 29, 0.3);
}
.ps-gost-cta__title { margin: 0 0 10px; color: #fff; font-size: clamp(1.15rem, 2.4vw, 1.45rem); font-weight: 800; }
.ps-gost-cta__text { max-width: 680px; margin: 0 auto 20px; line-height: 1.65; }
.ps-gost-cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.ps-gost-cta__btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  background: #fff;
  color: #991b1b !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
}
.ps-gost-cta__btn--ghost { background: rgba(255, 255, 255, 0.12); color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.4); }

@media (max-width: 575px) {
  .ps-gost-card__head { flex-direction: column; }
  .ps-gost-card__cover, .ps-gost-card__noimg { flex-basis: auto; width: 100%; height: auto; aspect-ratio: 1 / 1; }
}
