/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.navbar-inner {
  display: flex; align-items: center; gap: 0;
  height: 64px;
}
.navbar-logo {
  display: flex; align-items: center; gap: 10px;
  margin-right: 40px; flex-shrink: 0;
}
.navbar-logo img { width: 36px; height: 36px; object-fit: contain; }
.navbar-logo-text {
  font-family: 'Rem', sans-serif;
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--text);
}
.navbar-logo-text span { color: var(--accent); }
.navbar-nav {
  display: flex; align-items: center; gap: 4px;
  list-style: none; flex: 1;
}
.navbar-nav a {
  display: block; padding: 8px 16px;
  font-family: 'Rem', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text2); border-radius: var(--radius-xs);
  transition: all 0.2s;
  position: relative;
}
.navbar-nav a::after {
  content: '';
  position: absolute; bottom: 2px; left: 16px; right: 16px;
  height: 2px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.navbar-nav a:hover { color: var(--text); background: var(--bg); }
.navbar-nav a:hover::after { transform: scaleX(1); }
.navbar-nav a.active { color: var(--accent); background: none; }
.navbar-nav a.active::after { transform: scaleX(1); }
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.btn-login {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600;
  color: var(--text); background: var(--bg2);
  padding: 9px 18px; border-radius: 100px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.08);
  transition: all 0.15s;
}
.btn-login:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-login img { width: 16px; height: 16px; filter: invert(0.4); }

/* ── HERO / RADIO BLOCK ── */
.hero-placeholder {
  background: linear-gradient(135deg, #3d0a14 0%, #8B1A2F 50%, #2a0810 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
padding: 22px 20px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin: 24px 0;
  position: relative; overflow: hidden;
}
.hero-placeholder::before,
.hero-placeholder::after { display: none; }
.hero-mountains-bg {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100%;
  background: url('../assets/icons/mountain.png') no-repeat center bottom;
  background-size: 60%;
  opacity: 0.04;
  filter: invert(1);
  pointer-events: none;
}
.hero-text { position: relative; }
.hero-text h1 { font-size: clamp(32px,5vw,56px); color: #fff; margin-bottom: 8px; }

.hero-text p { font-size: 15px; color: rgba(255,255,255,0.65); max-width: 340px; }
.hero-radio-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.hero-radio-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero-chat-btn {
  display: inline-flex; align-items: center; gap: 5px;
  margin-left: 8px;
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.1);
  padding: 5px 12px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.25); cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.15s;
  letter-spacing: 0.05em;
}
.hero-chat-btn:hover { background: rgba(255,255,255,0.18); transform: scale(1.06); color: #fff; }
.hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--accent); background: #fff;
  padding: 13px 26px; border-radius: 100px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.2s; position: relative;
}
.hero-btn:hover { transform: scale(1.04); box-shadow: 0 8px 32px rgba(0,0,0,0.35); }
.hero-btn img { width: 18px; height: 18px; }

.hero-visual {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

/* ── RADIO CARD ── */
.hero-radio-info {
  display: flex; align-items: center; gap: 20px;
}
.hero-radio-prev, .hero-radio-next {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0.35;
  transform: scale(0.82);
  transition: all 0.2s;
}
.hero-radio-prev:hover, .hero-radio-next:hover {
  opacity: 0.6;
  transform: scale(0.86);
}
.hero-radio-current {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  position: relative;
}

/* кольца — враппер вокруг обложки */
.ring-wrap {
  position: relative;
  width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center;
}
.ring {
  position: absolute;
  top: 0; left: 0;
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  animation: ring-out 2.4s ease-out infinite;
  pointer-events: none;
  z-index: 0;
}
.ring:nth-child(1) { animation-delay: 0s; }
.ring:nth-child(2) { animation-delay: 0.8s; }
.ring:nth-child(3) { animation-delay: 1.6s; }
@keyframes ring-out {
  0%   { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.2); }
}

.radio-thumb {
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.radio-thumb-sm { width: 72px; height: 72px; }
.radio-thumb-lg { width: 110px; height: 110px; }
.radio-thumb img { width: 100%; height: 100%; object-fit: cover; }
.radio-play-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
  border-radius: 10px;
}
.radio-thumb-lg:hover .radio-play-overlay { opacity: 1; }

.radio-track-name {
  font-family: 'Rem', sans-serif;
  font-size: 11px; font-weight: 700;
  color: #fff; text-align: center;
  white-space: nowrap; max-width: 90px;
}
.radio-track-name.lg {
  font-size: 15px; max-width: 180px;
  overflow: hidden;
}
.radio-track-name.lg.long {
  animation: marquee 6s linear infinite;
  display: inline-block;
}
@keyframes marquee {
  0%  { transform: translateX(30%); }
  100%{ transform: translateX(-100%); }
}
.radio-track-artist {
  font-size: 12px; color: rgba(255,255,255,0.75);
  text-align: center;
  font-style: italic;
  letter-spacing: 0.03em;
}
.radio-arrow { font-size: 18px; color: rgba(255,255,255,0.3); }

