/* ═══════════════════════════════════════════════════════
   LYRICRU — Global CSS
   Основа: тёмная тема, оранжевый акцент, Inter + Syne
═══════════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Переменные ── */
:root {
  --bg:          #0c0c0c;
  --bg2:         #111111;
  --bg3:         #181818;
  --bg4:         #1f1f1f;
  --border:      rgba(255,255,255,.08);
  --border2:     rgba(255,255,255,.13);
  --text:        #f0f0f0;
  --text-sub:    rgba(255,255,255,.55);
  --text-muted:  rgba(255,255,255,.32);
  --orange:      #f97316;
  --orange-dim:  rgba(249,115,22,.15);
  --orange-dark: #c2611a;
  --accent:      #f97316;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 2px 12px rgba(0,0,0,.4);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.6);
  --font:        'Inter', 'Segoe UI', sans-serif;
  --font-display:'Syne', Georgia, sans-serif;

  /* lang colors */
  --lang-en: #1d4ed8;
  --lang-es: #dc2626;
  --lang-fr: #7c3aed;
  --lang-de: #16a34a;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(12,12,12,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex; align-items: center; gap: 32px;
}

/* Logo */
.site-logo {
  display: flex; align-items: center; gap: 8px;
  flex-shrink: 0;
  transition: opacity .15s;
}
.site-logo:hover { opacity: .8; }
.logo-icon { width: 28px; height: 22px; flex-shrink: 0; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.18rem; font-weight: 800;
  color: #fff; letter-spacing: -.03em;
}

/* Nav */
.header-nav {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  padding: 6px 13px; border-radius: 6px;
  font-size: .84rem; font-weight: 500;
  color: var(--text-sub);
  transition: color .15s, background .15s;
}
.nav-link:hover  { color: #fff; background: rgba(255,255,255,.06); }
.nav-link.active { color: #fff; }

/* Right side */
.header-right {
  display: flex; align-items: center; gap: 12px;
  margin-left: auto;
}

/* Search */
.header-search-wrap {
  position: relative;
}
.header-search-wrap svg {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; color: var(--text-muted); pointer-events: none;
}
.header-search-wrap input {
  width: 200px;
  padding: 7px 12px 7px 32px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text); font-size: .82rem; font-family: var(--font);
  outline: none;
  transition: border-color .15s, width .25s, background .15s;
}
.header-search-wrap input::placeholder { color: var(--text-muted); }
.header-search-wrap input:focus {
  border-color: rgba(249,115,22,.5);
  background: rgba(249,115,22,.05);
  width: 260px;
}

/* Search dropdown */
.search-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 340px;
  background: #1a1a1a;
  border: 1px solid var(--border2);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 300; overflow: hidden; display: none;
}
.search-dropdown.open { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  transition: background .12s; cursor: pointer;
  border-bottom: 1px solid var(--border);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(255,255,255,.05); }
