/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body, html {
  height: 100%;
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  overflow: hidden;
}

/* Dynamic Blurred Background (Kept as requested) */
.bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(45px) brightness(0.3);
  transform: scale(1.1);
  transition: background-image 1s ease-in-out;
  z-index: 1;
}

/* Center Content */
.container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding: 20px;
}

/* Classic Solid Card */
.classic-card {
  width: 100%;
  max-width: 340px;
  background-color: rgba(24, 24, 24, 0.95); /* Deep dark gray, almost solid */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px; /* Sharper, classic corners */
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* Album Art */
.cover-art {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 4px; /* Minimal rounding */
  object-fit: cover;
  margin-bottom: 24px;
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Text Formatting */
.details {
  text-align: left; /* Classic left-alignment */
}

h1 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

h2 {
  font-size: 1rem;
  font-weight: 400;
  color: #aaaaaa;
  margin-bottom: 4px;
}

.album {
  font-size: 0.85rem;
  color: #666666;
}

/* Minimal Status Indicator */
.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1db954; /* Spotify green */
  font-weight: 500;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #1db954;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(29, 185, 84, 0.5); /* Subtle glow */
}

/* Offline state formatting */
.status-indicator.offline {
  color: #888888;
}

.status-indicator.offline .dot {
  background-color: #888888;
  box-shadow: none;
}

/* State Handlers */
.hidden {
  display: none !important;
}

.state-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 250px;
  color: #888888;
  font-size: 0.9rem;
}

.state-message button {
  margin-top: 16px;
  background: transparent;
  border: 1px solid #555;
  color: #ccc;
  padding: 6px 16px;
  border-radius: 4px; /* Matches card corners */
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.state-message button:hover {
  background: #333;
  color: #fff;
  border-color: #777;
}
