/* ==========================================================================
   MESHTROMUSIC HUB - FULL CSS (RESTORATION)
   ========================================================================== */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  /* Prevents the horizontal scroll entirely */
  position: relative;
}

* {
  box-sizing: border-box;
  /* Crucial: makes padding stay INSIDE the width */
}

canvas {
  filter: drop-shadow(0 0 2px rgba(255, 64, 129, 0.5));
}

.now-playing-progress-bar:hover #now-playing-progress {
  background: #ff80ab;
  box-shadow: 0 0 10px #ff4081;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #111;
  color: #eee;
  text-align: center;
  padding-bottom: 190px;
}

/* ────────────────────────────────────────────────
   HEADER & FLOATING LOGOS
   ──────────────────────────────────────────────── */

header,
footer {
  padding: 1rem;
  background: #222;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.logo-left,
.logo-right {
  position: fixed;
  top: 12px;
  width: 50px;
  height: auto;
  z-index: 1000;
  opacity: 0.9;
  pointer-events: none;
}

.logo-left {
  left: 12px;
}

.logo-right {
  right: 12px;
}

/* MOBILE PORTRAIT: Larger logos on wider screens */
@media (min-width: 768px) {

  .logo-left,
  .logo-right {
    top: 24px;
    width: 70px;
  }

  .logo-left {
    left: 24px;
  }

  .logo-right {
    right: 24px;
  }
}

/* ────────────────────────────────────────────────
   AD BANNER (TANKI ONLINE PROMO)
   ──────────────────────────────────────────────── */

.ad-container {
  background: linear-gradient(90deg, #1a1a1a, #333);
  border: 1px solid #ffd93d;
  /* Tanki gold color */
  border-radius: 12px;
  margin: 1.5rem auto;
  max-width: 640px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.ad-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 217, 61, 0.2);
}

.ad-content {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
  text-decoration: none;
  text-align: left;
}

.ad-tag {
  background: #ffd93d;
  color: black;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.ad-content p {
  margin: 0;
  font-size: 0.95rem;
}

/* ────────────────────────────────────────────────
   TABS
   ──────────────────────────────────────────────── */

.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.tab-btn {
  background: #222;
  border: none;
  color: #aaa;
  font-size: 1.1rem;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn.active {
  background: #ff4081;
  color: white;
  box-shadow: 0 0 15px #ff4081;
}

.tab-btn:hover {
  background: rgba(255, 64, 129, 0.3);
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ────────────────────────────────────────────────
   PLAYLIST / TRACKS (SINGLES & REMIXES)
   ──────────────────────────────────────────────── */

#singles-list,
#remixes-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 640px;
  padding: 0 16px;
}

.track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  background: #1e1e1e;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.track:hover {
  transform: scale(1.02);
  border-color: #ff2d7d;
}

.album-wrapper {
  width: 140px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  background: #222;
  border-radius: 8px;
  overflow: hidden;
}

.album-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* MOBILE PORTRAIT: Stack track elements vertically */
@media (max-width: 520px) {
  .track {
    flex-direction: column;
    align-items: center;
    padding: 1.2rem;
  }

  .album-wrapper {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    border-radius: 12px;
  }

  .track-info {
    text-align: center;
    width: 100%;
    padding-top: 1rem;
  }
}

.track-info {
  flex: 1;
  text-align: left;
}

.track-info h3 {
  margin: 0.3rem 0;
}

.track-info h4 {
  margin: 0.2rem 0;
  font-size: 0.95rem;
  color: #ffcc80;
}

.track-info p {
  margin: 0.2rem 0;
  font-size: 0.85rem;
  color: #aaa;
}

.track-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.8rem 0;
}

.play-btn {
  background: #ff4081;
  border: none;
  color: white;
  font-size: 1.3rem;
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
}

.play-btn:hover {
  background: #ff5c99;
}

.celebrate-btn {
  background: transparent;
  border: 2px solid #ff4081;
  color: #ff4081;
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.celebrate-btn:hover {
  background: rgba(255, 64, 129, 0.15);
  transform: scale(1.1);
}

.celebrate-btn.celebrated {
  background: transparent;
  border-color: #ff4081;
  color: white;
  box-shadow: 0 0 15px #ff4081;
}

.confetti-count {
  font-size: 0.75rem;
  margin-left: 4px;
  font-weight: bold;
}

@keyframes glow-burst {
  0% {
    box-shadow: 0 0 5px #ff4081;
  }

  50% {
    box-shadow: 0 0 40px #ff4081, 0 0 70px #ff4081;
  }

  100% {
    box-shadow: 0 0 15px #ff4081;
  }
}

/* WAVEFORM CONTAINER - ONE UNIVERSAL HEIGHT THAT WORKS EVERYWHERE */
.waveform-container {
  width: 100%;
  height: 60px;
  /* One height that works for ALL devices */
  margin: 0.8rem 0;
  background: #1a1a1a;
  border-radius: 6px;
  overflow: hidden;
  display: none;
  transition: opacity 0.3s ease;
  position: relative;
  /* Critical for absolute positioning of child */
}

.waveform-container.active {
  display: block;
  opacity: 1;
}

/* WAVEFORM - Force it to fill the container */
.waveform {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  /* Fill the container completely */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  /* Ensure it's a block element */
  overflow: hidden;
  /* Prevent any overflow */
}

/* WAVESURFER CANVAS - Force it to fill the waveform div */
.waveform canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  /* Remove any inline spacing */
  position: absolute;
  /* Fill parent completely */
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* TARGETED HIDE FOR TIMER ELEMENTS ONLY */
.waveform .wavesurfer-time,
.waveform .wavesurfer-timedisplay,
.waveform-container .wavesurfer-time,
.waveform-container .wavesurfer-timedisplay {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Album tracks specific timer hiding */
.album-track-row .waveform .wavesurfer-time,
.album-track-row .waveform .wavesurfer-timedisplay,
.album-track-row .waveform-container .wavesurfer-time,
.album-track-row .waveform-container .wavesurfer-timedisplay,
.album .waveform .wavesurfer-time,
.album .waveform .wavesurfer-timedisplay,
.album .waveform-container .wavesurfer-time,
.album .waveform-container .wavesurfer-timedisplay {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* REMOVE ALL MEDIA QUERIES FOR HEIGHT - ONE SIZE FITS ALL */
/* This ensures consistency across all devices */

.time,
.album-track-time {
  font-size: 0.82rem;
  color: #bbb;
  font-family: monospace;
  margin-top: 0.4rem;
}

/* ────────────────────────────────────────────────
   ALBUM CONTAINER & CARDS
   ──────────────────────────────────────────────── */

.album {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  background: #1e1e1e;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.album-cover-wrapper {
  width: 140px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  background: #222;
  border-radius: 8px;
  overflow: hidden;
}

.album-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-info {
  flex: 1;
  text-align: left;
}

.album-info h3 {
  margin: 0 0 0.5rem;
}

.album-info h4 {
  margin: 0.3rem 0;
  color: #ffcc80;
}

.album-info p {
  margin: 0.3rem 0;
  color: #aaa;
}

.album-tracks-list {
  margin-top: 1rem;
  width: 100%;
}

.album-track-row {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  border-bottom: 1px solid #333;
}

.album-track-row:last-child {
  border-bottom: none;
}

.album-track-header {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.6rem;
  color: #eee;
  text-align: left;
}

.album-track-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.album:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  border-color: #ff2d7d;
}

/* ────────────────────────────────────────────────
   STICKY NOW PLAYING PLAYER
   ──────────────────────────────────────────────── */

#now-playing {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e1e1e;
  border-top: 2px solid #ff4081;
  padding: 0.8rem 1rem;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.5);
}

#now-playing.hidden {
  display: none;
}

