/* ===========================
   Feeling of Life — спільні стилі
   =========================== */

/* ---------- Скидання ---------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Утиліти ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Розділювач ---------- */
.divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.14),
    transparent
  );
}

/* ---------- Плитка альбому (каталог, нові релізи) ---------- */
.tile {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--stroke);
  border-radius: var(--r, 18px);
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
  transform: translate3d(0, 0, 0);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
  will-change: transform;
}

.tile:hover {
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.16);
  filter: brightness(1.06);
}

.tile .cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.info {
  padding: 12px 14px 14px;
  background: linear-gradient(180deg, rgba(27, 43, 65, 0), rgba(27, 43, 65, 0.28));
}

/* ---------- Рядки всередині картки / плитки ---------- */
.row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.titleText {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}

/* ---------- Сторінковий layout ---------- */
.page {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.backLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
}

/* ---------- Футер ---------- */
.siteFooter {
  margin-top: 28px;
  padding: 18px 6px 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.siteFooter strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.siteFooter p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.siteFooter .visitTimer {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.5;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.siteFooter .supportLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(134, 176, 255, 0.3);
  background: rgba(134, 176, 255, 0.08);
  color: #86b0ff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.14s ease, transform 0.14s ease;
}

.siteFooter .supportLink:hover {
  background: rgba(134, 176, 255, 0.16);
  transform: translateY(-1px);
}

/* ---------- Топбар ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: linear-gradient(180deg, #0b0f1a, rgba(11, 15, 26, 0.88));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(100, 160, 255, 0.15);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.4);
}

.site-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  background: linear-gradient(135deg, #fff 40%, #86b0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(-5px); }
}

.site-title .arrow {
  display: inline-block;
  animation: arrowPulse 1.8s ease-in-out infinite;
  margin-right: 4px;
  -webkit-text-fill-color: rgba(134, 176, 255, 0.8);
  background: none;
}

/* ---------- Навігація між альбомами ---------- */
.albumNav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.albumNavBtn {
  font-size: 13px;
  color: rgba(238, 243, 255, 0.7);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.14s ease, color 0.14s ease;
}

.albumNavBtn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------- Мобільна адаптація (спільне) ---------- */
@media (max-width: 720px) {
  .page {
    width: calc(100vw - 24px);
    padding-top: 16px;
  }
}

@media (max-width: 768px) {
  .titleText { font-size: 15px; }
}

@media (max-width: 480px) {
  .titleText { font-size: 14px; }
  .cardBody { padding: 10px 12px 12px; }
  .row1 { margin-bottom: 4px; }
  .siteFooter { padding: 14px 4px 4px; }
  .siteFooter p { font-size: 12px; }
}
