/* ============================================
   ALBUM SECTION - Reference Style Design
   ============================================ */

/* Album Section Container */
.album-section {
  background: var(--color-dark);
  padding: 6rem 2rem;
}

/* Album Header: Two-Column Layout */
.album-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  max-width: 1200px;
}

/* Album Artwork */
.album-artwork {
  width: 200px;
  height: 200px;
}

.album-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Album Info */
.album-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.album-label {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.album-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-light);
  margin: 0;
  line-height: 1.2;
  font-family: var(--font-heading);
}

.album-artist {
  font-size: 1rem;
  color: var(--color-light);
  margin-bottom: 0.25rem;
}

.album-meta {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

/* Album Actions */
.album-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--color-accent);
  color: var(--color-dark);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 162, 97, 0.3);
}

.btn-share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--color-light);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-share:hover {
  color: var(--color-accent);
}

.share-text {
  text-decoration: underline;
}

/* Album Description */
.album-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
}

/* Tracklist */
.tracklist {
  max-width: 1200px;
  margin: 0 auto;
}

.track-row {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.track-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.track-number {
  font-size: 1rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.track-title {
  font-size: 1rem;
  color: var(--color-light);
  font-weight: 400;
}

.track-duration {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-right: 2rem;
}

.track-info-btn {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.track-info-btn:hover {
  color: var(--color-accent);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: rgba(20, 30, 45, 0.95);
  border-radius: 8px;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--color-light);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--color-accent);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-light);
  margin: 0 0 0.5rem 0;
  font-family: var(--font-heading);
}

.modal-subtitle {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin: 0 0 2rem 0;
}

/* Share Modal Specific */
.share-icons {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.share-icon-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-accent);
  border: none;
  color: var(--color-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-icon-btn:hover {
  transform: scale(1.1);
  background: var(--color-accent-dark);
  box-shadow: 0 4px 12px rgba(244, 162, 97, 0.4);
}

.share-link-section {
  margin-top: 1.5rem;
}

.share-link-section label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.share-link-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0.75rem 1rem;
}

.share-link-input input {
  flex: 1;
  background: none;
  border: none;
  color: var(--color-light);
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--color-light);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  color: var(--color-accent);
}

/* Track Info Modal Specific */
.track-info-modal-content {
  max-width: 600px;
}

.track-info-body {
  margin-top: 1.5rem;
}

.scripture-ref {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.scripture-verse {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-light);
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-accent);
}

.track-duration-info {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.modal-btn-close {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: var(--color-accent);
  color: var(--color-dark);
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-btn-close:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .album-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .album-artwork {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }
  
  .album-info {
    text-align: center;
    align-items: center;
  }
  
  .album-title {
    font-size: 2rem;
  }
  
  .album-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary {
    width: 100%;
    text-align: center;
  }
  
  .track-row {
    grid-template-columns: 40px 1fr auto;
    padding: 0.75rem 0;
  }
  
  .track-duration {
    margin-right: 0.5rem;
  }
  
  .track-info-btn {
    grid-column: 3;
    font-size: 0.75rem;
    padding: 0.5rem;
  }
  
  .modal-content {
    padding: 2rem 1.5rem;
    width: 95%;
  }
  
  .album-section {
    padding: 4rem 1rem;
  }
}

@media (max-width: 480px) {
  .album-title {
    font-size: 1.75rem;
  }
  
  .album-description {
    font-size: 1rem;
  }
  
  .track-row {
    grid-template-columns: 30px 1fr;
    gap: 0.5rem;
  }
  
  .track-duration {
    display: none;
  }
  
  .track-info-btn {
    grid-column: 2;
    justify-self: end;
  }
}
