/* ============================================
   TRACK PAGE - STANDALONE STYLES
   Mobile-first responsive design
   ============================================ */

/* ==================
   RESET & BASE
   ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  background-color: #1a202c; /* Dark Navy Blue */
  color: #edf2f7; /* Light Gray/Off-white */
  font-family: 'Roboto Mono', monospace;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* Typography */
h1 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #edf2f7;
}

h2 {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
  margin: 0;
  padding: 0;
  color: #edf2f7;
}

h3 {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: rgba(237, 242, 247, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 1.5rem 0 0.75rem 0;
  width: 100%;
  box-sizing: border-box;
}

h3:first-child {
  margin-top: 0;
}

/* ==================
   HEADER
   ================== */
.site-header {
  background-color: #202738; /* Slightly lighter than body */
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #2d3748;
  width: 100%;
  box-sizing: border-box;
}

/* Logo */
.logo-placeholder {
  height: 50px;
  width: 100px;
  flex-shrink: 0;
}

.logo-placeholder a {
  display: block;
  width: 100%;
  height: 100%;
}

.logo-placeholder img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  display: block;
}

/* Hamburger menu */
.hamburger {
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 10px;
  flex-shrink: 0;
}

.hamburger div {
  width: 100%;
  height: 2px;
  background-color: rgba(237, 242, 247, 0.7);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger:hover div,
.hamburger:focus div {
  background-color: #edf2f7;
}

/* Navigation dropdown */
nav {
  position: absolute;
  top: 100%;
  right: 1rem;
  margin-top: 0.5rem;
  background-color: #202b44;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: none;
  flex-direction: column;
  min-width: 150px;
  z-index: 1100;
}

nav.active {
  display: flex;
}

nav ul {
  flex-direction: column;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
}

nav li {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav li:last-child {
  border-bottom: none;
}

nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: #edf2f7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

nav a:hover,
nav a:focus {
  background-color: rgba(255, 165, 0, 0.1);
  color: #ffa500;
}

/* ==================
   MAIN CONTENT
   ================== */
main {
  width: 100%;
  max-width: 100%;
  min-height: calc(100vh - 200px);
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-section {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.artist-feature {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* ==================
   SONG SECTION
   ================== */
.song-card {
  background-color: #2d3748;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
}

.cover-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.song-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-sizing: border-box;
}

.artist-track {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
  color: #edf2f7;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.streaming-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.streaming-links a {
  display: inline-block;
  line-height: 0;
}

.stream-icon {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.2s ease;
  display: block;
}

.stream-icon:hover,
.stream-icon:focus {
  opacity: 1;
  transform: scale(1.1);
}

/* ==================
   ARTIST SECTION
   ================== */
.artist-block {
  background-color: #2d3748;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}

.artist-info-flex {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.artist-photo-wrapper-small {
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}

.artist-photo-small {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.artist-name {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 0.75rem 0;
  color: #edf2f7;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.artist-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.artist-socials a {
  display: inline-block;
  line-height: 0;
}

.social-icon {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: all 0.2s ease;
  display: block;
}

.social-icon:hover,
.social-icon:focus {
  opacity: 1;
  transform: scale(1.1);
}

/* ==================
   SEPARATOR
   ================== */
.section-separator {
  margin: 1.5rem 0;
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
  box-sizing: border-box;
}

/* ==================
   CONTENT SOURCE
   ================== */
.content-source {
  width: 100%;
  box-sizing: border-box;
}

.content-source h3 {
  margin-bottom: 0.5rem;
}

.content-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.globe-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  flex-shrink: 0;
}

.content-source p {
  margin: 0;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex: 1;
  min-width: 0;
  color: #edf2f7;
}

.content-source a {
  color: #ffa500;
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
}

.content-source a:hover,
.content-source a:focus {
  color: #ffb733;
  text-decoration: underline;
}

/* ==================
   FOOTER
   ================== */
.site-footer {
  width: 100%;
  box-sizing: border-box;
  padding: 2rem 1rem;
  background-color: #202738;
  border-top: 2px solid #2d3748;
  text-align: center;
  margin-top: 3rem;
}

.privacy-notice {
  font-size: 0.75rem;
  color: rgba(237, 242, 247, 0.6);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.privacy-notice a {
  color: #ffa500;
  text-decoration: underline;
}

.privacy-notice a:hover {
  color: #ffb733;
}

.footer-nav {
  margin: 1rem 0;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav li {
  margin: 0;
}

.footer-nav a {
  color: #edf2f7;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ffa500;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(237, 242, 247, 0.5);
  margin-top: 1rem;
}

/* ==================
   UTILITY CLASSES
   ================== */
.rounded-rect {
  border-radius: 12px;
}

/* ==================
   TABLET BREAKPOINT (min-width: 600px)
   ================== */
@media (min-width: 600px) {
  main {
    padding: 1.5rem 2rem;
  }

  .content-section {
    max-width: 600px;
  }

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

  .artist-photo-wrapper-small {
    width: 100px;
    height: 100px;
  }

  .artist-track {
    font-size: 1.5rem;
  }

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

  h3 {
    font-size: 1.1rem;
  }

  .site-footer {
    padding: 2.5rem 2rem;
  }
}

/* ==================
   DESKTOP BREAKPOINT (min-width: 900px)
   ================== */
@media (min-width: 900px) {
  main {
    padding: 2rem;
  }

  .content-section {
    max-width: 700px;
  }

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

  .streaming-links {
    gap: 1.5rem;
  }

  .stream-icon {
    width: 42px;
    height: 42px;
  }

  .site-footer {
    padding: 3rem 2rem;
  }
}