.now-playing-content {
  display: flex;
  align-items: center;
  gap: 0.8rem 1rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
  padding: 0.4rem 0;
}

.now-playing-cover {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.now-playing-info {
  flex: 1 1 auto;
  text-align: left;
  min-width: 140px;
}

.now-playing-info h4 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.now-playing-info .artist-label {
  font-size: 0.85rem;
  color: #ffcc80;
  margin: 0.1rem 0;
}

.now-playing-info .label-year {
  font-size: 0.78rem;
  color: #aaa;
  margin-top: 0.1rem;
}

#now-playing-playpause {
  background: #ff4081;
  border: none;
  color: white;
  font-size: 1.2rem;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  min-width: 50px;
}

#now-playing-playpause:hover {
  background: #ff5c99;
}

.now-playing-progress-bar {
  width: 100%;
  min-width: 180px;
  height: 5px;
  background: #444;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  margin: 0.4rem 0 0.2rem;
  flex: 0 0 100%;
  order: 4;
}

#now-playing-progress {
  height: 100%;
  width: 0%;
  background: #ff4081;
  transition: width 0.2s linear;
}

.footer-time {
  width: 100%;
  text-align: left;
  font-size: 0.82rem;
  color: #bbb;
  font-family: monospace;
  margin-top: 0.3rem;
  order: 5;
  pointer-events: none;
}

/* MOBILE PORTRAIT: General footer adjustments */
@media (max-width: 520px) {
  body {
    padding-bottom: 260px;
  }

  .now-playing-content {
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
  }

  .now-playing-progress-bar {
    margin: 0.6rem 0 0.3rem;
    height: 6px;
  }

  #now-playing-playpause {
    order: 3;
  }

  .footer-time {
    font-size: 0.8rem;
    margin-top: 0.4rem;
  }
}

