/* ═══ HERO БЛОК (СО СТРЕЛКОЙ) ═══ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  position: relative;
  background: var(--bg-deep);
  width: 100%;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orbFloat 14s ease-in-out infinite;
  will-change: transform;
}

.hero-bg .orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(168,85,247,0.3), transparent 70%);
  top: -8%;
  left: -8%;
}

.hero-bg .orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(46,248,255,0.18), transparent 70%);
  bottom: -5%;
  right: -5%;
  animation-delay: -5s;
}

.hero-bg .orb-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(200,255,46,0.13), transparent 70%);
  top: 35%;
  right: 18%;
  animation-delay: -9s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(25px, -35px) scale(1.04); }
  66% { transform: translate(-18px, 18px) scale(0.96); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-align: center;
  width: 100%;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent-lime), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  white-space: nowrap;
}

.hero p {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
  text-align: center;
}


/* ═══ ПОИСК ═══ */
.search-wrapper {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.search-box {
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 60px;
  padding: 4px 4px 4px 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
  margin-bottom: 20px;
}

.search-box:focus-within {
  border-color: rgba(200,255,46,0.4);
  box-shadow: 0 0 40px rgba(200, 255, 46, 0.3);
}

.search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  margin-right: 10px;
  width: 20px;
  height: 20px;
}

.search-box input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 0;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-lime), #a8e600);
  color: var(--bg-deep);
  border: none;
  border-radius: 50px;
  padding: 12px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}

.search-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(200, 255, 46, 0.4);
}

.search-hints {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.search-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  border: 1px solid transparent;
}

.search-hint:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.08);
  border-color: rgba(200,255,46,0.3);
}

/* Стрелка прокрутки */
.scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  transition: opacity 0.5s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.scroll-down.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-down-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.scroll-arrow-btn {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

@media (max-width: 900px) {
  .scroll-down {
    bottom: 80px;
  }
}


/* ═══ ОСТАЛЬНЫЕ СТИЛИ (СЕТКИ, КАРТОЧКИ) ═══ */
.content-sections {
  padding: 0 var(--page-px);
}

.section {
  margin-bottom: 48px;
  width: 100%;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.section-link {
  color: var(--accent-lime);
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.section-link:hover {
  opacity: 1;
}

.playlists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
}

.playlist-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
  transition: background 0.2s;
  cursor: pointer;
}

.playlist-card:hover {
  background: var(--bg-card-hover);
}

.playlist-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-lime), #a8e600);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--bg-deep);
}

.playlist-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.playlist-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.tags-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
  width: 100%;
}

.tag-group {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
}

.tag-group-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tag-item {
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s;
}

.tag-item:hover {
  color: var(--accent-lime);
}

.tag-item.active {
  color: var(--accent-lime);
  font-weight: 600;
}

.artists-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.artists-scroll::-webkit-scrollbar {
  display: none;
}

.artist-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 0.9rem;
  white-space: nowrap;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.artist-chip:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-lime);
  color: var(--text-primary);
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
  width: 100%;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: background 0.2s;
  cursor: pointer;
}

.track-item:hover {
  background: var(--bg-card-hover);
}

.track-cover {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-lime));
  flex-shrink: 0;
}

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

.track-name {
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.translation-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, background 0.2s;
  cursor: pointer;
}

.translation-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.card-cover {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-lime));
  position: relative;
}

.card-lang {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.7);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.card-info {
  padding: 12px;
}

.card-title {
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.translations-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(to right, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

.translations-grid::-webkit-scrollbar {
  display: none;
}

.translations-grid.scrolled-end {
  mask-image: none;
  -webkit-mask-image: none;
}

.translation-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
}

@media (max-width: 900px) {
  .translation-card {
    flex: 0 0 160px;
  }
}

.footer {
  margin-top: 48px;
  padding: 32px var(--page-px);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 0.78rem;
}

.footer-vk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.footer-vk-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-vk-links {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.vk-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.vk-link:hover {
  border-color: #4c75a3;
  color: #4c75a3;
  background: rgba(76,117,163,0.1);
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(10px);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--bg-card-hover);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-secondary);
  fill: none;
  stroke-width: 2;
}


