/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;700&family=Montserrat+Alternates:wght@400;700&display=swap');

/* Custom navbar styling to match the meme page exactly */
.cid-uHBINRz9j8 {
  z-index: 1000;
  width: 100%;
  position: relative;
}

.cid-uHBINRz9j8 .navbar-brand {
  flex-shrink: 0;
  align-items: center;
  margin-right: 0;
  padding: 10px 0;
  transition: all 0.3s;
  word-break: break-word;
  z-index: 1;
}

.cid-uHBINRz9j8 .navbar-brand .navbar-caption {
  color: #ffffff !important; /* White text like in meme page */
  font-family: 'Montserrat Alternates', Arial, sans-serif !important;
  font-weight: 700 !important;
  line-height: inherit !important;
}

.cid-uHBINRz9j8 .navbar-nav .nav-item .nav-link {
  color: #ffffff !important; /* White text like in meme page */
  font-family: 'Montserrat Alternates', Arial, sans-serif !important;
  padding: 16px !important;
  margin: 0 !important;
  border-radius: 4px !important;
  transition: .3s all !important;
}

.cid-uHBINRz9j8 .navbar-nav .nav-item .nav-link:hover {
  background-color: rgba(27, 31, 10, 0.06);
}

.cid-uHBINRz9j8 .btn-success {
  background-color: #ffcb00 !important; /* Match the theme yellow */
  border-color: #ffcb00 !important;
  color: #000000 !important; /* Black text on yellow button */
  font-family: 'Montserrat Alternates', Arial, sans-serif !important;
  font-weight: 700 !important;
}

.cid-uHBINRz9j8 .btn-success:hover {
  background-color: #ffd966 !important;
  border-color: #ffd966 !important;
}

.cid-uHBINRz9j8 .container {
  display: flex;
  height: 90px;
  padding: 0.5rem 0.6rem;
  flex-wrap: nowrap;
  background: rgba(35, 35, 35, 0.8) !important;
  left: 0;
  right: 0;
  justify-content: flex-end;
  align-items: center;
  border-radius: 4px !important;
  margin-top: 1rem;
  background-color: #232323;
  box-shadow: 0 30px 60px 0 rgba(27, 31, 10, 0.08);
  width: 95%; /* Match the width from meme page */
  margin-left: auto;
  margin-right: auto;
}

.cid-uHBINRz9j8 .navbar-logo {
  padding-left: 2rem;
  margin: 0 !important;
}

.cid-uHBINRz9j8 .navbar-caption {
  padding-left: 1rem;
  padding-right: .5rem;
}

@media (max-width: 767px) {
  .cid-uHBINRz9j8 .container {
    width: 98%; /* Slightly wider on mobile to prevent clipping */
    height: 56px !important;
    padding: 0.5rem 0.8rem; /* Better padding for mobile */
    margin-top: 0.5rem;
    justify-content: space-between; /* Better distribution */
  }
  
  .cid-uHBINRz9j8 .navbar-brand {
    flex: 1;
    min-width: 0; /* Allow shrinking */
  }
  
  .cid-uHBINRz9j8 .navbar-logo {
    padding-left: 0.5rem; /* Reduced padding */
  }

  .cid-uHBINRz9j8 .navbar-caption {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 0.9rem !important; /* Smaller font on mobile */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cid-uHBINRz9j8 .navbar-nav {
    padding-left: 0;
  }

  .cid-uHBINRz9j8 .navbar-buttons {
    flex-shrink: 0;
  }

  .cid-uHBINRz9j8 .btn-success {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.85rem !important;
  }
}

body {
  background: linear-gradient(135deg, #002724 0%, #2B7A69 100%);
  font-family: 'Oxanium', 'Montserrat Alternates', Arial, sans-serif;
  color: #FFCB00;
  margin: 0;
  min-height: 100vh;
}

.container {
  max-width: 1200px; /* Made wider to match navbar */
  width: 95vw; /* Match navbar width */
  margin: 120px auto 40px auto; /* Added top margin for navbar */
  background: rgba(35, 40, 43, 0.82); /* frosted dark grey */
  border-radius: 4px; /* Match navbar border radius */
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  padding: 40px 40px 32px 40px;
  backdrop-filter: blur(16px);
}

header h1 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 2.2rem;
  letter-spacing: 1px;
  font-family: 'Montserrat Alternates', 'Oxanium', Arial, sans-serif;
  color: #FFB800;
  font-weight: 700;
}

.header-subtitle {
  text-align: center;
  margin-bottom: 32px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Montserrat Alternates', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Album List and Card */
.album-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  align-items: center;
}

.album-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: rgba(35, 40, 43, 0.95);
  border-radius: 12px; /* More modern rounded corners */
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 203, 0, 0.1); /* Subtle golden border */
  padding: 24px;
  width: 100%;
  max-width: 1000px;
  min-height: 200px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #FFCB00;
  font-family: 'Oxanium', Arial, sans-serif;
  backdrop-filter: blur(16px);
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.album-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 203, 0, 0.05) 0%, rgba(43, 122, 105, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.album-card:hover {
  background: rgba(35, 40, 43, 0.98);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  border-color: rgba(255, 203, 0, 0.3);
}

.album-card:hover::before {
  opacity: 1;
}

.album-card:hover .album-card-img img {
  transform: scale(1.05);
}

.album-card-img {
  position: relative;
  flex-shrink: 0;
}

.album-card-img img {
  width: 180px; /* Made significantly bigger */
  height: 180px; /* Made significantly bigger */
  object-fit: cover;
  border-radius: 8px; /* Slightly more rounded */
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  background: #23282b;
  transition: transform 0.3s ease;
}

.album-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
}

