/* Album Page Styles */

.album-container {
  margin-top: 30px;
  max-width: 1200px;
}

.album-header {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.album-cover {
  flex: 0 0 350px;
}

.album-cover img {
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  display: block;
  height: auto;
  width: 100%;
}

.album-info {
  flex: 1;
}

.album-title {
  color: #e4b343;
  font-size: 2.5rem;
  font-variant: small-caps;
  margin: 0 0 15px 0;
}

.album-composer {
  color: #dddddd;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.album-composer a {
  color: #e4b343;
  text-decoration: none;
  transition: color 0.3s ease;
}

.album-composer a:hover {
  color: #ffcc66;
  text-decoration: underline;
}

.album-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.metadata-item {
  display: flex;
  align-items: center;
}

.metadata-label {
  color: #e4b343;
  font-weight: bold;
  margin-right: 8px;
}

.metadata-value {
  color: #dddddd;
}

.metadata-value a {
  color: #dddddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.metadata-value a:hover {
  color: #e4b343;
  text-decoration: underline;
}

.album-description {
  color: #dddddd;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.album-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.platform-button {
  align-items: center;
  border-radius: 6px;
  color: white;
  display: inline-flex;
  font-size: 1rem;
  font-weight: bold;
  gap: 10px;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.platform-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.platform-button.bandcamp {
  background-color: #4C9EBF;
}

.platform-button.spotify {
  background-color: #1DB954;
}

.platform-button.youtube {
  background-color: #FF0000;
}

/* Share Section Styles */
.album-share {
  margin-top: 30px;
}

.share-title {
  color: #e4b343;
  font-size: 1.2rem;
  font-variant: small-caps;
  margin: 0 0 15px 0;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.share-button:hover {
  transform: translateY(-2px) scale(1.1);
}

.share-button img {
  display: block;
  transition: all 0.3s ease;
}

.spotify-embed-container {
  margin: 40px 0;
}

.spotify-embed-container h2 {
  color: #e4b343;
  font-size: 1.8rem;
  font-variant: small-caps;
  margin-bottom: 20px;
}

.spotify-embed {
  border-radius: 8px;
  overflow: hidden;
}

.related-albums {
  margin: 40px 0;
}

.related-albums h2 {
  color: #e4b343;
  font-size: 1.8rem;
  font-variant: small-caps;
  margin-bottom: 20px;
}

.related-albums-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

.related-album {
  background-color: rgba(13, 13, 13, 0.5);
  border-radius: 8px;
  color: #dddddd;
  overflow: hidden;
  padding-bottom: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.related-album:hover {
  background-color: rgba(13, 13, 13, 0.8);
  transform: translateY(-5px);
}

.related-album img {
  aspect-ratio: 1/1;
  display: block;
  object-fit: cover;
  width: 100%;
}

.related-album h3 {
  color: #e4b343;
  font-size: 1.1rem;
  margin: 10px 15px 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-composer {
  color: #dddddd;
  font-size: 0.9rem;
  margin: 0 15px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .related-albums-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .album-header {
    flex-direction: column;
  }
  
  .album-cover {
    flex: none;
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
  }
  
  .related-albums-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .share-buttons {
    justify-content: center;
  }
  
  .share-button {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .related-albums-grid {
    grid-template-columns: 1fr;
  }
}