/* ═══ АДАПТИВНОСТЬ ═══ */
@media (max-width: 1200px) {
  .playlists-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .tags-section {
    grid-template-columns: 1fr 1fr;
  }
  
  .tracks-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .playlists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* десктопные breakpoints */


/* ═══ TRANSLATION CARD REDESIGN ═══ */
.translation-card .card-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-cover-initials {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.22);
  letter-spacing: -0.02em;
}

.card-lang {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  border-radius: 20px;
  padding: 4px 11px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.02em;
}

.card-views {
  color: var(--text-muted);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

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

.card-info-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

/* ═══ ARTIST CHIPS REDESIGN ═══ */
.artist-chip-new {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 30px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}

.artist-chip-new:hover {
  border-color: var(--accent-lime);
}

.artist-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.artist-chip-info {
  display: flex;
  flex-direction: column;
}

.artist-chip-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.artist-chip-count {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ═══ RECENTLY ADDED 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;
}

.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: 28px;
  flex-shrink: 0;
}

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

.recently-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
  transition: color 0.2s;
  color: var(--text-primary);
}

.recently-artist {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.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-time {
  color: var(--text-muted);
  font-size: 0.82rem;
  min-width: 80px;
  text-align: right;
  white-space: nowrap;
}

.nav-flag {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Artists scroll - peek effect */
.artists-scroll-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  transition: mask-image 0.3s, -webkit-mask-image 0.3s;
}

.artists-scroll-wrap.scrolled-end {
  mask-image: none;
  -webkit-mask-image: none;
}



/* ═══ CTA BLOCK & EXTRAS ═══ */
.cta-block {
  text-align: center;
  padding: 80px 40px;
  margin: 48px 0;
  border-radius: 20px;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(200,255,46,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.cta-block-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-block-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 36px;
}

.cta-block-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--accent-lime);
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg-deep);
  cursor: pointer;
  transition: all 0.2s;
}

.cta-block-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 30px rgba(200,255,46,0.35);
}

@media (max-width: 480px) {
  .playlists-grid,
  .translations-grid {
    grid-template-columns: 1fr;
  }
  
  /* Recently list — мобильная адаптация */
  .recently-item  { gap: 10px; }
  .recently-num   { display: none; }
  .recently-time  { display: none; }
  .recently-right { gap: 8px; }
  .recently-thumb { width: 40px; height: 40px; font-size: 0.6rem; }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .search-box {
    flex-wrap: wrap;
    border-radius: 16px;
    padding: 8px;
    gap: 8px;
  }
  
  .search-icon {
    display: none;
  }
  
  .search-box input {
    width: 100%;
    padding: 8px 0;
  }
  
  .search-btn {
    width: 100%;
    border-radius: 10px;
    padding: 12px;
  }
  
  .search-hints {
    gap: 6px;
  }
  
  .search-hint {
    font-size: 0.7rem;
    padding: 5px 10px;
  }
  
  .back-to-top {
    bottom: 16px;
    right: 16px;
  }
}


/* ═══ POP LANG FILTERS ═══ */
.pop-lang-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.plf-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;
}

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

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

/* ── Алфавитный указатель исполнителей ── */
.alpha-section {
  padding: 0 0 48px;
}

.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 32px;
}

.alpha-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.alpha-nav-btn:hover {
  background: var(--accent-lime);
  color: #000;
  border-color: var(--accent-lime);
}

.alpha-groups {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.alpha-group {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 20px;
  align-items: start;
}

.alpha-letter {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-lime);
  line-height: 1;
  padding-top: 2px;
  position: sticky;
  top: 0;
}

.alpha-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px 16px;
}

.alpha-artist {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}
.alpha-artist:hover {
  color: var(--accent-lime);
}

@media (max-width: 900px) {
  .alpha-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .alpha-list { grid-template-columns: 1fr; }
  .alpha-group { grid-template-columns: 30px 1fr; gap: 0 12px; }
  .alpha-letter { font-size: 1.2rem; }
}
