/* ============================================================
   CITRAS — listen.css
   Streaming link page · Mobile-first
   ============================================================ */

:root {
  --fg:           #ede8dd;
  --fg-muted:     #7a766d;
  --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --ease-expo:    cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-display);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;

  /* Painted sky — mirrors the main hero background */
  background-color: #8aaab2;
  background-image:
    /* Sun-glow pinks */
    radial-gradient(ellipse 65% 38% at 58% 78%,
      rgba(208, 158, 148, 0.22) 0%,
      rgba(195, 145, 135, 0.08) 50%,
      transparent 72%),
    radial-gradient(ellipse 38% 28% at 84% 58%,
      rgba(200, 152, 142, 0.16) 0%,
      transparent 58%),
    radial-gradient(ellipse 42% 22% at 48% 38%,
      rgba(198, 150, 142, 0.1) 0%,
      transparent 60%),
    /* Cloud masses */
    radial-gradient(ellipse 72% 58% at 32% 24%,
      rgba(195, 202, 188, 0.38) 0%,
      rgba(178, 186, 174, 0.12) 38%,
      transparent 68%),
    radial-gradient(ellipse 42% 32% at 80% 18%,
      rgba(182, 192, 186, 0.34) 0%,
      transparent 62%),
    radial-gradient(ellipse 55% 40% at 50% 46%,
      rgba(172, 180, 168, 0.26) 0%,
      transparent 65%),
    radial-gradient(ellipse 24% 20% at 6% 14%,
      rgba(188, 194, 182, 0.3) 0%,
      transparent 62%),
    /* Sky depth */
    radial-gradient(ellipse 38% 32% at 92% 10%,
      rgba(72, 104, 116, 0.22) 0%,
      transparent 64%),
    radial-gradient(ellipse 32% 28% at 4% 52%,
      rgba(78, 108, 118, 0.18) 0%,
      transparent 58%),
    radial-gradient(ellipse 30% 24% at 94% 55%,
      rgba(76, 106, 116, 0.16) 0%,
      transparent 55%),
    /* Warm lower sky */
    radial-gradient(ellipse 90% 42% at 50% 92%,
      rgba(172, 154, 108, 0.36) 0%,
      rgba(155, 138, 96, 0.14) 50%,
      transparent 72%),
    radial-gradient(ellipse 48% 30% at 14% 86%,
      rgba(164, 148, 100, 0.24) 0%,
      transparent 58%),
    radial-gradient(ellipse 38% 26% at 82% 80%,
      rgba(168, 150, 102, 0.22) 0%,
      transparent 56%),
    /* Base gradient */
    linear-gradient(to bottom,
      #78a0aa  0%,
      #84a8b0 18%,
      #8aaab2 35%,
      #93aeb6 52%,
      #9aadb0 65%,
      #a4aeaa 76%,
      #a8aa96 87%,
      #aeaa8c 100%
    );
}

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

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

/* ----------------------------
   Grain overlay
   ---------------------------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ----------------------------
   Painted clouds
   ---------------------------- */
