  .music-player {
    position: fixed;
    bottom: 2px;
    right: 0px;
    width: 360px;
    background: white;
    color: black;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    padding: 8px;
    z-index: 9999;
    cursor: grab;
    touch-action: none;
    display: none;
  }
  
  .music-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .music-title {
    font-weight: bold;
    font-size: 16px;
  }
  
  .music-artist {
    font-size: 13px;
    color: black;
  }
  
  .close-btn {
    background: transparent;
    border: none;
    color: black;
    font-size: 13px;
    cursor: pointer;
  }
  
  .progress-container {
    width: 100%;
    height: 8px;
    background: #444;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
    position: relative;
    cursor: pointer;
  }
  
  .progress-bar {
    height: 100%;
    width: 0%;
    background: #00d4ff;
    transition: width 0.1s linear;
  }
  
  .controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
  }
  
  .controls button {
    background: none;
    border: none;
    color: white;
    font-size: 13px;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .controls button:hover {
    transform: scale(1.2);
  }
  
  
      .popup-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.6);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 110;
    }


    .popup {
      background: #ffffff;
      color: #000;
      padding: 20px;
      border-radius: 16px;
      box-shadow: 0 0 15px rgba(0,0,0,0.3);
      max-width: 500px;
      width: 90%;
      position: relative;
      transform: scale(0.8);
      opacity: 0;
      animation: popupIn 0.5s ease forwards;
      margin: 20px;
    }

    @keyframes popupIn {
      0% {
        transform: scale(0.8);
        opacity: 0;
      }
      100% {
        transform: scale(1);
        opacity: 1;
      }
    }

    

    .popup .close-btn {
      position: absolute;
      top: 10px;
      right: 14px;
      font-size: 22px;
      font-weight: bold;
      cursor: pointer;
      color: inherit;
    }

  .popup .music-cover {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 15px auto;
  display: block;
}

    .popup h2 {
      margin: 0 0 10px;
    }

    .popup p {
      margin: 4px 0;
      line-height: 1.4;
    }

    .popup .lyrics {
      margin-top: 10px;
      white-space: pre-wrap;
      max-height: 150px;
      overflow-y: auto;
      background: rgba(0,0,0,0.05);
      padding: 10px;
      border-radius: 8px;
    }

    
    .popup .buttons {
      display: flex;
      justify-content: space-between;
      margin-top: 15px;
    }

    .popup button {
      padding: 10px 18px;
      border: none;
      border-radius: 8px;
      background: #1f6feb;
      color: white;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }

    .popup button:hover {
      background: #145ccf;
    }

    @media (max-width: 480px) {
      .popup {
        padding: 15px;
      }
      .popup h2 {
        font-size: 18px;
      }
      .popup .buttons {
        flex-direction: column;
        gap: 10px;
      }
    }