:root {
  --bg: #050b15;
  --bg-2: #0a1421;
  --panel: rgba(13, 20, 33, 0.9);
  --panel-2: rgba(16, 24, 38, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f4f8ff;
  --muted: rgba(232, 240, 255, 0.7);
  --muted-2: rgba(232, 240, 255, 0.5);
  --accent: #1dd5d4;
  --accent-2: #3fe4d6;
  --accent-soft: rgba(29, 213, 212, 0.14);
  --danger: #ff5c6d;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --page-pad: clamp(18px, 3vw, 38px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(56, 100, 155, 0.25), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(29, 213, 212, 0.08), transparent 22%),
    linear-gradient(180deg, #060b14 0%, #07111d 44%, #050b14 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page-shell {
  width: min(1512px, calc(100% - 24px));
  margin: 0 auto;
  padding: 8px var(--page-pad) 20px;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 10px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.brand span span {
  color: var(--accent);
}

.brand-icon,
.icon {
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
}

.brand-icon {
  color: var(--accent);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
}

.nav a {
  position: relative;
  color: var(--muted);
  font-size: 1.02rem;
  padding: 10px 2px;
  transition: color 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: #e6fbfb;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 40px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-50%);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.searchbar {
  min-width: 250px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(17, 24, 37, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.searchbar input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.searchbar input::placeholder {
  color: rgba(232, 240, 255, 0.42);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover,
.play-badge:hover,
.category-chip:hover,
.controls button:hover,
.socials a:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #41dfe5 0%, #13b8bb 100%);
  color: #f4ffff;
  box-shadow: 0 12px 30px rgba(19, 184, 187, 0.24);
}

.btn-ghost {
  background: rgba(17, 24, 37, 0.55);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-large {
  min-width: 160px;
  min-height: 54px;
  border-radius: 14px;
}

.hero {
  position: relative;
  min-height: 545px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.98) 0%, rgba(5, 10, 18, 0.9) 32%, rgba(5, 10, 18, 0.28) 100%);
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding: 84px 10px 56px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.3rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.72rem);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.upload-hint {
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 0.95rem;
  max-width: 620px;
}

.listeners {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatars span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(7, 13, 24, 0.95);
  margin-left: -10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), transparent 20%),
    linear-gradient(135deg, #8f5d4f 0%, #d4a17b 48%, #6d8cbb 100%);
}

.avatars span:first-child {
  margin-left: 0;
}

.avatars span:nth-child(2) { background: linear-gradient(135deg, #533c35, #d2ad8a); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #af7d63, #f0c5a1); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, #4a6c89, #c8a28e); }

.listeners strong,
.listeners span {
  display: block;
}

.listeners strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.listeners span {
  color: var(--muted);
  margin-top: 3px;
}

.hero-visual {
  min-height: 100%;
  border-radius: 24px 0 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 37%, rgba(255, 170, 130, 0.42), transparent 14%),
    linear-gradient(180deg, #0a1a31 0%, #091525 22%, #08121f 54%, #050d17 100%);
}

.sky,
.stars,
.mountain,
.tree-line,
.lake,
.reflection,
.dock,
.lantern,
.lantern-body,
.lantern-glow {
  position: absolute;
}

.sky {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 152, 105, 0.22) 0%, rgba(52, 60, 121, 0.08) 18%, transparent 32%),
    radial-gradient(circle at 70% 30%, rgba(255, 211, 166, 0.18), transparent 13%),
    linear-gradient(180deg, rgba(9, 17, 31, 0.2) 0%, rgba(5, 11, 20, 0.6) 100%);
}

.stars {
  inset: 0;
  opacity: 0.9;
  background-image:
    radial-gradient(circle at 10% 16%, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.5px),
    radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 34% 12%, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px),
    radial-gradient(circle at 54% 20%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.6px),
    radial-gradient(circle at 78% 14%, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 22%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 62% 6%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.5px);
}

.mountain {
  bottom: 24%;
  background: linear-gradient(180deg, rgba(22, 40, 72, 0.98), rgba(8, 17, 30, 0.98));
  clip-path: polygon(0 100%, 18% 62%, 30% 42%, 40% 58%, 49% 46%, 61% 69%, 71% 50%, 82% 60%, 100% 35%, 100% 100%);
}

.mountain-back {
  left: 8%;
  width: 62%;
  height: 34%;
  opacity: 0.5;
  filter: blur(0.2px);
}

.mountain-mid {
  left: 20%;
  width: 58%;
  height: 40%;
  bottom: 18%;
  background: linear-gradient(180deg, rgba(20, 35, 62, 1), rgba(6, 13, 23, 1));
  clip-path: polygon(0 100%, 13% 72%, 25% 50%, 37% 62%, 50% 34%, 62% 55%, 73% 43%, 86% 63%, 100% 48%, 100% 100%);
}

.mountain-front {
  right: 0;
  width: 72%;
  height: 46%;
  bottom: 10%;
  background: linear-gradient(180deg, rgba(17, 29, 52, 1), rgba(6, 12, 21, 1));
  clip-path: polygon(0 100%, 10% 76%, 22% 46%, 34% 60%, 42% 39%, 54% 51%, 69% 31%, 80% 47%, 91% 37%, 100% 56%, 100% 100%);
}

.tree-line {
  left: -2%;
  right: -2%;
  bottom: 19%;
  height: 20%;
  background:
    radial-gradient(circle at 4% 100%, rgba(5, 10, 18, 1) 0 16px, transparent 17px),
    radial-gradient(circle at 9% 100%, rgba(5, 10, 18, 1) 0 14px, transparent 15px),
    radial-gradient(circle at 14% 100%, rgba(5, 10, 18, 1) 0 18px, transparent 19px),
    radial-gradient(circle at 20% 100%, rgba(5, 10, 18, 1) 0 12px, transparent 13px),
    radial-gradient(circle at 27% 100%, rgba(5, 10, 18, 1) 0 15px, transparent 16px),
    radial-gradient(circle at 34% 100%, rgba(5, 10, 18, 1) 0 12px, transparent 13px),
    radial-gradient(circle at 42% 100%, rgba(5, 10, 18, 1) 0 18px, transparent 19px),
    radial-gradient(circle at 51% 100%, rgba(5, 10, 18, 1) 0 15px, transparent 16px),
    radial-gradient(circle at 59% 100%, rgba(5, 10, 18, 1) 0 16px, transparent 17px),
    radial-gradient(circle at 67% 100%, rgba(5, 10, 18, 1) 0 13px, transparent 14px),
    radial-gradient(circle at 75% 100%, rgba(5, 10, 18, 1) 0 17px, transparent 18px),
    radial-gradient(circle at 83% 100%, rgba(5, 10, 18, 1) 0 12px, transparent 13px),
    radial-gradient(circle at 91% 100%, rgba(5, 10, 18, 1) 0 16px, transparent 17px),
    linear-gradient(180deg, rgba(5, 10, 18, 0) 0%, rgba(5, 10, 18, 0.92) 100%);
}

.lake {
  left: 0;
  right: 0;
  bottom: 0;
  height: 37%;
  background:
    linear-gradient(180deg, rgba(20, 51, 90, 0.15), rgba(5, 11, 20, 0.9)),
    radial-gradient(ellipse at 50% 0%, rgba(255, 180, 120, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(8, 18, 33, 0.2) 0%, rgba(6, 10, 19, 0.9) 100%);
}

.reflection {
  left: 6%;
  right: 6%;
  bottom: 7%;
  height: 18%;
  opacity: 0.5;
  filter: blur(0.5px);
  background:
    linear-gradient(180deg, rgba(255, 175, 132, 0.18), transparent 45%),
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(126, 209, 240, 0.18) 30px 33px, transparent 33px 60px);
  clip-path: polygon(0 20%, 16% 0, 35% 20%, 49% 5%, 62% 22%, 78% 8%, 100% 24%, 100% 100%, 0 100%);
}

.dock {
  right: 11%;
  bottom: 0;
  width: 23%;
  height: 26%;
  background:
    linear-gradient(180deg, rgba(86, 51, 20, 0.95), rgba(49, 28, 10, 0.95));
  clip-path: polygon(18% 0, 100% 100%, 0 100%, 0 13%);
  box-shadow: 0 0 0 1px rgba(255, 216, 162, 0.06);
}

.dock::before {
  content: "";
  position: absolute;
  inset: 10% 8% 9% 13%;
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 205, 147, 0.08) 0 8px, transparent 8px 18px),
    linear-gradient(180deg, rgba(120, 76, 32, 0.8), rgba(56, 32, 15, 0.95));
}

