:root {
  --red: #D91E2E;
  --pale-pink: #F2DFEB;
  --bright-yellow: #F2D541;
  --soft-yellow: #F2D479;
  --cream: #F2D8A7;
  --text-dark: #2a2a2a;
  --text-med: #666;
  --bg-light: #fefefe;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: 
    /* Subtle vinyl record circles */
    radial-gradient(circle at 20% 20%, rgba(217, 30, 46, 0.02) 0%, transparent 15%),
    radial-gradient(circle at 70% 30%, rgba(217, 30, 46, 0.015) 0%, transparent 12%),
    radial-gradient(circle at 40% 60%, rgba(217, 30, 46, 0.02) 0%, transparent 14%),
    radial-gradient(circle at 85% 70%, rgba(217, 30, 46, 0.015) 0%, transparent 13%),
    radial-gradient(circle at 30% 85%, rgba(217, 30, 46, 0.02) 0%, transparent 11%),
    /* Warm gradient base */
    linear-gradient(135deg, #F2D8A7 0%, #F2DFEB 30%, #F2D8A7 60%, #F2DFEB 100%);
  color: var(--text-dark);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    /* Paper/concrete grain texture */
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(100, 100, 100, 0.015) 2px, rgba(100, 100, 100, 0.015) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(100, 100, 100, 0.015) 2px, rgba(100, 100, 100, 0.015) 4px);
  pointer-events: none;
  opacity: 0.5;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    /* Noise/grain overlay */
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

header {
  text-align: center;
  margin-bottom: 60px;
  padding: 60px 20px;
  background: var(--cream);
  border-bottom: 3px solid var(--pale-pink);
}

h1 {
  font-size: 3em;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: -1px;
  text-transform: lowercase;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.1;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.album-card {
  background: white;
  border: 2px solid var(--pale-pink);
  padding: 20px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
  display: block;
}

.album-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(217, 30, 46, 0.15);
}

.album-thumbnail {
  width: 100%;
  aspect-ratio: 1;
  background: var(--pale-pink);
  margin-bottom: 15px;
  overflow: hidden;
}

.album-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
}

.album-header {
  background: var(--cream);
  padding: 30px;
  margin-bottom: 40px;
  border-left: 5px solid var(--red);
}

.album-header h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: left;
}

.album-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap; 
} 
    
.album-description {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 25px;
  border: 2px solid var(--pale-pink);
  border-left: 4px solid var(--bright-yellow);
  line-height: 1.8;
  font-size: .85em;
  color: var(--text-dark);
}

.album-art-container {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  margin: 0;
  flex-wrap: wrap;
}

.album-art {
  width: 300px;
  height: 300px;
  background: var(--pale-pink);
  border: 2px solid var(--text-med);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.album-art:hover {
  transform: scale(1.02);
}

.album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; 
  top: 0; 
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
} 
  
.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
  
.modal-content {
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.3s ease;
} 
  
.modal-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
} 

.modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.8); }
  to { transform: scale(1); }
}

.disc-section {
  margin-bottom: 50px;
}

.disc-section h2 {
  font-size: 1.5em;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding: 12px 20px;
  background: var(--soft-yellow);
  border-left: 4px solid var(--red);
  font-weight: 600;
}

.controls {
  text-align: center;
  margin: 30px 0;
}

.btn {
  background: var(--red);
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  border-radius: 3px;
}

.btn:hover {
  background: #b51824;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(217, 30, 46, 0.3);
}

.tracklist {
  background: white;
  padding: 20px;
  border: 2px solid var(--pale-pink);
}

.track {
  padding: 15px;
  margin-bottom: 8px;
  background: var(--bg-light);
  border-left: 3px solid var(--pale-pink);
  transition: all 0.2s ease;
}

.track:hover {
  background: var(--pale-pink);
  border-left-color: var(--bright-yellow);
}

.track-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.track-info {
  flex: 1;
}

.track-number {
  display: inline-block;
  min-width: 35px;
  color: var(--red);
  font-weight: 600;
}

.artist {
  color: var(--text-dark);
  font-weight: 500;
}

.track-title {
  color: var(--text-med);
}

.toggle-icon {
  color: var(--red);
  font-size: 1.2em;
  transition: transform 0.3s ease;
  margin-left: 10px;
}

.toggle-icon.open {
  transform: rotate(90deg);
}

.notes {
  margin-top: 15px;
  padding: 15px;
  background: var(--cream);
  border-left: 3px solid var(--bright-yellow);
  color: var(--text-dark);
  line-height: 1.8;
  display: none;
}

.notes.open {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.back-link {
  display: inline-block;
  margin: 20px 0;
  padding: 10px 20px;
  background: var(--pale-pink);
  color: var(--text-dark);
  text-decoration: none;
  border: 2px solid var(--pale-pink);
  transition: all 0.3s ease;
  font-weight: 500;
}

.back-link:hover {
  background: var(--cream);
  border-color: var(--red);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2em;
  }
  
  .album-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }
  
  .album-art {
    width: 100%;
    max-width: 300px;
  }
  
  .track-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .toggle-icon {
    margin-left: 0;
    margin-top: 10px;
  }
}
