
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
      background: linear-gradient(145deg, #0a0a1a 0%, #12102a 50%, #1a1635 100%);
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1.5rem;
    }

    /* Main Player */
    .player {
      max-width: 560px;
      width: 100%;
      background: rgba(18, 16, 38, 0.7);
      backdrop-filter: blur(16px);
      border-radius: 2.5rem;
      box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
      overflow: hidden;
      transition: transform 0.3s ease;
    }

    /* Header */
    .player-header {
      padding: 1.5rem 1.8rem 0.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .logo i {
      font-size: 1.6rem;
      background: linear-gradient(135deg, #c084fc, #8b5cf6);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .logo h1 {
      font-size: 1.3rem;
      font-weight: 600;
      background: linear-gradient(135deg, #fff, #c4b5fd);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .badge-group {
      display: flex;
      gap: 8px;
    }
    .badge {
      background: rgba(139, 92, 246, 0.2);
      padding: 0.25rem 0.7rem;
      border-radius: 30px;
      font-size: 0.65rem;
      color: #c4b5fd;
    }

    /* Visualizer (fake spectrum) */
    .visualizer {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 4px;
      height: 50px;
      margin: 0.5rem 2rem 0;
    }
    .viz-bar {
      width: 6px;
      height: 20px;
      background: linear-gradient(to top, #8b5cf6, #c084fc);
      border-radius: 4px;
      transition: height 0.1s ease;
    }

    /* Album Art */
    .album-section {
      text-align: center;
      padding: 0.2rem 1.5rem 0.5rem;
    }
    .art-frame {
      width: 210px;
      height: 210px;
      margin: 0 auto;
      border-radius: 1.8rem;
      overflow: hidden;
      box-shadow: 0 20px 35px rgba(0, 0, 0, 0.5);
      transition: 0.3s;
    }
    .art-frame img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Song Details */
    .song-details {
      text-align: center;
      padding: 1rem 1.5rem 0.2rem;
    }
    .song-title {
      font-size: 1.6rem;
      font-weight: 700;
      color: white;
      letter-spacing: -0.3px;
    }
    .song-artist {
      font-size: 0.85rem;
      color: #a0a0c8;
      margin-top: 4px;
    }

    /* Progress */
    .progress-area {
      padding: 0.8rem 1.8rem;
    }
    .progress-container {
      background: rgba(255, 255, 255, 0.1);
      height: 6px;
      border-radius: 10px;
      cursor: pointer;
      position: relative;
    }
    .progress-fill {
      background: linear-gradient(90deg, #a78cfa, #7c3aed);
      width: 0%;
      height: 100%;
      border-radius: 10px;
    }
    .time-info {
      display: flex;
      justify-content: space-between;
      margin-top: 0.4rem;
      font-size: 0.7rem;
      color: #8a8aaa;
    }

    /* Main Controls */
    .controls {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1.5rem;
      padding: 1rem 1.5rem;
    }
    .ctrl {
      background: rgba(255, 255, 255, 0.05);
      border: none;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      color: white;
      font-size: 1.2rem;
      cursor: pointer;
      transition: 0.2s;
    }
    .ctrl:hover {
      background: rgba(139, 92, 246, 0.3);
      transform: scale(1.05);
    }
    .play-big {
      width: 62px;
      height: 62px;
      background: linear-gradient(145deg, #7c3aed, #a78cfa);
      font-size: 1.8rem;
      box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
    }

    /* Extra Features Row */
    .extra-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.4rem 1.8rem 1rem;
      gap: 12px;
      flex-wrap: wrap;
    }
    .volume-wrap {
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(0,0,0,0.3);
      padding: 4px 12px;
      border-radius: 30px;
    }
    .volume-wrap i {
      color: #c4b5fd;
      font-size: 0.9rem;
    }
    input[type="range"] {
      width: 90px;
      height: 4px;
      -webkit-appearance: none;
      background: rgba(255,255,255,0.2);
      border-radius: 5px;
    }
    input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 12px;
      height: 12px;
      background: #a78cfa;
      border-radius: 50%;
      cursor: pointer;
    }
    .repeat-mode, .shuffle-mode {
      background: rgba(255,255,255,0.05);
      border: none;
      color: #aaa;
      font-size: 0.9rem;
      padding: 6px 10px;
      border-radius: 30px;
      cursor: pointer;
      transition: 0.2s;
    }
    .repeat-mode.active, .shuffle-mode.active {
      color: #c084fc;
      background: rgba(139, 92, 246, 0.25);
    }
    .speed-btn {
      background: rgba(255,255,255,0.05);
      border: none;
      color: #c4b5fd;
      padding: 4px 10px;
      border-radius: 20px;
      font-size: 0.7rem;
      font-weight: 600;
      cursor: pointer;
    }

    /* Playlist Section */
    .playlist-area {
      background: rgba(0, 0, 0, 0.35);
      border-top: 1px solid rgba(255,255,255,0.05);
      margin-top: 0.7rem;
      max-height: 290px;
      overflow-y: auto;
    }
    .playlist-header {
      display: flex;
      justify-content: space-between;
      padding: 1rem 1.8rem 0.5rem;
      font-size: 0.7rem;
      color: #8a8aaa;
      letter-spacing: 1px;
    }
    .tracklist {
      list-style: none;
    }
    .track {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.65rem 1.8rem;
      cursor: pointer;
      transition: 0.2s;
      border-left: 3px solid transparent;
    }
    .track:hover {
      background: rgba(139, 92, 246, 0.1);
    }
    .track.active-track {
      background: rgba(139, 92, 246, 0.18);
      border-left-color: #a78cfa;
    }
    .track-left {
      display: flex;
      flex-direction: column;
    }
    .track-title {
      font-size: 0.85rem;
      font-weight: 500;
      color: white;
    }
    .track-artist {
      font-size: 0.65rem;
      color: #8a8aaa;
    }
    .track-duration {
      font-size: 0.7rem;
      color: #6d6d8a;
    }
    .playing-icon {
      color: #c084fc;
      font-size: 0.7rem;
      margin-left: 12px;
    }

    /* custom scroll */
    .playlist-area::-webkit-scrollbar {
      width: 4px;
    }
    .playlist-area::-webkit-scrollbar-track {
      background: rgba(255,255,255,0.05);
    }
    .playlist-area::-webkit-scrollbar-thumb {
      background: #a78cfa;
    }

    /* toast / snackbar */
    .toast-msg {
      position: fixed;
      bottom: 90px;
      left: 50%;
      transform: translateX(-50%);
      background: #1e1a2f;
      backdrop-filter: blur(20px);
      padding: 8px 20px;
      border-radius: 40px;
      color: #c4b5fd;
      font-size: 0.75rem;
      z-index: 1000;
      opacity: 0;
      transition: 0.2s;
      pointer-events: none;
      white-space: nowrap;
    }
    .toast-msg.show {
      opacity: 1;
    }

    @media (max-width: 480px) {
      .art-frame {
        width: 170px;
        height: 170px;
      }
      .song-title {
        font-size: 1.2rem;
      }
      .ctrl {
        width: 42px;
        height: 42px;
      }
      .play-big {
        width: 55px;
        height: 55px;
      }
      .extra-row {
        gap: 8px;
      }
      .volume-wrap {
        padding: 2px 8px;
      }
    }
  