.lantern {
  right: 14%;
  bottom: 8%;
  width: 6%;
  height: 18%;
}

.lantern-body {
  inset: auto 35% 0 35%;
  height: 52%;
  border-radius: 6px 6px 8px 8px;
  background: linear-gradient(180deg, #2c2a28, #0e0d0c);
  box-shadow: 0 0 0 2px rgba(214, 159, 72, 0.18);
}

.lantern-body::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 14%;
  width: 44%;
  height: 46%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff6b7 0%, #ffca6a 30%, #ff9f1c 100%);
  box-shadow:
    0 0 25px 10px rgba(255, 180, 77, 0.26),
    0 0 48px 24px rgba(255, 175, 70, 0.08);
}

.lantern-glow {
  left: 50%;
  bottom: 24%;
  width: 180%;
  height: 90%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 191, 86, 0.38) 0%, rgba(255, 191, 86, 0.16) 25%, transparent 66%);
  filter: blur(4px);
}

.section-row,
.section-block {
  padding-top: 26px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  letter-spacing: -0.04em;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
}

.music-card {
  position: relative;
  min-height: 332px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17, 24, 38, 0.92), rgba(13, 19, 31, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.music-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.08) contrast(1.02);
}

.card-rain::before {
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(10, 18, 35, 0.25), rgba(8, 14, 25, 0.88)),
    radial-gradient(circle at 50% 14%, rgba(68, 164, 202, 0.35), transparent 30%),
    linear-gradient(135deg, #18395a, #08111d);
}

