/* ===========================================
   پلیر حرفه‌ای قرآن - نسخه نهایی کامل با ریسپانسیو
   =========================================== */

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --bg-green: linear-gradient(145deg, #065f46 0%, #022c22 100%);
    --card-green: #0a3d2f;
    --border-green: #2a6b4e;
    --text-white: #f0fdf4;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s ease;
}

/* کانتینر اصلی - عرض 1200px */
.pro-player-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 30px auto;
    padding: 0 15px;
}

/* ========== بخش درباره قاری در بالای صفحه (باکس کامل) ========== */
.singer-about-section {
    background: linear-gradient(135deg, #0a3d2f 0%, #064e3b 100%);
    border-radius: 24px;
    padding: 35px 40px;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.singer-about-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.singer-about-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.singer-about-container {
    display: flex;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.singer-about-image {
    flex-shrink: 0;
    position: relative;
}

.singer-about-image img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #10b981;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.singer-verified {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #10b981;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.singer-verified i {
    font-size: 1rem;
    color: white;
}

.singer-about-info {
    flex: 1;
}

.singer-about-info h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #ffffff;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.singer-badge {
    background: rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(5px);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(16, 185, 129, 0.5);
}

.singer-badge i {
    font-size: 0.7rem;
    color: #10b981;
}

.singer-about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 15px 0;
}

.singer-about-stats span {
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    font-weight: 500;
}

.singer-about-stats span i {
    font-size: 1rem;
    color: var(--primary-light);
}

.singer-about-bio {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    text-align: justify;
    margin-top: 10px;
}

/* بخش اصلی: پلیر و پلی‌لیست کنار هم */
.pro-player-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background: var(--bg-green);
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-green);
    border-bottom: none;
}

/* ========== سمت چپ - پلی‌لیست ========== */
.playlist-sidebar {
    flex: 1;
    background: rgba(0, 0, 0, 0.25);
    border-left: 1px solid var(--border-green);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow: hidden;
}

.playlist-sidebar.collapsed {
    flex: 0 0 0;
    padding: 0;
    border-left: none;
    overflow: hidden;
}

.playlist-sidebar.collapsed .playlist-header,
.playlist-sidebar.collapsed .playlist-search-box,
.playlist-sidebar.collapsed .playlist-items-container {
    display: none;
}

.playlist-sidebar.collapsed + .pro-player-main {
    flex: 0 0 380px;
    margin: 0 auto;
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-green);
    flex-shrink: 0;
}

.playlist-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.playlist-stats span {
    font-size: 0.7rem;
    background: rgba(16, 185, 129, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--primary-light);
}

.playlist-search-box {
    position: relative;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-green);
    flex-shrink: 0;
}

.playlist-search-box i {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.playlist-search-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-green);
    border-radius: 30px;
    padding: 10px 40px 10px 15px;
    color: var(--text-white);
    font-size: 0.75rem;
    transition: var(--transition);
    text-align: right;
}

.playlist-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    max-height: 600px;
    min-height: 200px;
}

.playlist-items-container::-webkit-scrollbar {
    width: 6px;
}

.playlist-items-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.playlist-items-container::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 10px;
}

.playlist-items-container::-webkit-scrollbar-thumb:hover {
    background: #e0e0e0;
}

.playlist-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}

.playlist-items li {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 16px;
    text-align: center;
    border: none;
    overflow: hidden;
    padding: 12px;
}

.playlist-items li:hover {
    background: transparent;
    transform: translateY(-3px);
}

.playlist-items li.active {
    background: transparent;
    border: none;
}

.playlist-item-cover {
    width: 100%;
    height: 160px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border-radius: 12px;
}

.playlist-item-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 12px;
}

.playlist-item-cover i {
    font-size: 2.5rem;
    color: #ffffff;
}

.playlist-item-info {
    flex: 1;
    min-width: 0;
    text-align: right;
    padding: 10px;
}

.playlist-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
    display: block;
    width: 100%;
}

.playlist-item-artist {
    font-size: 0.7rem;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
    display: block;
    width: 100%;
}

