body {
  background-color: #0e0e0e;
  font-family: 'DM Sans', sans-serif;
  margin: 0;
  padding: 0;
  color: #fff;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0 0.25rem;
}

.hero-logo {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.tagline {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #999;
  margin-top: 0.25rem;
  text-align: center;
  letter-spacing: 0.5px;
}

.player-intro {
  text-align: center;
  font-size: 0.95rem;
  color: #bbb;
  margin: 0.75rem auto 0.25rem;
  max-width: 600px;
  font-style: italic;
}

.cta-button {
  display: inline-block;
  margin: 0.75rem auto 0.5rem;
  padding: 0.7rem 1.6rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-family: 'Archivo Black', sans-serif;
  border: 2px solid #aaa;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
  background: #ffffff15;
  transform: scale(1.04);
}

.filter-dropdown {
  margin-bottom: 1rem;
  padding: 0.5rem;
  background-color: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
  border-radius: 8px;
  font-size: 0.95rem;
}

.player-wrapper {
  background: #1c1c1c;
  border-radius: 12px;
  padding: 1rem;
  max-width: 700px;
  margin: 0.5rem auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
}

audio {
  width: 100%;
  height: 36px;
  margin: 0.5rem 0 0.25rem;
  filter: brightness(0.95);
  background-color: #0e0e0e;
  border-radius: 8px;
  outline: none;
}

.now-playing {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.track-list.scroll-box {
  max-height: 450px;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.track {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #1a1a1a;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin: 0.5rem auto;
  max-width: 700px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  transition: box-shadow 0.3s ease;
  box-shadow: 0 0 0 transparent;
}


.track:hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.track.active {
  background: #2a2a2a;
  border-color: rgba(255,255,255,0.2);
}

.thumbnail {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #222;
  display: block;
}


.track-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  text-align: left;
}


.track-info h3 {
  font-family: 'Archivo Black', sans-serif;
  color: #fff;
  font-size: 1rem;
  margin: 0;
  line-height: 1.3;
  word-break: break-word;
}

.style-tag {
  color: #aaa;
  font-size: 0.8rem;
  line-height: 1;
}


.bio {
  max-width: 800px;
  margin: 1rem auto 1rem;
  padding: 1.25rem;
  background-color: #141414;
  border-radius: 12px;
  color: #ccc;
  line-height: 1.6;
  text-align: left;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

.bio h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.5rem;
  color: #f1f1f1;
  margin-bottom: 1rem;
}

.bio p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-top: 1.5rem;
  padding: 0 1rem 1.25rem;
}

.footer-icons img,
.social-modal-icons img {
  width: 44px;
  height: 44px;
  display: block;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 4px;
  box-sizing: border-box;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.footer-icons img:hover,
.social-modal-icons img:hover {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.site-footer {
  text-align: center;
  padding: 0.5rem 1rem 1rem;
  font-size: 0.85rem;
  color: #666;
  font-family: 'Inter', sans-serif;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #1e1e1e;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
  position: relative;
  text-align: center;
}

.modal-content h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-content p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #999;
  font-size: 1.5rem;
  cursor: pointer;
}

.social-modal-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  justify-items: center;
  align-items: center;
  padding: 1.5rem 0;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.social-modal-icons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: opacity 0.3s;
}

.social-modal-icons a:hover {
  opacity: 0.85;
}

/* Default: Hide scrollbar */
.track-list {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #444 #1e1e1e;
}

/* Hide scrollbar visually until hover/scroll */
.track-list::-webkit-scrollbar {
  width: 0;
  transition: width 0.2s ease-in-out;
}

.track-list:hover::-webkit-scrollbar {
  width: 8px;
}

.track-list::-webkit-scrollbar-track {
  background: #1e1e1e;
  border-radius: 4px;
}

.track-list::-webkit-scrollbar-thumb {
  background-color: #444;
  border-radius: 4px;
}

.track-list::-webkit-scrollbar-thumb:hover {
  background-color: #666;
}

/* Beat Page Styles */

body.beat-page {
  background-color: #111;
  color: #f0f0f0;
  font-family: 'DM Sans', sans-serif;
  padding: 2rem;
  margin: 0;
}

.beat-container {
  max-width: 800px;
  margin: auto;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none;
  color: #61dafb;
  font-weight: bold;
}

.back-link:hover {
  text-decoration: underline;
}

.beat-details h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.beat-cover {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.player-box {
  margin: 1.5rem 0;
}

.player-box audio {
  width: 100%;
  border-radius: 6px;
}

.license-pricing h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.license-pricing ul {
  list-style: none;
  padding: 0;
}

.license-pricing li {
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.license-pricing li strong {
  display: block;
  margin-bottom: 0.5rem;
}

.license-pricing button {
  margin-top: 0.5rem;
  background: #00c896;
  color: #000;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.license-pricing button:hover {
  background: #00b185;
}

.track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #1a1a1a;
  border-radius: 10px;
  padding: 0.6rem;
  margin: 0.4rem auto;
  max-width: 700px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 0 0 transparent;
  border: 1px solid rgba(255,255,255,0.1);
}

.track-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  margin-left: auto;
}

.track-actions .play-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid #aaa;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  line-height: 32px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
}

.track-actions .play-button:hover {
  background-color: #2a2a2a;
  transform: scale(1.05);
}

.track-actions .buy-button {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  border: 2px solid #aaa;
  background-color: transparent;
  color: #fff;
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.7rem;
  text-align: center;
  font-weight: 600;
  padding: 0.3rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
}

.track-actions .buy-button:hover {
  background-color: #222;
  transform: scale(1.05);
}

.cta-filter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
  gap: 1rem;
}

.cta-button-container,
.filter-container {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.thumbnail-wrapper {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #222;
  display: block;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
  pointer-events: none;
}

.progress-ring-circle {
  transition: stroke-dashoffset 0.2s linear;
}

.track {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #1a1a1a;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin: 0.5rem auto;
  max-width: 700px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
}

.thumbnail-wrapper {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.thumbnail {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #222;
  display: block;
}


.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  background-color: rgba(0,0,0,0.6);
  border-radius: 50%;
  font-size: 14px;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  cursor: pointer;
}

.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
  pointer-events: none;
}



.progress-ring-circle {
  transition: stroke-dashoffset 0.2s linear;
}

.track-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.track-info h3 {
  margin: 0;
  font-size: 0.95rem;
  color: #fff;
}

.style-tag {
  font-size: 0.8rem;
  color: #bbb;
}