/* ── SECTION ── */
.section { margin-bottom: 32px; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--bg3);
}
.section-head h2 { font-size: 20px; color: var(--text); }
@media (max-width: 768px) {
  .section-head h2 { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

#oldschool .section-head { border-left-color: #d4a843; }
#ringtones .section-head { border-left-color: #16a34a; }
#pop .section-head { border-left-color: #db2777; }
#lyrics .section-head { border-left-color: #6482ff; }
#new-releases .section-head { border-left: none; padding-left: 0; }
#top-artists .section-head { border-left: none; padding-left: 0; }

.see-all {
  font-size: 12px; font-weight: 600;
  color: var(--accent); padding: 6px 14px;
  border-radius: 100px; background: var(--accent-light);
  transition: all 0.15s;
}
.see-all:hover { background: var(--accent); color: #fff; }

/* ── TOP 50 ── */
.top50-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 32px;
  display: flex; align-items: center; gap: 32px;
}
.top50-icon { flex-shrink: 0; }
.top50-icon img { width: 56px; height: 56px; filter: invert(1) brightness(2); opacity: 0.9; }
.top50-text h2 { font-size: 28px; color: #fff; }
.top50-text p { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.top50-btn {
  margin-left: auto; flex-shrink: 0;
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-family: 'Syne', sans-serif;
  font-size: 13px; color: #1a1a2e;
  background: #fff; padding: 12px 24px;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.15s;
}
.top50-btn img { width: 16px; height: 16px; }
.top50-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }

/* ── TRACK ROW ── */
.tracks-card {
  background: var(--bg2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.track-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: background 0.12s;
  cursor: pointer;
}
.track-row:last-child { border-bottom: none; }
.track-row:hover { background: var(--bg); }
.track-num { font-size: 12px; color: var(--text3); width: 20px; text-align: center; flex-shrink: 0; }
.track-cover {
  width: 46px; height: 46px; border-radius: var(--radius-xs);
  background: var(--bg3); flex-shrink: 0; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.track-cover img { width: 100%; height: 100%; }
.track-info { flex: 1; min-width: 0; }
.track-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-artist { font-size: 12px; color: var(--text2); }
.track-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.05em;
  padding: 3px 8px; border-radius: 100px;
  background: #fef3c7; color: #d97706;
}
.track-badge.new-badge { background: #dcfce7; color: #16a34a; }
.track-actions {
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transition: opacity 0.12s;
}
.track-row:hover .track-actions { opacity: 1; }
.track-act-btn {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3); transition: all 0.12s;
}
.track-act-btn:hover { background: var(--accent-light); }
.track-act-btn img { width: 16px; height: 16px; filter: invert(0.5); }
.track-act-btn:hover img { filter: invert(0.3) sepia(1) saturate(3) hue-rotate(200deg); }
.track-duration { font-size: 12px; color: var(--text3); flex-shrink: 0; }

/* ── ARTIST CARD ── */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.artist-card {
  background: var(--bg2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.artist-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.artist-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg3);
  margin: 0 auto 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  position: relative;
}
.artist-avatar img { width: 100%; height: 100%; }
.artist-verified {
  position: absolute; bottom: 2px; right: 2px;
  width: 20px; height: 20px;
}
.artist-verified img { width: 100%; height: 100%; }
.artist-name {
  font-family: 'Syne', sans-serif;
  font-size: 14px; font-weight: 700; margin-bottom: 3px;
}
.artist-genre { font-size: 11px; color: var(--text3); }
.artist-followers { font-size: 12px; color: var(--text2); margin-top: 6px; }

/* ── ALBUMS/RINGTONE GRID ── */
.items-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.items-grid.scrollable {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.items-grid.scrollable::-webkit-scrollbar { display: none; }
.items-grid.scrollable .item-card {
  flex: 0 0 200px;
}
.item-card {
  background: var(--bg2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
}
.item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.item-cover {
  aspect-ratio: 1;
  background: var(--bg3);
  position: relative; overflow: hidden;
}
.item-cover img { width: 100%; height: 100%; }
.item-cover-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.item-card:hover .item-cover-overlay { opacity: 1; }
.item-play {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.item-play img { width: 20px; height: 20px; }
.item-info { padding: 12px 14px; }
.item-title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-sub { font-size: 12px; color: var(--text3); margin-top: 2px; }
.item-badge {
  display: inline-block; margin-top: 6px;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 100px;
  background: var(--bg3); color: var(--text2);
}
/* ── НОВИНКИ ТРЕКИ ── */
.new-tracks-list {
  background: var(--bg2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-height: 560px;
  overflow-y: auto;
  scrollbar-width: none;
}
.new-tracks-list::-webkit-scrollbar { display: none; }
.new-track-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  flex-wrap: wrap;
  cursor: pointer;
  transition: background 0.15s;
}
.new-track-row:last-child { border-bottom: none; }
.new-track-row:hover { background: var(--bg); }
.new-track-num { width: 20px; text-align: center; color: var(--text3); font-size: 13px; flex-shrink: 0; }
.new-track-cover-wrap {
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--bg3); flex-shrink: 0;
  overflow: hidden; position: relative; cursor: pointer;
}
.new-track-cover { width: 100%; height: 100%; object-fit: cover; }
.new-track-play-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.new-track-cover-wrap:hover .new-track-play-overlay { opacity: 1; }
.new-track-info { flex: 1; min-width: 0; }
.new-track-name { font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.new-track-artist { font-size: 12px; color: var(--text3); }
.new-track-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.new-track-duration { font-size: 12px; color: var(--text3); }
.new-track-btn {
  display: flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer;
  font-size: 11px; color: var(--text3);
  transition: color 0.15s; padding: 0;
}
.new-track-btn:hover { color: var(--accent); }
.new-track-btn img { width: 16px; height: 16px; opacity: 0.6; transition: opacity 0.15s; }
.new-track-btn:hover img { opacity: 1; }
.new-track-progress-wrap {
  width: 100%; padding: 4px 14px 6px 88px;
  display: none; align-items: center; gap: 8px;
}
.new-track-row.playing .new-track-progress-wrap {
  display: flex;
}
.new-track-progress-bar {
  flex: 1; height: 3px; background: var(--bg3);
  border-radius: 100px; overflow: hidden; cursor: pointer;
}
.new-track-progress-fill { height: 100%; background: var(--accent); width: 0%; border-radius: 100px; }
.new-track-progress-time { font-size: 10px; color: var(--text3); white-space: nowrap; }
/* ── PLAYER BAR ── */
.player-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
  height: 74px;
  display: flex; align-items: center;
  padding: 0 24px; gap: 20px; z-index: 200;
}
.player-track {
  display: flex; align-items: center; gap: 12px;
  width: 240px; flex-shrink: 0;
}
.player-thumb {
  width: 46px; height: 46px; border-radius: var(--radius-xs);
  background: var(--bg3); flex-shrink: 0; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.player-thumb img { width: 100%; height: 100%; }
.player-track-name { font-size: 13px; font-weight: 600; }
.player-track-artist { font-size: 12px; color: var(--text2); }
.player-controls {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 8px;
}
.player-btns { display: flex; align-items: center; gap: 16px; }
.player-btn {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.player-btn img { width: 18px; height: 18px; filter: invert(0.5); }
.player-btn:hover img { filter: invert(0.2); }
.player-btn-main {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(37,99,235,0.4);
  transition: all 0.15s;
}
.player-btn-main img { width: 20px; height: 20px; filter: invert(1); margin-left: 0; }
.player-btn-main:hover { transform: scale(1.07); box-shadow: 0 6px 18px rgba(37,99,235,0.5); }
.player-progress {
  width: 100%; max-width: 440px;
  display: flex; align-items: center; gap: 10px;
}
.player-time { font-size: 11px; color: var(--text3); min-width: 32px; }
.progress-bar {
  flex: 1; height: 4px; background: var(--bg3);
  border-radius: 100px; cursor: pointer;
  box-shadow: var(--shadow-inset);
}
.progress-fill {
  height: 100%; width: 35%;
  background: var(--accent); border-radius: 100px;
}
.player-right {
  width: 160px; display: flex; align-items: center;
  justify-content: flex-end; gap: 12px; flex-shrink: 0;
}
.volume-wrap { display: flex; align-items: center; gap: 8px; }
.volume-wrap img { width: 20px; height: 20px; filter: invert(0.4); cursor: pointer; transition: filter 0.15s; }
.volume-wrap img:hover { filter: invert(0.1); }
.volume-bar {
  width: 80px; height: 4px;
  background: var(--bg3); border-radius: 100px;
  box-shadow: var(--shadow-inset); cursor: pointer;
  position: relative;
}
.volume-bar:hover .volume-fill { background: var(--accent); }
.volume-fill { height: 100%; width: 70%; background: var(--text3); border-radius: 100px; transition: background 0.15s; }

/* ── FOOTER ── */
.footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.5);
  padding: 0 0 80px;
  margin-top: 48px;
}
.footer-inner { display: none; }
.footer-bottom {
  display: flex; flex-direction: column; gap: 0;
  padding: 16px 0 12px;
  font-size: 12px; color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-row-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-row-bottom {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 6px; padding-top: 10px;
  padding-right: 48px;
}
.footer-bottom-left {
  display: flex; align-items: center; gap: 14px;
}
.footer-bottom-logo {
  display: flex; align-items: center; gap: 8px;
}
.footer-bottom-logo img { width: 22px; height: 22px; filter: invert(1); opacity: 0.7; }
.footer-bottom-logo span {
  font-family: 'Rem', sans-serif;
  font-size: 13px; font-weight: 800; color: rgba(255,255,255,0.7);
}
.footer-socials {
  display: flex; gap: 8px;
}
.footer-social {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.footer-social:hover { background: rgba(255,255,255,0.15); }
.footer-social img { width: 14px; height: 14px; filter: invert(1); opacity: 0.6; }
.footer-links {
  display: flex; align-items: center; gap: 4px;
}
.footer-link-btn {
  font-size: 11px; color: rgba(255,255,255,0.4);
  background: none; border: none; cursor: pointer;
  padding: 4px 8px; border-radius: var(--radius-xs);
  transition: color 0.15s;
  font-family: 'Inter', sans-serif;
}
.footer-link-btn:hover { color: rgba(255,255,255,0.8); }
.footer-sep { color: rgba(255,255,255,0.15); font-size: 11px; }
.footer-langs {
  display: flex; align-items: center; gap: 4px;
}
.footer-lang {
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 9px; border-radius: 6px;
  cursor: pointer; transition: all 0.15s;
  font-family: 'Inter', sans-serif;
}
.footer-lang:hover { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); }
.footer-lang.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.footer-stats {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: rgba(255,255,255,0.25);
  margin-left: 8px;
}
.footer-apps {
  display: flex; align-items: center; gap: 8px;
}
.footer-app-btn {
  display: flex; align-items: center; gap: 6px;
  background: none;
  border: none;
  padding: 4px 8px;
  color: rgba(255,255,255,0.4);
  font-size: 11px; font-weight: 600;
  transition: color 0.15s;
}
.footer-app-btn:hover { color: rgba(255,255,255,0.8); }
.footer-app-btn img { width: 16px; height: 16px; object-fit: contain; filter: invert(1); opacity: 0.6; }
/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--bg2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 90%; max-width: 560px;
  max-height: 80vh;
  display: flex; flex-direction: column;
  transform: translateY(16px);
  transition: transform 0.2s;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--bg3);
}
.modal-head h3 { font-size: 16px; font-family: 'Rem', sans-serif; }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--text2); cursor: pointer;
  transition: all 0.15s; border: none;
}
.modal-close:hover { background: var(--accent); color: #fff; }
.modal-body {
  padding: 20px 24px 24px;
  overflow-y: auto;
  font-size: 13px; line-height: 1.75; color: var(--text);
}
.modal-body h4 { font-size: 13px; font-weight: 700; color: var(--text); margin: 16px 0 6px; font-family: 'Inter', sans-serif; }
.modal-body h4:first-child { margin-top: 0; }
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .artists-grid, .items-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .hero-placeholder { flex-direction: column; padding: 20px 16px; gap: 16px; }
  .hero-visual { display: flex; justify-content: center; }
  .hero-radio-info { gap: 12px; }
  .ring-wrap { width: 80px; height: 80px; }
  .ring { width: 80px; height: 80px; }
  .radio-thumb-lg { width: 80px; height: 80px; }
  .radio-thumb-sm { width: 52px; height: 52px; }
.radio-track-name.lg { font-size: 11px; max-width: 100px; overflow: hidden; text-overflow: ellipsis; }
  .radio-arrow { font-size: 14px; }
 .hero-text h1 { font-size: 20px; white-space: normal; }
  .hero-text { text-align: center; width: 100%; }
  .artists-grid, .items-grid { grid-template-columns: repeat(2, 1fr); }
  .top50-card { flex-direction: column; text-align: center; }
  .top50-btn { margin: 0 auto; }
  .player-bar { padding: 0 12px; gap: 10px; }
  .player-track { width: 160px; }
  .player-right { display: none; }
.footer-inner { flex-direction: column; gap: 24px; }
  .footer-row-top { flex-wrap: wrap; gap: 10px; }
  .footer-row-bottom { flex-wrap: wrap; padding-right: 0; justify-content: flex-start; gap: 8px; }
  .footer-bottom-left { flex-wrap: wrap; gap: 8px; }
  .footer-stats { display: none; }
}