.album-name {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: #FFB800;
  font-family: 'Montserrat Alternates', Arial, sans-serif;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.album-artist {
  font-size: 1.1rem;
  color: #FFCB00;
  margin: 4px 0;
  font-family: 'Oxanium', Arial, sans-serif;
  font-weight: 500;
}

.album-age {
  font-size: 0.95rem;
  color: rgba(255, 203, 0, 0.8);
  margin: 2px 0;
  font-family: 'Oxanium', Arial, sans-serif;
  font-weight: 400;
}

.album-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 12px;
  font-family: 'Montserrat Alternates', Arial, sans-serif;
  line-height: 1.6;
  text-align: left;
  font-weight: 400;
}

.track-count {
  font-size: 0.9rem;
  color: rgba(255, 203, 0, 0.7);
  margin-top: 8px;
  font-family: 'Oxanium', Arial, sans-serif;
  font-weight: 500;
}

.coming-soon-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #FFB800, #FFCB00);
  color: #000;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Montserrat Alternates', Arial, sans-serif;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.album-view {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* Stretch children to full width */
  padding: 0 0;
  width: 100%;
  background: transparent;
}

.album-header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Space between cover/title and play button */
  gap: 32px;
  margin-bottom: 32px;
  width: 100%;
}

.album-info {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}

.album-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.back-btn {
  align-self: flex-start;
  margin-bottom: 16px;
  background: rgba(255, 203, 0, 0.1);
  border: 1px solid rgba(255, 203, 0, 0.3);
  border-radius: 8px;
  padding: 8px 16px;
  color: #FFB800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat Alternates', Arial, sans-serif;
  font-weight: 500;
}

.back-btn:hover {
  background: rgba(255, 203, 0, 0.2);
  border-color: rgba(255, 203, 0, 0.5);
  color: #FFCB00;
  transform: translateX(-2px);
}

.album-cover {
  width: 340px;
  height: 340px;
  object-fit: cover;
  border-radius: 4px; /* Match theme border radius */
  margin: 0 auto 32px auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  display: block;
}

#album-title {
  font-size: 2.4rem;
  color: #FFB800;
  font-family: 'Montserrat Alternates', Arial, sans-serif;
  margin: 0;
  flex: 0 0 auto;
}

#song-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  width: 100%;
}

#song-list li {
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 6px;
  background: #002724;
  color: #FFCB00;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: 'Oxanium', Arial, sans-serif;
}

#song-list li:hover {
  background: #FFCB00;
  color: #002724;
}

.player-bar {
  width: 100%;
  background: rgba(35, 40, 43, 0.95);
  border-radius: 12px;
  border: 1px solid rgba(255, 203, 0, 0.1);
  padding: 24px 32px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 32px;
  box-sizing: border-box;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

#now-playing {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #FFB800;
  text-align: left;
}

audio {
  width: 100%;
  accent-color: #FFB800;
  margin: 0;
  display: none; /* Hide default audio controls */
}

/* Professional Music Player Interface */
.music-player-controls {
  background: rgba(35, 40, 43, 0.95);
  border-radius: 12px;
  border: 1px solid rgba(255, 203, 0, 0.2);
  padding: 24px;
  margin: 24px 0;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.now-playing-section {
  text-align: center;
  margin-bottom: 20px;
}

#now-playing {
  font-size: 1.1rem;
  color: #FFB800;
  font-family: 'Montserrat Alternates', Arial, sans-serif;
  font-weight: 500;
}

