/* ==========================================================================
   Releases catalogue (/): the grid lives in base.css; this file adds the infinite-scroll block under it.
   Uses base.css tokens only, no colour literals.
   ========================================================================== */

/* Empty state sits on the page without the heavy grid gap */
.page-catalog .empty { margin-top: var(--s-3); }

/* Infinite scroll under the grid (assets/js/pages/releases.js). The block stays hidden until the script switches it on;
   then the numbered pagination gives way to it. */
[data-more-on] .pagination { display: none; }
.catalog-more { display: grid; justify-items: center; gap: var(--s-3); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); text-align: center; }
.catalog-more[hidden] { display: none; }
.catalog-more > p, .catalog-more > div { margin: 0; }
.catalog-more__status { color: var(--text-muted); font-size: var(--fs-sm); min-height: 1.4em; }
.catalog-more__loading { display: inline-flex; align-items: center; gap: .6rem; color: var(--text-muted); font-size: var(--fs-sm); }
.catalog-more__loading[hidden], .catalog-more__error[hidden], .catalog-more__end[hidden] { display: none; }
.catalog-more__spinner { width: 1rem; height: 1rem; border: 2px solid var(--line-strong); border-top-color: var(--accent); border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .catalog-more__spinner { animation: catalog-spin .8s linear infinite; }
}
@keyframes catalog-spin { to { transform: rotate(360deg); } }
.catalog-more__error { display: grid; justify-items: center; gap: var(--s-3); color: var(--danger); font-weight: 500; }
.catalog-more__end { color: var(--text-faint); font-size: var(--fs-sm); }
.catalog-more__sentinel { width: 100%; height: 1px; }

/* Card footer: country on the left, price on the right; a long price wraps under the country instead of overflowing */
.page-catalog .release-card__foot { flex-wrap: wrap; align-items: baseline; }
.release-card__price, .release-card__note { white-space: nowrap; }
.release-card__note { color: var(--text-faint); font-weight: 400; }
.release-card__cost--sold { color: var(--text-muted); font-weight: 500; }
/* "Ожидается" is not "Распродано": an accent outline (the colour of prices) against the plain grey text of a sold-out release */
.release-card__cost--expected { color: var(--accent); font-weight: 600; border: 1px solid var(--accent); border-radius: 99px; padding: .1rem .6rem; font-size: var(--fs-xs); }

/* Home hero: the logo as it was drawn, the motto under it and a faint glow behind the ridge */
.hero { display: grid; justify-items: center; gap: var(--s-3); text-align: center; padding: var(--s-2) 0 var(--s-8);
  background: radial-gradient(ellipse 60% 55% at 50% 30%, var(--accent-soft), transparent 70%); }
.hero__logo { width: min(100%, 38rem); height: auto; }
.hero__slogan { font-size: clamp(1.15rem, .9rem + 1.2vw, 1.75rem); }
