@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

#fff-music-recommender {
  font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
  color: #011052;
  max-width: 640px;
  margin: 0 auto;
}

/* Header */
.fff-header {
  background: #011052;
  padding: 36px 28px 32px;
  text-align: center;
  border-radius: 14px 14px 0 0;
}
.fff-header-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #B4E0F8;
  margin-bottom: 12px;
}
.fff-header h2 {
  font-family: 'Amatic SC', handwriting;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.15;
}
.fff-header h2 span { color: #ED204D; }
.fff-header p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  margin: 12px 0 0;
  line-height: 1.6;
}

/* Search */
.fff-search {
  background: #f0f6ff;
  padding: 28px;
  border: 1px solid #d0e8f5;
  border-top: none;
}
.fff-search label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
}
.fff-search-row {
  display: flex;
  gap: 10px;
}
.fff-search-row input {
  flex: 1;
  padding: 13px 16px;
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
  border-radius: 8px;
  border: 2px solid #d0e8f5;
  outline: none;
  color: #011052;
  background: #fff;
}
.fff-search-row input:focus {
  border-color: #B4E0F8;
}
.fff-btn {
  background: #ED204D;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 20px;
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.fff-btn:hover { background: #c4103a; }
.fff-btn:disabled { background: #aaa; cursor: default; }

/* Error */
.fff-error {
  margin-top: 16px;
  padding: 14px 16px;
  background: #fdecea;
  border-radius: 8px;
  color: #ED204D;
  font-size: 13px;
}

/* Loading */
.fff-loading {
  text-align: center;
  padding: 40px 20px;
}
.fff-vinyl {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: conic-gradient(#111 0deg,#333 60deg,#111 120deg,#222 180deg,#111 240deg,#333 300deg,#111 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: fff-spin 2.5s linear infinite;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.fff-vinyl-centre {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ED204D;
  border: 3px solid #fff;
}
@keyframes fff-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.fff-loading-icon { font-size: 28px; margin-bottom: 8px; }
.fff-loading-text {
  font-size: 15px;
  font-style: italic;
  color: #011052;
  min-height: 24px;
}
.fff-loading-text span { color: #ED204D; }
.fff-loading-sub {
  font-size: 12px;
  color: #aaa;
  margin-top: 12px;
}

/* Results */
.fff-intro {
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  border-left: 3px solid #B4E0F8;
  padding-left: 16px;
  margin: 24px 0;
  color: #011052;
}

/* Artist card */
.fff-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #d0e8f5;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(1,16,82,0.06);
  animation: fff-fadeIn 0.4s ease;
}
@keyframes fff-fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fff-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.fff-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eef6fd;
  border: 2px solid #d0e8f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.fff-card-header h3 {
  font-family: 'Amatic SC', handwriting;
  font-size: 26px;
  font-weight: 700;
  color: #011052;
  margin: 0 0 6px;
  line-height: 1;
}
.fff-genre {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: #ED204D;
  padding: 3px 10px;
  border-radius: 20px;
}
.fff-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #333;
  margin: 0 0 16px;
}

/* Tracks */
.fff-tracks-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 8px;
}
.fff-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: #eef6fd;
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 13px;
  color: #011052;
}
.fff-track-note { color: #B4E0F8; }

/* Links */
.fff-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.fff-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-family: 'Open Sans', sans-serif;
  text-decoration: none;
  transition: opacity 0.2s;
}
.fff-link:hover { opacity: 0.8; }
.fff-link-spotify  { background: #1DB95420; color: #1DB954; border: 1px solid #1DB95440; }
.fff-link-deezer   { background: #a238ff20; color: #a238ff; border: 1px solid #a238ff40; }
.fff-link-youtube  { background: #FF000020; color: #FF0000; border: 1px solid #FF000040; }
.fff-link-wikipedia{ background: #55555520; color: #555;    border: 1px solid #55555540; }

/* Footer note */
.fff-footer-note {
  font-size: 11px;
  color: #aaa;
  text-align: center;
  font-style: italic;
  margin-top: 24px;
  line-height: 1.6;
}