.player-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.control-btn {
  background: rgba(255, 203, 0, 0.1);
  border: 2px solid rgba(255, 203, 0, 0.3);
  border-radius: 50%;
  color: #FFCB00;
  font-size: 1.2rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; /* Use system fonts for consistent icons */
  line-height: 1; /* Better vertical centering */
  text-align: center; /* Ensure horizontal centering */
  vertical-align: middle; /* Additional centering help */
  font-variant-emoji: text; /* Force text rendering instead of emoji */
  -webkit-font-feature-settings: "liga" off; /* Disable ligatures that might convert to emoji */
  font-feature-settings: "liga" off;
}

.control-btn:hover:not(:disabled) {
  background: rgba(255, 203, 0, 0.2);
  border-color: rgba(255, 203, 0, 0.5);
  transform: scale(1.05);
}

.control-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.main-play-btn {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  background: #FFB800;
  border-color: #FFB800;
  color: #002724;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; /* Use system fonts for consistent icons */
  line-height: 1; /* Better vertical centering */
  text-align: center;
  vertical-align: middle;
  font-variant-emoji: text; /* Force text rendering instead of emoji */
  -webkit-font-feature-settings: "liga" off;
  font-feature-settings: "liga" off;
}

.main-play-btn:hover {
  background: #FFCB00;
  border-color: #FFCB00;
  box-shadow: 0 4px 16px rgba(255, 203, 0, 0.4);
}

.progress-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.progress-bar {
  position: relative;
  height: 6px;
  background: rgba(255, 203, 0, 0.2);
  border-radius: 3px;
  cursor: pointer;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFB800, #FFCB00);
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s ease;
}

.progress-handle {
  position: absolute;
  top: -4px;
  width: 14px;
  height: 14px;
  background: #FFCB00;
  border-radius: 50%;
  left: 0%;
  cursor: grab;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.progress-bar:hover .progress-handle {
  opacity: 1;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(255, 203, 0, 0.8);
  font-family: 'Oxanium', Arial, sans-serif;
}

/* Loading indicator */
.loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 203, 0, 0.3);
  border-top: 3px solid #FFCB00;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-indicator p {
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Montserrat Alternates', Arial, sans-serif;
  font-size: 1.1rem;
  margin: 0;
}

.album-play-btn {
  background: #FFB800;
  color: #002724;
  border: none;
  border-radius: 4px; /* Match theme border radius */
  padding: 18px 48px;
  font-size: 1.3rem;
  font-family: 'Montserrat Alternates', Arial, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  margin-left: 0; /* Remove left margin for proper alignment */
  box-shadow: 0 4px 16px rgba(255, 184, 0, 0.3);
  transform: translateY(0);
}
.album-play-btn:hover {
  background: #FFCB00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 203, 0, 0.4);
}

.song-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  table-layout: fixed;
  font-size: 1.1rem; /* Increased from 1rem */
  background: rgba(35, 40, 43, 0.5);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 203, 0, 0.1);
}

.song-table th, .song-table td {
  padding: 18px 12px; /* Increased padding from 16px */
  text-align: left;
  font-family: 'Oxanium', Arial, sans-serif;
  word-break: break-word;
  border-bottom: 1px solid rgba(255, 203, 0, 0.1);
}

.song-table th {
  color: #FFB800;
  font-weight: 700;
  background: rgba(35, 40, 43, 0.8);
  font-family: 'Montserrat Alternates', Arial, sans-serif;
  letter-spacing: 0.5px;
  font-size: 1.05rem; /* Slightly larger headers */
}

/* Desktop column widths - optimized spacing */
.song-table th:nth-child(1), /* # */
.song-table td:nth-child(1) {
  width: 8%; /* Reduced from default - less wasted space */
  text-align: center;
  padding-left: 8px;
  padding-right: 8px;
}

.song-table th:nth-child(2), /* Title */
.song-table td:nth-child(2) {
  width: 25%; /* Reasonable title width */
  font-weight: 600;
}

.song-table th:nth-child(3), /* Artist */
.song-table td:nth-child(3) {
  width: 15%; /* Compact artist column */
}

.song-table th:nth-child(4), /* Description */
.song-table td:nth-child(4) {
  width: 35%; /* Much wider for descriptions */
  line-height: 1.4;
  font-size: 1rem;
}

