:root {
  color-scheme: light;
  font-family: "Roboto Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  color: #2b2a29;
  background: #12315c;
  --blue: #245ea8;
  --blue-deep: #12315c;
  --red: #c9302b;
  --ink: #2b2a29;
  --ink-soft: #5b5955;
  --line: #dde3ea;
  --paper: #f5f7fa;
}

* { box-sizing: border-box; }

body {
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  padding: clamp(1rem, 4vw, 3rem);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--blue-deep);
}

.backdrop picture,
.backdrop img {
  display: block;
  width: 100%;
  height: 100%;
}

.backdrop img {
  object-fit: cover;
  filter: saturate(.9) contrast(.95);
  transform: scale(1.025);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(18, 49, 92, .66), rgba(36, 94, 168, .32)),
    radial-gradient(circle at center, rgba(18, 49, 92, .05) 10%, rgba(18, 49, 92, .62) 100%);
}

.card {
  width: min(100%, 34rem);
  padding: clamp(2rem, 7vw, 3.5rem) clamp(1.4rem, 7vw, 3.5rem) clamp(1.5rem, 6vw, 2.5rem);
  text-align: center;
  background: rgba(255, 255, 255, .965);
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 1.25rem;
  box-shadow: 0 1.8rem 5rem rgba(18, 49, 92, .38);
  backdrop-filter: blur(18px);
}

.logo {
  display: block;
  width: min(21rem, 86%);
  max-height: 7.25rem;
  object-fit: contain;
  margin: 0 auto clamp(1.5rem, 5vw, 2rem);
}

.eyebrow,
.label,
.venue {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--red);
}

.eyebrow span {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 .25rem rgba(201, 48, 43, .12);
}

h1 {
  margin: .4rem 0 0;
  font-family: "Spectral", Georgia, serif;
  color: var(--blue);
  font-size: clamp(2.45rem, 9vw, 3.75rem);
  line-height: .95;
  letter-spacing: -.04em;
}

.rule {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 1.6rem auto 1.8rem;
}

.rule::before,
.rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.rule span {
  width: .55rem;
  height: .55rem;
  background: var(--red);
  transform: rotate(45deg);
}

.label { color: var(--ink-soft); }

#track-name {
  margin: .65rem 0 .3rem;
  font-family: "Spectral", Georgia, serif;
  font-size: clamp(1.7rem, 7vw, 2.45rem);
  font-weight: 800;
  line-height: 1.06;
  text-wrap: balance;
}

#artist-name {
  min-height: 1.5em;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 4.5vw, 1.25rem);
  font-style: italic;
  line-height: 1.4;
  text-wrap: balance;
}

.poster-link {
  display: inline-block;
  margin-top: 1.6rem;
  color: var(--blue);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: .1em;
  text-underline-offset: .18em;
}

.poster-link:hover,
.poster-link:focus-visible {
  color: var(--red);
}

.venue {
  margin-top: clamp(1.8rem, 6vw, 2.5rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--blue-deep);
  font-size: .7rem;
  letter-spacing: .09em;
}

.now-playing[data-state="paused"] #track-name { color: var(--blue); }
.now-playing[data-state="unavailable"] #track-name {
  color: var(--ink-soft);
  font-size: clamp(1.4rem, 6vw, 1.75rem);
}

@media (max-width: 700px) {
  .backdrop img { object-position: center 42%; }
  .backdrop::after {
    background:
      linear-gradient(rgba(18, 49, 92, .48), rgba(18, 49, 92, .7)),
      radial-gradient(circle at center, transparent 5%, rgba(18, 49, 92, .42) 100%);
  }
}

@media (max-width: 360px) {
  body { padding: .75rem; }
  .card { padding-inline: 1.15rem; }
  .logo { width: min(19rem, 92%); }
}

@media (prefers-reduced-motion: no-preference) {
  .card { animation: arrive .55s ease-out both; }
  @keyframes arrive {
    from { opacity: 0; transform: translateY(12px); }
  }
}
