/* Spotify Stats Section Styles */
/* Matches the main site's velvet/rose aesthetic */

.spotify-section {
  min-height: 100vh;
  padding: 80px 20px;
  background: transparent;
  position: relative;
}

.spotify-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Slide-specific adjustments */
.slide-content .spotify-container {
  padding: 0 1rem;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.spotify-header {
  text-align: center;
  margin-bottom: 60px;
}

.spotify-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}

.spotify-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Controls */
.spotify-controls {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 40px;
  align-items: flex-end;
  justify-content: center;
}

.filter-dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.dropdown-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.filter-dropdown {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  min-width: 160px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.filter-dropdown:hover {
  border-color: rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.2);
}

.filter-dropdown:focus {
  outline: none;
  border-color: rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
  box-shadow: 0 0 0 3px rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.2);
}

.filter-dropdown option {
  background: #1a1a1a;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 0.95rem;
}

.filter-dropdown option:checked {
  background: var(--accent-primary);
  color: #ffffff;
}

/* Control Actions */
.control-actions {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.control-action-btn {
  padding: 12px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.control-action-btn:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 24, 74, 0.2);
}

.control-action-btn.primary {
  background: var(--glass-bg);
}

.control-action-btn.secondary {
  background: var(--glass-bg);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Stat Card */
.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-md);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

.stat-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-pic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-primary);
}

.stat-card-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.listening-time {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* List Section */
.list-section {
  margin-bottom: 32px;
}

.list-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.list-item:hover {
  padding-left: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.list-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.list-rank {
  color: var(--text-muted);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  min-width: 24px;
}

.list-item-name {
  color: var(--text-primary);
  font-weight: 500;
}

.list-item-artist {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.list-item-count {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-family: 'JetBrains Mono', monospace;
}

/* Genre Tags */
.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.genre-tag {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(201, 24, 74, 0.15);
  color: var(--accent-secondary);
  border: 1px solid rgba(201, 24, 74, 0.3);
  transition: all 0.3s ease;
}

.genre-tag:hover {
  background: rgba(201, 24, 74, 0.25);
  transform: translateY(-2px);
}

/* Combined Stats */
.combined-stats {
  margin-top: 40px;
}

.combined-header {
  text-align: center;
  margin-bottom: 32px;
}

.combined-title {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff6b9d, #c9184a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.metric-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
}

.metric-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(201, 24, 74, 0.15);
  color: var(--accent-secondary);
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.metric-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Quick Actions */
.quick-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.action-btn {
  padding: 16px 32px;
  border: none;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'JetBrains Mono', monospace;
}

.action-btn.primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(201, 24, 74, 0.3);
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 24, 74, 0.4);
}

.action-btn.secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.action-btn.secondary:hover {
  background: var(--bg-primary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

/* Loading State */
.loading-container {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(201, 24, 74, 0.2);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Error State */
.error-container {
  text-align: center;
  padding: 60px 20px;
}

.error-title {
  font-size: 1.5rem;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.error-message {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.retry-btn {
  padding: 12px 24px;
  background: var(--accent-primary);
  color: var(--text-primary);
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.retry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 24, 74, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .spotify-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .filter-dropdown-group {
    align-items: stretch;
  }

  .filter-dropdown {
    width: 100%;
  }

  .control-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .control-action-btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    flex-direction: column;
  }

  .action-btn {
    width: 100%;
  }
}

/* Now Playing Compact Styles (inside stat cards) */
.now-playing-compact {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.now-playing-compact.active {
  background: linear-gradient(135deg, rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.1), rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.05));
  border-color: rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
}

.profile-leah .now-playing-compact.active {
  background: linear-gradient(135deg, rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.1), rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.05));
  border-color: rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
}

.profile-chloe .now-playing-compact.active {
  background: linear-gradient(135deg, rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.1), rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.05));
  border-color: rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
}

.now-playing-status-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
  opacity: 0.7;
}

.playing-indicator-compact {
  background: rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.4);
}

.profile-leah .playing-indicator-compact {
  background: rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
  box-shadow: 0 2px 8px rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.4);
}

