/* Base, colors, and typography */
:root {
  --text: #1f1f1f;
  --muted: #4d4d4d;
  --card-soft: #151b22;
  --accent: #53b1fd;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}



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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  padding: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Release */
.release {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-top: 40px;
}

.cover {
  width: min(60vw, 320px);
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow);
  background: var(--card-soft);
}

.track {
  font-size: 1.35rem;
  margin: 6px 0 0;
  letter-spacing: 0.2px;
  font-weight: 500;
}

.artist { margin: 2px 0 0; color: var(--muted); }
.meta { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Platforms */
.platforms { padding-bottom: 4px; padding-top: 0px; }
.platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.platform-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  background: linear-gradient(180deg, rgba(222, 222, 222, 0.66) 0%, rgba(199, 199, 199, 0.5) 100%);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
  backdrop-filter: saturate(160%) blur(16px);
}

.platform-card:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.platform-card:active {
  transform: translateY(0);
}

.platform-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.platform-card .left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.platform-card .name { font-weight: 500; font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji"; }
.platform-card .cta {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  opacity: 0.9;
}

.ico {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: transparent;
}
.ico img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Footer */
.footer {
  padding: 12px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Hydra background canvas */
#hydra-bg,
#hydra-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none; /* keep links and inputs clickable */
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  .platform-card {
    transition: none;
  }
}


.ico img[src$="tidal.svg"] {
  filter: invert(1);
}