.clouds {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cloud {
  position: absolute;
  border-radius: 50%;
}

.cloud--a1 {
  width: clamp(320px, 52vw, 640px);
  height: clamp(200px, 32vw, 400px);
  top: -4%; left: 2%;
  background: rgba(200, 176, 162, 0.48);
  filter: blur(52px);
}
.cloud--a2 {
  width: clamp(220px, 36vw, 440px);
  height: clamp(150px, 24vw, 300px);
  top: 2%; left: 10%;
  background: rgba(230, 208, 194, 0.52);
  filter: blur(34px);
}
.cloud--a3 {
  width: clamp(130px, 20vw, 240px);
  height: clamp(90px, 14vw, 170px);
  top: 4%; left: 20%;
  background: rgba(238, 228, 216, 0.55);
  filter: blur(20px);
}
.cloud--b1 {
  width: clamp(260px, 42vw, 520px);
  height: clamp(160px, 26vw, 320px);
  top: -2%; left: 30%;
  background: rgba(214, 192, 176, 0.40);
  filter: blur(48px);
}
.cloud--b2 {
  width: clamp(160px, 26vw, 320px);
  height: clamp(100px, 16vw, 200px);
  top: 5%; left: 38%;
  background: rgba(232, 212, 198, 0.42);
  filter: blur(28px);
}
.cloud--c1 {
  width: clamp(180px, 28vw, 340px);
  height: clamp(110px, 17vw, 210px);
  top: 1%; right: 4%;
  background: rgba(204, 184, 170, 0.36);
  filter: blur(38px);
}
.cloud--c2 {
  width: clamp(100px, 15vw, 180px);
  height: clamp(65px, 10vw, 120px);
  top: 10%; right: 14%;
  background: rgba(222, 204, 190, 0.38);
  filter: blur(22px);
}
.cloud--d1 {
  width: clamp(240px, 38vw, 460px);
  height: clamp(130px, 20vw, 250px);
  top: 30%; left: 8%;
  background: rgba(172, 154, 152, 0.28);
  filter: blur(50px);
}
.cloud--d2 {
  width: clamp(200px, 32vw, 400px);
  height: clamp(110px, 17vw, 215px);
  top: 26%; left: 42%;
  background: rgba(176, 160, 158, 0.24);
  filter: blur(44px);
}
.cloud--e1 {
  width: clamp(300px, 48vw, 580px);
  height: clamp(130px, 20vw, 250px);
  bottom: 8%; left: 15%;
  background: rgba(204, 162, 138, 0.33);
  filter: blur(55px);
}
.cloud--e2 {
  width: clamp(180px, 28vw, 340px);
  height: clamp(90px, 14vw, 170px);
  bottom: 14%; right: 6%;
  background: rgba(208, 160, 140, 0.28);
  filter: blur(42px);
}

/* ----------------------------
   Back link
   ---------------------------- */
.back-link {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(9, 9, 9, 0.5);
  transition: color 0.2s;
  z-index: 10;
}

.back-link:hover {
  color: rgba(9, 9, 9, 0.9);
}

/* ----------------------------
   Page layout
   ---------------------------- */
.page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.25rem 3rem;
  position: relative;
  z-index: 2;
}

.card {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ----------------------------
   Artwork
   ---------------------------- */
.artwork {
  width: clamp(200px, 60vw, 300px);
  margin-bottom: 1.75rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.artwork img {
  width: 100%;
  height: auto;
}

/* ----------------------------
   Meta
   ---------------------------- */
.meta {
  text-align: center;
  margin-bottom: 2.25rem;
}

.meta__band {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(9, 9, 9, 0.5);
  margin-bottom: 0.35rem;
}

.meta__title {
  font-size: clamp(1.6rem, 6vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(9, 9, 9, 0.82);
  line-height: 1;
}

/* ----------------------------
   Streaming buttons
   ---------------------------- */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stream-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.15s var(--ease-expo), filter 0.15s;
  cursor: pointer;
}

.stream-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.stream-btn:active {
  transform: scale(0.98);
  filter: brightness(0.95);
}

.stream-btn__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.stream-btn__label {
  flex: 1;
}

.stream-btn__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* Spotify — brand green */
.stream-btn--spotify {
  background-color: #1DB954;
  color: #000;
}

/* Apple Music — brand gradient */
.stream-btn--apple {
  background: linear-gradient(135deg, #fc5c7d 0%, #6a3093 100%);
  color: #fff;
}

/* YouTube Music — brand red */
.stream-btn--youtube {
  background-color: #FF0000;
  color: #fff;
}

/* ----------------------------
   Focus styles
   ---------------------------- */
:focus-visible {
  outline: 2px solid rgba(9, 9, 9, 0.7);
  outline-offset: 4px;
  border-radius: 2px;
}
