/**
 * NiMusic - استایل سفارشی
 * @version 3.0.0
 * تم تیره - هماهنگ با Bootstrap
 */

/* ============================================
   فونت و تایپوگرافی
============================================ */
/* تعریف فونت آوینی */
@font-face {
    font-family: 'Aviny';
    src: url('/assets/fonts/aviny.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* تعریف فونت ایران‌سنس */
@font-face {
    font-family: 'IranSansDN';
    src: url('/assets/fonts/iransansdn.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* استفاده از فونت در کل سایت */
body {
    font-family: 'IranSansDN', 'Aviny',  sans-serif;
    background-color: #121212;
    color: #fff;
    line-height: 1.8;
}

/*body {*/
/*    font-family: 'Vazirmatn', sans-serif;*/
/*    background-color: #121212;*/
/*    color: #fff;*/
/*    line-height: 1.8;*/
/*}*/


	.bslogo {
			display: flex;
			text-indent: -300px;
			overflow: hidden;
			justify-content: center;
			align-items: center
		}

		.bslogo svg {
			width: 173px;
			height: 45px;
			fill: #fff
		}
/* ============================================
   کارت موزیک
============================================ */
.music-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    background-color: #1e1e1e;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
}

.music-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(187, 134, 252, 0.2);
}

.music-card img {
    transition: transform 0.5s ease;
}

.music-card:hover img {
    transform: scale(1.08);
}

/* ============================================
   انیمیشن‌ها
============================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.loading-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

/* ============================================
   اسکرول بار
============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
    transition: all 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: #bb86fc;
}

/* ============================================
   لینک‌ها و هاور
============================================ */
a {
    transition: all 0.3s ease;
}

.hover-primary:hover {
    color: #bb86fc !important;
}

.hover-bg-primary:hover {
    background-color: #bb86fc !important;
    color: #000 !important;
}

/* ============================================
   فرم‌ها
============================================ */
.form-control:focus {
    background-color: rgba(255,255,255,0.15) !important;
    border-color: #bb86fc !important;
    box-shadow: 0 0 0 0.2rem rgba(187, 134, 252, 0.25) !important;
}

/* ============================================
   پلیر صوتی
============================================ */
audio {
    width: 100%;
    border-radius: 30px;
}

audio::-webkit-media-controls-panel {
    background-color: #2a2a2a;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button {
    background-color: #bb86fc;
    border-radius: 50%;
}

/* ============================================
   بج و نشان
============================================ */
.badge {
    transition: all 0.3s ease;
}

.badge.bg-dark:hover {
    background-color: #bb86fc !important;
    color: #000 !important;
}

/* ============================================
   دکمه بازگشت به بالا
============================================ */
#backToTop {
    opacity: 0.9;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(187, 134, 252, 0.3);
}

#backToTop:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(187, 134, 252, 0.4);
}

