/* Classic Retrograde EP page: same layout as TRANSMISSIONS, in this EP's
   colors (night-sky navy into ocean blue, with the cover's sunset orange).
   Loads after style.css, which still provides the game's styles. */
:root {
  --night: #0c1233;
  --ocean: #0d3a6e;
  --sunset: #f5a524;
  --sunset-hover: #ffbb4a;
  --cream: #efe2c6;
}

html { background: var(--night); }
body {
  min-height: 100vh;
  color: var(--cream);
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 400;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--sunset); outline-offset: 4px; }

nav.top { max-width: 1040px; margin: 0 auto; padding: 22px 16px 0; }
.home-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
}
.home-link:hover { color: var(--sunset); }
.ww-icon { width: 30px; height: auto; flex: none; overflow: visible; }

main { max-width: 1040px; margin: 0 auto; padding: 0 16px 40px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-top: 36px;
}
/* .hero .cover (not just .cover): the game's title screen also has a .cover image */
.hero .cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .06);
}
.artist {
  margin: 0;
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--sunset);
}
.hero h1 {
  margin: 14px 0 0;
  font-weight: 300;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.05;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.album-meta {
  margin: 18px 0 0;
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .65;
}
.album-meta span { white-space: nowrap; }
.listen-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 26px 13px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--night);
  background: var(--sunset);
  border-radius: 999px;
  transition: background .15s, transform .15s;
}
.listen-btn:hover { background: var(--sunset-hover); transform: translateY(-1px); }
.listen-btn[hidden] { display: none; }

/* ---------- Tracklist (shared styles in tracklist.css) ---------- */
.tracklist {
  --tl-text: var(--cream);
  --tl-accent: var(--sunset);
  --tl-hover: rgba(255, 255, 255, .06);
  --tl-current: rgba(245, 165, 36, .12);
  --tl-label: var(--sunset);
  margin-top: 64px;
}
.tracklist .section-title {
  margin: 0 0 22px;
  font-family: inherit;
  font-weight: 400;
  font-size: clamp(18px, 2.6vw, 24px);
  letter-spacing: .45em;
  padding-left: .45em;
  color: var(--cream);
}
.track-title { font-weight: 400; }

/* "Play game" button and the fold-out game, on the dark background */
.game-toggle {
  color: var(--night);
  background: var(--sunset);
  box-shadow: 0 3px 0 #a86a0c;
}
.game-toggle:hover { background: var(--sunset-hover); }
.game-toggle:active { box-shadow: 0 1px 0 #a86a0c; }
.game-toggle[aria-expanded="true"] { color: var(--night); background: var(--cream); box-shadow: 0 3px 0 #b9a77f; }
.game-toggle:focus-visible { outline-color: var(--cream); }
.game-panel .cabinet { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 40px -20px rgba(0, 0, 0, .7); }

footer {
  padding: 32px 16px 44px;
  text-align: center;
  font-size: 13px;
  letter-spacing: .25em;
  text-transform: uppercase;
  opacity: .7;
}
footer a { color: var(--sunset); text-decoration: none; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 22px; }
  .intro { text-align: center; }
  .hero .cover { max-width: 460px; margin: 0 auto; }
}

/* Faint album art behind the page (like the pre-save page): the cover fills
   the screen, softened, under the page colors made slightly see-through */
body { background: transparent; }
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.backdrop::before {
  /* The whole cover at about the window's height, centered, edges faded out */
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(min(100vh, 100vw) * 1.15); /* 15% larger than the window height */
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url('/assets/cover-fade.jpg') center / contain no-repeat; /* lettering painted out, edges faded in the image */
}
.backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 0%, rgba(245, 165, 36, .2), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(232, 65, 44, .12), transparent 50%),
    linear-gradient(160deg, rgba(12, 18, 51, .91) 0%, rgba(11, 31, 77, .91) 55%, rgba(13, 58, 110, .91) 100%);
}

/* Follow on Spotify / Apple Music (top right) */
nav.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.follow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.follow a { color: inherit; opacity: .85; transition: opacity .2s, transform .2s; }
.follow a:hover { opacity: 1; transform: translateY(-1px); }
.follow .sp-icon { width: 20px; height: 20px; flex: none; display: block; }
@media (max-width: 560px) { .follow > span { display: none; } .follow .sp-icon { width: 22px; height: 22px; } }

/* Listen buttons (Spotify + Apple Music) in a row that wraps neatly */
.listen-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.listen-links .listen-btn { margin-top: 0; }
.listen-btn.alt { color: var(--cream); background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.listen-btn.alt:hover { background: rgba(255, 255, 255, .08); }
@media (max-width: 760px) { .listen-links { justify-content: center; } }
