/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0a0e1a;
  --secondary-color: #1a1f2e;
  --accent-color: #4a90e2;
  --accent-glow: #6ba3ff;
  --text-color: #e0e6ed;
  --text-light: #a8b2c1;
  --text-muted: #6b7280;
  --bg-color: #050810;
  --card-bg: #0f1419;
  --border-color: #1e2530;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 8px 32px rgba(74, 144, 226, 0.2);
  --glow: 0 0 20px rgba(74, 144, 226, 0.3);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-color);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Animated Canvas Background */
#cosmic-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Ensure content is above canvas */
.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

a:hover {
  color: var(--accent-glow);
  text-shadow: 0 0 8px rgba(74, 144, 226, 0.5);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Zoomable images */
img.zoomable {
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

img.zoomable:hover {
  opacity: 0.95;
}

/* Zoomed overlay */
.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.zoom-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.zoom-overlay img {
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.zoom-overlay.active img {
  transform: scale(1);
}

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

/* Header */
.site-header {
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.95) 0%, rgba(26, 31, 46, 0.95) 100%);
  color: var(--text-color);
  padding: 1.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.site-title a {
  color: var(--text-color);
  text-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.site-title a:hover {
  color: var(--accent-glow);
  text-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  position: relative;
}

.hamburger span {
  width: 2rem;
  height: 0.2rem;
  background: var(--text-color);
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  transform-origin: center;
}

.hamburger:hover span {
  background: var(--accent-glow);
  box-shadow: 0 0 8px rgba(74, 144, 226, 0.5);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

.nav-wrapper {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  position: relative;
}

.main-nav a:hover {
  color: var(--text-color);
  background: rgba(74, 144, 226, 0.1);
}

.main-nav a.active {
  color: var(--accent-glow);
  border-bottom: 2px solid var(--accent-color);
  border-radius: 0;
}

.language-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.language-nav a {
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid var(--accent-color);
  background: rgba(74, 144, 226, 0.1);
}

.language-nav a:hover {
  background: var(--accent-color);
  box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
  transform: translateY(-2px);
}

/* Main Content */
.site-main {
  min-height: calc(100vh - 300px);
  padding: 3rem 0;
}

/* Home Page */
.hero {
  text-align: center;
  margin-bottom: 4rem;
}

.artist-cover {
  max-width: 400px;
  width: 100%;
  margin: 0 auto 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  aspect-ratio: 1;
  object-fit: cover;
}

.artist-cover:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.02);
}

.site-description {
  font-size: 1.3rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.site-description .about-link {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 1rem;
  color: var(--accent-color);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-color);
  transition: all 0.3s ease;
}

.site-description .about-link:hover {
  color: var(--accent-glow);
  border-bottom-color: var(--accent-glow);
  text-shadow: 0 0 8px rgba(74, 144, 226, 0.5);
}

.albums-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-color);
  text-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

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

.album-card {
  background: rgba(15, 20, 25, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.album-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color);
}

.album-card a {
  display: block;
  color: inherit;
}

.album-cover {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  background: var(--card-bg);
}

.album-card h3 {
  font-size: 1.4rem;
  padding: 1rem 1rem 0.5rem;
  color: var(--text-color);
}

.album-status {
  padding: 0 1rem;
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.album-date {
  padding: 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.album-description {
  padding: 0.5rem 1rem 1rem;
  color: var(--text-light);
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb .separator {
  margin: 0 0.5rem;
  color: var(--text-muted);
}

/* Album Page */
.album-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
  background: rgba(15, 20, 25, 0.65);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.album-header .album-cover {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--card-bg);
}

.album-info h1 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.album-info .album-status {
  padding: 0;
  margin-bottom: 0.5rem;
}

.album-info .album-date {
  padding: 0;
  margin-bottom: 1rem;
}

.album-info .album-description {
  padding: 0;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-light);
}

.album-streaming-links {
  margin-top: 1.5rem;
}

.album-streaming-links h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.album-streaming-links .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.album-streaming-links a {
  padding: 0.5rem 1rem;
  background: var(--accent-color);
  color: var(--text-color);
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.album-streaming-links a:hover {
  background: var(--accent-glow);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.tracklist {
  background: rgba(15, 20, 25, 0.65);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.tracklist h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  text-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.tracks {
  list-style: none;
  counter-reset: track-counter;
}

.track-item {
  border-bottom: 1px solid var(--border-color);
}

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

.track-item a {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  color: var(--text-color);
  transition: all 0.3s ease;
  border-radius: 6px;
}

.track-item a:hover {
  background: rgba(74, 144, 226, 0.1);
  padding-left: 1rem;
  color: var(--accent-glow);
}

.track-number {
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 1rem;
  min-width: 2rem;
}

.track-title {
  flex: 1;
  font-size: 1.1rem;
}

.track-duration {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

/* Song Page */
.song-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
  background: rgba(15, 20, 25, 0.65);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.song-cover {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--card-bg);
}

.song-info .track-number {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.song-info h1 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.song-language-indicator,
.album-language-indicator {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: normal;
  margin-left: 0.5rem;
}

.album-link {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.album-link a {
  color: var(--accent-color);
}

.song-description {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-light);
}

.song-language {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.song-genre {
  color: var(--text-muted);
}

.audio-player {
  background: rgba(15, 20, 25, 0.65);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.audio-player audio {
  width: 100%;
  filter: brightness(0.9) contrast(1.1);
}

.song-streaming-links {
  background: rgba(15, 20, 25, 0.65);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.song-streaming-links h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.song-streaming-links .audio-player {
  margin-bottom: 1.5rem;
}

.song-streaming-links .or-listen-on {
  color: var(--text-light);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.song-streaming-links .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.song-streaming-links a {
  padding: 0.5rem 1rem;
  background: var(--accent-color);
  color: var(--text-color);
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.song-streaming-links a:hover {
  background: var(--accent-glow);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.lyrics {
  background: rgba(15, 20, 25, 0.65);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.lyrics h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  text-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.lyrics-text {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  line-height: 1.8;
  white-space: pre-wrap;
  color: var(--text-light);
}

.song-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.song-navigation a {
  padding: 1rem 1.5rem;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  border: 1px solid var(--border-color);
}

.song-navigation a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color);
  color: var(--accent-glow);
}

.prev-song {
  text-align: left;
}

.next-song {
  text-align: right;
}

/* About Page */
.about-page {
  max-width: 900px;
  margin: 0 auto;
}

.about-content {
  background: rgba(15, 20, 25, 0.6);
  backdrop-filter: blur(8px);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  text-align: center;
  text-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.about-intro {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  text-align: center;
  line-height: 1.8;
}

.about-section {
  margin-bottom: 2.5rem;
}

.about-section h3 {
  font-size: 1.8rem;
  color: var(--accent-glow);
  margin-bottom: 1rem;
  text-shadow: 0 0 8px rgba(74, 144, 226, 0.2);
}

.about-section p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-section a {
  color: var(--accent-color);
  text-decoration: underline;
  text-decoration-color: rgba(74, 144, 226, 0.3);
  transition: all 0.3s ease;
}

.about-section a:hover {
  color: var(--accent-glow);
  text-decoration-color: var(--accent-glow);
  text-shadow: 0 0 8px rgba(74, 144, 226, 0.5);
}

.about-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--accent-color);
  color: var(--text-color);
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
  text-decoration: none;
}

.cta-button:hover {
  background: var(--accent-glow);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: var(--text-color);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.site-footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.streaming-links h3,
.social-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.streaming-links .links,
.social-links .links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.streaming-links a,
.social-links a {
  color: var(--text-light);
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.streaming-links a:hover,
.social-links a:hover {
  color: var(--accent-glow);
  padding-left: 0.5rem;
}

.copyright {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .site-title {
    font-size: 1.5rem;
    flex: 1;
  }
  
  /* Show hamburger menu on mobile */
  .hamburger {
    display: flex;
    order: 2;
  }
  
  /* Hide navigation by default on mobile */
  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.98) 0%, rgba(26, 31, 46, 0.98) 100%);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 2rem;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    border-left: 1px solid var(--border-color);
    z-index: 100;
    overflow-y: auto;
  }
  
  .nav-wrapper.active {
    right: 0;
  }
  
  .main-nav {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  
  .main-nav a {
    width: 100%;
    text-align: left;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 1.1rem;
  }
  
  .main-nav a.active {
    background: rgba(74, 144, 226, 0.15);
    border-color: var(--accent-color);
    border-radius: 8px;
  }
  
  .language-nav {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
  }
  
  .language-nav a {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
  
  /* Overlay when menu is open */
  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
    animation: fadeIn 0.3s ease;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .hero {
    margin-bottom: 2rem;
  }
  
  .artist-cover {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .site-description {
    font-size: 1.1rem;
  }

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

  .album-header,
  .song-header {
    grid-template-columns: 1fr;
  }
  
  .song-language-indicator,
  .album-language-indicator {
    display: block;
    margin-left: 0;
    margin-top: 0.5rem;
    font-size: 1rem;
  }

  .song-navigation {
    flex-direction: column;
  }

  .prev-song,
  .next-song {
    text-align: center;
  }
}