/* Music page specific styles */
:root {
  --music-primary-color: #e74c3c;
  --music-secondary-color: #2c3e50;
  --music-accent-color: #f39c12;
  --music-background: #121212;
  --music-text: #ffffff;
  --music-player-height: 80px;
}

.music-page {
  background-color: var(--music-background);
  color: var(--music-text);
}

/* Music particles animation */
.music-particles {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 25% 25%,
      rgba(231, 76, 60, 0.1) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(243, 156, 18, 0.1) 1px,
      transparent 1px
    );
  background-size: 50px 50px;
  z-index: -1;
  animation: particleMove 30s infinite linear;
}

@keyframes particleMove {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 100px 100px, 100px 100px;
  }
}

.music-overlay {
  background-color: rgba(0, 0, 0, 0.6);
}

/* Music corner decorations */
.music-corner {
  position: fixed;
  width: 180px;
  height: 180px;
  z-index: 2;
}

.music-corner--top-left {
  top: 0;
  left: 0;
  background: linear-gradient(
      135deg,
      var(--music-primary-color) 0%,
      transparent 70%
    ),
    repeating-linear-gradient(
      45deg,
      var(--music-primary-color),
      var(--music-primary-color) 5px,
      transparent 5px,
      transparent 10px
    );
  border-bottom-right-radius: 100%;
  opacity: 0.6;
}

.music-corner--top-right {
  top: 0;
  right: 0;
  background: linear-gradient(
      225deg,
      var(--music-primary-color) 0%,
      transparent 70%
    ),
    repeating-linear-gradient(
      135deg,
      var(--music-primary-color),
      var(--music-primary-color) 5px,
      transparent 5px,
      transparent 10px
    );
  border-bottom-left-radius: 100%;
  opacity: 0.6;
}

.music-corner--bottom-left {
  bottom: 0;
  left: 0;
  background: linear-gradient(
      45deg,
      var(--music-primary-color) 0%,
      transparent 70%
    ),
    repeating-linear-gradient(
      135deg,
      var(--music-primary-color),
      var(--music-primary-color) 5px,
      transparent 5px,
      transparent 10px
    );
  border-top-right-radius: 100%;
  opacity: 0.6;
}

.music-corner--bottom-right {
  bottom: 0;
  right: 0;
  background: linear-gradient(
      315deg,
      var(--music-primary-color) 0%,
      transparent 70%
    ),
    repeating-linear-gradient(
      45deg,
      var(--music-primary-color),
      var(--music-primary-color) 5px,
      transparent 5px,
      transparent 10px
    );
  border-top-left-radius: 100%;
  opacity: 0.6;
}

/* Music hero section */
.music-hero {
  height: 70vh;
  position: relative;
  overflow: hidden;
  background-color: var(--music-secondary-color);
}

.music-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at center,
      rgba(231, 76, 60, 0.2) 0%,
      rgba(44, 62, 80, 0.6) 70%
    ),
    url('images/HUNC6296.jpg');
  background-size: cover;
  background-position: center calc(25% + 3cm); /* Moved down by 3cm from original position */
  filter: saturate(1.2) contrast(1.1) brightness(0.6);
  z-index: 0;
}

.music-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.music-hero-content h1 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  letter-spacing: 8px;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.music-hero-content p {
  font-size: 1.4rem;
  letter-spacing: 4px;
  margin-bottom: 2rem;
}

/* Music visualizer */
.music-visualizer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
  z-index: 1;
}

.music-bar {
  width: 8px;
  height: 15px;
  background-color: var(--music-primary-color);
  border-radius: 2px;
  animation: musicBarAnimation 1.5s infinite ease-in-out;
}

.music-bar:nth-child(1) {
  animation-delay: 0.1s;
}
.music-bar:nth-child(2) {
  animation-delay: 0.3s;
}
.music-bar:nth-child(3) {
  animation-delay: 0.5s;
}
.music-bar:nth-child(4) {
  animation-delay: 0.2s;
}
.music-bar:nth-child(5) {
  animation-delay: 0.4s;
}
.music-bar:nth-child(6) {
  animation-delay: 0.6s;
}
.music-bar:nth-child(7) {
  animation-delay: 0.1s;
}
.music-bar:nth-child(8) {
  animation-delay: 0.5s;
}
.music-bar:nth-child(9) {
  animation-delay: 0.3s;
}
.music-bar:nth-child(10) {
  animation-delay: 0.2s;
}
.music-bar:nth-child(11) {
  animation-delay: 0.4s;
}
.music-bar:nth-child(12) {
  animation-delay: 0.1s;
}

@keyframes musicBarAnimation {
  0%,
  100% {
    height: 15px;
  }
  50% {
    height: 45px;
  }
}

/* Music controls */
.music-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.music-btn {
  background-color: var(--music-primary-color);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.music-btn--secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 500;
}

.music-btn:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.music-btn--secondary:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.music-btn-icon {
  font-size: 1.3rem;
}

/* Featured Album Section */
.featured-album-section {
  padding: 100px 0;
}

.featured-album {
  display: flex;
  gap: 50px;
  align-items: center;
}

.album-artwork {
  flex: 0 0 40%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.album-artwork img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.album-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.album-card {
  position: relative;
}

.album-card:focus-visible {
  outline: 2px solid var(--music-accent-color);
  outline-offset: 4px;
}

.album-card-overlay {
  backdrop-filter: blur(2px);
}

.album-artwork:hover .album-overlay {
  opacity: 1;
}

.album-artwork:hover img {
  transform: scale(1.05);
}

.album-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--music-primary-color);
  color: white;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.album-card:hover .album-card-play-btn {
  transform: scale(1.15);
}

