:root {
  --bg: #050505;
  --panel: #151515;
  --panel-2: #1b1b1c;
  --muted: #8a8d94;
  --text: #ffffff;
  --soft: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.075);
  --red: #ef0d0d;
  --red-2: #ff2a2a;
  --accent: #ef0d0d;
  --accent-2: #ff2a2a;
  --glow: rgba(239, 13, 13, 0.42);
  --accent-glow: rgba(239, 13, 13, 0.42);
  --cover-glow: rgba(239, 13, 13, 0.42);
  --sidebar: 245px;
  --player: 98px;
  --radius-xl: 36px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 75% 5%, rgba(58, 24, 110, 0.14), transparent 34rem),
    radial-gradient(circle at 20% 25%, rgba(239, 13, 13, 0.08), transparent 22rem),
    var(--bg);
  overflow-x: hidden;
}

button,
input,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--red), #3e1111);
  border: 3px solid #050505;
  border-radius: 99px;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 22px;
  background: #030303;
  transition: opacity 0.55s var(--ease), visibility 0.55s var(--ease);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark,
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 26px var(--glow);
}

.brand-mark {
  overflow: hidden;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.55);
}

.loader-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  font-size: 1.5rem;
}

.loader-bars,
.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 22px;
}

.loader-bars span,
.equalizer span {
  display: block;
  width: 4px;
  min-height: 5px;
  border-radius: 99px;
  background: var(--red);
  animation: bars 0.8s infinite ease-in-out;
}

.loader-bars span:nth-child(2),
.equalizer span:nth-child(2) { animation-delay: 0.12s; }
.loader-bars span:nth-child(3),
.equalizer span:nth-child(3) { animation-delay: 0.24s; }
.loader-bars span:nth-child(4),
.equalizer span:nth-child(4) { animation-delay: 0.36s; }

@keyframes bars {
  0%, 100% { height: 6px; opacity: 0.55; }
  50% { height: 22px; opacity: 1; }
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  background: #151515;
  border-right: 1px solid var(--line);
  transition: transform 0.42s var(--ease);
}

.brand,
.nav-link,
.config-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand {
  margin-bottom: 48px;
  font-size: 1.15rem;
  font-weight: 900;
}

.side-nav {
  display: grid;
  gap: 20px;
}