/* MOBILE PORTRAIT: Smaller prev/next buttons on small screens */
@media (max-width: 520px) {

  #now-playing-prev,
  #now-playing-next {
    font-size: 1rem;
    padding: 0.3rem 0.6rem;
  }
}

#now-playing-prev,
#now-playing-next {
  background: transparent;
  border: none;
  color: #ff4081;
  font-size: 1.1rem;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  opacity: 0.7;
}

#now-playing-prev:hover,
#now-playing-next:hover {
  opacity: 1;
  transform: scale(1.1);
}

#now-playing-prev:disabled,
#now-playing-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ────────────────────────────────────────────────
   COPYRIGHT FOOTER
   ──────────────────────────────────────────────── */

.copyright-footer {
  background: #181818;
  color: #888;
  text-align: center;
  padding: 16px 12px;
  font-size: 0.9rem;
  border-top: 1px solid #333;
  margin-top: 10px;
  margin-bottom: 0;
}

.copyright-footer p {
  margin: 0;
}

main,
.tab-content.active,
.album,
.soundcloud-embed {
  padding-bottom: 10px;
}

/* Help & total */
#help-btn {
  position: fixed;
  bottom: 170px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: #ff4081;
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

#help-btn:hover {
  background: #ff5c99;
}

#total-confetti {
  position: fixed;
  bottom: 230px;
  right: 20px;
  background: rgba(255, 64, 129, 0.25);
  color: #ff4081;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 9998;
  pointer-events: none;
}

#help-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

#help-popup.show {
  display: flex;
}

.hidden {
  display: none !important;
}

.help-content {
  background: #222;
  padding: 1.6rem;
  border-radius: 12px;
  max-width: 90%;
  width: 420px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
}

.help-content h3 {
  margin-top: 0;
  color: #ffcc80;
}

.help-content button {
  margin-top: 1.2rem;
  background: #ff4081;
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  color: white;
  cursor: pointer;
}

.help-content button:hover {
  background: #ff5c99;
}

/* MOBILE PORTRAIT: Help & total positioning */
@media (max-width: 520px) {
  body {
    padding-bottom: 280px;
  }

  #help-btn {
    bottom: 190px;
    right: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  #total-confetti {
    bottom: 255px;
    right: 16px;
    font-size: 1rem;
    padding: 7px 12px;
  }

  .copyright-footer {
    padding: 14px 12px;
    font-size: 0.88rem;
    margin-top: 30px;
  }

  main,
  .tab-content.active {
    padding-bottom: 40px;
  }

  .ad-content p {
    font-size: 0.85rem;
  }
}

/* ────────────────────────────────────────────────
   HEAT WAVE ALBUM SPECIAL LAYOUT
   ──────────────────────────────────────────────── */

.album {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  text-align: left;
  background: #1e1e1e;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.album-cover-wrapper {
  width: 280px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.album-info {
  flex: 1;
}

.album-tracks-list {
  margin-top: 1rem;
  width: 100%;
}

.album-track-row {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  border-bottom: 1px solid #333;
}

.album-track-row:last-child {
  border-bottom: none;
}

.album-track-header {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.6rem;
  color: #eee;
  text-align: left;
}

.album-track-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.album-track-time {
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.5rem;
  font-family: monospace;
}

.album:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  border-color: #ff2d7d;
}

/* MOBILE PORTRAIT: Stack album layout vertically */
@media (max-width: 650px) {
  .album {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .album-cover-wrapper {
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem;
  }

  .album-track-controls {
    justify-content: center;
  }
}

/* Active Highlight */
.track.is-playing,
.album-track-row.is-playing {
  background: rgba(255, 45, 125, 0.1) !important;
  border-left: 5px solid #ff2d7d;
  transition: all 0.3s ease;
}

.track.is-playing h3,
.album-track-row.is-playing .album-track-header {
  color: #ff2d7d !important;
  font-weight: bold;
}

/* Loading Animation - White rotating arc */
/* 1. The Animation: Rotate ONLY (Centering handled by the element itself) */
@keyframes spin-loading {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* 2. The Button: Keep its original layout/dimensions */
.play-btn.is-loading {
  color: transparent !important;
  /* Hides the ▶ icon */
  pointer-events: none;
  position: relative;
  /* Creates a "container" for the spinner */
  opacity: 1;
  /* DO NOT add top, left, or absolute here - keep it where it was */
}

/* 3. The Spinner: Absolute center INSIDE the button */
.play-btn.is-loading::after {
  content: '';
  position: absolute;
  /* Standard centering trick inside the button's own box */
  top: 50%;
  left: 50%;
  margin-top: -10px;
  /* Half of height (20px / 2) */
  margin-left: -10px;
  /* Half of width (20px / 2) */

  width: 20px;
  height: 20px;
  border: 3px solid #ffffff;
  border-top-color: transparent;
  /* The "Arc" look */
  border-radius: 50%;
  animation: spin-loading 0.8s linear infinite;
}

/* ==========================================================================
   SPOTLIGHT TRACK STYLES (GOLDEN TILE DESIGN)
   ========================================================================== */

#spotlight-section {
  display: block !important;
  margin: 2rem auto;
  max-width: 640px;
  padding: 0 16px;
}

.spotlight-track {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%) !important;
  border: 2px solid #ffd93d !important;
  box-shadow:
    0 4px 20px rgba(255, 217, 61, 0.3),
    0 0 40px rgba(255, 217, 61, 0.1),
    inset 0 0 20px rgba(255, 217, 61, 0.1) !important;
  position: relative;
  overflow: hidden;
}