/* ========== سمت راست - بخش پلیر ========== */
.pro-player-main {
    flex: 0 0 380px;
    padding: 30px 20px 35px;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.player-visual-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.album-art {
    display: block;
    margin-bottom: 8px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.album-art img {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 1 / 0.95;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.4);
    border: none;
}

/* بخش اطلاعات سوره با سه نقطه */
.song-info-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
    gap: 10px;
}

.song-info {
    text-align: right;
    flex: 1;
}

.song-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--text-white);
    text-align: right;
}

.song-info p {
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0;
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
}

/* دکمه سه نقطه */
.menu-dots-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    padding: 8px;
    margin: 0;
    margin-right: 50px;
    width: 36px;
    height: 36px;
}

.menu-dots-btn:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

.menu-dots-btn i {
    font-size: 1.1rem;
}

/* آیکون سه نقطه افقی */
.menu-dots-btn i.fa-ellipsis-v {
    transform: rotate(90deg);
    display: inline-block;
}

/* منوی dropdown */
.song-menu-dropdown {
    position: fixed;
    background: #0a3d2f;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    min-width: 320px;
    max-width: 380px;
    width: 90%;
    z-index: 10000;
    overflow: hidden;
    backdrop-filter: blur(10px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
}

.menu-header-info {
    flex: 1;
    text-align: right;
}

.menu-surah-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.menu-qari-name {
    font-size: 0.85rem;
    color: #9ca3af;
}

.close-menu-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-menu-btn:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.song-menu-dropdown a,
.song-menu-dropdown button:not(.close-menu-btn) {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-white);
    text-decoration: none;
    background: transparent;
    border: none;
    width: 100%;
    text-align: right;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: inherit;
}

.song-menu-dropdown a:hover,
.song-menu-dropdown button:not(.close-menu-btn):hover {
    background: rgba(16, 185, 129, 0.15);
}

.song-menu-dropdown i {
    width: 22px;
    font-size: 1.1rem;
    color: var(--primary-light);
}

.song-menu-dropdown hr {
    margin: 0;
    border-color: rgba(255, 255, 255, 0.1);
}

/* بخش پیشرفت با دایره سفید */
.progress-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 25px 0;
    direction: ltr;
    position: relative;
}

.time-current,
.time-duration {
    font-size: 0.7rem;
    font-family: monospace;
    opacity: 0.7;
    min-width: 40px;
    text-align: center;
    color: var(--text-white);
}

.progress-bar {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    max-width: 200px;
}

.progress-bar:hover {
    height: 7px;
}

.progress {
    width: 0%;
    height: 100%;
    background: #ffffff;
    border-radius: 5px;
    position: relative;
    z-index: 2;
    transition: width 0.1s linear;
}

.progress-thumb {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    left: 0px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
    z-index: 3;
    pointer-events: none;
    transition: left 0.1s linear;
}

.progress-bar:hover .progress-thumb {
    transform: translateY(-50%) scale(1.2);
}

.progress-buffered {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    z-index: 1;
}

.control-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 25px 0;
    direction: ltr;
}

.control-buttons button {
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-buttons button:hover {
    color: #9ca3af;
    transform: translateY(-3px);
}

.repeat-btn i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.repeat-btn.active i {
    color: var(--primary);
}

.repeat-btn i:before {
    content: "\f01e";
}

.repeat-btn.active i:before {
    content: "\f2f9";
}

.main-play {
    background: white !important;
    color: #1a1a1a !important;
    width: 56px !important;
    height: 56px !important;
    font-size: 1.5rem !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.main-play:hover {
    background: #f0f0f0 !important;
    transform: scale(1.05) !important;
    color: #9ca3af !important;
}

.shuffle-btn.active,
.repeat-btn.active {
    color: var(--primary);
}

.bottom-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-green);
}