.song-table th:nth-child(5), /* Duration */
.song-table td:nth-child(5) {
  width: 10%; /* Compact duration */
  text-align: center;
  padding-left: 8px;
  padding-right: 8px;
}

.song-table th:nth-child(6), /* Play button */
.song-table td:nth-child(6) {
  width: 7%; /* Minimal play button column */
  text-align: center;
  padding-left: 6px;
  padding-right: 6px;
}

.song-table tr {
  background: transparent;
  transition: all 0.3s ease;
}

.song-table tr:hover {
  background: rgba(255, 203, 0, 0.1);
}

.song-table tr.playing {
  background: rgba(255, 203, 0, 0.15) !important;
  border-left: 4px solid #FFCB00; /* Slightly thicker highlight */
}

.song-table tr.playing td {
  color: #FFCB00;
  font-weight: 600; /* Increased from 500 */
}

.song-table tr.playing td:first-child {
  font-weight: 700; /* Make track number stand out more */
}

.song-table tr:last-child td {
  border-bottom: none;
}
.song-table td.play-cell {
  width: 7%; /* Updated to match new column width */
  text-align: center;
  padding-left: 6px;
  padding-right: 6px;
}

.song-play-btn {
  background: none;
  border: none;
  color: #FFCB00;
  font-size: 1.5rem; /* Increased from 1.4rem */
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 4px 8px;
  border-radius: 4px;
}

.song-play-btn:hover {
  color: #FFB800;
  background: rgba(255, 203, 0, 0.1);
  transform: scale(1.1);
}

#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* --- Responsive styles for mobile --- */
@media (max-width: 700px) {
  .container {
    max-width: 100vw;
    width: 95vw; /* Match navbar width on mobile */
    padding: 12px 3vw;
    border-radius: 4px; /* Keep consistent border radius */
    box-shadow: none;
    background: rgba(35, 40, 43, 0.65); /* More transparent background on mobile for better effect visibility */
    backdrop-filter: blur(10px); /* Slightly less blur for better performance and visibility */
    margin-top: 80px; /* Reduced top margin for mobile */
  }

  /* Album card: fit inside container, no overflow */
  .album-card {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    text-align: center;
  }
  
  .album-card-img img {
    width: 120px; /* Bigger on mobile too */
    height: 120px;
    margin-bottom: 16px;
  }
  
  .album-card-info {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  
  .album-name {
    font-size: 1.5rem;
  }
  
  .album-desc {
    font-size: 0.95rem;
    text-align: center;
  }

  /* Mobile album view layout */
  .album-view {
    padding: 10px 0;
  }

  .album-header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .album-info {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .album-controls {
    justify-content: center;
  }

  .album-cover {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px auto;
  }

  #album-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 16px;
  }

  .album-play-btn {
    margin-left: 0; /* Center the button */
    padding: 12px 32px; /* Smaller padding */
    font-size: 1.1rem; /* Smaller font */
    width: fit-content;
    align-self: center;
  }

  /* Mobile song table - 2 column layout */
  .song-table {
    font-size: 0.9rem;
    border-radius: 6px;
    margin-bottom: 20px;
  }

  .song-table th.desktop-only,
  .song-table td.desktop-only {
    display: none;
  }

  .song-table th,
  .song-table td {
    padding: 8px 6px; /* Reduced padding for mobile */
  }

  /* Mobile table structure: #, Title+Artist, Duration, Play */
  .song-table th:nth-child(1), 
  .song-table td:nth-child(1) {
    width: 15%;
    text-align: center !important;
  }

  .song-table th:nth-child(2), 
  .song-table td:nth-child(2) {
    width: 50%;
    text-align: left !important;
    padding-left: 8px !important;
  }

  .song-table th:nth-child(3), 
  .song-table td:nth-child(3) {
    width: 20%;
    text-align: center !important;
  }

  .song-table th:nth-child(4), 
  .song-table td:nth-child(4) {
    width: 15%;
    text-align: center !important;
  }

  /* Mobile play button styling */
  .mobile-play-btn {
    font-size: 1.2rem !important;
    padding: 4px 8px;
    background: rgba(255, 203, 0, 0.1);
    border: 1px solid rgba(255, 203, 0, 0.3);
    border-radius: 4px;
    color: #FFCB00 !important;
    transition: all 0.2s ease;
  }

  .mobile-play-btn:hover {
    background: rgba(255, 203, 0, 0.2);
    border-color: rgba(255, 203, 0, 0.5);
  }

  /* Player bar mobile adjustments */
  .player-bar {
    padding: 16px 20px;
    margin-top: 20px;
  }

  /* Mobile music player controls */
  .music-player-controls {
    padding: 16px;
    margin: 16px 0;
    background: rgba(35, 40, 43, 0.75); /* More transparent on mobile for better effect visibility */
    backdrop-filter: blur(12px); /* Slightly less blur for better performance */
  }

  .player-controls {
    gap: 15px;
  }

  .control-btn {
    width: 44px;
    height: 44px;
    font-size: 1.3rem; /* Slightly bigger for better visibility */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; /* Use system fonts for consistent icons */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1; /* Better vertical centering */
    text-align: center; /* Ensure horizontal centering */
    vertical-align: middle; /* Additional centering help */
    font-variant-emoji: text; /* Force text rendering instead of emoji */
    -webkit-font-feature-settings: "liga" off; /* Disable ligatures that might convert to emoji */
    font-feature-settings: "liga" off;
  }

  .main-play-btn {
    width: 54px;
    height: 54px;
    font-size: 1.6rem; /* Bigger play/pause button */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; /* Consistent font family */
    text-align: center;
    vertical-align: middle;
    font-variant-emoji: text; /* Force text rendering instead of emoji */
    -webkit-font-feature-settings: "liga" off;
    font-feature-settings: "liga" off;
  }

  #now-playing {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .time-display {
    font-size: 0.85rem;
  }

  /* Back button mobile */
  .back-btn {
    align-self: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    padding: 6px 12px;
  }
}

