/* ─── PAGE HEADER ─── */
.page-header {
  padding: 24px var(--page-px) 24px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(200,255,46,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 0%, rgba(46,248,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.page-header-inner { position: relative; z-index: 1; }
.page-title-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -0.03em;
}
.page-title span {
  background: linear-gradient(135deg, var(--accent-lime), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-subtitle {
  font-size: 0.88rem; color: var(--text-muted); margin-top: 6px;
}
.page-count {
  font-size: 0.85rem; color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
  white-space: nowrap;
}

/* ─── PAGE CONTENT ─── */
.page-content {
  padding: 28px var(--page-px) 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lang-filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 24px;
}

.lf-btn {
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.lf-btn:hover { border-color: var(--accent-lime); color: var(--text-primary); }

.lf-btn.active {
  background: var(--accent-lime);
  border-color: var(--accent-lime);
  color: var(--bg-deep); font-weight: 700;
}

/* ═══ TRANSLATIONS GRID ═══ */
.translations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  padding: 4px 0 24px;
}

/* ═══ PAGE HEADING ═══ */
.page-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}


.translation-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

















.card-views svg {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none; stroke-width: 2;
}

/* ═══ LOAD MORE ═══ */
.load-more-wrap {
  display: flex; justify-content: center;
  margin-top: 40px;
}

.load-more-btn {
  padding: 14px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 10px;
}

.load-more-btn:hover {
  border-color: var(--accent-lime);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.load-more-btn svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none; stroke-width: 2;
}

/* Пустое состояние */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.empty-state-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state p { font-size: 1rem; }


/* ═══ TRANSLATIONS LIST ═══ */
.recently-list {
  display: flex;
  flex-direction: column;
}

.recently-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.recently-item:last-child { border-bottom: none; }
.recently-item:hover .recently-title { color: var(--accent-lime); }

.recently-num {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  width: 32px;
  flex-shrink: 0;
  text-align: right;
}

.recently-thumb {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700;
  color: rgba(0,0,0,0.35);
  flex-shrink: 0;
}

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

.recently-title {
  font-weight: 600;
  font-size: 0.97rem;
  margin-bottom: 3px;
  transition: color 0.2s;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recently-artist {
  font-size: 0.82rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recently-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
}

.recently-lang-badge {
  background: rgba(46,248,255,0.1);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.recently-views {
  color: var(--text-muted);
  font-size: 0.82rem;
  display: flex; align-items: center; gap: 5px;
  min-width: 56px;
}
.recently-views svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }

@media (max-width: 600px) {
  .recently-num { display: none; }
  .recently-views { display: none; }
  .recently-lang-badge { display: none; }
}



@media (max-width: 600px) {
  .translations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ── Поисковые блоки (исполнители кружками, песни списком) ── */
.fav-artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
}
@media (max-width: 600px) {
  .fav-artists-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
}

/* ── Кружки исполнителей (поиск) ── */
.artist-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.07), 0 6px 24px rgba(0,0,0,0.4);
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1), box-shadow 0.32s ease;
}
.artist-card:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 0 0 2.5px rgba(200,255,46,0.55), 0 20px 50px rgba(0,0,0,0.55), 0 0 40px rgba(200,255,46,0.07);
}
.artist-circle-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform 0.48s ease;
}
.artist-card:hover .artist-circle-bg { transform: scale(1.07); }
.artist-circle-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,7,14,0.18) 0%, rgba(8,7,14,0.28) 35%, rgba(8,7,14,0.72) 70%, rgba(8,7,14,0.88) 100%);
}
.artist-circle-initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: rgba(255,255,255,0.12);
  letter-spacing: -0.02em;
  pointer-events: none;
  z-index: 1;
}
.artist-card-name {
  position: absolute;
  left: 12%; right: 12%; bottom: 18%;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.4vw, 1.1rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.9);
  text-align: center;
  pointer-events: none;
}
.fav-artists-grid .artist-like-btn { opacity: 1 !important; }