.playlist-toggle-btn,
.share-btn,
.download-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.playlist-toggle-btn:hover,
.share-btn:hover,
.download-btn:hover {
    color: #9ca3af;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

/* ========== بخش پایینی: متن سوره ========== */
.lyrics-full-width {
    background: linear-gradient(145deg, #065f46 0%, #064e3b 100%);
    border: 1px solid var(--border-green);
    border-top: none;
    border-radius: 0 0 24px 24px;
    padding: 25px 30px;
    margin-top: 0;
    backdrop-filter: blur(5px);
}

.lyrics-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ffffff;
    text-align: center;
}

.lyrics-surah-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.lyrics-surah-name i {
    color: #ffffff;
    font-size: 1.6rem;
}

.lyrics-content-full {
    max-height: 500px;
    overflow-y: auto;
    font-size: 1.2rem;
    line-height: 2.2;
    color: var(--text-white);
    text-align: right;
    direction: rtl;
    white-space: pre-line;
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 16px;
}

.lyrics-content-full::-webkit-scrollbar {
    width: 6px;
}

.lyrics-content-full::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.lyrics-content-full::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 10px;
}

.lyrics-content-full::-webkit-scrollbar-thumb:hover {
    background: #e0e0e0;
}

.empty-lyrics {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 50px;
    font-size: 1rem;
}

.empty-lyrics i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    color: #ffffff;
}

/* ========== حالت تک آهنگ (بدون پلی‌لیست) ========== */
.pro-player-container.single-song {
    justify-content: center;
}

.pro-player-container.single-song .pro-player-main {
    flex: 0 0 380px;
    max-width: 380px;
    margin: 0 auto;
    border-radius: 24px 24px 0 0;
    padding: 30px 20px 35px;
}

.pro-player-container.single-song .player-visual-section {
    margin-bottom: 20px;
}

.pro-player-container.single-song .album-art {
    margin-bottom: 6px;
}

.pro-player-container.single-song .album-art img {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 1 / 0.95;
    border-radius: 8px;
}

.pro-player-container.single-song .song-info-wrapper {
    margin-top: 20px;
}

/* =========================================== */
/* ========== حذف هایلایت قرمز ============= */
/* =========================================== */