.nav-link,
.config-btn {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 13px;
  padding: 0 14px;
  background: transparent;
  color: #8f9095;
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-link:hover,
.config-btn:hover {
  color: #fff;
  transform: translateX(4px);
}

.nav-link.active {
  color: var(--red);
  background: rgba(239, 13, 13, 0.13);
  box-shadow: 0 0 28px rgba(239, 13, 13, 0.14), inset 0 0 0 1px rgba(239, 13, 13, 0.05);
}

.config-btn {
  margin-top: auto;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding-top: 28px;
}

.config-btn.active {
  color: #fff;
}

.config-menu {
  display: none;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 0%, rgba(239, 13, 13, 0.2), transparent 8rem),
    rgba(9, 9, 9, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.config-menu.open {
  display: grid;
  gap: 12px;
}

.config-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.config-menu-head strong {
  color: var(--red);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.setting-row,
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.setting-row span,
.toggle-row span {
  display: grid;
  gap: 3px;
}

.setting-row strong,
.toggle-row strong {
  font-size: 0.78rem;
  font-weight: 900;
}

.setting-row small,
.toggle-row small {
  color: #858891;
  font-size: 0.68rem;
  font-weight: 750;
}

.config-menu select {
  width: 76px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  color: #fff;
  background: #171717;
  font-size: 0.72rem;
  font-weight: 850;
}

.config-menu input[type="range"] {
  width: 76px;
}

.toggle-row input {
  width: 40px;
  height: 22px;
  accent-color: var(--red);
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell {
  margin-left: var(--sidebar);
  padding: 24px 42px calc(var(--player) + 38px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 0 24px;
  background: linear-gradient(#050505 0%, rgba(5, 5, 5, 0.92) 68%, rgba(5, 5, 5, 0));
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #151515;
  color: #fff;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 99px;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: min(500px, 48vw);
  height: 44px;
  color: #686a70;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 11px;
  transition: width 0.36s var(--ease), border 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.search-wrap:focus-within {
  width: min(580px, 54vw);
  border-color: rgba(239, 13, 13, 0.4);
  box-shadow: 0 0 34px rgba(239, 13, 13, 0.12);
}

.search-wrap .icon {
  margin-left: 14px;
}

.search-wrap input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  padding: 0 18px 0 12px;
  font-size: 0.88rem;
  font-weight: 700;
}

.top-actions {
  position: relative;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-switcher {
  position: relative;
}

.language-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 99px;
  color: #fff;
  background: #191919;
  cursor: pointer;
  transition: transform 0.22s var(--ease), border 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.language-btn:hover,
.language-btn.active {
  transform: translateY(-2px);
  border-color: rgba(239, 13, 13, 0.32);
  box-shadow: 0 14px 34px rgba(239, 13, 13, 0.12);
}

.language-btn strong {
  font-size: 0.75rem;
  font-weight: 900;
}

.flag-icon {
  width: 22px;
  height: 16px;
  display: inline-block;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  background-size: cover;
  background-position: center;
}

.flag-en {
  background: repeating-linear-gradient(
    to bottom,
    #b22234 0 1.23px,
    #ffffff 1.23px 2.46px
  );
}
.flag-en::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 8px;
  background: #3c3b6e;
}
.flag-en::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 7px;
  height: 6px;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.95) 0 0.6px, transparent 0.7px),
    radial-gradient(circle, rgba(255,255,255,0.95) 0 0.6px, transparent 0.7px);
  background-size: 3px 3px, 3px 3px;
  background-position: 0 0, 1.5px 1.5px;
}
.flag-nl { background: linear-gradient(#ae1c28 0 33.33%, #fff 33.33% 66.66%, #21468b 66.66% 100%); }

.flag-pl {
  background: linear-gradient(
    #ffffff 0 50%,
    #dc143c 50% 100%
  );
}
.flag-de {
  background: linear-gradient(
    #000000 0 33.33%,
    #dd0000 33.33% 66.66%,
    #ffce00 66.66% 100%
  );
}
.flag-fr {
  background: linear-gradient(
    to right,
    #0055a4 0 33.33%,
    #ffffff 33.33% 66.66%,
    #ef4135 66.66% 100%
  );
}
.flag-br {
  background: #009c3b;
  position: relative;
}

/* yellow diamond */
.flag-br::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  top: 50%;
  left: 50%;
  background: #ffdf00;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* blue circle */
.flag-br::after {
  content: "";
  position: absolute;
  width: 45%;
  height: 45%;
  top: 50%;
  left: 50%;
  background: #002776;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.flag-es {
  background: linear-gradient(
    #aa151b 0 25%,
    #f1bf00 25% 75%,
    #aa151b 75% 100%
  );
}
.flag-cn {
  background: #de2910;
  position: relative;
  overflow: hidden;
}

/* big star = simple square (cheap version) */
.flag-cn::before {
  content: "";
  position: absolute;
  width: 25%;
  height: 25%;
  background: #ffde00;
  top: 25%;
  left: 20%;
  clip-path: polygon(
    50% 0%,
    100% 50%,
    50% 100%,
    0% 50%
  );
}

/* 4 small dots = stars simplified */
.flag-cn::after {
  content: "";
  position: absolute;
  width: 10%;
  height: 10%;
  background: #ffde00;
  border-radius: 50%;
  top: 10%;
  left: 45%;
  box-shadow:
    6px 6px 0 #ffde00,
    0px 12px 0 #ffde00,
    -6px 18px 0 #ffde00;
}
.flag-ru {
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 33.33%,
    #0033a0 33.33%,
    #0033a0 66.66%,
    #d52b1e 66.66%,
    #d52b1e 100%
  );
}

.language-caret {
  color: var(--red);
  font-size: 0.8rem;
}

.language-menu {
  position: absolute;
  top: 52px;
  right: 0;
  z-index: 70;
  width: min(300px, calc(100vw - 32px));
  max-height: 390px;
  overflow: auto;
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(239, 13, 13, 0.2);
  border-radius: 18px;
  background: rgba(16, 16, 16, 0.97);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.48), 0 0 34px rgba(239, 13, 13, 0.12);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.22s var(--ease), visibility 0.22s var(--ease), transform 0.22s var(--ease);
}

.language-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.language-option {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  color: #d7d8dc;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.language-option:hover,
.language-option.active {
  color: #fff;
  background: rgba(239, 13, 13, 0.12);
  transform: translateX(3px);
}

.language-option strong {
  font-size: 0.8rem;
  font-weight: 900;
}

.notification,
.profile,
.player button {
  border: 0;
  color: #a7a8ad;
  background: transparent;
  cursor: pointer;
  transition: color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.notification {
  position: relative;
  width: 34px;
  height: 34px;
}

.notification i {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.release-panel,
.queue-panel {
  position: absolute;
  z-index: 55;
  width: min(360px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid rgba(239, 13, 13, 0.2);
  border-radius: 18px;
  background: rgba(16, 16, 16, 0.96);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.48), 0 0 34px rgba(239, 13, 13, 0.12);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.22s var(--ease), visibility 0.22s var(--ease), transform 0.22s var(--ease);
}

.release-panel.open,
.queue-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.release-panel {
  top: 48px;
  right: 0;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panel-head span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
}

.panel-head strong {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-list {
  display: grid;
  gap: 10px;
}

.release-item {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s var(--ease), border 0.22s var(--ease), background 0.22s var(--ease);
}

.release-item:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 13, 13, 0.35);
  background: rgba(239, 13, 13, 0.08);
}

.release-item img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.release-item h3 {
  margin: 0 0 4px;
  font-size: 0.85rem;
}

.release-item p,
.release-item time {
  margin: 0;
  color: #7d8087;
  font-size: 0.72rem;
  font-weight: 800;
}

.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 5px 16px 5px 6px;
  border-radius: 99px;
  background: #191919;
  border: 1px solid rgba(255, 255, 255, 0.055);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.profile img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,255,255,.12);
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(42px, 6vw, 68px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 74%, rgba(31, 179, 173, 0.42), transparent 26rem),
    radial-gradient(circle at 86% 18%, rgba(48, 20, 112, 0.5), transparent 32rem),
    linear-gradient(110deg, #184f58 0%, #112738 45%, #0c0d2e 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 30px 90px rgba(0, 0, 0, 0.34);
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.5;
  animation: drift 9s infinite alternate var(--ease);
}

.hero::before {
  width: 380px;
  height: 380px;
  left: -120px;
  bottom: -140px;
  background: rgba(8, 220, 209, 0.2);
}

.hero::after {
  width: 440px;
  height: 440px;
  right: -120px;
  top: -160px;
  background: rgba(74, 32, 175, 0.32);
  animation-delay: -2s;
}

@keyframes drift {
  to { transform: translate3d(24px, -22px, 0) scale(1.08); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.42) 1px, transparent 1px),
    radial-gradient(circle, rgba(239,13,13,.26) 1px, transparent 1px);
  background-size: 88px 88px, 130px 130px;
  animation: particleMove 22s linear infinite;
  z-index: -1;
}

@keyframes particleMove {
  to { background-position: 260px 180px, -240px 170px; }
}

.hero-content {
  max-width: 720px;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: 99px;
  color: var(--accent-2);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 32px 0 28px;
  font-size: clamp(3rem, 5.8vw, 7.1rem);
  line-height: 0.88;
  font-weight: 950;
  letter-spacing: 0;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong {
  color: rgba(103, 67, 74, 0.74);
}

.hero p {
  max-width: 560px;
  margin: 0 0 44px;
  color: rgba(221, 236, 239, 0.68);
  font-size: 1.07rem;
  line-height: 1.7;
  font-weight: 650;
}

.hero-actions,
.controls,
.player-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn,
.buy-mini,
.buy-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 55px;
  border-radius: 14px;
  padding: 0 28px;
  border: 1px solid transparent;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn-primary,
.buy-btn,
.buy-mini {
  background: var(--accent);
  box-shadow: 0 14px 32px rgba(239, 13, 13, 0.24);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn:hover,
.buy-btn:hover,
.buy-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px var(--glow);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  background: rgba(255, 255, 255, 0.48);
  animation: ripple 0.62s ease-out forwards;
}

@keyframes ripple {
  to { transform: translate(-50%, -50%) scale(3.4); opacity: 0; }
}

.section {
  margin-top: 46px;
}

.compact-section {
  margin-top: 62px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-heading h2 {
  position: relative;
  margin: 0 0 10px;
  padding-left: 22px;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.section-heading h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 6px;
  height: 32px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

.section-heading p {
  margin: 0;
  color: #555860;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 24px;
}

.song-card,
.album-card,
.artist-card,
.recent-item {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.song-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border 0.32s var(--ease);
}

.song-card:hover,
.song-card.active {
  transform: translateY(-7px);
  border-color: rgba(239, 13, 13, 0.34);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 38px color-mix(in srgb, var(--accent, #ef0d0d) 34%, transparent);
}

.cover-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: #101010;
}

.cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.35s var(--ease);
}

.song-card:hover .cover-wrap img {
  transform: scale(1.06);
  filter: brightness(0.62);
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.28);
  transition: opacity 0.25s var(--ease);
}

.song-card:hover .card-overlay,
.song-card.active .card-overlay {
  opacity: 1;
}

.round-action {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 0 26px rgba(239, 13, 13, 0.5);
  cursor: pointer;
}

.round-action.secondary {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 15px 2px 0;
}

.title-row,
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.song-title {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
}

.artist-name,
.duration {
  margin: 0;
  color: #777b84;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.favorite {
  color: #7c7f86;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.favorite.active {
  color: var(--accent);
  filter: drop-shadow(0 0 10px var(--accent));
}

.wave {
  position: relative;
  overflow: hidden;
  height: 28px;
  display: flex;
  align-items: end;
  gap: 3px;
}

.wave span {
  flex: 1;
  max-width: 5px;
  min-width: 3px;
  height: var(--h);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.song-card.active .wave span {
  background: linear-gradient(var(--red), rgba(255,255,255,.18));
  animation: bars 0.9s infinite ease-in-out;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.buy-btn {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.playing-pill {
  display: none;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.song-card.active .playing-pill {
  display: inline-flex;
}

.album-strip,
.artist-grid,
.recent-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
}

.album-card,
.artist-card,
.recent-item {
  border-radius: var(--radius-md);
  padding: 14px;
  transition: transform 0.25s var(--ease), border 0.25s var(--ease);
}

.album-card:hover,
.artist-card:hover,
.recent-item:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 13, 13, 0.22);
}

.album-card img,
.recent-item img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 9px;
}

.album-card,
.recent-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.album-card h3,
.artist-card h3,
.recent-item h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.95rem;
}

.album-card p,
.artist-card p,
.recent-item p {
  margin: 0;
  color: #d8d9dd;
  font-size: 0.78rem;
  font-weight: 750;
}

.recent-item {
  color: #fff;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.recent-item h3,
.recent-item p {
  color: #fff;
}

.artist-card {
  min-height: 118px;
  display: grid;
  align-content: end;
  background:
    radial-gradient(circle at 24% 24%, color-mix(in srgb, var(--artist, #ef0d0d) 50%, transparent), transparent 78px),
    #151515;
}

/* ─── PRE-RELEASE CARDS ─────────────────────────────────────────── */
.pre-release-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 16px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border 0.32s var(--ease);
}

.pre-release-card:hover {
  transform: translateY(-7px);
  border-color: rgba(239, 13, 13, 0.34);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 38px color-mix(in srgb, var(--accent, #ef0d0d) 34%, transparent);
}

.pre-release-card .cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.35s var(--ease);
}

.pre-release-card .card-body {
  display: grid;
  gap: 10px;
  padding: 15px 2px 0;
}

.bpm-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--red), #ff6b6b);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(239, 13, 13, 0.3);
  z-index: 2;
  letter-spacing: 0.5px;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1;
}

.lock-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.lock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #ff6b6b);
  color: #fff;
  box-shadow: 0 0 32px rgba(239, 13, 13, 0.6), inset 0 0 32px rgba(255, 255, 255, 0.1);
  font-size: 32px;
  font-weight: bold;
}

.timer-below {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
}

/* ─── LICENSE ────────────────────────────────────────────────────── */
.license-section {
  scroll-margin-top: 90px;
}

.license-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 30%, rgba(239, 13, 13, 0.22), transparent 18rem),
    radial-gradient(circle at 90% 10%, rgba(31, 179, 173, 0.16), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.016)),
    #111;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.license-hero h2 {
  margin: 18px 0 18px;
  font-size: clamp(2.4rem, 5.2vw, 6rem);
  line-height: 0.92;
  font-weight: 950;
  text-transform: uppercase;
}

.license-hero p {
  max-width: 850px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 650;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.legal-card,
.legal-note {
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  background: rgba(21, 21, 21, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.legal-card {
  position: relative;
  overflow: hidden;
  min-height: 235px;
  padding: 22px;
  transition: transform 0.25s var(--ease), border 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.legal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 13, 13, 0.28);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36), 0 0 32px rgba(239, 13, 13, 0.08);
}

.legal-card::after {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(239, 13, 13, 0.08);
  filter: blur(20px);
}

.warning-card,
.legal-action-card {
  border-color: rgba(239, 13, 13, 0.2);
}

.legal-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 28px;
  margin-bottom: 22px;
  border-radius: 99px;
  color: var(--red);
  background: rgba(239, 13, 13, 0.12);
  font-size: 0.74rem;
  font-weight: 950;
}

.legal-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 950;
  text-transform: uppercase;
}

.legal-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.93rem;
  line-height: 1.72;
  font-weight: 620;
}

