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

:root {
  --primary: #FFFFFF;
  --secondary: #1A2F4A;
  --tertiary: #F5F1ED;
  --accent: #D4A574;
  --accent-light: #E8C39E;
  --accent-dark: #B8875D;
  --text: #111111;
  --text-secondary: #A89B8F;
  --text-light: #F5F1ED;
  --border: #3A4E5E;
  --highlight: #C9B198;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #FFFFFF;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(212, 165, 116, 0.015) 2px,
      rgba(212, 165, 116, 0.015) 4px
    );
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.7;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" seed="1" /><feColorMatrix type="saturate" values="0" /></filter><rect width="100" height="100" fill="%23000000" opacity="0.015" filter="url(%23noise)" /></svg>');
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* Banner */
.banner-section {
  width: 100%;
  height: 280px;
  max-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0B1F3B 0%, #1A2F4A 50%, #0B1F3B 100%);
  position: relative;
  z-index: 10;
}

.banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(11, 31, 59, 0.4) 100%);
  z-index: 2;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: brightness(0.9) contrast(1.05) saturate(0.95);
  z-index: 1;
}

/* Header & Navigation */
header {
  background: #F5F1ED;
  border-bottom: 3px solid var(--accent);
  color: var(--text);
  padding: 2rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-content {
  flex: 1;
}

.avatar-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  order: -1;
}

.avatar-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.25);
  transition: all 0.4s ease;
}

.avatar-image:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(212, 165, 116, 0.35);
}

header h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: 0px;
  color: var(--accent);
  transition: all 0.3s ease;
  font-family: 'Comic Sans MS', 'Comic Sans', cursive;
  font-style: italic;
}

header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  opacity: 0.9;
  font-weight: 500;
  letter-spacing: 0.5px;
}

nav {
  margin-top: 1.2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.6rem 0;
  position: relative;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--accent);
}

nav a:hover::after {
  width: 100%;
}

.streaming-links {
  margin-top: 1rem;
  display: flex;
  gap: 12px;
  align-items: center;
}

.streaming-links a {
  color: #777;
  font-size: 24px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.streaming-links a[href*="spotify"]:hover {
  color: #1DB954;
  transform: scale(1.15);
}

.streaming-links a[href*="apple"]:hover {
  color: #f5f5f5;
  transform: scale(1.15);
}

.streaming-links a[href*="amazon"]:hover {
  color: #FF9900;
  transform: scale(1.15);
}

/* Song Streaming Links */
.listen-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-bottom: 0;
}

.listen-section h3 {
  margin: 0;
  flex-shrink: 0;
  line-height: 1;
  height: 28px;
  display: flex;
  align-items: center;
  font-size: 1.3rem;
}

.song-streaming-links {
  display: flex;
  gap: 10px;
  align-items: center;
  height: 28px;
}

.song-streaming-links a {
  color: #777;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.song-streaming-links a[href*="spotify"]:hover {
  color: #1DB954;
  transform: scale(1.15);
}

.song-streaming-links a[href*="apple"]:hover {
  color: #f5f5f5;
  transform: scale(1.15);
}

.song-streaming-links a[href*="amazon"]:hover {
  color: #FF9900;
  transform: scale(1.15);
}

/* Main Container */
main {
  max-width: 1150px;
  margin: 3rem auto;
  padding: 0 2rem;
  flex-grow: 1;
  width: 100%;
  position: relative;
  z-index: 5;
}

/* Cards & Sections */
.container {
  background: rgba(245, 241, 237, 0.95);
  border-radius: 8px;
  padding: 3rem;
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-top: 3px solid var(--accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  margin-bottom: 3.5rem;
  transition: all 0.4s ease;
  position: relative;
}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80"><filter id="paper"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" /><feDisplacementMap in="SourceGraphic" scale="1" /></filter><rect width="80" height="80" fill="white" opacity="0.01" filter="url(%23paper)" /></svg>');
  border-radius: 8px;
  pointer-events: none;
}