.profile-chloe .playing-indicator-compact {
  background: rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
  box-shadow: 0 2px 8px rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.4);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.playing-indicator-compact .pulse-dot {
  background: white;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.album-art-compact {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.now-playing-track-info {
  margin-bottom: 12px;
}

.track-name-compact {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.artist-name-compact {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.progress-bar-container-compact {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
  border-radius: 2px;
  transition: none;
}

/* Advanced Stat Cards */
.stat-card-convergence {
  overflow: hidden;
}

.stat-card-discovery {
  overflow: hidden;
}

.stat-card-replay {
  overflow: hidden;
}

.stat-card-listening-together {
  overflow: hidden;
}

/* Influence Tracker */
.influence-tracker-section {
  margin-top: 32px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.influence-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.influence-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.influence-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.influence-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.influence-arrow {
  font-size: 1.5rem;
  color: var(--accent-primary);
  min-width: 24px;
  text-align: center;
}

.influence-details {
  flex: 1;
}

.influence-artist {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.influence-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .now-listening-container {
    grid-template-columns: 1fr;
  }

  .now-playing-card {
    padding: 20px;
  }

  .track-name {
    font-size: 1.1rem;
  }

  .influence-item {
    padding: 12px;
  }
}
/* Spotify Stats Redesign - Matching the new design image */

/* Profile Cards Container */
.profile-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  width: 100%;
  box-sizing: border-box;
}

.profile-cards-container.single {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Profile Card */
.profile-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
  min-width: 0;
  overflow: visible;
  box-sizing: border-box;
}

.profile-leah {
  border-left: 4px solid var(--accent-primary);
}

.profile-chloe {
  border-left: 4px solid var(--accent-secondary);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
  overflow: hidden;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-leah .profile-avatar {
  background: var(--accent-primary);
}

.profile-chloe .profile-avatar {
  background: var(--accent-secondary);
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.profile-subtitle {
  font-size: 14px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.6));
  margin: 0;
}

/* Profile Stats Grid */
.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.profile-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  text-align: center;
}

.profile-stat-value {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: nowrap;
}

.profile-stat-label {
  font-size: 12px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.5));
  font-weight: 400;
  text-transform: lowercase;
}

/* Overlap Analysis Section */
.overlap-section {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
  margin-bottom: 24px;
}

.overlap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.overlap-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.time-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: lowercase;
}

.overlap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.overlap-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.overlap-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.overlap-value {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.overlap-percent {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Large Metric Cards */
.large-metric-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metric-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-svg-icon {
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.metric-title {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
}

.metric-trend {
  font-size: 20px;
  color: #1ed760;
  font-weight: 700;
}

.metric-trend.increasing {
  color: #1ed760;
}

.metric-trend.decreasing {
  color: var(--accent-secondary);
}

.metric-trend.stable {
  color: #ffa500;
}

.metric-big-value {
  font-size: 56px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* Badges */
.badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

.badge-you {
  background: var(--accent-primary);
  color: white;
}

.badge-her {
  background: var(--accent-secondary);
  color: white;
}

/* Top Lists */
.top-lists-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.top-list {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.top-list-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.top-list-icon {
  color: var(--text-secondary, rgba(255, 255, 255, 0.5));
}

.top-list-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.top-list-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.top-list-item {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.top-list-rank {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary, rgba(255, 255, 255, 0.4));
  text-align: center;
}

.top-list-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.top-list-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-list-item-artist {
  font-size: 12px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.5));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-list-item-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary, rgba(255, 255, 255, 0.5));
  white-space: nowrap;
}

.shared-badge {
  display: inline-block;
  background: var(--accent-primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  margin-left: 8px;
  text-transform: lowercase;
}

.profile-chloe .shared-badge {
  background: var(--accent-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .profile-cards-container {
    grid-template-columns: 1fr;
  }

  .overlap-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .profile-stats-grid {
    grid-template-columns: 1fr;
  }

  .metric-big-value {
    font-size: 40px;
  }

  .overlap-value {
    font-size: 36px;
  }

  .profile-stat-value {
    font-size: 24px;
  }
}

/* Now Playing Section */
.now-playing-section {
  margin: 24px 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.now-playing-section.active {
  border: 1px solid rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
  background: linear-gradient(135deg, rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.1), rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.05));
}

.profile-leah .now-playing-section.active {
  border: 1px solid rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
  background: linear-gradient(135deg, rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.1), rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.05));
}

.profile-chloe .now-playing-section.active {
  border: 1px solid rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
  background: linear-gradient(135deg, rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.1), rgba(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b), 0.05));
}

.now-playing-header {
  margin-bottom: 12px;
}

.playing-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-leah .playing-indicator {
  color: rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
}

.profile-chloe .playing-indicator {
  color: rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.profile-leah .pulse-dot {
  background: rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
}

.profile-chloe .pulse-dot {
  background: rgb(var(--theme-color-r), var(--theme-color-g), var(--theme-color-b));
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.now-playing-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.now-playing-album {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.now-playing-info {
  flex: 1;
  min-width: 0;
}

.now-playing-track {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing-artist {
  font-size: 14px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.6));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing-progress {
  margin-top: 12px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.now-playing-progress .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 2px;
  transition: none;
}

.now-playing-status {
  font-size: 14px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.5));
  text-align: center;
  padding: 8px 0;
}
