body {
    background: #181c24;
    font-family: 'Vazirmatn', IranSans, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* ساختار کلی پلیر */
.player-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: #232733;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    padding: 25px;
    overflow: hidden;
    box-sizing: border-box;
}

/* تصویر آهنگ */
.player img.cover {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    border-radius: 18px;
    margin: 0 auto 22px;
    display: block;
    box-shadow: 0 3px 18px #0005;
    background: #222;
}

/* کنترل‌ها */
.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 14px 0 10px 0;
}

.controls button {
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.22s;
    box-shadow: 0 3px 10px #0001;
}

.controls button:hover {
    background: #0b7dda;
}

/* نوار پیشرفت */
.progress-area {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.progress-area input[type=range] {
    flex: 1;
    accent-color: #2196f3;
    height: 5px;
    border-radius: 4px;
    background: #31354a;
}

.progress-area span {
    color: #dbe6fd;
    font-size: 15px;
    min-width: 42px;
    text-align: center;
}

/* لیست پخش */
.playlist {
    margin-top: 18px;
    max-height: 180px;
    overflow-y: auto;
}

.playlist-item {
    padding: 9px 0;
    border-bottom: 1px solid #31354a;
    color: #fff;
    cursor: pointer;
    transition: background .18s;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.playlist-item.active,
.playlist-item:hover {
    background: #234889;
    color: #fff;
}

/* واکنش‌گرایی برای تبلت */
@media (max-width: 768px) {
    .player-container {
        width: 100%;
        max-width: 100%;
        padding: 4vw;
        margin: 0;
        border-radius: 0;
    }

    .player img.cover {
        width: 100%;
        height: 55vw;
        max-height: 250px;
        margin-bottom: 18px;
    }

    .controls button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .playlist {
        max-height: 220px;
    }
}

/* واکنش‌گرایی برای موبایل */
@media (max-width: 480px) {
    .player-container {
        width: 100%;
        padding: 5vw;
        border-radius: 0;
    }

    .player img.cover {
        height: 52vw;
        max-height: 210px;
    }

    .progress-area span {
        font-size: 13px;
        min-width: 30px;
    }

    .controls {
        gap: 10px;
    }

    .controls button {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}