/* ============================================
   ریسپانسیو موبایل
============================================ */
@media (max-width: 768px) {
    .music-title {
        font-size: 0.9rem;
    }
    
    .music-artist {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 1rem !important;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
}


/*=======================================
جدید 
========================================*/


        :root {
            --bs-primary: #bb86fc;
            --bs-primary-rgb: 187, 134, 252;
            --bs-dark: #121212;
            --bs-dark-rgb: 18, 18, 18;
            --bs-surface: #1e1e1e;
            --bs-surface-rgb: 30, 30, 30;
        }
        
       
        
        .bg-surface {
            background-color: var(--bs-surface) !important;
        }
        
        .card {
            background-color: var(--bs-surface);
            border: none;
            border-radius: 16px;
            transition: transform 0.2s, box-shadow 0.2s;
            height: 100%;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(187, 134, 252, 0.2);
        }
        
        .btn-primary {
            background-color: var(--bs-primary);
            border-color: var(--bs-primary);
            color: #000;
            font-weight: 600;
        }
        
        .btn-primary:hover {
            background-color: #9966cc;
            border-color: #9966cc;
            color: #000;
        }
        
        .navbar {
            background-color: rgba(18, 18, 18, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        
        .navbar-brand {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--bs-primary) !important;
        }
        
        .nav-link {
            color: #fff !important;
            font-weight: 500;
            padding: 0.5rem 1rem !important;
            border-radius: 8px;
            transition: all 0.2s;
        }
        
        .nav-link:hover,
        .nav-link.active {
            background-color: rgba(187, 134, 252, 0.1);
            color: var(--bs-primary) !important;
        }
        
        .search-form {
            position: relative;
            min-width: 300px;
        }
        
        .search-form .form-control {
            background-color: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            color: #fff;
            padding: 0.75rem 1rem;
            padding-right: 3rem;
            border-radius: 30px;
        }
        
        .search-form .form-control:focus {
            background-color: rgba(255,255,255,0.15);
            border-color: var(--bs-primary);
            box-shadow: 0 0 0 0.2rem rgba(187, 134, 252, 0.25);
        }
        
        .search-form .btn {
            position: absolute;
            right: 0;
            top: 0;
            height: 100%;
            background: transparent;
            border: none;
            color: #aaa;
            padding: 0 1rem;
        }
        
        .music-card {
            position: relative;
            overflow: hidden;
        }
        
        .music-card img {
            width: 100%;
            aspect-ratio: 1/1;
            object-fit: cover;
            transition: transform 0.3s;
        }
        
        .music-card:hover img {
            transform: scale(1.05);
        }
        
        .music-title {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .music-artist {
            font-size: 0.875rem;
            color: #aaa;
        }
        
        .view-count {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: rgba(0,0,0,0.7);
            color: #fff;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            backdrop-filter: blur(4px);
        }
        
        .view-count i {
            margin-left: 4px;
            color: var(--bs-primary);
        }
        
        .section-title {
            position: relative;
            margin-bottom: 2rem;
            font-weight: 700;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            right: 0;
            width: 60px;
            height: 4px;
            background: var(--bs-primary);
            border-radius: 2px;
        }
        
        .pagination .page-link {
            background-color: var(--bs-surface);
            border-color: rgba(255,255,255,0.1);
            color: #fff;
            padding: 0.75rem 1rem;
            margin: 0 0.25rem;
            border-radius: 8px !important;
        }
        
        .pagination .page-link:hover {
            background-color: var(--bs-primary);
            border-color: var(--bs-primary);
            color: #000;
        }
        
        .pagination .page-item.active .page-link {
            background-color: var(--bs-primary);
            border-color: var(--bs-primary);
            color: #000;
            font-weight: 600;
        }
        
        .badge {
            padding: 0.5rem 1rem;
            border-radius: 30px;
            font-weight: 500;
        }
        
        @media (max-width: 768px) {
            .search-form {
                min-width: 100%;
                margin-top: 1rem;
            }
            
            .navbar-collapse {
                background-color: var(--bs-surface);
                padding: 1rem;
                border-radius: 16px;
                margin-top: 1rem;
            }
        }
        
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        
        ::-webkit-scrollbar-track {
            background: var(--bs-dark);
        }
        
        ::-webkit-scrollbar-thumb {
            background: #444;
            border-radius: 4px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: var(--bs-primary);
        }
    /*=======================================
video 
========================================*/

/* ===== گرادیانت اختصاصی ویدیو ===== */
.video-gradient-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #1e1e3f 50%, #2a1a3a 100%);
    position: relative;
    margin-top: -2rem;
    border-radius: 0 0 50px 50px;
}

.video-stat-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 40px;
    color: #fff;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.video-stat-badge i {
    color: var(--bs-primary);
}

/* ===== کارت ویدیو ===== */
.video-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(187, 134, 252, 0.2);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    border-radius: 16px 16px 0 0;
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.video-card:hover .thumbnail-img {
    transform: scale(1.08);
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s;
}

.video-card:hover .thumbnail-overlay {
    opacity: 1;
}

.play-button-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--bs-primary), #9966cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 2rem;
    transition: all 0.4s;
    transform: scale(0.8);
}

.video-card:hover .play-button-large {
    transform: scale(1);
}

.play-button-large:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 0 30px rgba(187, 134, 252, 0.6);
}

.video-duration,
.video-quality,
.video-views {
    position: absolute;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    z-index: 2;
}

.video-duration {
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.video-quality {
    top: 12px;
    right: 12px;
    background: rgba(187, 134, 252, 0.9);
    color: #000;
}

.video-views {
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
}

.video-info {
    padding: 16px;
    background: rgba(30, 30, 46, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.video-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--bs-primary), #9966cc);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.video-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-artist {
    font-size: 0.85rem;
}

.meta-item {
    color: #aaa;
    font-size: 0.75rem;
    margin-left: 12px;
}

.meta-item i {
    color: var(--bs-primary);
    margin-left: 4px;
}

/* ===== فیلترها ===== */
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 30px;
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--bs-primary);
    color: #000;
}

