/* === Base layout (samme som player) === */

body {
  margin: 0;
  background: radial-gradient(circle at top, #111 0%, #000 70%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.card {
  width: 100%;
  max-width: 750px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.05);
}

.card-header h2 {
  margin: 0 0 30px 0;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.5px;
}

/* === Track list === */

.recent-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.25s ease;
  animation: fadeInUp 0.4s ease forwards;
  opacity: 0;
}

.recent-track:last-child {
  border-bottom: none;
}

.recent-track:hover {
  background: rgba(255,255,255,0.03);
  transform: translateX(6px);
}

.recent-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Rund album art */

.recent-cover {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recent-track:hover .recent-cover {
  transform: scale(1.08);
}

/* Artist – Låt */

.recent-title {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

/* Låtlengde */

.recent-duration {
  font-size: 11px;
  opacity: 0.35;
  letter-spacing: 0.5px;
}

/* Fade-in animasjon */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobil */

@media (max-width: 600px) {

  .card {
    padding: 25px;
    border-radius: 18px;
  }

  .recent-cover {
    width: 50px;
    height: 50px;
  }

  .recent-title {
    font-size: 14px;
  }

  .recent-duration {
    font-size: 10px;
  }

}