/* ==================== LYRICS PANEL STYLES ==================== */

.lyrics-panel {
  margin-top: 30px;
  background: rgba(20, 24, 35, 0.95);
  border: 1px solid rgba(255, 203, 0, 0.3);
  border-radius: 12px;
  padding: 0;
  backdrop-filter: blur(10px);
  max-height: 400px;
  overflow: hidden;
  animation: fadeIn 0.3s ease-out;
}

.lyrics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: rgba(255, 203, 0, 0.1);
  border-bottom: 1px solid rgba(255, 203, 0, 0.2);
  border-radius: 12px 12px 0 0;
}

.lyrics-header h3 {
  margin: 0;
  color: #FFB800;
  font-family: 'Oxanium', monospace;
  font-weight: 600;
  font-size: 1.2rem;
}

.close-lyrics-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.close-lyrics-btn:hover {
  background: rgba(255, 203, 0, 0.2);
  color: #FFB800;
}

.lyrics-content {
  padding: 20px;
  max-height: 320px;
  overflow-y: auto;
  line-height: 1.8;
  font-family: 'Inter Tight', system-ui, sans-serif;
}

.lyrics-content::-webkit-scrollbar {
  width: 8px;
}

.lyrics-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.lyrics-content::-webkit-scrollbar-thumb {
  background: rgba(255, 203, 0, 0.3);
  border-radius: 4px;
}

.lyrics-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 203, 0, 0.5);
}

.lyrics-line {
  margin: 8px 0;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.lyrics-line.current {
  background: rgba(255, 203, 0, 0.15);
  color: #FFB800;
  font-weight: 600;
  transform: scale(1.02);
  border-left: 3px solid #FFB800;
  padding-left: 15px;
}

.lyrics-line.past {
  color: rgba(255, 255, 255, 0.5);
}

.lyrics-loading {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  padding: 40px 0;
}

.lyrics-error {
  text-align: center;
  color: rgba(255, 100, 100, 0.8);
  padding: 20px;
  font-style: italic;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsiveness for lyrics */
@media (max-width: 700px) {
  .lyrics-panel {
    max-height: 300px;
    margin-top: 20px;
  }
  
  .lyrics-content {
    padding: 15px;
    max-height: 220px;
    font-size: 0.9rem;
  }
  
  .lyrics-header {
    padding: 12px 15px;
  }
  
  .lyrics-header h3 {
    font-size: 1.1rem;
  }
}

/* Ensure button colors override any default styles */
.control-btn {
  color: #FFB800 !important;
  background-color: transparent !important;
  transition: all 0.2s ease !important;
  border: 1px solid rgba(255, 184, 0, 0.3) !important;
}

.control-btn:hover {
  border-color: #FFB800 !important;
  box-shadow: 0 0 8px rgba(255, 184, 0, 0.3) !important;
}

.control-btn:disabled {
  color: rgba(255, 255, 255, 0.3) !important;
  background-color: transparent !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