.card-ocean::before {
  background:
    linear-gradient(180deg, rgba(255, 186, 110, 0.2), rgba(9, 16, 27, 0.15)),
    radial-gradient(circle at 50% 18%, rgba(255, 133, 96, 0.34), transparent 24%),
    linear-gradient(180deg, #3f2d35 0%, #0b1e36 60%, #09111b 100%);
}

.card-piano::before {
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 240, 223, 0.2), transparent 22%),
    linear-gradient(180deg, rgba(9, 14, 22, 0.12), rgba(12, 18, 30, 0.88)),
    linear-gradient(135deg, #8b6a45, #16161d 54%, #0c0f16);
}

.card-forest::before {
  background:
    radial-gradient(circle at 62% 18%, rgba(255, 220, 150, 0.45), transparent 20%),
    linear-gradient(180deg, rgba(255, 190, 82, 0.1), rgba(9, 14, 18, 0.94)),
    linear-gradient(135deg, #7b5e29, #2b321b 50%, #101712);
}

.card-mist::before {
  background:
    radial-gradient(circle at 60% 26%, rgba(255, 210, 166, 0.3), transparent 24%),
    linear-gradient(180deg, rgba(255, 175, 122, 0.18), rgba(11, 16, 28, 0.94)),
    linear-gradient(135deg, #4f597b, #22314d 46%, #0b1019);
}

.music-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 10, 18, 0.1) 54%, rgba(6, 10, 18, 0.9) 100%);
}

.play-badge {
  position: absolute;
  left: 16px;
  bottom: 110px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(9, 14, 22, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

.play-badge .icon {
  width: 1rem;
  height: 1rem;
  margin-left: 2px;
}

.card-title,
.card-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  z-index: 1;
}

.card-title {
  bottom: 60px;
}

.card-title h3 {
  margin: 0;
  font-size: 1.15rem;
}

.card-title p {
  margin: 6px 0 0;
  color: var(--muted-2);
}

.card-meta {
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(235, 243, 255, 0.82);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.meta-item .icon.heart,
.inline-stats .icon.heart,
.comment-actions .icon.heart,
.footer-bottom .icon.heart {
  color: #ff5d67;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
}

.category-chip {
  min-height: 96px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(18, 26, 40, 0.92), rgba(13, 19, 30, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  display: grid;
  place-items: center;
  gap: 10px;
  color: var(--accent);
}

.category-chip.active {
  outline: 1px solid rgba(67, 229, 221, 0.45);
  box-shadow: 0 0 0 1px rgba(29, 213, 212, 0.16), 0 18px 34px rgba(0, 0, 0, 0.28);
  background: linear-gradient(180deg, rgba(21, 44, 53, 0.95), rgba(13, 19, 30, 0.98));
}

.category-chip .icon {
  width: 2rem;
  height: 2rem;
}

.category-chip span {
  color: #e9f4ff;
}

.now-grid {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: 16px;
  padding-top: 22px;
}

.now-playing,
.comments {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 24, 37, 0.95), rgba(13, 18, 29, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.now-playing {
  min-height: 530px;
}

.now-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 42% 14%, rgba(73, 177, 168, 0.12), transparent 15%),
    linear-gradient(180deg, rgba(20, 52, 79, 0.12), rgba(10, 16, 25, 0.9)),
    linear-gradient(135deg, #15304c, #0c1523 40%, #08111d);
}

.now-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 44% 18%, rgba(211, 239, 255, 0.18), transparent 13%),
    radial-gradient(circle at 10% 16%, rgba(110, 193, 180, 0.3), transparent 20%),
    radial-gradient(circle at 85% 10%, rgba(68, 112, 154, 0.28), transparent 26%),
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 18px);
  opacity: 0.92;
}