.legal-note {
  margin-top: 18px;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(239, 13, 13, 0.13), rgba(255, 255, 255, 0.035)),
    #151515;
}

.legal-note strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 950;
  text-transform: uppercase;
}

.legal-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
  font-weight: 650;
}

/* ─── ARTIST ─────────────────────────────────────────────────────── */
.artist-profile {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 24px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 20%, rgba(239, 13, 13, 0.22), transparent 17rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    #121212;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.artist-profile::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(239, 13, 13, 0.12);
  filter: blur(28px);
}

.artist-portrait {
  position: relative;
  isolation: isolate;
}

.artist-portrait img {
  position: relative;
  z-index: 1;
  width: 210px;
  height: 210px;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38), 0 0 42px rgba(239, 13, 13, 0.24);
}

.portrait-glow {
  position: absolute;
  inset: 18px -8px -8px 18px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--red), transparent);
  filter: blur(20px);
  opacity: 0.45;
}

.artist-copy {
  position: relative;
  z-index: 1;
}

.artist-copy h2 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.9;
  font-weight: 950;
  text-transform: uppercase;
}

.artist-copy p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 650;
}

.artist-stats,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.artist-stats span,
.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 900;
}

.artist-stats strong {
  margin-right: 7px;
  color: var(--red);
}