.filter-btn i {
    font-size: 0.9rem;
}

/* ===== رنک خوانندگان ===== */
.artist-rank-list {
    display: flex;
    flex-direction: column;
}

.artist-rank-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.artist-rank-item:hover {
    background: rgba(187, 134, 252, 0.1);
    transform: translateX(-5px);
}

.rank-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.rank-1 {
    background: linear-gradient(145deg, #ffd700, #ffb347);
    color: #000;
}

.rank-2 {
    background: linear-gradient(145deg, #c0c0c0, #a0a0a0);
    color: #000;
}

.rank-3 {
    background: linear-gradient(145deg, #cd7f32, #b87333);
    color: #fff;
}

.artist-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.artist-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.video-count {
    color: #aaa;
    font-size: 0.75rem;
}

.video-count i {
    color: var(--bs-primary);
    margin-left: 4px;
}

/* ===== برچسب‌ها ===== */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #ddd;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.tag:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #000;
    transform: translateY(-2px);
}

/* ===== حالت خالی ===== */
.empty-state {
    background: rgba(30, 30, 46, 0.6);
    backdrop-filter: blur(10px);
}

.empty-icon {
    font-size: 5rem;
    color: #444;
}

.empty-icon i {
    background: linear-gradient(145deg, #444, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .video-gradient-bg {
        border-radius: 0 0 30px 30px;
    }
    
    .video-stat-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .play-button-large {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/*<!-- ============================================ -->*/
/*<!-- استایل‌های اختصاصی صفحه موزیک -->*/
/*<!-- ============================================ -->*/

/* ===== گرادیانت هدر ===== */
.gradient-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    margin-top: -2rem;
    border-radius: 0 0 50px 50px;
}

.gradient-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.gradient-wave svg {
    width: 100%;
    height: 60px;
}

.text-shadow {
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* ===== کارت شیشه‌ای ===== */
.glass-card {
    background: rgba(30, 30, 46, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    border-color: rgba(187, 134, 252, 0.3);
    box-shadow: 0 15px 40px rgba(187, 134, 252, 0.15);
    transform: translateY(-5px);
}

/* ===== کاور موزیک با افکت ===== */
.cover-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: 0;
    padding: 0;
}

.cover-image {
    transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

.cover-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(187, 134, 252, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 1;
}

.cover-wrapper:hover .cover-glow {
    opacity: 1;
}

.view-widget {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.album-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(187, 134, 252, 0.9);
    backdrop-filter: blur(5px);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #000;
    font-weight: 600;
    z-index: 2;
}

/* ===== متا آيتم‌ها ===== */
.meta-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.meta-item:hover {
    background: rgba(187, 134, 252, 0.1);
    border-color: rgba(187, 134, 252, 0.3);
}

.meta-item i {
    font-size: 1.5rem;
    color: var(--bs-primary);
}

/* ===== پلیر اختصاصی ===== */
.custom-player {
    background: linear-gradient(145deg, #1e1e2e, #1a1a28);
    border-radius: 50px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-pause-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--bs-primary), #9966cc);
    border: none;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(187, 134, 252, 0.3);
}

.play-pause-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(187, 134, 252, 0.5);
}

.player-progress {
    flex: 1;
}

.progress-bar-custom {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--bs-primary), #9966cc);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #aaa;
}

.volume-control {
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.volume-control:hover {
    color: var(--bs-primary);
}

/* ===== دکمه‌های دانلود ===== */
.download-buttons {
    /* استایل اصلی شما */
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.download-btn i {
    font-size: 1.5rem;
}

.download-128 {
    background: linear-gradient(145deg, #2a2a3a, #222232);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.download-320 {
    background: linear-gradient(145deg, var(--bs-primary), #9966cc);
    border: none;
    color: #000;
}

.download-btn:hover {
    transform: translateY(-3px);
}

.download-128:hover {
    background: #2a2a3a;
    border-color: var(--bs-primary);
    color: #fff;
}

.download-320:hover {
    background: linear-gradient(145deg, #9966cc, var(--bs-primary));
    color: #000;
}

.btn-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.quality {
    font-weight: 700;
    font-size: 1rem;
}

.quality-desc {
    font-size: 0.7rem;
    opacity: 0.8;
}

.file-size {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ===== اکشن‌ها ===== */
.action-bar {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    transition: all 0.3s;
}

.action-btn:hover {
    background: var(--bs-primary);
    color: #000;
    border-color: var(--bs-primary);
    transform: translateY(-2px);
}

/* ===== آیکون سکشن ===== */
.section-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    background: rgba(187, 134, 252, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    font-size: 1.3rem;
}

/* ===== باکس متن آهنگ ===== */
.lyrics-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 20px;
}

.lyrics-scroll {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 15px;
}

.lyrics-scroll::-webkit-scrollbar {
    width: 4px;
}

.lyrics-scroll::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 2px;
}

.lyric-line {
    color: #ccc;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 2;
    text-align: center;
    transition: all 0.3s;
}

.lyric-line:hover {
    color: #fff;
    transform: scale(1.02);
}

/* ===== ترک‌های مرتبط ===== */
.related-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.related-track:hover {
    background: rgba(187, 134, 252, 0.1);
    border-color: rgba(187, 134, 252, 0.3);
    transform: translateX(-5px);
}

.track-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.track-number {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
}

.track-details {
    display: flex;
    flex-direction: column;
}

.track-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.track-artist {
    color: #aaa;
    font-size: 0.8rem;
}

.play-icon {
    color: var(--bs-primary);
    font-size: 1.3rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.related-track:hover .play-icon {
    opacity: 1;
    transform: translateX(0);
}

/* ===== فرم نظر ===== */
.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    z-index: 10;
}

.input-wrapper .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #fff;
    padding: 15px 45px 15px 20px;
    transition: all 0.3s;
}

.input-wrapper .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(187, 134, 252, 0.1);
}

.input-wrapper textarea.form-control {
    padding-top: 15px;
}

/* ===== کامنت‌ها ===== */
.comment-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--bs-primary), #9966cc);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

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

.comment-author {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.comment-date {
    font-size: 0.8rem;
    color: #888;
}

.comment-text {
    color: #ccc;
    margin-bottom: 12px;
    line-height: 1.7;
}

.comment-actions {
    display: flex;
    gap: 16px;
}

.comment-action {
    background: none;
    border: none;
    color: #888;
    font-size: 0.85rem;
    padding: 4px 0;
    transition: color 0.3s;
}

.comment-action:hover {
    color: var(--bs-primary);
}

/* ===== حالت خالی ===== */
.empty-icon {
    font-size: 4rem;
    color: #444;
}

.empty-state {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
}

/* ===== انیمیشن‌ها ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .gradient-bg {
        border-radius: 0 0 30px 30px;
        padding: 40px 0 !important;
    }
    
    .glass-card {
        border-radius: 20px;
    }
    
    .cover-wrapper {
        border-radius: 16px;
        margin-bottom: 16px;
    }
    
    .download-btn {
        padding: 10px 16px;
    }
    
    .comment-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 576px) {
    .gradient-bg h1 {
        font-size: 1.8rem;
    }
    
    .player-controls {
        flex-wrap: wrap;
    }
    
    .play-pause-btn {
        width: 50px;
        height: 50px;
    }
    
    .action-bar {
        flex-direction: column;
        gap: 15px;
    }
}

/*- ============================================ */
/* استایل‌های جدید برای بخش‌های اضافه شده - فقط کلاس‌های جدید */
/*- ============================================ */

/* کاور موزیک - کلاس‌های جدید (اضافی) */
.music-cover-modern {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(145deg, #1e1e2e, #1a1a28);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .music-cover-modern {
        border-radius: 20px 0 0 20px;
        min-height: 350px;
    }
}

.cover-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

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

.music-cover-modern:hover .cover-image-modern {
    transform: scale(1.08);
}

.cover-glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(187, 134, 252, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
}

.music-cover-modern:hover .cover-glow-effect {
    opacity: 1;
}

/* بج‌های جدید */
.view-badge-modern,
.duration-badge-modern {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.view-badge-modern i,
.duration-badge-modern i {
    color: var(--bs-primary);
    font-size: 0.9rem;
}

.view-badge-modern {
    bottom: 15px;
    right: 15px;
}

.duration-badge-modern {
    top: 15px;
    right: 15px;
}

/* اطلاعات موزیک - کلاس‌های جدید */
.music-info-modern {
    background: linear-gradient(145deg, rgba(30, 30, 46, 0.9), rgba(26, 26, 40, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 100%;
}

.music-header-modern {
    position: relative;
}

.music-label-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(187, 134, 252, 0.15);
    border: 1px solid rgba(187, 134, 252, 0.3);
    color: var(--bs-primary);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.music-label-modern i {
    font-size: 0.9rem;
}

.music-title-modern {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .music-title-modern {
        font-size: 1.5rem;
    }
}

.music-artist-modern {
    font-size: 1.1rem;
    color: var(--bs-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* آمار موزیک - کلاس‌های جدید */
.music-stats-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.stat-item-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 10px 18px;
    flex: 1 1 auto;
    transition: all 0.3s;
}

.stat-item-modern:hover {
    background: rgba(187, 134, 252, 0.08);
    border-color: rgba(187, 134, 252, 0.2);
    transform: translateY(-2px);
}

.stat-icon-modern {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.bg-primary-soft {
    background: rgba(187, 134, 252, 0.15);
    color: var(--bs-primary);
}

.stat-content-modern {
    display: flex;
    flex-direction: column;
}

.stat-label-modern {
    font-size: 0.7rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value-modern {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

/* پلیر موزیک - کلاس‌های جدید */
.player-modern-wrapper {
    width: 100%;
}

.player-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 60px;
    padding: 8px 15px 8px 8px;
    backdrop-filter: blur(10px);
}

.play-btn-modern {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--bs-primary), #9966cc);
    border: none;
    color: #000;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(187, 134, 252, 0.4);
    flex-shrink: 0;
}

.play-btn-modern:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(187, 134, 252, 0.6);
}

.progress-modern {
    flex: 1;
    min-width: 0;
}

.progress-bar-modern {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill-modern {
    height: 100%;
    background: linear-gradient(90deg, var(--bs-primary), #9966cc);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.time-modern {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #aaa;
}

.volume-btn-modern {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.volume-btn-modern:hover {
    background: var(--bs-primary);
    color: #000;
    border-color: var(--bs-primary);
}

/* بخش دانلود - کلاس‌های جدید */
.download-section-modern {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.download-header-modern {
    display: flex;
    align-items: center;
    color: var(--bs-primary);
    font-weight: 600;
    font-size: 1rem;
}

.download-header-modern i {
    font-size: 1.3rem;
}

.download-card-modern {
    display: block;
    position: relative;
    text-decoration: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
    border: 1px solid transparent;
}

.download-card-modern:hover {
    transform: translateY(-5px);
    border-color: var(--bs-primary);
    box-shadow: 0 10px 30px rgba(187, 134, 252, 0.3);
}

.download-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
}

.download-128-modern {
    background: linear-gradient(145deg, #2a2a3a, #222232);
}

.download-320-modern {
    background: linear-gradient(145deg, var(--bs-primary), #9966cc);
}

.download-320-modern .download-quality,
.download-320-modern .download-desc,
.download-320-modern .download-size {
    color: #000;
}

.download-320-modern .download-badge {
    background: rgba(0, 0, 0, 0.2);
    color: #000;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.download-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: inherit;
    flex-shrink: 0;
}

.download-128-modern .download-icon-wrapper {
    color: var(--bs-primary);
}

.download-320-modern .download-icon-wrapper {
    color: #000;
    background: rgba(255, 255, 255, 0.3);
}

.download-info-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.download-quality {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.download-128-modern .download-quality {
    color: #fff;
}

.download-desc {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 2px;
}

.download-128-modern .download-desc {
    color: #aaa;
}

.download-size {
    font-size: 0.8rem;
    font-weight: 600;
}

.download-128-modern .download-size {
    color: var(--bs-primary);
}

.download-badge {
    background: rgba(187, 134, 252, 0.2);
    color: var(--bs-primary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 30px;
    white-space: nowrap;
    border: 1px solid rgba(187, 134, 252, 0.3);
    flex-shrink: 0;
}

.download-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.download-card-modern:hover .download-hover-effect {
    left: 100%;
}

/* لینک‌های اضافی - کلاس‌های جدید */
.additional-links-modern {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}

.additional-links-label {
    color: #aaa;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.additional-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.additional-link-item {
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    transition: all 0.3s;
}

.additional-link-item:hover {
    background: var(--bs-primary);
    color: #000;
}

/* بخش اشتراک‌گذاری - کلاس‌های جدید */
.share-section-modern {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.share-label-modern {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .share-label-modern {
        margin-bottom: 0;
    }
}

.share-buttons-modern {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.share-btn-modern {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.share-btn-modern:hover {
    background: var(--bs-primary);
    color: #000;
    border-color: var(--bs-primary);
    transform: translateY(-3px);
}

.security-badge-modern {
    display: inline-flex;
    align-items: center;
    background: rgba(187, 134, 252, 0.1);
    border: 1px solid rgba(187, 134, 252, 0.2);
    border-radius: 40px;
    padding: 8px 20px;
    color: var(--bs-primary);
    font-size: 0.9rem;
}

.security-badge-modern i {
    font-size: 1.1rem;
}

/* ریسپانسیو برای کلاس‌های جدید */
@media (max-width: 767px) {
    .music-cover-modern {
        min-height: auto;
    }
    
    .cover-image-wrapper {
        aspect-ratio: 1/1;
    }
    
    .stat-item-modern {
        width: 100%;
    }
    
    .download-card-content {
        padding: 15px;
    }
    
    .download-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
    
    .download-quality {
        font-size: 1rem;
    }
    
    .download-badge {
        display: none;
    }
    
    .additional-links-modern {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .music-title-modern {
        font-size: 1.3rem;
    }
    
    .music-artist-modern {
        font-size: 1rem;
    }
    
    .player-modern {
        padding: 5px 12px 5px 5px;
    }
    
    .play-btn-modern {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    
    .share-buttons-modern {
        justify-content: center;
    }
    
    .security-badge-modern {
        width: 100%;
        justify-content: center;
    }
}

/*- ============================================ */

/*- ============================================ */


/*<!-- ============================================ -->*/
/*<!-- استایل‌های اختصاصی صفحه ویدیو -->*/
/*<!-- ============================================ -->*/
/* ============================================ */
/* اصلاحات ویدیو و تصاویر - اضافه شده */
/* ============================================ */

/* اصلاح اندازه تصویر کاور */
.cover-image {
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
}

/* اصلاح پلیر ویدیو */
.custom-video-player video {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    background-color: #000;
}
/* ===== گرادیانت اختصاصی ویدیو ===== */
.video-gradient-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #1e1e3f 50%, #2a1a3a 100%);
    position: relative;
    margin-top: -2rem;
    border-radius: 0 0 50px 50px;
}

.video-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(145deg, var(--bs-primary), #9966cc);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #000;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(187, 134, 252, 0.3);
}

/* ===== پلیر ویدیو ===== */
.custom-video-player {
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-js {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.video-js .vjs-big-play-button {
    background: linear-gradient(145deg, var(--bs-primary), #9966cc);
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    line-height: 70px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-js .vjs-big-play-button:hover {
    background: linear-gradient(145deg, #9966cc, var(--bs-primary));
    transform: translate(-50%, -50%) scale(1.1);
}

.video-js .vjs-control-bar {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.video-js .vjs-play-progress {
    background: var(--bs-primary);
}

.video-js .vjs-slider {
    background: rgba(255,255,255,0.2);
}

/* ===== دکمه‌های دانلود ویدیو ===== */
.download-128 {
    background: linear-gradient(145deg, #2a2a3a, #222232);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.download-320 {
    background: linear-gradient(145deg, var(--bs-primary), #9966cc);
    border: none;
    color: #000;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.download-btn i {
    font-size: 1.5rem;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(187, 134, 252, 0.3);
}

.btn-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.quality {
    font-weight: 700;
    font-size: 1rem;
}

.quality-desc {
    font-size: 0.7rem;
    opacity: 0.8;
}

.file-size {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ===== باکس توضیحات ===== */
.description-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 20px;
    color: #ccc;
    line-height: 1.8;
    max-height: 300px;
    overflow-y: auto;
}

.description-box::-webkit-scrollbar {
    width: 4px;
}

.description-box::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 2px;
}

/* ===== ترک‌های مرتبط ===== */
.related-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.related-track:hover {
    background: rgba(187, 134, 252, 0.1);
    border-color: rgba(187, 134, 252, 0.3);
    transform: translateX(-5px);
}

.track-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.track-number {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
}

.track-details {
    display: flex;
    flex-direction: column;
}

.track-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.track-artist {
    color: #aaa;
    font-size: 0.8rem;
}

.play-icon {
    color: var(--bs-primary);
    font-size: 1.3rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.related-track:hover .play-icon {
    opacity: 1;
    transform: translateX(0);
}

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .video-gradient-bg {
        border-radius: 0 0 30px 30px;
        padding: 30px 0 !important;
    }
    
    .video-gradient-bg h1 {
        font-size: 1.5rem;
    }
    
    .download-btn {
        padding: 10px 16px;
    }
    
    .download-btn i {
        font-size: 1.2rem;
    }
}


/*<!-- ============================================ -->*/
/*<!-- اسکریپت‌های ویدیو -->*/
/*<!-- ============================================ -->*/

/*<!-- ============================================ -->*/
/*<!-- استایل سایدبار (Glassmorphism + مدرن) -->*/
/*<!-- ============================================ -->*/

/* ===== کارت شیشه‌ای ===== */
.glass-card {
    background: rgba(30, 30, 46, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(187, 134, 252, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ===== منوی فعال ===== */
.active-menu {
    background: linear-gradient(90deg, rgba(187, 134, 252, 0.15) 0%, rgba(187, 134, 252, 0.05) 100%) !important;
    border-right: 4px solid var(--bs-primary) !important;
    position: relative;
}

.active-menu .text-primary {
    color: var(--bs-primary) !important;
}

/* ===== آیتم لیست ===== */
.sidebar .list-group-item {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    padding: 0.85rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: none;
    border-right: none;
}

.sidebar .list-group-item:hover {
    background: rgba(187, 134, 252, 0.1);
    border-color: rgba(187, 134, 252, 0.2);
    transform: translateX(-5px);
}

.sidebar .list-group-item i {
    transition: all 0.3s;
}

.sidebar .list-group-item:hover i.bi-chevron-left {
    transform: translateX(-5px);
    color: var(--bs-primary) !important;
}

/* ===== گرید آمار ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.stat-item:hover {
    background: rgba(187, 134, 252, 0.1);
    border-color: rgba(187, 134, 252, 0.3);
    transform: translateY(-2px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(187, 134, 252, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    font-size: 1.2rem;
}

.stat-details {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.7rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

/* ===== آیکون موزیک ===== */
.music-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(187, 134, 252, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    margin-left: 12px;
}

/* ===== رنک بج ===== */
.rank-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 12px;
}

.rank-1 {
    background: linear-gradient(145deg, #ffd700, #ffb347);
    color: #000;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.rank-2 {
    background: linear-gradient(145deg, #c0c0c0, #a0a0a0);
    color: #000;
    box-shadow: 0 4px 10px rgba(192, 192, 192, 0.3);
}

.rank-3 {
    background: linear-gradient(145deg, #cd7f32, #b87333);
    color: #fff;
    box-shadow: 0 4px 10px rgba(205, 127, 50, 0.3);
}

.rank-4, .rank-5, .rank-6, .rank-7, .rank-8 {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ===== کلود دسته‌بندی ===== */
.category-cloud {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cloud-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.cloud-item:hover {
    background: rgba(187, 134, 252, 0.15);
    border-color: var(--bs-primary);
    transform: translateX(-5px);
}

.cloud-item i {
    color: var(--bs-primary);
    font-size: 1.1rem;
}

.cloud-item .badge {
    margin-right: auto;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #aaa;
    font-weight: normal;
    transition: all 0.3s;
}

.cloud-item:hover .badge {
    background: var(--bs-primary) !important;
    color: #000;
}

/* ===== بج دسته‌بندی ===== */
.category-badge {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ddd !important;
    font-weight: 500;
    padding: 8px 14px !important;
    border-radius: 30px;
    transition: all 0.3s;
}

.category-badge:hover {
    background: var(--bs-primary) !important;
    color: #000 !important;
    transform: translateY(-2px);
}

/* ===== آواتار خواننده ===== */
.artist-avatar {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--bs-primary), #9966cc);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-left: 12px;
}

/* ===== آیکون پخش ===== */
.play-icon {
    opacity: 0.7;
    transition: all 0.3s;
}

.sidebar .list-group-item:hover .play-icon {
    opacity: 1;
    transform: scale(1.2);
}

/* ===== ریسپانسیو ===== */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar .list-group-item {
        padding: 0.7rem 1rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cloud-item {
        padding: 10px 14px;
    }
}