.container:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border-top-color: var(--accent-light);
}

.container h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0B1F3B;
  display: inline-block;
  font-weight: 800;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 2;
}

.song-page h2 {
  margin-bottom: 0;
}

.container h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40%;
  height: 3px;
  background: #0B1F3B;
  border-radius: 2px;
}

.song-page h2::after {
  display: none;
}

.song-title-icons {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 5px;
}

.song-title-icons a {
  color: #777;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.song-title-icons a[href*="spotify"]:hover {
  color: #1DB954;
  transform: scale(1.15);
}

.song-title-icons a[href*="apple"]:hover {
  color: #f5f5f5;
  transform: scale(1.15);
}

.song-title-icons a[href*="amazon"]:hover {
  color: #FF9900;
  transform: scale(1.15);
}

.container h3 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Cover Image */
.cover-section {
  text-align: center;
  margin-bottom: 2.5rem;
}

.cover-image {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  transition: all 0.4s ease;
  border: 2px solid rgba(212, 165, 116, 0.3);
}

.cover-image:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  border-color: var(--accent);
}

.album-cover-large {
  max-width: 400px;
  width: 100%;
}

/* Lyrics Display */
.lyrics {
  background: rgba(26, 47, 74, 0.08);
  padding: 2.5rem;
  border-radius: 4px;
  border-left: 4px solid var(--accent);
  line-height: 1.9;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  color: var(--text);
  white-space: pre-wrap;
  word-wrap: break-word;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.lyrics-empty {
  font-style: italic;
  color: var(--text-secondary);
  text-align: center;
  padding: 2rem;
}

/* Song Details */
.song-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: rgba(26, 47, 74, 0.05);
  border-radius: 4px;
  border: 1px solid rgba(212, 165, 116, 0.15);
}

.detail-item {
  font-size: 0.9rem;
}

.detail-label {
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}

.detail-value {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Track Table */
.tracks-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: rgba(245, 241, 237, 0.95);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(212, 165, 116, 0.2);
}

.tracks-table thead {
  background: #0B1F3B;
  color: white;
}

.tracks-table th {
  padding: 1.3rem 1.2rem;
  text-align: left;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.tracks-table td {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid rgba(212, 165, 116, 0.1);
  color: var(--text-secondary);
}

.tracks-table tr:hover {
  background: rgba(212, 165, 116, 0.08);
  color: var(--text);
}

.tracks-table a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.tracks-table a:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

/* Audio Player */
.player-section {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: rgba(26, 47, 74, 0.05);
  border-radius: 4px;
  border: 1px solid rgba(212, 165, 116, 0.15);
}

audio[controls] {
  width: 100%;
  height: 40px;
  border-radius: 4px;
  accent-color: var(--accent);
}

/* Audio Links */
.audio-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: var(--primary);
  color: var(--accent);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 700;
  border: 2px solid var(--accent);
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.audio-btn:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 165, 116, 0.2);
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.info-card {
  background: rgba(26, 47, 74, 0.05);
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-bottom: 3px solid var(--accent);
  transition: all 0.4s ease;
  position: relative;
}