.social-row a {
  background: rgba(255, 255, 255, 0.072);
  transition: transform 0.22s var(--ease), border 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}

.social-row a:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 13, 13, 0.36);
  background: rgba(255, 255, 255, 0.105);
  box-shadow: 0 14px 34px rgba(239, 13, 13, 0.14);
}

.brand-social-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--red);
  box-shadow: 0 0 20px rgba(239, 13, 13, 0.3);
}

.brand-social-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spotify-icon {
  background: var(--red);
}

.spotify-icon svg {
  fill: none;
  stroke: #050505;
}

.contacts-section {
  scroll-margin-top: 90px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 10%, rgba(239, 13, 13, 0.18), transparent 20rem),
    radial-gradient(circle at 90% 50%, rgba(239, 13, 13, 0.18), transparent 18rem),
    #121212;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.contact-panel h3 {
  margin: 14px 0 8px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-panel p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.65;
  font-weight: 650;
}

.contact-mail {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(239, 13, 13, 0.24);
  border-radius: 12px;
  color: #fff;
  background: rgba(239, 13, 13, 0.12);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-align: center;
}

/* ─── PLAYER ─────────────────────────────────────────────────────── */
.player {
  position: fixed;
  inset: auto 0 0 var(--sidebar);
  z-index: 40;
  min-height: var(--player);
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(360px, 1.4fr) minmax(250px, 1fr);
  align-items: center;
  gap: 22px;
  padding: 14px 42px;
  background: rgba(9, 9, 9, 0.88);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(22px);
  box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.5), 0 0 50px var(--cover-glow);
}

.now-playing {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.now-playing img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 22px var(--cover-glow);
}