.now-content {
  position: relative;
  z-index: 1;
  padding: 22px 22px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.now-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(29, 213, 212, 0.14);
  border: 1px solid rgba(60, 227, 225, 0.3);
  color: #dffefe;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.favorite-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
}

.favorite-btn .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.now-content h2 {
  margin-top: 196px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.now-content p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.inline-stats {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
  color: rgba(235, 243, 255, 0.88);
}

.inline-stats span,
.comment-actions span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  color: rgba(235, 243, 255, 0.85);
}

.track,
.volume-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.track i,
.volume-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #7ef1eb);
}

.track i {
  width: 0%;
  transition: width 120ms linear;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
}

.controls button {
  color: rgba(245, 249, 255, 0.92);
  transition: transform 180ms ease, color 180ms ease;
}

.controls .icon {
  width: 1.6rem;
  height: 1.6rem;
}

.main-control {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #41dfe5 0%, #14b6ba 100%);
  box-shadow: 0 16px 34px rgba(18, 183, 188, 0.3);
}

.main-control .icon {
  width: 1.95rem;
  height: 1.95rem;
}

.volume-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: auto;
  padding-top: 26px;
}

.volume-row .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.volume-track i {
  width: 54%;
}

.comments {
  padding: 18px 18px 16px;
}

.comments-head h2 {
  margin-bottom: 16px;
}

.comment-form {
  display: flex;
  gap: 14px;
}

.comment-form input,
.newsletter-form input {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 14, 23, 0.72);
  color: var(--text);
  padding: 0 16px;
  outline: 0;
}

.comment-list {
  padding-top: 8px;
}

.comment-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  padding: 18px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

.avatar-1 {
  background:
    radial-gradient(circle at 50% 28%, #f1c7a1 0 20%, transparent 22%),
    linear-gradient(135deg, #5f8ca7, #d6a07b);
}

.avatar-2 {
  background:
    radial-gradient(circle at 50% 28%, #f2c9b2 0 20%, transparent 22%),
    linear-gradient(135deg, #8d5d4f, #d3a67f);
}

.avatar-3 {
  background:
    radial-gradient(circle at 50% 28%, #f1cfae 0 20%, transparent 22%),
    linear-gradient(135deg, #4f7a4f, #d0b07d);
}

.comment-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.comment-top span {
  color: var(--muted-2);
  font-size: 0.92rem;
}

.comment-body p {
  margin: 8px 0 0;
  color: rgba(240, 246, 255, 0.92);
  line-height: 1.55;
}

.comment-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(235, 243, 255, 0.8);
  white-space: nowrap;
}

.comment-actions a {
  color: rgba(235, 243, 255, 0.8);
}

.load-more {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 0 4px;
  color: rgba(235, 243, 255, 0.84);
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr 0.7fr 1fr;
  gap: 18px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand p,
.footer-newsletter p {
  color: var(--muted);
  line-height: 1.7;
}

.footer-col,
.footer-newsletter {
  padding-top: 8px;
}

.footer-col h3,
.footer-newsletter h3 {
  margin: 0 0 16px;
  font-size: 1.08rem;
}

.footer-col {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  padding-left: 18px;
}

.footer-col a {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(17, 24, 37, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.socials .icon {
  width: 1rem;
  height: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted-2);
}

.footer-bottom p {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

@media (max-width: 1280px) {
  .music-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .topbar-actions {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(5, 10, 18, 0.98) 0%, rgba(5, 10, 18, 0.84) 42%, rgba(5, 10, 18, 0.12) 100%);
  }

  .hero-copy {
    padding-top: 38px;
    padding-bottom: 28px;
  }

  .hero-visual {
    min-height: 420px;
    border-radius: 24px;
  }

  .music-grid,
  .category-grid,
  .now-grid,
  .footer {
    grid-template-columns: 1fr 1fr;
  }

  .now-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(100%, calc(100% - 10px));
    padding-inline: 12px;
  }

  .topbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .searchbar {
    min-width: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-actions,
  .listeners,
  .newsletter-form,
  .comment-form,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .music-grid,
  .category-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .music-card {
    min-height: 300px;
  }

  .comment-item {
    grid-template-columns: 40px 1fr;
  }

  .comment-actions {
    grid-column: 2;
  }

  .footer-col {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
  }

  .footer-brand {
    padding-bottom: 8px;
  }
}
