/* ============================================
   استایل‌های صفحه دانلود (باکس شیشه‌ای)
   ============================================ */

/* --- بخش اصلی --- */
.download-hero-glass {
    position: relative;
    margin: 20px 0 30px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

/* پس‌زمینه بلور */
.hero-bg-blur {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-blur img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(60px);
    opacity: 0.15;
    transform: scale(1.1);
}

/* --- کانتینر اصلی --- */
.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 30px;
    padding: 30px;
    align-items: center;
}

/* --- تصویر --- */
.hero-image-wrapper {
    flex: 0 0 200px;
    max-width: 200px;
}

.hero-image {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image:hover .hero-play-overlay {
    opacity: 1;
}

.hero-play-overlay a {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e94560, #c23152);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    transform: scale(0.7) rotate(-10deg);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(233, 69, 96, 0.35);
    text-decoration: none;
}

.hero-image:hover .hero-play-overlay a {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 12px 40px rgba(233, 69, 96, 0.5);
}

.hero-play-overlay a i {
    margin-right: 4px;
}

/* --- اطلاعات --- */
.hero-info-wrapper {
    flex: 1;
    min-width: 0;
}

.hero-title-section {
    margin-bottom: 16px;
}

.hero-song-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'bakhb', sans-serif;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.hero-artist {
    color: #8a8aa0;
    font-size: 0.9rem;
    font-family: 'bakhn', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-artist i {
    color: #e94560;
    font-size: 0.9rem;
}

.hero-artist a {
    color: #e94560;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-artist a:hover {
    color: #ff6b6b;
}

/* --- آمار --- */
.hero-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8a8aa0;
    font-size: 0.8rem;
    font-family: 'bakhn', sans-serif;
    cursor: pointer;
    transition: color 0.3s ease;
}

.hero-stat:hover {
    color: #e94560;
}

.hero-stat i {
    font-size: 0.9rem;
}

.hero-stat span {
    color: #c8c8e0;
    font-weight: 500;
}

.hero-stat.sharebtn {
    cursor: pointer;
}

/* --- دکمه‌های دانلود --- */
.hero-download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    font-family: 'bakhb', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.04);
}

.hero-download-btn i {
    font-size: 1.1rem;
}

.hero-download-btn:hover {
    transform: translateY(-2px);
}

/* کیفیت بالا */
.hero-download-high {
    background: rgba(76, 175, 80, 0.12);
    border-color: rgba(76, 175, 80, 0.15);
}

.hero-download-high:hover {
    background: rgba(76, 175, 80, 0.25);
    border-color: #4CAF50;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.15);
}

/* کیفیت معمولی */
.hero-download-low {
    background: rgba(33, 150, 243, 0.12);
    border-color: rgba(33, 150, 243, 0.15);
}

.hero-download-low:hover {
    background: rgba(33, 150, 243, 0.25);
    border-color: #2196F3;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.15);
}

/* آلبوم */
.hero-download-album {
    background: rgba(255, 152, 0, 0.12);
    border-color: rgba(255, 152, 0, 0.15);
}

.hero-download-album:hover {
    background: rgba(255, 152, 0, 0.25);
    border-color: #FF9800;
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.15);
}

/* ویدیو */
.hero-download-video {
    background: rgba(156, 39, 176, 0.12);
    border-color: rgba(156, 39, 176, 0.15);
}

.hero-download-video:hover {
    background: rgba(156, 39, 176, 0.25);
    border-color: #AB47BC;
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.15);
}

/* --- بخش متن آهنگ --- */
.hero-lyrics-section {
    margin: 10px 0 20px;
    background: rgba(26, 26, 46, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.hero-lyrics-section .lyricsbox .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    color: #c8c8e0;
    font-size: 0.9rem;
    font-family: 'bakhb', sans-serif;
    padding: 14px 20px;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.hero-lyrics-section .lyricsbox .btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.02);
}

.hero-lyrics-section .lyricsbox .btn .arrow {
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}

.hero-lyrics-section .lyricsbox.active .btn .arrow {
    transform: rotate(180deg);
}

.hero-lyrics-section .lyricsbox .allinfo {
    padding: 0 20px 20px;
}

.hero-lyrics-section .lyricsbox .allinfo .lyrics p {
    color: #8a8aa0;
    font-size: 0.85rem;
    font-family: 'bakhn', sans-serif;
    line-height: 2;
    margin: 0 0 4px 0;
    text-align: center;
}

/* ============================================
   واکنش‌گرایی
   ============================================ */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
    }
    
    .hero-image-wrapper {
        flex: none;
        max-width: 160px;
    }
    
    .hero-song-title {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .hero-artist {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-download-buttons {
        justify-content: center;
    }
    
    .hero-download-btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 16px;
        gap: 16px;
    }
    
    .hero-image-wrapper {
        max-width: 120px;
    }
    
    .hero-play-overlay a {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .hero-song-title {
        font-size: 1.1rem;
    }
    
    .hero-stat {
        font-size: 0.7rem;
        gap: 4px;
    }
    
    .hero-download-btn {
        font-size: 0.7rem;
        padding: 8px 14px;
    }
    
    .hero-download-btn i {
        font-size: 0.9rem;
    }
    
    .hero-lyrics-section .lyricsbox .btn {
        font-size: 0.8rem;
        padding: 12px 16px;
    }
    
    .hero-lyrics-section .lyricsbox .allinfo {
        padding: 0 16px 16px;
    }
    
    .hero-lyrics-section .lyricsbox .allinfo .lyrics p {
        font-size: 0.75rem;
        line-height: 1.8;
    }
}