.album-details {
  flex: 1;
}

.album-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.album-type,
.album-year {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 12px;
  border-radius: 20px;
}

.album-type {
  background-color: var(--music-primary-color);
  color: white;
}

.album-year {
  background-color: rgba(255, 255, 255, 0.1);
}

.album-details h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.album-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
}

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

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--music-primary-color);
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
}

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

.stream-btn,
.download-btn,
.vinyl-btn {
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.stream-btn {
  background-color: var(--music-primary-color);
  color: white;
}

.download-btn {
  background-color: transparent;
  border: 2px solid var(--music-primary-color);
  color: var(--music-primary-color);
}

.vinyl-btn {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.stream-btn:hover,
.download-btn:hover,
.vinyl-btn:hover {
  transform: translateY(-3px);
}

.stream-btn:hover {
  background-color: #c0392b;
}

.download-btn:hover {
  background-color: var(--music-primary-color);
  color: white;
}

.vinyl-btn:hover {
  border-color: white;
  color: white;
}

/* Tracklist Section */
.tracklist-section {
  padding: 80px 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.tracklist-section h2 {
  margin-bottom: 40px;
  font-size: 2rem;
}

.tracklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.track {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.track:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.featured-track {
  background-color: rgba(231, 76, 60, 0.15);
  border-left: 4px solid var(--music-primary-color);
}

.featured-track:hover {
  background-color: rgba(231, 76, 60, 0.2);
}

.track-number {
  width: 40px;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
}

.track-play {
  margin-right: 15px;
}

.track-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.track-play-btn:hover {
  background-color: var(--music-primary-color);
}

.track-info {
  flex: 1;
}

.track-info h3 {
  font-size: 1.1rem;
  margin: 0 0 5px 0;
  color: white;
}

.track-info p {
  font-size: 0.9rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

.track-duration {
  width: 60px;
  text-align: right;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-right: 20px;
}

.track-actions {
  display: flex;
  gap: 10px;
}

.track-action-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.track-action-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.track-more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.show-more-btn {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.show-more-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Discography Section */
.discography-section {
  padding: 80px 0;
}

.discography-section h2 {
  margin-bottom: 40px;
  font-size: 2rem;
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
}

.album-card {
  transition: all 0.3s ease;
  position: relative;
}

.album-card:hover {
  transform: translateY(-5px);
}

.album-card:focus-visible {
  outline: 2px solid var(--music-accent-color);
  outline-offset: 4px;
}

.album-card-artwork {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  aspect-ratio: 1/1;
}

.album-card-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.album-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.album-card:hover .album-card-overlay {
  opacity: 1;
}

.album-card:hover .album-card-artwork img {
  transform: scale(1.05);
}

.album-card-play-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--music-primary-color);
  color: white;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.album-card-play-btn:hover {
  background-color: #c0392b;
  transform: scale(1.1);
}

.album-card-info {
  margin-top: 15px;
}

.album-card-info h3 {
  font-size: 1.1rem;
  margin: 0 0 5px 0;
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.album-card-info p {
  font-size: 0.9rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

/* Music Player */
.music-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--music-player-height);
  background-color: rgba(22, 22, 22, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transform: translateY(var(--music-player-height));
  transition: transform 0.3s ease;
}

.music-player.active {
  transform: translateY(0);
}

.music-player-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.music-player-artwork {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  overflow: hidden;
  margin-right: 15px;
}

.music-player-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.music-player-info {
  flex: 0 0 200px;
}

.music-player-info h3 {
  font-size: 0.9rem;
  margin: 0 0 3px 0;
  color: white;
}

.music-player-info p {
  font-size: 0.8rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

.music-player-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 20px;
}

.music-player-btn {
  background-color: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.music-player-btn:hover {
  color: white;
}

.play-pause-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--music-primary-color);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.play-pause-btn:hover {
  background-color: #c0392b;
}

.music-player-progress {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0 20px;
}

.progress-container {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 5px;
  cursor: pointer;
}

.progress-bar {
  height: 100%;
  background-color: var(--music-primary-color);
  border-radius: 2px;
  width: 40%;
}

.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}

.music-player-volume {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 20px;
}

.volume-btn {
  background-color: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  cursor: pointer;
}

.volume-slider {
  width: 80px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.volume-bar {
  position: absolute;
  height: 100%;
  width: 70%;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.music-player-minimize {
  background-color: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  cursor: pointer;
}

/* Music footer */
.music-footer {
  background-color: var(--music-secondary-color);
  padding-bottom: calc(
    var(--music-player-height) + 20px
  ); /* Reduced from 40px */
}

/* Responsive styles */
@media (max-width: 992px) {
  .featured-album {
    flex-direction: column;
  }

  .album-artwork {
    flex: 0 0 100%;
    max-width: 400px;
    margin: 0 auto 40px;
  }

  .music-player-info {
    flex: 0 0 120px;
  }
}

@media (max-width: 768px) {
  .music-hero-content h1 {
    font-size: 3rem;
  }

  .albums-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .music-player-info {
    display: none;
  }

  .track {
    flex-wrap: wrap;
  }

  .track-actions {
    margin-top: 10px;
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 576px) {
  .music-hero-content h1 {
    font-size: 2.5rem;
  }

  .music-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

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

  .music-player-progress {
    margin: 0 10px;
  }

  .music-player-volume {
    display: none;
  }
}

@media (max-width: 600px) {
  .cta-group {
    gap: 12px;
  }

  .music-btn {
    padding: 10px 22px;
    font-size: 0.95rem;
  }
}
