/*
 * Spotify click-to-load facade styling.
 * See server/static/js/spotify-facade.js for the why and how.
 */

.spotify-facade {
  width: 100%;
  height: 152px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 215, 96, 0.18), rgba(10, 26, 18, 0.95));
  border: 1px solid rgba(30, 215, 96, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
}

.spotify-facade-btn {
  all: unset;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  cursor: pointer;
  width: 100%;
  height: 100%;
  color: #f6f2e9;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-align: left;
}

.spotify-facade-btn:hover,
.spotify-facade-btn:focus-visible {
  background: rgba(30, 215, 96, 0.08);
  outline: 2px solid rgba(30, 215, 96, 0.6);
  outline-offset: -2px;
}

.spotify-facade-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1ed760;
  color: #0a1a12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  padding-left: 4px; /* visual centring of triangle */
  box-shadow: 0 6px 18px rgba(30, 215, 96, 0.35);
}

.spotify-facade-label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1 1 auto;
}

.spotify-facade-label strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f6f2e9;
}

.spotify-facade-note {
  font-size: 0.78rem;
  color: rgba(246, 242, 233, 0.7);
  line-height: 1.35;
}

@media (max-width: 480px) {
  .spotify-facade-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }

  .spotify-facade-label strong {
    font-size: 0.85rem;
  }

  .spotify-facade-note {
    font-size: 0.72rem;
  }
}