.search-result-cover {
  width: 36px; height: 36px; border-radius: 6px;
  background: var(--bg4); flex-shrink: 0; overflow: hidden;
}
.search-result-cover img { width: 100%; height: 100%; object-fit: cover; }
.search-result-cover.artist { border-radius: 50%; }
.search-result-title { font-size: .84rem; font-weight: 600; color: #fff; }
.search-result-sub   { font-size: .72rem; color: var(--text-muted); }
.search-result-badge {
  margin-left: auto; font-size: .62rem; font-weight: 700;
  padding: 2px 7px; border-radius: 4px; flex-shrink: 0;
  background: var(--orange-dim); color: var(--orange);
  border: 1px solid rgba(249,115,22,.2);
}
.search-no-results { padding: 16px; text-align: center; color: var(--text-muted); font-size: .82rem; }

/* CTA button */
.header-cta {
  padding: 7px 18px; border-radius: 8px;
  font-size: .84rem; font-weight: 600;
  background: var(--orange); color: #fff;
  transition: background .15s, transform .15s;
  white-space: nowrap; flex-shrink: 0;
}
.header-cta:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* Burger */
.burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 4.5px;
  width: 32px; height: 32px;
  margin-left: auto;
}
.burger span {
  display: block; height: 1.5px;
  background: rgba(255,255,255,.7); border-radius: 2px;
  transition: all .2s;
}
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: rgba(12,12,12,.98);
  max-height: 0; overflow: hidden;
  transition: max-height .28s ease;
}
.mobile-menu.open { max-height: 240px; }
.mobile-link {
  padding: 13px 24px; font-size: .9rem; font-weight: 500;
  color: var(--text-sub); border-bottom: 1px solid var(--border);
  transition: color .12s, background .12s;
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover,
.mobile-link.active { color: #fff; background: rgba(255,255,255,.04); }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.site-footer { background: #080808; }

.footer-top { padding: 56px 0 48px; border-top: 1px solid var(--border); }
.footer-top-inner {
  display: flex; gap: 64px; align-items: flex-start;
}
.footer-brand { flex-shrink: 0; max-width: 280px; }
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.footer-logo span {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: -.03em;
}
.footer-desc {
  font-size: .82rem; color: var(--text-muted); line-height: 1.65;
}

.footer-cols {
  display: flex; gap: 56px; flex: 1;
}
.footer-col {
  display: flex; flex-direction: column; gap: 10px;
}
.footer-col-title {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.5); margin-bottom: 4px;
}
.footer-link {
  font-size: .84rem; color: var(--text-muted);
  transition: color .12s;
}
.footer-link:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: .78rem; color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   WRAPPER
═══════════════════════════════════════════════════════ */
.wrapper { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════════════════════
   LANG BADGES
═══════════════════════════════════════════════════════ */
.lang-badge {
  display: inline-flex; align-items: center;
  padding: 2px 6px; border-radius: 4px;
  font-size: .63rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; color: #fff;
}
.lang-en { background: var(--lang-en); }
.lang-es { background: var(--lang-es); }
.lang-fr { background: var(--lang-fr); }
.lang-de { background: var(--lang-de); }

/* ═══════════════════════════════════════════════════════
   SONG CARDS
═══════════════════════════════════════════════════════ */
.songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.song-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  display: block;
}
.song-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249,115,22,.35);
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.song-card-thumb {
  position: relative; aspect-ratio: 1;
  overflow: hidden; background: var(--bg4);
}
.song-card-thumb .bg-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.song-card:hover .bg-img { transform: scale(1.05); }
.song-card-thumb .album-img {
  position: absolute; bottom: 8px; left: 8px;
  width: 40px; height: 40px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,.7);
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.song-card-thumb .no-cover {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800;
  color: var(--orange);
  background: rgba(249,115,22,.08);
}
.song-card-lang { position: absolute; top: 8px; right: 8px; }
.song-card-body { padding: 10px 12px 13px; }
.song-card-title {
  font-size: .86rem; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.song-card-artist {
  font-size: .73rem; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════════════════
   PAGE HERO (внутренние страницы)
═══════════════════════════════════════════════════════ */
.page-hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 28px;
}
.page-hero-eyebrow {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--orange); margin-bottom: 6px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800;
  letter-spacing: -.04em; margin-bottom: 6px; color: #fff;
}
.page-hero-sub { font-size: .88rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════
   SECTIONS (внутренние страницы)
═══════════════════════════════════════════════════════ */
.section { padding: 32px 0; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.section-title { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.section-link  { font-size: .82rem; font-weight: 600; color: var(--orange); }
.section-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════
   LANG FILTERS
═══════════════════════════════════════════════════════ */
.lang-filters  { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.lang-filter-btn {
  padding: 7px 16px; border-radius: 8px;
  font-size: .8rem; font-weight: 600;
  border: 1px solid var(--border2);
  color: var(--text-sub); background: var(--bg3);
  transition: all .14s;
}
.lang-filter-btn:hover  { border-color: var(--orange); color: var(--orange); }
.lang-filter-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: 8px;
  font-size: .86rem; font-weight: 600;
  transition: all .15s; cursor: pointer;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline  {
  background: transparent; border: 1px solid var(--border2); color: var(--text-sub);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* ═══════════════════════════════════════════════════════
   ARTIST CARD
═══════════════════════════════════════════════════════ */
.artist-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
  display: flex; align-items: center; gap: 12px;
  transition: all .15s;
}
.artist-card:hover { border-color: rgba(249,115,22,.35); transform: translateY(-1px); }
.artist-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: var(--orange-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; color: var(--orange);
}
.artist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-name  { font-size: .9rem; font-weight: 700; color: var(--text); }
.artist-count { font-size: .74rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════
   BREADCRUMBS
═══════════════════════════════════════════════════════ */
.breadcrumbs {
  display: flex; align-items: center; gap: 6px;
  font-size: .76rem; color: var(--text-muted); padding: 14px 0;
}
.breadcrumbs a { color: var(--orange); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { opacity: .3; }

/* ═══════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════ */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 32px; justify-content: center; }
.page-btn {
  min-width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .84rem; font-weight: 600; color: var(--text-sub);
  transition: all .14s;
}
.page-btn:hover { border-color: var(--orange); color: var(--orange); }
.page-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ═══════════════════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════════════════ */
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.empty-icon  { font-size: 2.8rem; margin-bottom: 14px; }

/* ═══════════════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #222; color: #fff;
  padding: 9px 22px; border-radius: 8px;
  font-size: .83rem; font-weight: 500;
  opacity: 0; transition: all .22s; z-index: 9999;
  pointer-events: none; white-space: nowrap;
  border: 1px solid var(--border2);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════════════════════
   HOME PAGE SECTIONS
═══════════════════════════════════════════════════════ */

/* Hero */
.lhero {
  background: var(--bg);
  padding: 96px 0 88px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.lhero::before {
  content: '';
  position: absolute;
  top: -200px; left: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,.08) 0%, transparent 65%);
  pointer-events: none;
}
.lhero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: 5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(34,211,238,.05) 0%, transparent 65%);
  pointer-events: none;
}
.lhero-inner { position: relative; z-index: 1; }

.lhero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--border2);
  border-radius: 50px; padding: 5px 14px;
  font-size: .7rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp .5s ease both;
}
.lhero-badge svg { color: var(--orange); }

