/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  color: #2c2c2c;
  background-color: #faf9f6;
  line-height: 1.8;
  overflow-x: hidden;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  background: linear-gradient(135deg, #2d4a22 0%, #3a6b35 40%, #4a7c59 100%);
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(255, 200, 87, 0.15) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #faf9f6;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(250, 249, 246, 0.85);
  font-style: italic;
}

/* ===== Navigation ===== */
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
  background-color: #344e28;
}

.nav a {
  color: #faf9f6;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.nav a:hover,
.nav a:focus {
  opacity: 0.7;
}

/* ===== Language Selector ===== */
.language-selector {
  background-color: transparent;
  color: #faf9f6;
  border: 1px solid rgba(250, 249, 246, 0.5);
  border-radius: 4px;
  padding: 0.25rem 0.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.language-selector:hover,
.language-selector:focus {
  border-color: #faf9f6;
  outline: none;
}

.language-selector option {
  background-color: #344e28;
  color: #faf9f6;
}

/* ===== Sections ===== */
.section {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #3a6b35;
}

.section p {
  margin-bottom: 1rem;
}

.section ul {
  list-style: none;
  padding: 0;
}

.section ul li {
  margin-bottom: 0.75rem;
}

.section ul li a {
  color: #2d4a22;
  text-decoration: none;
  font-size: 1.05rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.section ul li a:hover,
.section ul li a:focus {
  border-bottom-color: #3a6b35;
}

/* ===== Feature Image ===== */
.image-section {
  max-width: 900px;
  text-align: center;
}

.feature-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

/* ===== Track Pages ===== */
.track-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 35vh;
  background: linear-gradient(135deg, #2d4a22 0%, #3a6b35 40%, #4a7c59 100%);
  text-align: center;
  overflow: hidden;
}

.track-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(255, 200, 87, 0.15) 0%, transparent 60%);
}

.track-hero .hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.track-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: #faf9f6;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.track-hero .artist {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(250, 249, 246, 0.85);
  font-style: italic;
}

.track-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: #555;
}

.track-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.cover-image {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  margin: 0 auto 1.5rem;
}

.audio-box {
  background-color: #eef4eb;
  border-left: 4px solid #3a6b35;
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.audio-box p {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #3a6b35;
}

.audio-box audio {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  border-radius: 4px;
}

.lyrics-section {
  background-color: #f5f5f0;
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.lyrics-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #3a6b35;
}

.lyrics-section pre {
  font-family: Georgia, "Times New Roman", serif;
  white-space: pre;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  line-height: 1.9;
  color: #2c2c2c;
}

.lyrics-section pre::-webkit-scrollbar {
  display: none;
}

.credits-section {
  font-size: 0.95rem;
  color: #555;
  border-top: 1px solid #ddd;
  padding-top: 1.5rem;
}

.credits-section h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #3a6b35;
}

.credits-section ul {
  list-style: none;
  padding: 0;
}

.credits-section li {
  margin-bottom: 0.5rem;
}

/* ===== Track Navigation ===== */
.track-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  gap: 1rem;
}

.track-nav-link {
  text-decoration: none;
  color: #2d4a22;
  transition: opacity 0.2s;
}

.track-nav-link:hover,
.track-nav-link:focus {
  opacity: 0.7;
}

.track-nav-prev,
.track-nav-next {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.track-nav-prev {
  text-align: left;
}

.track-nav-next {
  text-align: right;
}

.track-nav-label {
  font-size: 0.85rem;
  color: #555;
  letter-spacing: 0.03em;
}

.track-nav-title {
  font-size: 1.05rem;
  font-weight: bold;
  color: #2d4a22;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.track-nav-link:hover .track-nav-title,
.track-nav-link:focus .track-nav-title {
  border-bottom-color: #3a6b35;
}

.track-nav-all {
  font-size: 0.95rem;
  font-weight: bold;
  color: #3a6b35;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.track-nav-all:hover,
.track-nav-all:focus {
  border-bottom-color: #3a6b35;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #faf9f6;
  background-color: #344e28;
}
