.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.hero-main {
  padding: 38px 42px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}
.hero-main::after {
  content: '♪';
  position: absolute;
  right: -10px;
  bottom: -60px;
  font-size: 280px;
  color: #ffb36b1a;
  font-family: 'Unbounded';
  pointer-events: none;
}
.hero-main h1 {
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.15;
  margin: 16px 0 12px;
}
.hero-main p { max-width: 600px; line-height: 1.65; font-size: 15px; }
.mission-banner {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff6f2 0%, #f6f3ff 100%);
  border: 1.5px solid #ffd8cc;
  max-width: 620px;
}
.mission-text {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
}
.mission-goal {
  margin-top: 10px;
}
.mission-goal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 5px;
}
.mission-goal-top b {
  color: var(--coral);
  font-size: 13px;
}
.mission-bar {
  height: 8px;
  border-radius: 99px;
  background: #ffffff;
  border: 1px solid #eadff8;
  overflow: hidden;
}
.mission-bar > div {
  height: 100%;
  border-radius: 99px;
  background: var(--grad);
  transition: width .6s ease;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 18px; }
.stats { display: flex; gap: 12px; flex-wrap: wrap; }
.stat {
  background: var(--bg);
  border-radius: 18px;
  padding: 14px 20px;
  min-width: 120px;
  border: 1px solid var(--line);
}
.stat b { font-family: 'Unbounded'; font-size: 24px; display: block; }
.stat span { font-size: 12px; color: var(--ink-2); font-weight: 600; }

.onair {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 24px;
  border: 1px solid var(--line);
}
.onair-head {
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--coral);
}
.now { display: flex; gap: 16px; align-items: center; }
.now .cover {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  font-size: 32px;
  box-shadow: 0 8px 24px -6px rgba(76, 45, 30, 0.2);
}
.now .info { min-width: 0; flex: 1; }
.now .title {
  font-family: 'Unbounded';
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.now .by { font-size: 13.5px; color: var(--ink-2); margin-top: 5px; }

.upnext-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-3);
  margin-top: 2px;
}
.upnext { display: flex; flex-direction: column; gap: 8px; }
.upnext .row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  background: var(--bg);
  padding: 8px 12px;
  border-radius: 12px;
}
.upnext .row .cover { width: 36px; height: 36px; border-radius: 10px; font-size: 13px; }
.upnext .row .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }

/* ---------- Быстрые идеи в 1 клик ---------- */
.quick-ideas {
  margin-top: 24px;
}
.quick-ideas-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.quick-ideas-head h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--ink);
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.quick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(76, 45, 30, 0.16);
  border-color: #ffb38a;
}
.quick-card-yt {
  background: linear-gradient(135deg, #fff8f3, #f6f3ff);
  border-color: #dcd3f8;
}
.quick-card-yt:hover {
  border-color: #a996f9;
}
.quick-card .q-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
.quick-card .q-body {
  flex: 1;
  min-width: 0;
}
.quick-card .q-body b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 3px;
}
.quick-card .q-body span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.35;
}
.quick-card .q-arr {
  font-weight: 800;
  font-size: 18px;
  color: var(--coral);
  opacity: 0.65;
  transition: transform .15s ease, opacity .15s ease;
}
.quick-card:hover .q-arr {
  transform: translateX(3px);
  opacity: 1;
}

.battle {
  margin-top: 24px;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 22px;
}
.battle-side { display: flex; flex-direction: column; font-size: 13.5px; min-width: 120px; }
.battle-side.right { text-align: right; }
.battle-side span { color: var(--ink-2); font-weight: 700; }
.battle-bar {
  flex: 1;
  height: 16px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ff8f6b, #ffb36b);
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}
.battle-bar > div { height: 100%; width: 50%; background: var(--grad-lav); border-radius: 99px; transition: width .6s ease; }

.section-title {
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 30px 0 12px;
}


