:root {
            --bg-color: #050505;
            --text-color: #ffffff;
            --accent-color: #ffffff;
            --secondary-text: #888888;
            --shadow-color: rgba(255, 255, 255, 0.15);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            user-select: none;
            /* جلوگیری از انتخاب متن */
        }

        body {
            font-family: 'Vazirmatn', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            position: relative;
        }

        /* پس‌زمینه ستاره‌ای (گراک) */
        .stars-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }

        .star {
            position: absolute;
            background: white;
            border-radius: 50%;
            opacity: 0;
            animation: twinkle var(--duration) ease-in-out infinite;
            animation-delay: var(--delay);
        }

        @keyframes twinkle {
            0% {
                opacity: 0;
                transform: scale(0.5);
            }

            50% {
                opacity: var(--max-opacity);
                transform: scale(1.2);
            }

            100% {
                opacity: 0;
                transform: scale(0.5);
            }
        }

        /* کانتینر اصلی پلیر */
        .player-container {
            position: relative;
            z-index: 10;
            width: 350px;
            background: rgba(20, 20, 20, 0.6);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border-radius: 30px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: all 0.3s ease;
        }

        /* کاور آهنگ */
        .cover-wrapper {
            position: relative;
            width: 220px;
            height: 220px;
            margin-bottom: 25px;
            border-radius: 50%;
            /* دایره‌ای */
            overflow: hidden;
            /* سایه سفید درخشان */
            box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.05),
                0 0 40px 10px rgba(255, 255, 255, 0.2);
            animation: rotate 20s linear infinite;
            animation-play-state: paused;
        }

        .cover-wrapper.playing {
            animation-play-state: running;
        }

        .cover-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        @keyframes rotate {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        /* اطلاعات آهنگ */
        .song-info {
            text-align: center;
            margin-bottom: 25px;
        }

        .song-title {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 5px;
            color: var(--text-color);
        }

        .artist-name {
            font-size: 0.9rem;
            color: var(--secondary-text);
        }

        /* نوار پیشرفت (Progress Bar) */
        .progress-area {
            width: 100%;
            margin-bottom: 20px;
            cursor: pointer;
        }

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

        .progress-current {
            height: 100%;
            width: 0%;
            background: var(--accent-color);
            border-radius: 10px;
            position: relative;
            transition: width 0.1s linear;
        }

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

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

        .timer {
            display: flex;
            justify-content: space-between;
            margin-top: 8px;
            font-size: 0.75rem;
            color: var(--secondary-text);
        }

        /* دکمه‌های کنترلی */
        .controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            margin-bottom: 25px;
        }

        .btn {
            background: none;
            border: none;
            cursor: pointer;
            color: var(--text-color);
            transition: transform 0.2s, color 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn:hover {
            color: #ddd;
        }

        .btn:active {
            transform: scale(0.9);
        }

        .btn-main {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: #fff;
            color: #000;
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
        }

        .btn-main:hover {
            transform: scale(1.05);
            color: #000;
        }

        .btn-small {
            font-size: 1.2rem;
            color: var(--secondary-text);
        }

        .btn-small.active {
            color: #ffd700;
            fill: #ffd700;
        }

        .btn-small.liked {
            color: #ff4757;
            /* رنگ قرمز برای لایک */
        }

        /* آیکون‌های SVG */
        svg {
            width: 24px;
            height: 24px;
            fill: currentColor;
        }

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

        /* دکمه دانلود */
        .download-btn {
            margin-top: 10px;
            padding: 10px 20px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            background: transparent;
            color: #fff;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
        }

        .download-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: #fff;
        }

        /* پیام توست (Toast) */
        .toast {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: rgba(255, 255, 255, 0.9);
            color: #000;
            padding: 10px 20px;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: bold;
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
            z-index: 100;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

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