:root {
  --text: #f2f7f4;
  --muted: #9ab8b0;
  --green: #4be39a;
  --cyan: #7bd9ff;
  --amber: #ffb56b;
  --rose: #ff8fb0;
  --panel-border: rgba(149, 224, 197, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(32, 96, 79, 0.45), transparent 28%),
    radial-gradient(circle at top right, rgba(102, 69, 164, 0.18), transparent 26%),
    radial-gradient(circle at bottom right, rgba(144, 100, 32, 0.24), transparent 30%),
    linear-gradient(180deg, #041015 0%, #08161a 56%, #050c0f 100%);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
}

.bg-orb {
  position: fixed;
  width: 36rem;
  height: 36rem;
  filter: blur(90px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.bg-orb--green {
  top: -8rem;
  left: -8rem;
  background: #38d487;
}

.bg-orb--amber {
  right: -10rem;
  bottom: -8rem;
  background: #ff9f47;
}

.bg-orb--cyan {
  right: 20%;
  top: 12%;
  background: rgba(71, 164, 232, 0.75);
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 56%, transparent 100%);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.panel {
  background: linear-gradient(180deg, rgba(12, 25, 31, 0.94), rgba(8, 17, 22, 0.9));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero,
.catalog-layout {
  display: grid;
}

.hero {
  grid-template-columns: minmax(0, 1.24fr) minmax(320px, 420px);
  gap: 2rem;
  padding: 2rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.release-poster__title {
  margin: 0;
  font-family: "Instrument Serif", serif;
  letter-spacing: -0.04em;
}

.hero h1,
.section-head h2 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.95;
}

.release-poster__title {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 0.94;
}

.hero-lead,
.section-copy,
.hero-note p,
.footer p,
.verification-card p,
.method-card p,
.profile-card p,
.platform-card p,
.release-summary {
  color: var(--muted);
  line-height: 1.68;
}

.hero-lead {
  max-width: 47rem;
  margin: 1rem 0 0;
  font-size: 1.03rem;
}

.hero-nav,
.hero-actions,
.link-row,
.chip-group,
.stat-strip,
.release-topline,
.release-meta-badges,
.release-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-nav {
  margin-top: 1.35rem;
}

.hero-nav__link,
.btn,
.filter-chip,
.platform-link {
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.hero-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}

.hero-actions {
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.btn:hover,
.hero-nav__link:hover,
.platform-link:hover,
.filter-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(119, 212, 255, 0.38);
}

.btn--primary {
  border-color: rgba(75, 227, 154, 0.42);
  background: linear-gradient(135deg, rgba(75, 227, 154, 0.16), rgba(41, 199, 125, 0.3));
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
}

.btn--wide {
  width: 100%;
}

.stat-strip {
  margin-top: 1.8rem;
}

.stat-card,
.hero-note,
.chart-card,
.filters-card,
.embed-card,
.release-card,
.platform-card,
.profile-card,
.method-card,
.verification-card {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-card {
  flex: 1 1 170px;
  min-width: 170px;
  padding: 1rem 1rem 1.05rem;
}

.stat-card strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #fff7e8;
  font-size: 1.7rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero-showcase {
  display: grid;
  gap: 1rem;
}

.hero-showcase__stack {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr;
  gap: 0.8rem;
}

.hero-showcase__stack img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.hero-showcase__stack img:first-child {
  grid-row: span 2;
  min-height: 100%;
}

.hero-note,
.profile-card,
.platform-card,
.method-card,
.verification-card,
.embed-card,
.filters-card,
.release-card {
  padding: 1rem;
}

.hero-note__label,
.embed-badge,
.tag,
.method-card__label,
.verification-card__label,
.profile-card__label {
  display: inline-flex;
  width: fit-content;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: rgba(75, 227, 154, 0.11);
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profiles,
.featured,
.catalog,
.platforms,
.method {
  margin-top: 1.4rem;
  padding: 1.5rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.35rem;
}

.section-head h2 {
  font-size: clamp(2rem, 3.2vw, 3.25rem);
}

.section-copy {
  max-width: 34rem;
  margin: 0;
  font-size: 0.96rem;
}

.profile-grid,
.embed-strip,
.release-grid,
.platform-grid,
.method-grid {
  display: grid;
  gap: 1rem;
}

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

.profile-card__id {
  display: block;
  margin: 0.55rem 0 0.85rem;
  color: #d7f1e7;
  font-size: 0.85rem;
  word-break: break-word;
}

.embed-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.embed-card p,
.filters-card label,
.filters-card span,
.catalog-toolbar__meta,
.release-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.embed-card iframe {
  width: 100%;
  height: 352px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.catalog-layout {
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1rem;
}

.filters-card {
  align-self: start;
  position: sticky;
  top: 1rem;
}

.filter-block {
  margin-bottom: 1rem;
}

.filter-block label,
.filter-block span {
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 700;
}

.filters-card input,
.filters-card select {
  width: 100%;
  min-height: 46px;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font: inherit;
}

.filter-chip {
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.filter-chip.is-active {
  background: rgba(75, 227, 154, 0.16);
  border-color: rgba(75, 227, 154, 0.42);
  color: var(--text);
}

.chart-card {
  margin: 1.1rem 0 1rem;
}

.chart-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.release-bars {
  display: grid;
  gap: 0.8rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 66px 1fr 42px;
  align-items: center;
  gap: 0.75rem;
}

.bar-row__label,
.bar-row__value {
  font-size: 0.84rem;
  color: var(--muted);
}

.bar-track {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.verification-card p {
  margin-top: 0.7rem;
  font-size: 0.92rem;
}

.catalog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.catalog-toolbar__label {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.release-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.release-card__media {
  padding-bottom: 1rem;
}

.release-poster {
  position: relative;
  min-height: 220px;
  padding: 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.release-poster::before,
.release-poster::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.release-poster::before {
  width: 12rem;
  height: 12rem;
  left: -10%;
  bottom: -25%;
}

.release-poster::after {
  width: 10rem;
  height: 10rem;
  right: -12%;
  top: -10%;
}

.release-poster--principal {
  background:
    radial-gradient(circle at top left, rgba(255, 140, 79, 0.44), transparent 40%),
    linear-gradient(145deg, rgba(59, 21, 19, 0.95), rgba(130, 44, 24, 0.88));
}

.release-poster--instrumental {
  background:
    radial-gradient(circle at top left, rgba(128, 184, 255, 0.34), transparent 42%),
    linear-gradient(145deg, rgba(16, 32, 58, 0.95), rgba(27, 70, 128, 0.9));
}

.release-poster--singles {
  background:
    radial-gradient(circle at top left, rgba(255, 143, 176, 0.32), transparent 42%),
    linear-gradient(145deg, rgba(55, 18, 31, 0.95), rgba(128, 28, 68, 0.9));
}

.release-poster__label,
.release-poster__meta {
  position: relative;
  z-index: 1;
}

.release-poster__label {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-poster__meta span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
}

.release-summary {
  margin: 0.85rem 0 0;
}

.tag--soft {
  background: rgba(255, 181, 107, 0.12);
  color: #ffd8ad;
}

.tag--source {
  background: rgba(119, 212, 255, 0.12);
  color: #d5f0ff;
}

.release-meta-badges {
  margin-top: 1rem;
}

.release-platforms {
  margin-top: 1rem;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text);
  text-decoration: none;
}

.platform-link__icon,
.platform-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.platform-link__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.platform-link__icon svg,
.platform-card__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  color: currentColor;
}

.platform-link__text {
  font-size: 0.88rem;
  font-weight: 700;
}

.platform-link--spotify {
  color: #7dffbf;
}

.platform-link--apple {
  color: #ffd7e8;
}

.platform-link--amazon {
  color: #ffd69b;
}

.platform-link--deezer {
  color: #d0e8ff;
}

.platform-link--anghami {
  color: #cff3ff;
}

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

.platform-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

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

.footer {
  padding: 1.3rem 0 0;
}

@media (max-width: 1180px) {
  .hero,
  .catalog-layout,
  .profile-grid,
  .embed-strip,
  .release-grid,
  .platform-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .filters-card {
    position: static;
  }

  .hero-showcase__stack {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 1rem, 1380px);
  }

  .hero,
  .profiles,
  .featured,
  .catalog,
  .platforms,
  .method {
    padding: 1.15rem;
  }

  .section-head,
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .hero h1,
  .section-head h2 {
    font-size: clamp(2rem, 13vw, 3rem);
  }

  .hero-showcase__stack {
    grid-template-columns: 1fr;
  }

  .hero-showcase__stack img:first-child {
    grid-row: auto;
  }

  .bar-row {
    grid-template-columns: 58px 1fr 30px;
  }

  .release-poster {
    min-height: 190px;
  }
}
