/* ============================================
   استایل‌های بخش پادکست‌ها - طراحی متفاوت
   ============================================ */

/* --- بخش اصلی --- */
.podcast-section-modern {
    margin: 30px 0 40px;
    padding: 0 4px;
    position: relative;
}

/* --- باکس شیشه‌ای کل بخش --- */
.podcast-glass-wrapper {
    background: rgba(26, 26, 46, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 24px 20px 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* افکت نورانی - رنگ آبی/بنفش برای پادکست */
.podcast-glass-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.03), transparent 70%);
    pointer-events: none;
    animation: podcastGlow 8s ease-in-out infinite;
}

@keyframes podcastGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20%, -20%) scale(1.2); }
}

.podcast-glass-wrapper:hover {
    border-color: rgba(99, 102, 241, 0.12);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.4), 
                inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* --- هدر بخش --- */
.podcast-section-modern .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 4px;
    position: relative;
    z-index: 1;
}

.podcast-section-modern .section-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'bakhb', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.podcast-section-modern .section-title i {
    color: #818cf8;
    font-size: 1.3rem;
}

.podcast-section-modern .section-more {
    color: #8a8aa0;
    font-size: 0.75rem;
    font-family: 'bakhn', sans-serif;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.podcast-section-modern .section-more:hover {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
    transform: translateX(-4px);
}

.podcast-section-modern .section-more i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.podcast-section-modern .section-more:hover i {
    transform: translateX(-4px);
}

/* --- کانتینر Swiper --- */
.podcast-section-modern .podcast-slider {
    position: relative;
    padding: 8px 4px 16px;
    overflow: hidden;
    z-index: 1;
}

.podcast-section-modern .swiper-wrapper {
    padding-bottom: 12px;
}

.podcast-section-modern .swiper-slide {
    height: auto;
    width: 180px;
    flex-shrink: 0;
}

/* --- کارت پادکست --- */
.podcast-card-glass {
    display: block;
    text-decoration: none;
    padding: 4px;
    height: 100%;
}

.podcast-card-inner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 1/1;
}

.podcast-card-inner:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.12);
    background: rgba(30, 30, 58, 0.7);
}

/* --- کاور تصویر --- */
.podcast-card-cover {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.podcast-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.podcast-card-inner:hover .podcast-card-cover img {
    transform: scale(1.08);
}

/* --- اوورلی پادکست --- */
.podcast-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(15, 15, 26, 0.1) 0%,
        rgba(15, 15, 26, 0.5) 60%,
        rgba(15, 15, 26, 0.8) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.podcast-card-inner:hover .podcast-card-overlay {
    opacity: 1;
}

/* --- دکمه پلی --- */
.podcast-card-play {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #818cf8, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.35);
    transform: scale(0.7) rotate(-10deg);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-bottom: 8px;
}

.podcast-card-inner:hover .podcast-card-play {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
}

.podcast-card-play i {
    color: #ffffff;
    font-size: 1.3rem;
    margin-right: 4px;
}

/* --- موج‌های صوتی (مخصوص پادکست) --- */
.podcast-card-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 24px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.15s;
}

.podcast-card-inner:hover .podcast-card-wave {
    opacity: 1;
    transform: translateY(0);
}

.podcast-card-wave span {
    display: block;
    width: 3px;
    background: #818cf8;
    border-radius: 2px;
    animation: waveAnimation 0.8s ease-in-out infinite alternate;
}

.podcast-card-wave span:nth-child(1) { height: 10px; animation-delay: 0s; }
.podcast-card-wave span:nth-child(2) { height: 18px; animation-delay: 0.1s; }
.podcast-card-wave span:nth-child(3) { height: 14px; animation-delay: 0.2s; }
.podcast-card-wave span:nth-child(4) { height: 22px; animation-delay: 0.3s; }
.podcast-card-wave span:nth-child(5) { height: 16px; animation-delay: 0.4s; }
.podcast-card-wave span:nth-child(6) { height: 12px; animation-delay: 0.5s; }

@keyframes waveAnimation {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* --- اطلاعات (مخفی در حالت عادی) --- */
.podcast-card-info-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 12px 12px;
    background: linear-gradient(180deg, transparent, rgba(15, 15, 26, 0.8));
    text-align: center;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.podcast-card-inner:hover .podcast-card-info-hover {
    opacity: 1;
    transform: translateY(0);
}

.podcast-card-title {
    display: block;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'bakhb', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.podcast-card-artist {
    display: block;
    color: #a5b4fc;
    font-size: 0.7rem;
    font-family: 'bakhn', sans-serif;
    margin-top: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.podcast-card-artist i {
    font-size: 0.6rem;
    margin-left: 4px;
}

/* ============================================
   مخفی کردن تمام المان‌های Swiper
   ============================================ */

/* مخفی کردن دکمه‌های ناوبری */
.podcast-section-modern .swiper-button-next,
.podcast-section-modern .swiper-button-prev {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* مخفی کردن Pagination (bullet‌ها) */
.podcast-section-modern .swiper-pagination {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ============================================
   واکنش‌گرایی
   ============================================ */
@media (max-width: 1024px) {
    .podcast-glass-wrapper {
        padding: 20px 16px 16px;
        border-radius: 20px;
    }
    .podcast-section-modern .swiper-slide {
        width: 160px;
    }
    .podcast-card-title {
        max-width: 140px;
        font-size: 0.8rem;
    }
    .podcast-card-artist {
        font-size: 0.65rem;
    }
}

@media (max-width: 768px) {
    .podcast-section-modern {
        margin: 20px 0 30px;
    }
    .podcast-glass-wrapper {
        padding: 16px 12px 12px;
        border-radius: 16px;
    }
    .podcast-section-modern .section-title {
        font-size: 1rem;
    }
    .podcast-section-modern .section-title i {
        font-size: 1.1rem;
    }
    .podcast-section-modern .section-more {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
    .podcast-section-modern .podcast-slider {
        padding: 8px 4px 16px;
    }
    .podcast-section-modern .swiper-slide {
        width: 140px;
    }
    .podcast-card-play {
        width: 44px;
        height: 44px;
    }
    .podcast-card-play i {
        font-size: 1rem;
    }
    .podcast-card-title {
        max-width: 120px;
        font-size: 0.75rem;
    }
    .podcast-card-artist {
        font-size: 0.6rem;
    }
    .podcast-card-wave span {
        height: 12px;
    }
}

@media (max-width: 480px) {
    .podcast-glass-wrapper {
        padding: 12px 8px 8px;
        border-radius: 12px;
    }
    .podcast-section-modern .swiper-slide {
        width: 120px;
    }
    .podcast-card-play {
        width: 36px;
        height: 36px;
    }
    .podcast-card-play i {
        font-size: 0.8rem;
    }
    .podcast-card-title {
        max-width: 100px;
        font-size: 0.7rem;
    }
    .podcast-card-artist {
        font-size: 0.55rem;
    }
    .podcast-card-info-hover {
        padding: 10px 8px 8px;
    }
    .podcast-card-wave {
        display: none;
    }
}