.spotlight-track::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg,
      #ffd93d,
      #ffed4e,
      #ffd93d,
      #ffed4e);
  z-index: -1;
  border-radius: 12px;
  opacity: 0.7;
  animation: spotlight-glow 3s ease-in-out infinite;
}

@keyframes spotlight-glow {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 0.9;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.spotlight-track .album-wrapper {
  position: relative;
  overflow: visible;
}

.spotlight-track .album-wrapper::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg, #ffd93d, #ffed4e, #ffd93d);
  border-radius: 12px;
  z-index: -1;
  opacity: 0.5;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.spotlight-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(45deg, #ff6b00, #ffd93d);
  color: #000;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 10;
  box-shadow: 0 3px 10px rgba(255, 217, 61, 0.5);
  animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.spotlight-track h3 {
  color: #ffed4e !important;
  text-shadow: 0 0 10px rgba(255, 237, 78, 0.3);
}

.spotlight-track h4 {
  color: #ffcc80 !important;
}

.spotlight-track .play-btn {
  background: linear-gradient(45deg, #ffd93d, #ffed4e) !important;
  color: #000 !important;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(255, 217, 61, 0.5);
}

.spotlight-track .play-btn:hover {
  background: linear-gradient(45deg, #ffed4e, #fff) !important;
  box-shadow: 0 0 20px rgba(255, 217, 61, 0.8);
}

.spotlight-track .celebrate-btn {
  border-color: #ffd93d !important;
  color: #ffd93d !important;
  box-shadow: 0 0 10px rgba(255, 217, 61, 0.3);
}

.spotlight-track .celebrate-btn:hover {
  background: rgba(255, 217, 61, 0.2) !important;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.spotlight-track .confetti-count {
  color: #4a3f13;
  font-weight: bold;
  background-color: yellow;
  /* Or any highlight color you prefer */
  padding: 2px 4px;
  /* Optional: Add some padding for better visual appearance */
  border-radius: 3px;
  /* Optional: Add some rounded corners */
}

/* Mobile adjustments for spotlight */
@media (max-width: 520px) {
  .spotlight-track {
    padding: 1.5rem !important;
    margin-bottom: 2rem;
  }

  .spotlight-badge {
    font-size: 0.6rem;
    padding: 3px 8px;
    top: -8px;
    right: -8px;
  }
}

/* ==========================================================================
   NEW TRACK STYLES
   ========================================================================== */

/* Party Bomb themed badge */
.new-badge {
    background: #ff4081; /* Matches your progress color */
    color: white;
    font-weight: bold;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    animation: pulse-bomb 2s infinite;
}

/* Specific position for the ribbon on the track cover */
.track-ribbon {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

@keyframes pulse-bomb {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.05); filter: brightness(1.2); }
    100% { transform: scale(1); filter: brightness(1); }
}

/* Party Bomb themed badge */
.new-badge {
    background: #ff4081; /* Matches your progress color */
    color: white;
    font-weight: bold;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    animation: pulse-bomb 2s infinite;
}

/* Specific position for the ribbon on the track cover */
.track-ribbon {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

@keyframes pulse-bomb {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.05); filter: brightness(1.2); }
    100% { transform: scale(1); filter: brightness(1); }
}

/* ==========================================================================
   MOBILE AUTO-SCROLL ENHANCEMENT
   ========================================================================== */

/* Ensure smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* Add a little extra padding to tab content on mobile for better scroll target */
@media (max-width: 768px) {
    .tab-content {
        scroll-margin-top: 80px;
    }
    
    #singles-tab, #remixes-tab, #albums-tab {
        scroll-margin-top: 80px;
    }
}
