:root {
  --bg: #050816;
  --bg-2: #0b1020;
  --bg-card: rgba(9, 16, 35, 0.96);
  --bg-card-soft: rgba(14, 22, 47, 0.96);
  --accent: #ffb347;
  --accent-soft: rgba(255, 179, 71, 0.18);
  --accent-strong: #ff8c42;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text: #f7f7ff;
  --text-soft: rgba(247, 247, 255, 0.7);
  --muted: rgba(247, 247, 255, 0.5);
  --danger: #ff4b6b;
  --shadow-soft: 0 14px 45px rgba(0, 0, 0, 0.5);
  --radius-lg: 22px;
  --radius-pill: 999px;
  --pad-page: clamp(1.5rem, 3vw, 2.5rem);
  --font-main: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

body.theme--light {
  --bg: #f8fafc;
  --bg-2: #e5edff;
  --bg-card: #ffffff;
  --bg-card-soft: #edf2ff;
  --accent-soft: rgba(255, 140, 66, 0.12);
  --text: #0b1020;
  --text-soft: rgba(11, 16, 32, 0.8);
  --muted: rgba(11, 16, 32, 0.55);
  --border-subtle: rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.18);
}

/* Global resets */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: var(--font-main);
  background: radial-gradient(circle at top left, #1d2748 0, transparent 55%),
    radial-gradient(circle at bottom right, #1f2937 0, transparent 55%),
    radial-gradient(circle at top right, #4b5563 0, transparent 60%), var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

/* Page layout */

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--pad-page);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: clamp(1.8rem, 4vw, 2.6rem);
  align-items: center;
}

.hero__cover {
  position: relative;
}

.hero__cover::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: conic-gradient(
    from 220deg,
    rgba(255, 179, 71, 0.5),
    rgba(56, 189, 248, 0.4),
    rgba(94, 234, 212, 0.35),
    rgba(255, 179, 71, 0.45)
  );
  filter: blur(22px);
  opacity: 0.65;
  z-index: -2;
}

.hero__cover::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 55%);
  mix-blend-mode: screen;
  z-index: -1;
}

.hero__cover img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero__tagline {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin: 0;
}

.hero__subtitle {
  margin: 0.25rem 0 0.4rem;
  font-size: 0.98rem;
  color: var(--text-soft);
  max-width: 30rem;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.hero__smallprint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
  font-size: 0.84rem;
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    background-color 0.12s ease-out, border-color 0.12s ease-out;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #111827;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.btn--ghost {
  background: rgba(15, 23, 42, 0.4);
  border-color: var(--border-subtle);
  color: var(--text-soft);
}

body.theme--light .btn--ghost {
  background: #f9fafb;
}

.btn--ghost:hover {
  background: rgba(15, 23, 42, 0.7);
}

body.theme--light .btn--ghost:hover {
  background: #e5edff;
}

/* Pills & meta */

.pill {
  padding: 0.18rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid transparent;
}

.pill--accent {
  background: var(--accent-soft);
  border-color: rgba(255, 179, 71, 0.6);
  color: var(--accent);
}

/* Main layout */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.6rem;
}

.panel {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-soft));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.5rem 1.35rem;
  box-shadow: var(--shadow-soft);
}

.panel__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.panel__header h2 {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.panel--about p {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.panel__hint {
  font-size: 0.84rem;
  color: var(--muted);
  border-left: 2px solid rgba(148, 163, 184, 0.65);
  padding-left: 0.7rem;
  margin-top: 0.4rem;
}

/* Tracklist */

.tracklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.track {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: background-color 0.12s ease-out, transform 0.08s ease-out;
}

.track:hover {
  background: rgba(15, 23, 42, 0.6);
  transform: translateY(-1px);
}

body.theme--light .track:hover {
  background: rgba(148, 163, 184, 0.12);
}

.track__index {
  font-size: 0.85rem;
  color: var(--muted);
}

.track__title {
  font-size: 0.92rem;
}

.track__time {
  font-size: 0.82rem;
  color: var(--muted);
}

.track--muted .track__title {
  color: var(--muted);
  font-style: italic;
}

/* Meta info */

.meta {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.meta__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.86rem;
}

.meta__label {
  color: var(--muted);
}

.meta__value {
  color: var(--text-soft);
}

/* Footer */

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 0.3rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__icon {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 500;
  background: rgba(15, 23, 42, 0.7);
}

body.theme--light .footer__icon {
  background: #ffffff;
}

.footer__text {
  margin: 0;
}

/* Theme toggle */

.theme-toggle {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-soft);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
}

body.theme--light .theme-toggle {
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

.theme-toggle__icon {
  font-size: 0.9rem;
}

.theme-toggle__label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Responsiveness */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__cover {
    order: -1;
    max-width: 280px;
  }

  .hero__cover {
    margin: 0 auto;
  }

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

@media (max-width: 640px) {
  .page {
    padding-inline: 1.1rem;
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .track {
    padding-inline: 0.3rem;
  }

  .meta__row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Nested main layout: stack tracklist + album story on the left */
.layout__left {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.panel__divider {
  border: none;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  margin: 0.9rem 0 0.8rem;
}

.panel__subheading {
  font-size: 0.95rem;
  margin: 0 0 0.4rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .layout__left {
    gap: 1.2rem;
  }
}