.lhero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800; letter-spacing: -.05em; line-height: .92;
  margin-bottom: 24px;
  animation: fadeUp .5s .08s ease both;
}
.lhero-t1 { display: block; color: #fff; }
.lhero-t2 { display: block; color: var(--orange); }

.lhero-sub {
  font-size: clamp(.88rem, 1.5vw, 1rem);
  color: var(--text-muted); line-height: 1.65;
  max-width: 460px; margin-bottom: 36px;
  animation: fadeUp .5s .16s ease both;
}

.lhero-langs {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 56px;
  animation: fadeUp .5s .24s ease both;
}
.lhero-lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: 8px;
  font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.75);
  border: 1px solid var(--border2);
  background: var(--bg3);
  transition: all .16s;
}
.lhero-lang-btn:hover { transform: translateY(-2px); background: var(--bg4); border-color: rgba(249,115,22,.4); color: #fff; }

.lhero-stats {
  display: flex; align-items: center; gap: 32px;
  animation: fadeUp .5s .32s ease both;
}
.lhero-stat { display: flex; flex-direction: column; gap: 2px; }
.lhero-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  color: var(--orange); letter-spacing: -.04em; line-height: 1;
}
.lhero-stat-label {
  font-size: .7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-muted);
}
.lhero-stat-div { width: 1px; height: 32px; background: var(--border2); }

/* Features */
.lfeat-section {
  background: var(--bg2);
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.lfeat-header { text-align: center; margin-bottom: 48px; }
.lfeat-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; color: #fff; letter-spacing: -.04em; margin-bottom: 10px;
}
.lfeat-sub { font-size: .9rem; color: var(--text-muted); max-width: 460px; margin: 0 auto; }
.lfeat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.lfeat-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px 22px 28px;
  transition: border-color .18s, transform .18s;
}
.lfeat-card:hover { border-color: rgba(249,115,22,.3); transform: translateY(-3px); }
.lfeat-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--orange-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); margin-bottom: 18px;
}
.lfeat-icon svg { width: 20px; height: 20px; }
.lfeat-card-title { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.lfeat-card-text  { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

/* Songs sections on home */
.lsongs-section { padding: 52px 0; border-bottom: 1px solid var(--border); }
.lsongs-section:last-child { border-bottom: none; }
.lsection-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px; gap: 12px;
}
.lsection-eyebrow {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--orange); margin-bottom: 4px;
}
.lsection-title {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 800;
  color: #fff; letter-spacing: -.03em;
}
.lsection-link {
  font-size: .8rem; font-weight: 600; color: var(--orange);
  white-space: nowrap; transition: opacity .14s;
}
.lsection-link:hover { opacity: .7; }

/* ═══════════════════════════════════════════════════════
   ANIMATION
═══════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .header-nav        { display: none; }
  .header-right      { display: none; }
  .burger            { display: flex; }
  .mobile-menu       { display: flex; }
}
@media (max-width: 640px) {
  .header-inner      { gap: 16px; }
  .songs-grid        { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .wrapper           { padding: 0 16px; }
  .lhero             { padding: 64px 0 60px; }
  .lhero-stats       { gap: 20px; }
  .lfeat-section     { padding: 56px 0; }
  .footer-top-inner  { flex-direction: column; gap: 36px; }
  .footer-cols       { flex-wrap: wrap; gap: 36px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 480px) {
  .songs-grid { grid-template-columns: repeat(2, 1fr); }
}