.now-playing h3 {
  margin: 0 0 5px;
  font-size: 0.94rem;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing p {
  margin: 0;
  color: #8a8d94;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.equalizer {
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

body.is-playing .equalizer {
  opacity: 1;
}

.player-center {
  display: grid;
  gap: 9px;
}

.controls {
  justify-content: center;
}

.player button {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.repeat-one {
  position: absolute;
  right: -3px;
  bottom: -3px;
  min-width: 15px;
  height: 15px;
  display: none;
  place-items: center;
  border-radius: 99px;
  color: #fff;
  background: var(--red);
  font-size: 0.58rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 0 12px var(--glow);
}

#repeatBtn.active .repeat-one {
  display: grid;
}

body.compact-cards .song-card {
  padding: 12px;
}

body.compact-cards .cards-grid {
  gap: 14px;
}

body.compact-cards .card-body {
  gap: 7px;
  padding-top: 10px;
}

.player button:hover,
.player button.active {
  color: #fff;
  transform: translateY(-2px);
}

.play-main {
  width: 54px !important;
  height: 54px !important;
  color: #fff !important;
  background: var(--red) !important;
  box-shadow: 0 0 28px rgba(239, 13, 13, 0.58);
}

.timeline {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  color: #5d6067;
  font-size: 0.72rem;
  font-weight: 800;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--red);
  cursor: pointer;
}

.timeline input,
.volume input {
  height: 4px;
}

.player-actions {
  position: relative;
  justify-content: flex-end;
}

.queue-panel {
  right: 72px;
  bottom: 74px;
  width: min(430px, calc(100vw - 32px));
}

#queueBtn {
  position: relative;
}

#queueBtn b {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 99px;
  color: #fff;
  background: var(--red);
  font-size: 0.65rem;
  font-weight: 950;
  box-shadow: 0 0 14px rgba(239, 13, 13, 0.46);
}

#clearQueueBtn {
  width: auto;
  height: 30px;
  padding: 0 10px;
  border-radius: 9px;
  color: #fff;
  background: rgba(239, 13, 13, 0.14);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.queue-help {
  margin: -4px 0 14px;
  color: #747780;
  font-size: 0.76rem;
  font-weight: 750;
}

.queue-list {
  max-height: 360px;
  overflow: auto;
  display: grid;
  gap: 10px;
  padding-right: 4px;
}

.queue-item {
  width: 100%;
  display: grid;
  grid-template-columns: 22px 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.2s var(--ease), border 0.2s var(--ease), background 0.2s var(--ease), opacity 0.2s var(--ease);
}

.queue-item.dragging {
  opacity: 0.48;
  transform: scale(0.98);
}

.queue-item.drag-over {
  border-color: rgba(239, 13, 13, 0.55);
  background: rgba(239, 13, 13, 0.08);
}

.queue-grip {
  color: #676a72;
  font-size: 1.05rem;
  line-height: 1;
  cursor: grab;
}

.queue-item img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.queue-item h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.84rem;
}

.queue-item p {
  margin: 0;
  color: #7d8087;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.queue-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.queue-actions button {
  width: 44px;
  height: 30px;
  border-radius: 9px;
  color: #b7b8bd;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 950;
}

.queue-actions button:hover {
  color: #fff;
  background: rgba(239, 13, 13, 0.18);
}

.queue-empty {
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #747780;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
}

.buy-mini {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  line-height: 1.05;
  text-align: center;
}

.volume {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 140px;
  color: #8a8d94;
}

.toast-stack {
  position: fixed;
  right: 24px;
  bottom: calc(var(--player) + 22px);
  z-index: 60;
  display: grid;
  gap: 10px;
}

.toast {
  max-width: 320px;
  padding: 13px 15px;
  border-radius: 12px;
  color: #fff;
  background: rgba(24, 24, 24, 0.94);
  border: 1px solid rgba(239, 13, 13, 0.24);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
  animation: toastIn 0.35s var(--ease);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.75s var(--ease) forwards;
}

.reveal:nth-of-type(2) { animation-delay: 0.1s; }
.reveal:nth-of-type(3) { animation-delay: 0.18s; }
.reveal:nth-of-type(4) { animation-delay: 0.26s; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

.hidden-by-search {
  display: none !important;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 160px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  color: #737780;
  font-weight: 800;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  background: rgba(0, 0, 0, 0.58);
}

/* ─── REVIEWS ────────────────────────────────────────────────────── */
.reviews-list {
  display: grid;
  gap: 16px;
}

.review-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: var(--radius-lg);
  background: var(--panel);
  transition: transform 0.22s var(--ease), border 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 13, 13, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24), 0 0 24px rgba(239, 13, 13, 0.1);
}

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.review-info { flex: 1; }

.reviewer-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.review-stars {
  font-size: 1rem;
  color: var(--red);
  letter-spacing: 2px;
}

.empty-stars {
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: 2px;
}

.review-date {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted);
}

.review-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #d7d8dc;
}

/* ═══════════════════════════════════════════════════════════════════
   ALL SONGS — compact mini-card grid
═══════════════════════════════════════════════════════════════════ */
.all-songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
}

.mini-song-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.mini-song-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 13, 13, 0.28);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.36), 0 0 20px color-mix(in srgb, var(--accent, #ef0d0d) 28%, transparent);
}

.mini-song-card.active {
  border-color: rgba(239, 13, 13, 0.5);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent, #ef0d0d) 40%, transparent);
}

.mini-cover-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0d0d0d;
}

.mini-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease), filter 0.3s var(--ease);
}

.mini-song-card:hover .mini-cover-wrap img {
  transform: scale(1.07);
  filter: brightness(0.55);
}

