/* ============================================================
   CHALETTE RECORDS — SMART LINK PAGE THEME
   Glassmorphic album card, compact custom audio player bar, 
   3D tilt, vertical magnetic platform stack.
   ============================================================ */

:root {
  --sl-accent: #ff3d5a;
  --sl-accent-2: #ff9f4f;
  --sl-panel: rgba(18, 16, 20, 0.75);
  --sl-border: rgba(255, 255, 255, 0.14);
  --sl-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { 
  box-sizing: border-box;
  font-family: var(--sl-font);
}

html { 
  scroll-behavior: smooth; 
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("let me fly slider.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 40px 15px;
}

/* Dark scrim + blur overlay over background photo */
body::before {
  content: "";
  position: fixed; 
  inset: 0;
  background: radial-gradient(1200px 700px at 50% 0%, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.88) 75%);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  z-index: 0;
}

.transitionwebsite {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ---------- Main Music Container Card ---------- */
.music-container {
  position: relative;
  z-index: 2;
  background: var(--sl-panel);
  border: 1px solid var(--sl-border);
  border-radius: 24px;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 35px 100px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  color: #fff;
  max-width: 420px;
  width: 100%;
  padding: 28px 24px;
  margin: auto;
  text-align: center;
  animation: sl-rise .8s cubic-bezier(.16, .84, .44, 1) both;
}

@keyframes sl-rise {
  from { opacity: 0; transform: translateY(30px) scale(.98); }
  to { opacity: 1; transform: none; }
}

/* ---------- Back Button ---------- */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--sl-border);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.16, .84, .44, 1), background .3s ease, color .3s ease;
}

.back-button:hover { 
  background: rgba(255, 255, 255, 0.95); 
  color: #000; 
  transform: translateY(-2px); 
}

/* ---------- Song Title ---------- */
.song-title {
  font-family: var(--sl-font);
  font-weight: 800;
  font-size: 28px;
  background: linear-gradient(90deg, #fff, var(--sl-accent-2) 60%, var(--sl-accent));
  -webkit-background-clip: text; 
  background-clip: text; 
  color: transparent;
  letter-spacing: 1px;
  margin: 0 0 20px 0;
}

/* ---------- Album Artwork Wrapper ---------- */
.album-art-wrapper {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 20px auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.85), 0 0 30px -5px rgba(255, 61, 90, 0.35);
}

.album-art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  transition: transform .5s cubic-bezier(.16, .84, .44, 1);
}

.album-art-wrapper:hover .album-art {
  transform: scale(1.04);
}

/* ---------- Compact Minimal Audio Bar ---------- */
.custom-player {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--sl-border);
  border-radius: 50px;
  padding: 8px 16px;
  margin-bottom: 20px;
  backdrop-filter: blur(12px);
}

.player-btn {
  background: var(--sl-accent);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.player-btn:hover {
  transform: scale(1.08);
  background: var(--sl-accent-2);
}

.player-timeline {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-family: monospace;
}

#seek-bar {
  flex-grow: 1;
  accent-color: var(--sl-accent);
  cursor: pointer;
  height: 4px;
}

/* ---------- Streaming Platform Links ---------- */
.platform-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.platform-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--sl-border);
  backdrop-filter: blur(10px);
  color: #fff;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.16, .84, .44, 1), box-shadow .3s ease, background .3s ease;
}

.platform-link:hover {
  background: linear-gradient(135deg, var(--sl-accent), var(--sl-accent-2));
  box-shadow: 0 12px 28px -5px rgba(255, 61, 90, 0.55);
  transform: translateY(-3px);
}

.platform-link i, 
.platform-link img {
  margin-right: 10px;
}