  /* ═══════════════════════════════════════
           RESET & BASE
           ═══════════════════════════════════════ */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
            background: #171717;
            color: #fff;
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* ═══════════════════════════════════════
           BACKGROUND STARS
           ═══════════════════════════════════════ */
        .stars-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            overflow: hidden;
        }

        .star {
            position: absolute;
            width: 2px;
            height: 2px;
            background: #fff;
            border-radius: 50%;
            opacity: 0.3;
            animation: twinkle 3s ease-in-out infinite;
        }

        @keyframes twinkle {
            0%, 100% { opacity: 0.3; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.5); }
        }

        /* ═══════════════════════════════════════
           MAIN LAYOUT
           ═══════════════════════════════════════ */
        .main-wrapper {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* Header */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 40px;
            background: linear-gradient(to bottom, rgba(23, 23, 23, 0.9), transparent);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.3rem;
            font-weight: 700;
            color: #fff;
            text-decoration: none;
        }

        .logo i {
            animation: bounce 2s ease infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
        }

        .header-actions {
            display: flex;
            gap: 15px;
        }

        .header-btn {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .header-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.1);
        }

        /* ═══════════════════════════════════════
           CONTENT AREA
           ═══════════════════════════════════════ */
        .content-area {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            gap: 60px;
            padding: 40px 20px 120px;
        }

        /* ═══════════════════════════════════════
           PLAYER SECTION
           ═══════════════════════════════════════ */
        .player-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
            padding: 50px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 30px;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            min-width: 400px;
        }

        /* Cover Art */
        .cover-wrapper {
            width: 300px;
            height: 300px;
            border-radius: 25px;
            overflow: hidden;
            box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
            position: relative;
        }

        .cover-wrapper::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, transparent 40%, rgba(0,0,0,0.3));
            z-index: 1;
        }

        .cover-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .cover-wrapper.playing .cover-image {
            transform: scale(1.08);
        }

        /* Vinyl effect when playing */
        .cover-wrapper.playing::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: rgba(0, 0, 0, 0.8);
            border-radius: 50%;
            z-index: 2;
        }

        /* Song Info */
        .song-info {
            text-align: center;
            width: 100%;
        }

        .song-title {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 8px;
            color: #fff;
            line-height: 1.3;
        }

        .artist-name {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .artist-name a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s;
        }

        .artist-name a:hover {
            color: #fff;
        }

        /* Progress Bar */
        .progress-area {
            width: 100%;
            cursor: pointer;
        }

        .progress-bar {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .progress-current {
            height: 100%;
            background: linear-gradient(90deg, #1db954, #1ed760);
            border-radius: 10px;
            width: 0%;
            transition: width 0.1s linear;
            position: relative;
        }

        .progress-current::after {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 14px;
            height: 14px;
            background: #fff;
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.3s;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }

        .progress-area:hover .progress-current::after {
            opacity: 1;
        }

        .timer {
            display: flex;
            justify-content: space-between;
            margin-top: 12px;
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.5);
            font-variant-numeric: tabular-nums;
        }

        /* Controls */
        .controls {
            display: flex;
            align-items: center;
            gap: 25px;
        }

        .btn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 12px;
            border-radius: 50%;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn svg {
            fill: #fff;
            transition: fill 0.3s;
        }

        .btn-small {
            width: 50px;
            height: 50px;
        }

        .btn-small:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.1);
        }

        .btn-small svg {
            width: 24px;
            height: 24px;
        }

        .btn-main {
            width: 75px;
            height: 75px;
            background: #fff;
            border-radius: 50%;
            box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
        }

        .btn-main svg {
            fill: #171717;
            width: 35px;
            height: 35px;
        }

        .btn-main:hover {
            transform: scale(1.1);
            box-shadow: 0 15px 50px rgba(255, 255, 255, 0.3);
        }

        /* Active states */
        .btn.liked svg {
            fill: #e74c3c;
        }

        .btn.saved svg {
            fill: #f1c40f;
        }

        /* Volume Control */
        .volume-control {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 10px;
        }

        .volume-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.6);
            cursor: pointer;
            padding: 5px;
            transition: color 0.3s;
        }

        .volume-btn:hover {
            color: #fff;
        }

        .volume-slider {
            width: 100px;
            height: 4px;
            -webkit-appearance: none;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            cursor: pointer;
        }

        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 12px;
            height: 12px;
            background: #fff;
            border-radius: 50%;
            cursor: pointer;
        }

        /* Download Button */
        .download-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 14px 35px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 30px;
            color: #fff;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .download-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .download-btn svg {
            fill: #fff;
        }

        /* ═══════════════════════════════════════
           TAGS SECTION
           ═══════════════════════════════════════ */
        .tags-section {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 25px;
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 35px;
            min-width: 350px;
            max-width: 400px;
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .section-header i {
            font-size: 1.4rem;
            color: rgba(255, 255, 255, 0.7);
        }

        .section-header h3 {
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
        }

        .tags-container {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .tag-item {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 18px;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 25px;
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .tag-item:hover {
            background: rgba(255, 255, 255, 0.12);
            border-color: rgba(255, 255, 255, 0.25);
            color: #fff;
            transform: translateY(-3px);
        }

        .tag-item i {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.5);
        }

        .tags-empty {
            text-align: center;
            padding: 40px 20px;
            color: rgba(255, 255, 255, 0.4);
        }

        .tags-empty i {
            font-size: 3rem;
            margin-bottom: 15px;
            display: block;
        }

        /* ═══════════════════════════════════════
           RELATED SONGS
           ═══════════════════════════════════════ */
        .related-section {
            margin-top: 30px;
            padding-top: 25px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .related-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
        }

        .related-header h4 {
            font-size: 1rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.8);
        }

        .related-header a {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
            transition: color 0.3s;
        }

        .related-header a:hover {
            color: #fff;
        }

        .related-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .related-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 12px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            color: inherit;
        }

        .related-item:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateX(-5px);
        }

        .related-item.active {
            background: rgba(29, 185, 84, 0.15);
            border: 1px solid rgba(29, 185, 84, 0.3);
        }

        .related-cover {
            width: 55px;
            height: 55px;
            border-radius: 12px;
            object-fit: cover;
        }

        .related-info {
            flex: 1;
            min-width: 0;
        }

        .related-title {
            font-size: 0.95rem;
            font-weight: 600;
            color: #fff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .related-artist {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.5);
            margin-top: 4px;
        }

        .related-duration {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.4);
        }

        /* ═══════════════════════════════════════
           TOAST NOTIFICATION
           ═══════════════════════════════════════ */
        .toast {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            padding: 16px 35px;
            border-radius: 15px;
            font-size: 0.95rem;
            font-weight: 500;
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            z-index: 1000;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .toast.show {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }

        .toast.success {
            background: linear-gradient(135deg, #1db954, #1ed760);
            color: #fff;
            box-shadow: 0 10px 40px rgba(29, 185, 84, 0.4);
        }

        .toast.error {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: #fff;
            box-shadow: 0 10px 40px rgba(231, 76, 60, 0.4);
        }

        .toast.info {
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: #fff;
            box-shadow: 0 10px 40px rgba(52, 152, 219, 0.4);
        }

        /* ═══════════════════════════════════════
           RESPONSIVE
           ═══════════════════════════════════════ */
        @media (max-width: 1000px) {
            .content-area {
                flex-direction: column;
                align-items: center;
                gap: 40px;
            }

            .player-section,
            .tags-section {
                min-width: auto;
                width: 100%;
                max-width: 450px;
            }
        }

        @media (max-width: 500px) {
            .header {
                padding: 15px 20px;
            }

            .player-section {
                padding: 30px 20px;
            }

            .cover-wrapper {
                width: 250px;
                height: 250px;
            }

            .song-title {
                font-size: 1.4rem;
            }

            .controls {
                gap: 15px;
            }

            .btn-small {
                width: 45px;
                height: 45px;
            }

            .btn-main {
                width: 65px;
                height: 65px;
            }

            .btn-main svg {
                width: 28px;
                height: 28px;
            }

            .tags-section {
                padding: 25px;
            }
        }