.mini-bpm {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(239, 13, 13, 0.36);
  color: var(--red);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  z-index: 2;
}

.mini-play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  opacity: 0;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.22s var(--ease);
  z-index: 3;
}

.mini-play-btn .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 22px rgba(239, 13, 13, 0.6);
  display: grid;
  place-items: center;
}

.mini-song-card:hover .mini-play-btn,
.mini-song-card.active .mini-play-btn {
  opacity: 1;
}

.mini-info {
  padding: 8px 10px 10px;
}

.mini-title {
  margin: 0 0 3px;
  font-size: 0.78rem;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-artist {
  margin: 0 0 4px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #7d8087;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-duration {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(239, 13, 13, 0.7);
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════════════════════════════════
   ALBUM MODAL
═══════════════════════════════════════════════════════════════════ */
.album-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.album-modal.open {
  opacity: 1;
  visibility: visible;
}

.album-modal-content {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(239, 13, 13, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 10%, rgba(239, 13, 13, 0.14), transparent 18rem),
    rgba(14, 14, 14, 0.97);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 60px rgba(239, 13, 13, 0.14);
  overflow: hidden;
  animation: modalIn 0.32s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(-18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.album-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.album-modal-label {
  display: block;
  margin-bottom: 5px;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.album-modal-title {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 950;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.album-modal-close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #a7a8ad;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.album-modal-close:hover {
  color: #fff;
  background: rgba(239, 13, 13, 0.14);
  border-color: rgba(239, 13, 13, 0.36);
}

.album-modal-tracks {
  overflow-y: auto;
  padding: 14px 18px 18px;
  display: grid;
  gap: 8px;
}

.album-modal-tracks::-webkit-scrollbar {
  width: 6px;
}

.album-track-row {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.album-track-row:hover {
  transform: translateX(4px);
  border-color: rgba(239, 13, 13, 0.32);
  background: rgba(239, 13, 13, 0.07);
}

.album-track-row img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.album-track-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.album-track-title {
  font-size: 0.9rem;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-track-meta {
  font-size: 0.72rem;
  font-weight: 800;
  color: #7d8087;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-track-play-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(239, 13, 13, 0.14);
  color: var(--red);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.album-track-row:hover .album-track-play-icon {
  background: var(--red);
  color: #fff;
  transform: scale(1.1);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .cards-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
  .hero {
    min-height: 520px;
  }
}

@media (max-width: 1024px) {
  :root { --sidebar: 218px; }
  .app-shell { padding-inline: 26px; }
  .cards-grid,
  .album-strip,
  .artist-grid,
  .recent-list,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .all-songs-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-mail {
    width: 100%;
    justify-content: center;
  }
  .player {
    grid-template-columns: 1fr 1.2fr;
  }
  .player-actions {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  :root {
    --sidebar: 236px;
    --player: 174px;
  }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .backdrop.show { display: block; }
  .app-shell {
    margin-left: 0;
    padding: 14px 16px calc(var(--player) + 26px);
  }
  .player {
    left: 0;
    min-height: var(--player);
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 16px;
  }
  .hamburger { display: block; flex: 0 0 auto; }
  .topbar { gap: 12px; padding-bottom: 18px; }
  .search-wrap,
  .search-wrap:focus-within { width: 100%; }
  .profile span { display: none; }
  .language-btn strong { display: none; }
  .top-actions { gap: 8px; }
  .hero {
    min-height: 520px;
    padding: 34px 24px;
    border-radius: 24px;
  }
  .hero h1 { font-size: clamp(3rem, 15vw, 5.1rem); }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 240px;
  }
  .cards-grid,
  .album-strip,
  .artist-grid,
  .recent-list,
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .all-songs-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
  }
  .artist-profile { grid-template-columns: 1fr; }
  .artist-portrait img { width: 148px; height: 148px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .now-playing { justify-content: center; }
  .player-actions { justify-content: space-between; }
  .queue-panel { left: 0; right: 0; bottom: 48px; width: 100%; }
  .release-panel { right: -4px; }
  .volume { width: 120px; }
  .toast-stack { left: 16px; right: 16px; bottom: calc(var(--player) + 16px); }
  .album-modal-content { max-height: 90vh; border-radius: 18px; }
  .album-track-row { grid-template-columns: 48px 1fr auto; }
  .album-track-row img { width: 48px; height: 48px; }
}

@media (max-width: 440px) {
  .hero p { font-size: 0.95rem; }
  .timeline { grid-template-columns: 36px 1fr 36px; }
  .player-actions { gap: 8px; }
  .buy-mini { padding-inline: 12px; }
  .all-songs-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}
.russian-flag {
  width: 300px;
  height: 200px;
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
}

.russian-flag::before,
.russian-flag::after {
  content: "";
  flex: 1;
}

.russian-flag {
  background: linear-gradient(
    to bottom,
    white 33.33%,
    #0033a0 33.33%,
    #0033a0 66.66%,
    #d52b1e 66.66%
  );
}
/* ============================================================
   BRAND DROPDOWN — Qeazy Development (rechtsboven)
   Voeg dit toe aan je bestaande CSS bestand
   ============================================================ */

/* Wrapper rechtsbovenin de navbar */
.brand-wrapper {
  position: relative;
}

/* De knop zelf */
.brand-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.brand-btn:hover,
.brand-btn.active {
  background: rgba(239, 13, 13, 0.12);
  border-color: rgba(239, 13, 13, 0.4);
  color: #fff;
}

.brand-btn .brand-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
  opacity: 0.6;
}

.brand-btn.active .brand-chevron {
  transform: rotate(180deg);
}

/* Dropdown menu */
.brand-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 260px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(239,13,13,0.08);
  padding: 6px;
  z-index: 2000;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.brand-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Header sectie */
.brand-menu-header {
  padding: 10px 12px 8px;
}

.brand-menu-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.brand-menu-tag {
  display: inline-block;
  margin-top: 3px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #ef0d0d;
  background: rgba(239, 13, 13, 0.12);
  border: 1px solid rgba(239, 13, 13, 0.25);
  border-radius: 4px;
  padding: 1px 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Divider */
.brand-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 4px 6px;
}

/* Menu items (email / site) */
.brand-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}

.brand-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.brand-menu-item .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
}

.brand-menu-item:hover .icon {
  color: #ef0d0d;
}

.brand-menu-item div {
  flex: 1;
  min-width: 0;
}

.brand-item-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.brand-item-value {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-ext {
  width: 13px;
  height: 13px;
  opacity: 0.3;
  flex-shrink: 0;
}

/* Socials rij */
.brand-menu-socials {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
}

.brand-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.brand-social-btn:hover {
  background: rgba(239, 13, 13, 0.15);
  border-color: rgba(239, 13, 13, 0.35);
  color: #ef0d0d;
}

.brand-social-btn .icon {
  width: 16px;
  height: 16px;
}

/* Footer tekst */
.brand-menu-footer {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 6px 12px 8px;
  letter-spacing: 0.03em;
}
/* ================================================================
   KYLERBEATS — RESPONSIVE FIXES
   Voeg dit toe als <link rel="stylesheet" href="responsive-fixes.css" />
   ná style.css en brand-menu.css in je HTML <head>
   ================================================================ */

/* ── BASE / RESET ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── FLUID TYPE SCALE ─────────────────────────────────────────── */
:root {
  --sidebar: 245px;
  --player: 98px;
  --topbar-height: 76px;
}

/* ── SIDEBAR ──────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* ── APP SHELL ────────────────────────────────────────────────── */
.app-shell {
  margin-left: var(--sidebar);
  padding: 24px 42px calc(var(--player) + 38px);
  min-width: 0;
}

/* ── TOPBAR ───────────────────────────────────────────────────── */
.topbar {
  flex-wrap: wrap;
  row-gap: 10px;
}

/* ── CARDS GRIDS ──────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.album-strip,
.artist-grid,
.recent-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

.all-songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

/* ── PLAYER ───────────────────────────────────────────────────── */
.player {
  left: var(--sidebar);
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(320px, 1.4fr) minmax(220px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px 32px;
}

/* ── SEARCH ───────────────────────────────────────────────────── */
.search-wrap {
  flex: 1 1 200px;
  max-width: 500px;
  min-width: 0;
}

.search-wrap:focus-within {
  max-width: 580px;
}

/* ── LANGUAGE MENU POSITIE ────────────────────────────────────── */
.language-menu {
  max-height: min(390px, 60vh);
}

/* ── RELEASE / QUEUE PANELS ───────────────────────────────────── */
.release-panel,
.queue-panel {
  max-height: min(480px, 70vh);
  overflow-y: auto;
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  min-height: clamp(380px, 50vw, 610px);
}

/* ──────────────────────────────────────────────────────────────
   ≤ 1400px  (grote laptops)
─────────────────────────────────────────────────────────────── */
@media (max-width: 1400px) {
  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* ──────────────────────────────────────────────────────────────
   ≤ 1280px  (laptops)
─────────────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  :root { --sidebar: 220px; }

  .app-shell {
    padding-inline: 28px;
  }

  .player {
    padding-inline: 24px;
    gap: 12px;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
  }
}

/* ──────────────────────────────────────────────────────────────
   ≤ 1100px  (kleine laptops / grote tablets landscape)
─────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  :root {
    --sidebar: 200px;
    --player: 106px;
  }

  .app-shell {
    padding-inline: 22px;
  }

  .player {
    grid-template-columns: 1fr 1.3fr;
    grid-template-rows: auto auto;
    padding-inline: 20px;
    min-height: var(--player);
  }

  .player-actions {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .volume {
    width: 120px;
  }

  .brand-btn .brand-btn-text {
    display: none;
  }

  .search-wrap {
    flex: 1 1 160px;
  }
}

/* ──────────────────────────────────────────────────────────────
   ≤ 900px  (tablets portrait / kleine laptops)
─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root {
    --sidebar: 236px;
    --player: 160px;
  }

  /* Sidebar wordt een overlay drawer */
  .sidebar {
    transform: translateX(-100%);
    position: fixed;
    z-index: 30;
    box-shadow: 4px 0 40px rgba(0,0,0,0.5);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .backdrop.show {
    display: block;
  }

  .app-shell {
    margin-left: 0;
    padding: 16px 20px calc(var(--player) + 28px);
  }

  /* Player gaat naar 1 kolom */
  .player {
    left: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
    padding: 12px 20px;
    min-height: var(--player);
  }

  .player-center {
    order: -1;
  }

  .now-playing {
    justify-content: center;
  }

  .player-actions {
    justify-content: space-between;
    width: 100%;
  }

  /* Hamburger zichtbaar */
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  /* Topbar */
  .topbar {
    padding-bottom: 16px;
    gap: 10px;
  }

  .search-wrap,
  .search-wrap:focus-within {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
  }

  /* Hero */
  .hero {
    min-height: clamp(320px, 60vw, 520px);
    padding: 36px 28px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 10vw, 4.8rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    max-width: 260px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Grids */
  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }

  .album-strip,
  .artist-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
  }

  .recent-list {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .all-songs-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  /* Artist profile */
  .artist-profile {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .artist-portrait img {
    width: 140px;
    height: 140px;
  }

  /* Section heading */
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Queue panel */
  .queue-panel {
    left: 0;
    right: 0;
    bottom: 48px;
    width: 100%;
    max-width: none;
    border-radius: 18px 18px 0 0;
  }

  /* Release panel */
  .release-panel {
    right: -4px;
    width: min(340px, calc(100vw - 24px));
  }

  /* Language menu */
  .language-menu {
    right: 0;
    width: min(280px, calc(100vw - 24px));
  }

  /* Contact */
  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .contact-mail {
    width: 100%;
    justify-content: center;
  }

  /* Volume */
  .volume {
    width: 100px;
  }

  /* Profile label */
  .profile span { display: none; }

  /* Language knop label */
  .language-btn strong { display: none; }
  .top-actions { gap: 8px; }

  /* Toast */
  .toast-stack {
    left: 16px;
    right: 16px;
    bottom: calc(var(--player) + 14px);
  }
}

/* ──────────────────────────────────────────────────────────────
   ≤ 600px  (telefoons)
─────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  :root {
    --player: 168px;
  }

  .app-shell {
    padding-inline: 14px;
    padding-top: 12px;
  }

  /* Topbar: search op volledige breedte, 2e rij */
  .topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 10px 10px;
    align-items: center;
  }

  .hamburger {
    grid-column: 1;
    grid-row: 1;
  }

  .search-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
  }

  .top-actions {
    grid-column: 2 / -1;
    grid-row: 1;
    justify-content: flex-end;
    margin-left: 0;
  }

  /* Hero */
  .hero {
    padding: 28px 18px;
    border-radius: 18px;
    min-height: 300px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.8rem);
    margin-top: 20px;
    margin-bottom: 18px;
  }

  .hero p {
    font-size: 0.92rem;
  }

  .hero-actions {
    max-width: 100%;
    gap: 10px;
  }

  .btn {
    min-height: 48px;
    font-size: 0.88rem;
  }

  /* Cards */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .album-strip,
  .artist-grid,
  .recent-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .all-songs-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
  }

  /* Collab kaarten: altijd 1 kolom op heel kleine schermen */
  #collabGrid {
    grid-template-columns: 1fr;
  }

  /* Song card intern */
  .song-card {
    padding: 12px;
  }

  .card-body {
    gap: 8px;
    padding-top: 10px;
  }

  .song-title {
    font-size: 0.85rem;
  }

  .bpm-badge {
    font-size: 0.68rem;
    padding: 4px 8px;
  }

  /* Mini song card */
  .mini-info {
    padding: 6px 8px 8px;
  }

  .mini-title {
    font-size: 0.72rem;
  }

  /* Player */
  .player {
    padding: 10px 14px;
    gap: 8px;
  }

  .now-playing img {
    width: 46px;
    height: 46px;
  }

  .now-playing h3 {
    font-size: 0.84rem;
  }

  .play-main {
    width: 46px !important;
    height: 46px !important;
  }

  .timeline {
    grid-template-columns: 36px 1fr 36px;
    gap: 6px;
    font-size: 0.68rem;
  }

  .player button {
    width: 30px;
    height: 30px;
  }

  .controls { gap: 8px; }

  .volume {
    width: 88px;
  }

  .buy-mini {
    padding-inline: 10px;
    font-size: 0.68rem;
    min-height: 38px;
  }

  /* Artist profile */
  .artist-portrait img {
    width: 120px;
    height: 120px;
  }

  .artist-copy h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .artist-stats,
  .social-row {
    gap: 8px;
  }

  .artist-stats span,
  .social-row a {
    font-size: 0.74rem;
    padding: 0 10px;
    min-height: 38px;
  }

  /* License */
  .license-hero {
    padding: 22px 18px;
  }

  .license-hero h2 {
    font-size: clamp(1.8rem, 10vw, 3.6rem);
  }

  .legal-card {
    min-height: auto;
    padding: 18px;
  }

  /* Section headings */
  .section-heading h2 {
    font-size: clamp(1.2rem, 6vw, 1.6rem);
  }

  /* Queue panel */
  .queue-panel {
    border-radius: 14px 14px 0 0;
  }

  /* Album modal */
  .album-modal-content {
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
    margin-top: auto;
    margin-bottom: 0;
  }

  .album-modal {
    align-items: flex-end;
    padding: 0;
  }

  .album-track-row {
    grid-template-columns: 44px 1fr auto;
    padding: 8px 10px;
  }

  .album-track-row img {
    width: 44px;
    height: 44px;
  }

  /* Brand menu */
  .brand-menu {
    right: -8px;
    width: min(260px, calc(100vw - 20px));
  }

  /* Release panel */
  .release-panel {
    right: -8px;
    width: calc(100vw - 20px);
    max-width: 340px;
  }
}