/* ---------- Фильтры и табы ---------- */
.controls {
  margin-top: 24px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-radius: 22px;
}
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs button {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-2);
  transition: all .15s ease;
}
.tabs button:hover { background: #fff; color: var(--ink); }
.tabs button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.filters {
  display: flex;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
  min-width: 320px;
  align-items: center;
}
.filters .select { width: auto; padding: 10px 14px; font-size: 13px; }
.filters .input { max-width: 320px; padding: 10px 15px; font-size: 13.5px; }

/* ---------- Список треков (Широкий экран и Мобайл) ---------- */
.tracks { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.track {
  display: grid;
  grid-template-columns: 42px 52px minmax(0, 1fr) 180px 80px 64px auto;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: 0 4px 16px -6px rgba(76, 45, 30, .08);
  border: 1px solid rgba(240, 230, 220, 0.5);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
}
.track:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 10px 28px -10px rgba(76, 45, 30, .18);
  border-color: #ffd8cc;
}
.track.playing { outline: 2.5px solid var(--peach); background: #fffaf5; }
.track .pos { font-family: 'Unbounded'; font-weight: 800; text-align: center; color: var(--ink-3); font-size: 14px; }
.track .pos.top { font-size: 20px; }

.track .cover-wrap {
  position: relative;
  cursor: pointer;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.track .cover-wrap .cover {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}
.track .cover-wrap .play-ov {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(43, 33, 64, 0.65);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .15s ease;
  font-size: 16px;
}
.track .cover-wrap:hover .play-ov, .track.playing .play-ov { opacity: 1; }

.track .name { min-width: 0; overflow: hidden; }
.track .name a {
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
}
.track .name a:hover { color: var(--coral); }
.track .name .sub { display: flex; gap: 6px; margin-top: 5px; flex-wrap: wrap; align-items: center; }

.track .author {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink-2);
  width: 180px;
  min-width: 180px;
}
.track .dur {
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 600;
  text-align: right;
  width: 80px;
  min-width: 80px;
}

.like {
  width: 64px;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  transition: all .15s ease;
}
.like.on { background: var(--rose-soft); color: var(--coral); border-color: #ffccd2; }
.like:hover { transform: scale(1.06); }
.track .actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-shrink: 0; }

.btn-style {
  font-size: 15px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: all .15s ease;
}
.btn-style:hover {
  background: var(--lav-soft);
  border-color: #c7b9fc;
  transform: scale(1.1);
}

.empty { text-align: center; padding: 60px 20px; color: var(--ink-2); font-size: 16px; }

/* ---------- Модальные окна ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(30, 22, 46, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  z-index: 80;
  padding: 20px;
}
.modal-card { width: min(440px, 100%); padding: 30px; position: relative; border-radius: 24px; }
.modal-card.modal-card-lg {
  width: min(740px, calc(100% - 24px));
  padding: 38px 44px;
  border-radius: 28px;
  box-shadow: 0 24px 60px -12px rgba(43, 33, 64, 0.4);
}
.modal-card h3 { margin-bottom: 8px; font-size: 24px; font-weight: 800; }
.btn-age {
  border: 1.5px solid var(--line);
  background: var(--bg);
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: .15s;
  white-space: nowrap;
}
.btn-age:hover { background: #fff; }
.btn-age.active {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.track.explicit-masked {
  background: #fffafa;
  border: 1px dashed #fca5a5;
}
.track.explicit-masked .cover-wrap img,
.track.explicit-masked .cover-wrap .cover {
  filter: blur(6px);
  opacity: 0.7;
}
.track.explicit-masked .cover-wrap::after {
  content: '🔞';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: rgba(220, 38, 38, 0.25);
  border-radius: 14px;
  z-index: 2;
  pointer-events: none;
}

.lyrics-masked {
  background: #fdf2f2;
  border: 1.5px dashed #fca5a5;
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  color: #991b1b;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

/* ---------- Адаптивность для планшетов и телефонов ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .track {
    grid-template-columns: 36px 50px minmax(0, 1fr) 140px 75px 60px auto;
    gap: 12px;
  }
  .track .author { width: 140px; min-width: 140px; }
  .track .dur { width: 75px; min-width: 75px; }
}

@media (max-width: 860px) {
  .track {
    grid-template-columns: 30px 48px minmax(0, 1fr) 60px auto;
    gap: 10px;
  }
  .track .author, .track .dur { display: none; }
  .track .actions .hide-m { display: none; }
}

@media (max-width: 600px) {
  .hero-main { padding: 24px 18px; }
  .quick-grid { grid-template-columns: 1fr; gap: 10px; }
  .quick-card { padding: 13px 14px; border-radius: 16px; }
  .quick-ideas-head h2 { font-size: 15.5px; }
  .onair { padding: 20px 16px; }
  .controls { padding: 12px; gap: 10px; }
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { white-space: nowrap; flex-shrink: 0; padding: 8px 12px; font-size: 12px; }
  .filters {
    flex-direction: column;
    width: 100%;
    min-width: 0;
    gap: 8px;
  }
  .filters .select, .filters .btn-age, .filters .input {
    width: 100%;
    max-width: none;
  }
  .track {
    padding: 10px 12px;
    border-radius: 16px;
    grid-template-columns: 24px 44px minmax(0, 1fr) auto;
    gap: 8px;
  }
  .track .cover-wrap, .track .cover-wrap .cover { width: 44px; height: 44px; border-radius: 12px; }
  .track .pos { font-size: 12.5px; }
  .track .pos.top { font-size: 15px; }
  .track .name a { font-size: 14px; }
  .track .like { width: auto; padding: 6px 10px; font-size: 12px; }
}