.info-card:hover {
  background: rgba(26, 47, 74, 0.08);
  border-bottom-color: var(--accent-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.info-card strong {
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
}

.info-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Tracklist */
.tracklist {
  list-style: none;
  margin-top: 2rem;
}

.tracklist li {
  padding: 1.3rem;
  border-bottom: 1px solid rgba(212, 165, 116, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border-radius: 4px;
  margin-bottom: 0.3rem;
}

.tracklist li:hover {
  background: rgba(212, 165, 116, 0.08);
  border-color: rgba(212, 165, 116, 0.2);
  padding-left: 1.6rem;
}

.track-num {
  font-weight: 800;
  color: var(--accent);
  min-width: 40px;
  font-size: 1.1rem;
}

.track-info {
  flex-grow: 1;
}

.track-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.track-title a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.track-title a:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

.track-type {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Bio Section */
.bio-section {
  background: rgba(245, 241, 237, 0.95);
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-top: 3px solid var(--accent);
}

.artist-name {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.artist-alias {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.bio-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.bio-text strong {
  color: var(--text);
  font-weight: 700;
}

.bio-text h4 {
  color: var(--accent);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.bio-text ul {
  margin-left: 1.8rem;
  margin-top: 1rem;
}

.bio-text li {
  margin-bottom: 0.7rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Album Showcase */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.album-card {
  background: rgba(245, 241, 237, 0.95);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(212, 165, 116, 0.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
  position: relative;
}

.album-card:nth-child(1) {
  transform: rotate(-0.8deg);
  border-top: 4px solid var(--accent);
}

.album-card:nth-child(2) {
  transform: rotate(0.8deg);
  border-bottom: 4px solid var(--accent);
}

.album-card:hover {
  transform: rotate(0) translateY(-8px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  border-top-color: var(--accent-light);
  border-bottom-color: var(--accent-light);
}

.album-card-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: brightness(1);
  transition: all 0.4s ease;
  padding: 1.2rem;
  background: linear-gradient(135deg, rgba(26, 47, 74, 0.03) 0%, rgba(212, 165, 116, 0.02) 100%);
}

.album-card:hover .album-card-cover {
  filter: brightness(1.08);
}

.album-card-content {
  padding: 2rem;
}

.album-card h3 {
  margin: 0 0 0.7rem 0;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.album-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.7;
  font-weight: 500;
}

.album-card-link {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--primary);
  color: var(--accent);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 700;
  border: 2px solid var(--accent);
  letter-spacing: 0.5px;
}

.album-card-link:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateX(2px);
  box-shadow: 0 6px 16px rgba(212, 165, 116, 0.2);
}

/* Footer */
footer {
  background: #F5F1ED;
  border-top: 3px solid var(--accent);
  color: var(--text);
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 4rem;
  font-size: 0.9rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

footer p {
  margin: 0.6rem 0;
  opacity: 0.85;
  font-weight: 500;
  color: var(--text-secondary);
}

footer a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 700;
}

footer a:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 1.5rem 1.5rem;
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }

  .header-content {
    width: 100%;
  }

  .streaming-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .avatar-image {
    width: 75px;
    height: 75px;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 0.9rem;
  }

  nav {
    gap: 1.5rem;
    justify-content: center;
  }

  nav a {
    padding: 0.5rem 0;
    font-size: 0.9rem;
  }

  main {
    margin: 2rem auto;
    padding: 0 1.5rem;
  }

  .container {
    padding: 2rem;
    margin-bottom: 2.5rem;
  }

  .container h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .lyrics {
    padding: 1.5rem;
    font-size: 0.9rem;
  }

  .artist-name {
    font-size: 2rem;
  }

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

  .album-card:nth-child(1) {
    transform: rotate(0);
  }

  .album-card:nth-child(2) {
    transform: rotate(0);
  }

  .audio-links {
    flex-direction: column;
  }

  .audio-btn {
    width: 100%;
    justify-content: center;
  }

  .song-details {
    grid-template-columns: 1fr;
  }

  .listen-section {
    flex-direction: column;
    gap: 1rem;
  }

  .listen-section h3 {
    width: 100%;
  }

  .song-streaming-links {
    justify-content: center;
  }

  .tracklist li {
    flex-direction: column;
    align-items: flex-start;
  }

  .track-info {
    margin-left: 2rem;
    margin-top: 0.5rem;
  }

  .banner-section {
    height: 220px;
  }

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

@media (max-width: 480px) {
  header {
    padding: 1rem 1rem;
  }

  header h1 {
    font-size: 1.5rem;
  }

  .artist-name {
    font-size: 1.6rem;
  }

  .container {
    padding: 1.5rem;
  }

  .container h2 {
    font-size: 1.3rem;
  }

  .cover-image {
    max-width: 200px;
  }

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

  main {
    padding: 0 1rem;
  }

  .banner-section {
    height: 180px;
  }
}
