/* WG04 - Vinyl Record Theme */
:root {
  --cream: #faf3e0;
  --cream-dark: #f0e6c8;
  --brown: #3e2723;
  --brown-mid: #5d4037;
  --brown-light: #8d6e63;
  --orange: #e65100;
  --orange-light: #ff8f00;
  --vinyl-black: #1a1a1a;
  --vinyl-groove: #222;
  --label-bg: #e65100;
}

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

body {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  background: var(--brown);
  color: var(--brown);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
}

.album-container {
  max-width: 800px;
  width: 100%;
}

/* Front Cover */
.album-front {
  margin-bottom: 40px;
}

.album-cover {
  background: var(--cream);
  aspect-ratio: 1;
  max-height: 800px;
  position: relative;
  overflow: hidden;
  box-shadow:
    4px 4px 20px rgba(0,0,0,0.4),
    -1px -1px 3px rgba(255,255,255,0.05);
}

.cover-art {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 50%, var(--cream) 100%);
}

/* Vinyl Record Peeking Out */
.record-peek {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.vinyl-record {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--vinyl-black);
  position: relative;
  animation: spin 8s linear infinite;
  box-shadow:
    0 0 0 3px #111,
    0 0 30px rgba(0,0,0,0.5);
}

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

.vinyl-groove {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}

.groove-1 { inset: 20px; }
.groove-2 { inset: 50px; }
.groove-3 { inset: 70px; }
.groove-4 { inset: 90px; }

.record-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--label-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
  animation: counter-spin 8s linear infinite;
}

@keyframes counter-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

.label-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
}

.label-text {
  margin-top: 4px;
}

.label-rpm {
  font-size: 8px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 1px;
}

.spindle-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vinyl-black);
  z-index: 5;
}

/* Cover Content */
.cover-content {
  position: relative;
  z-index: 3;
  text-align: left;
  padding: 60px;
  width: 65%;
}

.cover-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brown-light);
}

.format-badge {
  border: 1px solid var(--brown-light);
  padding: 2px 10px;
}

.album-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: 3px;
  color: var(--brown);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.album-subtitle {
  font-size: 18px;
  font-style: italic;
  color: var(--brown-mid);
  line-height: 1.6;
  max-width: 350px;
  margin-bottom: 40px;
}

.cover-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown-light);
  padding-top: 20px;
  border-top: 1px solid var(--brown-light);
}

/* Sleeve Section */
.sleeve-section {
  background: var(--cream-dark);
  padding: 40px;
  margin-bottom: 4px;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.sleeve-inner {
  position: relative;
}

.sleeve-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--brown-light);
  margin: 0 auto 24px;
  opacity: 0.3;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--orange);
  color: var(--cream);
  padding: 16px 36px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
  box-shadow: 3px 3px 0 var(--brown);
}

.download-btn:hover {
  background: var(--orange-light);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--brown);
}

.play-triangle {
  font-size: 18px;
}

.sleeve-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--brown-light);
  font-style: italic;
  letter-spacing: 1px;
}

/* Track Listing */
.tracklist-section {
  background: var(--cream);
  padding: 40px;
  margin-bottom: 4px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.side-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.side-letter {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: var(--orange);
  line-height: 1;
}

.side-text {
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--brown-light);
}

.side-divider {
  height: 1px;
  background: var(--brown-light);
  margin: 30px 0;
  opacity: 0.4;
}

.tracks {
  padding-left: 20px;
}

.track {
  display: flex;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dotted rgba(62, 39, 35, 0.2);
}

.track:last-child {
  border-bottom: none;
}

.track-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--orange);
  min-width: 40px;
}

.track-name {
  flex: 1;
  font-size: 16px;
  font-style: italic;
  color: var(--brown-mid);
}

.track-duration {
  font-size: 12px;
  color: var(--brown-light);
  min-width: 40px;
  text-align: right;
}

/* Insert / Screenshots */
.insert-section {
  background: var(--cream-dark);
  padding: 40px;
  margin-bottom: 4px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.insert-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 6px;
  text-align: center;
  color: var(--brown);
  margin-bottom: 24px;
}

.insert-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.insert-photo {
  overflow: hidden;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.insert-photo img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  filter: sepia(20%) saturate(0.9);
  transition: filter 0.3s, transform 0.3s;
}

.insert-photo:hover img {
  filter: sepia(0%) saturate(1);
  transform: scale(1.03);
}

/* Liner Notes / FAQ */
.liner-notes-section {
  background: var(--cream);
  padding: 40px;
  margin-bottom: 4px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.liner-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 6px;
  text-align: center;
  color: var(--brown);
  margin-bottom: 30px;
}

.liner-content {
  columns: 2;
  column-gap: 40px;
}

.liner-note {
  break-inside: avoid;
  margin-bottom: 24px;
}

.note-question {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 8px;
}

.note-answer {
  font-size: 14px;
  line-height: 1.8;
  color: var(--brown-mid);
  font-style: italic;
}

/* Back Cover / Footer */
.back-cover {
  background: var(--brown);
  color: var(--cream);
  padding: 40px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.back-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

/* Barcode */
.barcode-lines {
  display: flex;
  gap: 2px;
  height: 40px;
  align-items: stretch;
}

.barcode-lines span {
  width: 2px;
  background: var(--cream);
}

.barcode-lines span:nth-child(even) {
  width: 3px;
}

.barcode-lines span:nth-child(3n) {
  width: 1px;
}

.barcode-number {
  font-size: 9px;
  letter-spacing: 3px;
  margin-top: 4px;
  color: var(--cream-dark);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--cream-dark);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--orange-light);
}

.back-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 243, 224, 0.1);
}

.back-company {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--cream-dark);
  margin-bottom: 6px;
}

.back-copyright {
  font-size: 11px;
  color: var(--brown-light);
  margin-bottom: 4px;
}

.back-legal {
  font-size: 9px;
  color: var(--brown-light);
  font-style: italic;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 700px) {
  .album-cover { aspect-ratio: auto; min-height: 500px; }
  .cover-content { width: 100%; padding: 30px; }
  .album-title { font-size: 48px; }
  .record-peek { right: -140px; }
  .vinyl-record { width: 240px; height: 240px; }
  .record-label { width: 80px; height: 80px; }
  .label-icon { width: 36px; height: 36px; }
  .liner-content { columns: 1; }
  .back-top { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .album-title { font-size: 36px; }
  .record-peek { display: none; }
  .cover-content { width: 100%; text-align: center; }
  .cover-top, .cover-bottom { justify-content: center; gap: 20px; }
  .album-subtitle { margin-left: auto; margin-right: auto; }
  .track { flex-wrap: wrap; }
}

/* Warm glow on hover for the entire cover */
.album-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(230, 81, 0, 0.05), transparent 70%);
  pointer-events: none;
}