/* حذف هایلایت قرمز از تمام لینک‌ها و دکمه‌های پلیر */
.pro-player-wrapper a:not(.main-play):not(.progress-thumb):not(.progress),
.pro-player-wrapper button:not(.main-play):not(.progress-thumb),
.song-menu-dropdown a,
.song-menu-dropdown button:not(.close-menu-btn),
.singer-about-info h2 a,
.menu-dots-btn,
.close-menu-btn {
    background-color: transparent !important;
    background: transparent !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* لینک صفحه قاری در باکس درباره قاری */
.singer-about-info h2 a {
    color: #ffffff !important;
}

.singer-about-info h2 a:hover {
    color: #ffffff !important;
    opacity: 0.8;
}

/* دکمه سه نقطه */
.menu-dots-btn {
    color: var(--text-white) !important;
}

.menu-dots-btn:hover {
    opacity: 0.7 !important;
    transform: scale(1.05) !important;
}

/* دکمه بستن منو */
.close-menu-btn {
    color: var(--text-white) !important;
}

.close-menu-btn:hover {
    opacity: 0.7 !important;
    transform: scale(1.1) !important;
}

/* دایره سفید نوار پیشرفت */
.progress-thumb {
    background: #ffffff !important;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3) !important;
}

/* دکمه پلی اصلی */
.main-play {
    background: white !important;
    color: #1a1a1a !important;
}

.main-play:hover {
    background: #f0f0f0 !important;
}

/* =========================================== */
/* ========== استایل ریسپانسیو ============= */
/* =========================================== */

/* صفحه نمایش 1200px به پایین */
@media (max-width: 1200px) {
    .playlist-items {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* صفحه نمایش 1000px به پایین */
@media (max-width: 1000px) {
    .playlist-items {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .playlist-items li {
        grid-column: span 1;
    }
    
    .singer-about-container {
        gap: 25px;
    }
    
    .singer-about-info h2 {
        font-size: 1.7rem;
    }
}

/* صفحه نمایش 900px به پایین */
@media (max-width: 900px) {
    .pro-player-container {
        flex-direction: column;
        border-radius: 24px;
    }
    
    .playlist-sidebar {
        border-left: none;
        border-bottom: 1px solid var(--border-green);
    }
    
    .playlist-sidebar.collapsed + .pro-player-main {
        flex: 0 0 100%;
        margin: 0;
    }
    
    .pro-player-main {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .playlist-items {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .singer-about-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .singer-about-stats {
        justify-content: center;
    }
    
    .singer-about-bio {
        text-align: center;
        max-width: 100%;
    }
    
    .singer-about-info h2 {
        justify-content: center;
    }
    
    .menu-dots-btn {
        margin-right: 15px;
    }
}

/* صفحه نمایش 750px به پایین */
@media (max-width: 750px) {
    .pro-player-wrapper {
        padding: 0 10px;
    }
    
    .playlist-items {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .playlist-items-container {
        max-height: 500px;
    }
    
    .lyrics-content-full {
        font-size: 1rem;
        line-height: 2;
        padding: 15px 20px;
    }
    
    .lyrics-surah-name {
        font-size: 1.4rem;
    }
    
    .album-art img {
        max-width: 260px;
    }
    
    .pro-player-main {
        padding: 25px 15px 30px;
    }
    
    .song-info h3 {
        font-size: 1rem;
    }
    
    .song-info p {
        font-size: 0.75rem;
    }
    
    .menu-dots-btn {
        margin-right: 10px;
        width: 32px;
        height: 32px;
    }
    
    .control-buttons {
        gap: 20px;
    }
    
    .main-play {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.3rem !important;
    }
}

/* صفحه نمایش 550px به پایین */
@media (max-width: 550px) {
    .singer-about-section {
        padding: 20px;
    }
    
    .singer-about-image img {
        width: 100px;
        height: 100px;
    }
    
    .singer-about-info h2 {
        font-size: 1.3rem;
    }
    
    .singer-about-stats span {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
    
    .singer-about-bio {
        font-size: 0.8rem;
    }
    
    .playlist-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .playlist-items-container {
        max-height: 400px;
    }
    
    .playlist-item-cover {
        height: 130px;
    }
    
    .lyrics-content-full {
        font-size: 0.9rem;
        line-height: 1.9;
        padding: 12px 15px;
    }
    
    .lyrics-surah-name {
        font-size: 1.2rem;
    }
    
    .lyrics-surah-name i {
        font-size: 1rem;
    }
    
    .album-art img {
        max-width: 220px;
    }
    
    .pro-player-main {
        padding: 20px 12px 25px;
    }
    
    .control-buttons {
        gap: 15px;
    }
    
    .control-buttons button {
        font-size: 1rem;
    }
    
    .main-play {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.2rem !important;
    }
    
    .bottom-buttons {
        gap: 15px;
    }
    
    .playlist-toggle-btn,
    .share-btn,
    .download-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .menu-dots-btn {
        margin-right: 5px;
        width: 28px;
        height: 28px;
    }
    
    .menu-dots-btn i {
        font-size: 0.9rem;
    }
    
    .progress-section {
        gap: 8px;
    }
    
    .progress-bar {
        max-width: 150px;
    }
    
    .song-menu-dropdown {
        min-width: 260px;
    }
    
    .song-menu-dropdown a,
    .song-menu-dropdown button:not(.close-menu-btn) {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

/* صفحه نمایش 400px به پایین */
@media (max-width: 400px) {
    .playlist-items {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .playlist-item-cover {
        height: 180px;
    }
    
    .album-art img {
        max-width: 200px;
    }
    
    .song-info h3 {
        font-size: 0.95rem;
    }
    
    .song-info p {
        font-size: 0.7rem;
    }
    
    .menu-dots-btn {
        margin-right: 0;
    }
    
    .control-buttons {
        gap: 12px;
    }
    
    .progress-bar {
        max-width: 120px;
    }
}

/* ========== نوتیفیکیشن ========== */
.toast-notification {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 0.8rem;
    z-index: 1002;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    direction: rtl;
}

.toast-notification.show {
    transform: translateX(0);
}

/* ========== انیمیشن ========== */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.main-play.playing {
    animation: pulse 1.5s infinite;
}