/* shared.css — Common styles used across all pages */

:root {
  --bg: #1b1918;
  --text: #fff;
  --text-muted: #cdc8c2;
  --text-dim: #8a8580;
  --text-faint: #6a6560;
  --text-disabled: #9b9690;
  --border: #34322f;
  --border-hover: #45433f;
  --border-sep: rgba(255, 248, 240, 0.15);
  --accent: #c12a39;
  --accent-dark: #c12a39;
  --accent-hover: #a82433;
  --yellow: #ffd166;
  --shadow-heavy: 0 20px 80px rgba(0, 0, 0, 1), 0 8px 32px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.8);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #2e2b28;
  min-height: min(100vh, 1440px);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(230, 57, 70, 0.6);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(230, 57, 70, 0.8);
}

html {
  scrollbar-color: rgba(230, 57, 70, 0.6) var(--bg);
  overflow-y: scroll;
}

/* Shimmer loading animation */
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* SoundCloud embed base — shimmer + visual defaults */
.sc-player {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: linear-gradient(270deg, #8a0038, #4a1d80, #1a4f8a, #0a6b50, #8a6500, #8a0038);
  background-size: 600% 100%;
  animation: shimmer 3s ease-in-out infinite;
  transition: opacity 0.5s ease, filter 0.5s ease;
  box-shadow: var(--shadow-heavy);
}

/* Failed embed — stop shimmer, show muted state */
.sc-player-failed {
  animation: none;
  background: #2b2926;
  opacity: 0.4;
}

