/* ==========================================
   SERIES UPDATE BADGE - با نقطه چشمک‌زن
========================================== */

.series-update-badge {
    margin-bottom: 16px;
    margin-top: 8px;
    width: 100%;
}

.update-badge-content {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 10px 22px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.5));
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    direction: rtl;
}

/* خط شیشه‌ای سفید نازک در سمت راست (جایگزین سبز) */
.update-badge-content::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 4px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.15), 
        rgba(255, 255, 255, 0.05)
    );
    border-radius: 2px;
}

/* نقطه چشمک‌زن - سمت راست */
.update-dot-right {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    animation: updatePulse 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
    margin-left: 4px;
}

.update-text {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
    line-height: 1.4;
    font-family: 'Yekan', 'Tahoma', Arial, sans-serif;
    text-align: right;
}

/* نقطه چشمک‌زن - سمت چپ (پشت متن) */
.update-dot-left {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    flex-shrink: 0;
    animation: updatePulse 2s ease-in-out infinite;
    margin-right: 4px;
}

@keyframes updatePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.7);
        box-shadow: 0 0 5px rgba(34, 197, 94, 0.1);
    }
}

/* ==========================================
   ریسپانسیو
========================================== */

@media (max-width: 768px) {
    .update-badge-content {
        padding: 8px 12px 8px 18px;
        border-radius: 8px;
    }
    
    .update-text {
        font-size: 15px;
    }
    
    .update-dot-right {
        width: 6px;
        height: 6px;
    }
    
    .update-dot-left {
        width: 5px;
        height: 5px;
    }
}

@media (max-width: 480px) {
    .update-badge-content {
        padding: 7px 10px 7px 14px;
    }
    
    .update-text {
        font-size: 14px;
    }
    
    .update-dot-right {
        width: 5px;
        height: 5px;
    }
}

.series-info-cards {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin: 10px 0 14px 0;
}

.series-info-card {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 30px !important;
    padding: 4px 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
    font-weight: 500;
    color: #ffffff !important;
    height: 28px !important;
    white-space: nowrap;
}

.series-info-card:hover {
    background: rgba(0, 0, 0, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-1px);
}

.series-info-card svg {
    width: 13px;
    height: 13px;
    stroke: rgba(255, 255, 255, 0.4);
}

.series-info-card .info-label {
    color: #fff;
    font-weight: 400;
    font-size: 11px;
}

/* وضعیت با رنگ‌های ملایم */
.series-info-card.status-airing span:last-child {
    color: #22c55e;
}
.series-info-card.status-airing svg {
    stroke: #22c55e;
}

.series-info-card.status-ended span:last-child {
    color: #ef4444;
}
.series-info-card.status-ended svg {
    stroke: #ef4444;
}

.series-info-card.status-renewed span:last-child {
    color: #3b82f6;
}
.series-info-card.status-renewed svg {
    stroke: #3b82f6;
}

.series-info-card.status-canceled span:last-child {
    color: #ef4444;
}
.series-info-card.status-canceled svg {
    stroke: #ef4444;
}

.series-info-card.status-hiatus span:last-child {
    color: #fbbf24;
}
.series-info-card.status-hiatus svg {
    stroke: #fbbf24;
}

.series-info-card.status-coming_soon span:last-child {
    color: #a855f7;
}
.series-info-card.status-coming_soon svg {
    stroke: #a855f7;
}

/* جداکننده نقطه */
.separator-dot {
    color: rgba(255, 255, 255, 0.1);
    font-size: 8px;
}

/* ==========================================
   ریسپانسیو
========================================== */

/* تبلت */
@media (max-width: 768px) {
    .series-info-cards {
        gap: 5px 8px;
        margin: 8px 0 10px 0;
        justify-content: flex-start;
    }
    
    .series-info-card {
        padding: 3px 12px !important;
        font-size: 11px !important;
        height: 26px !important;
    }
    
    .series-info-card svg {
        width: 12px;
        height: 12px;
    }
    
    .series-info-card .info-label {
        font-size: 10px;
    }
}

/* موبایل - وسط چین */
@media (max-width: 480px) {
    .series-info-cards {
        justify-content: center !important;
        gap: 5px 6px;
        margin: 6px 0 8px 0;
    }
    
    .series-info-card {
        padding: 3px 10px !important;
        font-size: 10px !important;
        height: 24px !important;
        border-radius: 20px !important;
    }
    
    .series-info-card svg {
        width: 10px;
        height: 10px;
    }
    
    .series-info-card .info-label {
        font-size: 9px;
    }
    
    .separator-dot {
        font-size: 6px;
    }
}

/* موبایل خیلی کوچک */
@media (max-width: 380px) {
    .series-info-cards {
        gap: 4px 4px;
    }
    
    .series-info-card {
        padding: 2px 8px !important;
        font-size: 9px !important;
        height: 22px !important;
        border-radius: 16px !important;
    }
    
    .series-info-card svg {
        width: 9px;
        height: 9px;
    }
}
/* ===== نشانگر تعداد کامنت ===== */
.moviex-tab-btn {
    position: relative;
}

.comment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fbbf24;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    padding: 0;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    font-variant-numeric: tabular-nums;
    transform: translateY(0.5px);
}

/* هاور روی تب - Badge بزرگتر */
.moviex-tab-btn:hover .comment-badge {
    transform: scale(1.15);
    background: #fcd34d;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

/* تب فعال - Badge سفید با سایه */
.moviex-tab-btn.active .comment-badge {
    background: #fbbf24;
    color: #0f172a;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

/* انیمیشن پالس برای Badge (اختیاری) */
.comment-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(251, 191, 36, 0.15);
    }
}

/* توقف انیمیشن هنگام هاور */
.moviex-tab-btn:hover .comment-badge {
    animation: none;
}

/* وقتی تعداد کامنت صفر باشه مخفی میشه */
.comment-badge:empty {
    display: none;
}

/* برای اعداد ۳ رقمی (بیشتر از ۹۹) */
.comment-badge[data-count="3"] {
    min-width: 28px;
    height: 22px;
    font-size: 10px;
}

/* برای اعداد ۴ رقمی (بیشتر از ۹۹۹) */
.comment-badge[data-count="4"] {
    min-width: 34px;
    height: 22px;
    font-size: 9px;
}

.poster-slider {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: visible;
    background: transparent;
}
.glass-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.glass-arrow:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
}

.glass-arrow svg {
    stroke: #ffffff;
}

.poster-slider-track {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.poster-slide {
    display: none;
    width: 100%;
    cursor: zoom-in;
}

.poster-slide.active {
    display: block;
    animation: posterFadeIn 0.4s ease;
}

@keyframes posterFadeIn {
    from { opacity: 0; transform: scale(1.02); }
    to   { opacity: 1; transform: scale(1); }
}

.poster-slide img {
    width: 100%;
    display: block;
    border-radius: 16px;
    aspect-ratio: 2/3;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.poster-slide:hover img {
    transform: scale(1.02);
}

.poster-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 0;
    background: transparent;
    border: none;
    margin-top: 8px;
}

.poster-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

.poster-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.poster-dot.active {
    background: #fbbf24;
    width: 24px;
    border-radius: 4px;
}

.poster-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.poster-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.poster-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: zoom-out;
}

.poster-lightbox-img-wrap {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden; /* ضربدر داخل تصویر */
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    transform: scale(0.85);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.poster-lightbox.active .poster-lightbox-img-wrap {
    transform: scale(1);
}

.poster-lightbox-img-wrap img {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: #0f0f0f;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    z-index: 20001;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
}

.video-modal-header h3 {
    color: #fbbf24;
    margin: 0;
    font-size: 18px;
}

.video-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1;
}

.video-modal-close:hover {
    color: #fbbf24;
    transform: rotate(90deg);
}

.video-modal-body {
    padding: 0;
    background: #000;
    min-height: 400px;
}

#videoPlayerContainer {
    width: 100%;
    height: auto;
    min-height: 500px;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
    }
    
    #videoPlayerContainer {
        min-height: 300px;
    }
}

.poster-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
}

.poster-lightbox-close:hover {
    background: #fbbf24;
    color: #000;
    transform: rotate(90deg) scale(1.1);
}

.poster-lightbox-close svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.lightbox-prev { right: 12px; }
.lightbox-next { left: 12px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(251, 191, 36, 0.8);
    color: #000;
}

.lightbox-prev svg,
.lightbox-next svg {
    width: 18px;
    height: 18px;
}

.lightbox-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    white-space: nowrap;
    z-index: 10;
}

/* موبایل */
@media (max-width: 768px) {
    .poster-lightbox-img-wrap {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .lightbox-prev { right: 8px; }
    .lightbox-next { left: 8px; }
}

.dubbed-audios-wrapper {
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 5;
    margin: 0;
    padding: 0;
}

.download-item.color-green .btn-audio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.92rem 1rem;
    background: #22c55e;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.download-item.color-green .btn-audio:hover {
    background: #16a34a;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.5);
    transform: translateY(-2px);
}

.btn-audio span {
    display: none;
}

.btn-audio svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ========== استایل رسپانسیو یکسان برای همه دکمه‌ها ========== */

@media (max-width: 768px) {
    .btn-audio, 
    .btn-download, 
    .btn-online-play {
        padding: 0.6rem 0.8rem !important;
        font-size: 12px;
        min-height: 38px;
    }
    
    .btn-audio svg, 
    .btn-download svg, 
    .btn-online-play svg {
        width: 16px;
        height: 16px;
    }
    
    .download-item.color-green .btn-audio {
        padding: 0.6rem 0.8rem !important;
        min-height: 38px;
    }
}

@media (max-width: 480px) {
    .download-actions {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .btn-audio, 
    .btn-download, 
    .btn-online-play {
        padding: 0.5rem 0.7rem !important;
        font-size: 11px;
        min-height: 34px;
    }
    
    .btn-audio svg, 
    .btn-download svg, 
    .btn-online-play svg {
        width: 14px;
        height: 14px;
    }
    
    .download-item.color-green .btn-audio {
        padding: 0.5rem 0.7rem !important;
        min-height: 34px;
    }
}

.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* ========== فیلم‌های مشابه - ریسپانسیو ========== */

/* گرید اصلی */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    width: 100%;
    overflow-x: hidden;
}

.similar-movies-section {
    width: 100%;
    overflow-x: hidden;
    padding: 60px 40px;
    box-sizing: border-box;
}

.section-header {
    width: 100%;
    margin-bottom: 30px;
}

/* کارت فیلم */
.movie-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.movie-poster-wrap {
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
}

/* ========== ریسپانسیو ========== */

/* تبلت */
@media (max-width: 1024px) {
    .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .similar-movies-section {
        padding: 40px 30px;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .movies-grid {
        grid-template-columns: repeat(3, 1fr);  /* 3 ستون در موبایل */
        gap: 12px;
    }
    
    .similar-movies-section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 20px;
    }
}


.movie-poster-mobile {
    display: none;
}



.movie-announcements-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 25px 0 20px 0 !important;
}

.movie-announcement {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(4px) !important;
    border-radius: 12px !important;
    padding: 8px 18px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    width: auto !important;
    max-width: 100% !important;
}


.movie-announcement:hover {
    background: rgba(0, 0, 0, 0.5) !important;
    transform: translateX(-3px) !important;
}

.announcement-text {
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
    font-family: 'Yekan', Tahoma, Arial, sans-serif !important;
}


.announcement-green {
    border-right: 4px solid #22c55e !important;
}

.announcement-green .announcement-text {
    color: #22c55e !important;
}


.announcement-yellow {
    border-right: 4px solid #fbbf24 !important;
}

.announcement-yellow .announcement-text {
    color: #fbbf24 !important;
}


.announcement-pink {
    border-right: 4px solid #ec4899 !important;
}

.announcement-pink .announcement-text {
    color: #ec4899 !important;
}

/* موبایل */
@media (max-width: 768px) {
    .movie-announcements-wrapper {
        gap: 8px !important;
        margin: 20px 0 15px 0 !important;
    }
    
    .movie-announcement {
        padding: 6px 14px !important;
    }
    
    .announcement-text {
        font-size: 11px !important;
        white-space: normal !important;
    }
}

@media (max-width: 480px) {
    .movie-announcement {
        width: auto;
        max-width: 100%;
    }
}



/* کانتینر اصلی تب‌ها */
.moviex-tabs-container {
    margin: 0 0 30px 0;
    background: transparent !important;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* هدر تب‌ها */
.moviex-tabs-header {
    display: flex;
    gap: 5px;
    background: #0a0a0a;  /* قبلاً #0a1120 */
    padding: 10px 15px 0 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

/* دکمه‌های تب */
.moviex-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #d1d7e0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 12px 12px 0 0;
    font-family: inherit;
}

.moviex-tab-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.moviex-tab-btn:hover {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.moviex-tab-btn.active {
    color: #fbbf24;
    background: var(--card-bg, #1e293b);
    border-bottom: 2px solid #fbbf24;
}

.moviex-tabs-content {
    padding: 0px;
}

.moviex-tab-pane {
    display: none;
    animation: moviexFadeIn 0.3s ease;
}

.moviex-tab-pane.active {
    display: block;
}


@keyframes moviexFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.moviex-no-related {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
    font-size: 16px;
}

@media (max-width: 768px) {
    /* اسکرول افقی برای تب‌ها */
    .moviex-tabs-header {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding: 10px 10px 0 10px;
        gap: 8px;
    }
    

    .moviex-tabs-header::-webkit-scrollbar {
        height: 3px;
    }
    
    .moviex-tabs-header::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }
    
    .moviex-tabs-header::-webkit-scrollbar-thumb {
        background: #fbbf24;
        border-radius: 10px;
    }
    

    .moviex-tab-btn {
        padding: 10px 14px;
        font-size: 15px;
        white-space: nowrap;
        display: inline-flex;
        flex-shrink: 0;
    }
    
    .moviex-tab-btn svg {
        width: 14px;
        height: 14px;
    }
    

    .moviex-tabs-content {
        padding: 0px 0px;
    }
}

@media (max-width: 480px) {
    .moviex-tab-btn {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .moviex-tab-btn svg {
        width: 12px;
        height: 12px;
    }
}


/* ==========================================
   MOVIES SIMILAR - HORIZONTAL SCROLL MOBILE
========================================== */

@media (max-width: 768px) {
    .similar-movies-section {
        position: relative;
        width: 100%;
        padding: 0 15px !important;
        overflow: visible !important;
    }
    

    .similar-movies-section .section-header {
        position: relative;
        width: 100%;
        margin-bottom: 15px !important;
        padding-right: 0 !important;
        background: var(--background-dark);
        z-index: 2;
    }
    
    .similar-movies-section .section-title {
        font-size: 18px;
        display: inline-block;
    }
    

    .similar-movies-section .movies-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        padding-bottom: 10px !important;
        margin: 0 !important;
    }
    
    .similar-movies-section .movie-card {
        flex: 0 0 120px !important;
        width: 120px !important;
        display: block !important;
    }
    
    .similar-movies-section .movie-poster-wrap {
        width: 100% !important;
        aspect-ratio: 2/3 !important;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .similar-movies-section .movie-title {
        font-size: 11px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }
    
    .similar-movies-section .movie-meta {
        display: none;
    }
    
    .similar-movies-section .movies-grid::-webkit-scrollbar {
        height: 3px;
    }
    
    .similar-movies-section .movies-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }
    
    .similar-movies-section .movies-grid::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .similar-movies-section .movie-card {
        flex: 0 0 100px !important;
        width: 100px !important;
    }
    
    .similar-movies-section .movie-title {
        font-size: 10px !important;
    }
}

/* ==========================================
   MOBILE FIX - MOVIE PAGE
========================================== */

@media (max-width: 768px) {
    
    /* بازآرایی hero-content */
    .single-hero-content {
        display: flex !important;
        flex-direction: column !important;
        padding: 100px 20px 30px !important;
    }
    
    .hero-left {
        order: 1;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-right {
        display: none !important;
    }
    
    .movie-poster-mobile {
        display: block !important;
        margin: 15px auto !important;
        text-align: center !important;
    }
    
    .movie-poster-mobile .movie-poster-large {
        max-width: 200px !important;
        margin: 0 auto !important;
    }
    
    .single-movie-title {
        text-align: center !important;
        font-size: 28px !important;
    }
    
    .original-title {
        text-align: center !important;
        font-size: 14px !important;
    }
    
    .share-section-sidebar,
    .poster-audio-badges-single,
    .audio-badge-single {
        display: none !important;
    }
    
    .movie-badges {
        justify-content: center !important;
    }
    
    .single_like_or_dislike {
        justify-content: center !important;
    }
    
    .movie-action-buttons {
        justify-content: center !important;
    }
    
    .synopsis-text {
        font-size: 14px !important;
        text-align: justify !important;
    }
}


/* موبایل کوچک (480px) */
@media (max-width: 480px) {
    .movies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .similar-movies-section {
        padding: 30px 12px;
    }
    
    .similar-movies-section .movie-card {
        flex: 0 0 110px !important;
        width: 110px !important;
    }
    
    .movie-title {
        font-size: 12px;
    }
    
    .movie-meta {
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .movies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}
.download-section {
    margin: 0rem 0;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.section-header-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.download-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.download-title svg {
    color: #FBBF24;
}

/* دسته‌بندی */
.download-category {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.category-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.category-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.category-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.category-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.download-count {
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}
.download-item.locked {
    opacity: 0.7;
    position: relative;
}

.download-item.locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.03) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 10px;
}

.btn-get-membership-single {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: Yekan, Tahoma, Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-get-membership-single::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-get-membership-single:hover::before {
    width: 300%;
    height: 300%;
}

.btn-get-membership-single:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.5);
}

.btn-get-membership-single svg {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

.btn-get-membership-single span,
.btn-get-membership-single > svg ~ * {
    position: relative;
    z-index: 1;
}

/* Badge اشتراک ویژه */
.premium-badge-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.15) 100%);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 50px;
    color: #fbbf24;
    font-size: 13px;
    font-weight: 700;
    margin-right: 12px;
    font-family: Yekan, Tahoma, Arial, sans-serif;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% { box-shadow: 0 0 10px rgba(251, 191, 36, 0.2); }
    50% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.4); }
}

.premium-badge-title svg {
    width: 14px;
    height: 14px;
    animation: rotate-star 3s linear infinite;
}

@keyframes rotate-star {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* پیام فوتر */
.membership-notice-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.membership-notice-footer svg {
    flex-shrink: 0;
    color: #fbbf24;
}

.membership-notice-footer a {
    color: #fbbf24;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
}

.membership-notice-footer a:hover {
    border-bottom-color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .btn-get-membership-single {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .membership-notice-footer {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .premium-badge-title {
        font-size: 11px;
        padding: 4px 10px;
        margin-right: 8px;
    }
}

@media (max-width: 600px) {
    .download-item.locked {
        padding: 1rem;
    }
    
    .btn-get-membership-single {
        font-size: 14px;
        padding: 0.85rem 1.5rem;
    }
}

.download-count.color-yellow {
    background: rgba(251, 191, 36, 0.15);
    color: #FBBF24;
}

.download-count.color-green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.download-count.color-white {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.toggle-icon {
    transition: transform 0.3s ease;
    color: #9ca3af;
}


.download-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.download-list.active {
    padding: 1rem;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 0.9rem 1.5rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.download-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-3px);
}

.download-item.color-yellow:hover {
    border-color: rgba(251, 191, 36, 0.3);
}

.download-item.color-green:hover {
    border-color: rgba(34, 197, 94, 0.3);
}

.download-item.color-white:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.download-item:last-child {
    margin-bottom: 0;
}

/* جزئیات دانلود */
.download-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    flex: 1;
}

.detail-10bit-note-wrapper {
    width: 100%;
    flex-basis: 100%;
    order: 10;
    display: flex;
    justify-content: flex-start;
}

.detail-10bit-note {
    display: inline-block;
    width: auto;
    font-size: 12px;
    color: #d1d7e0;
    box-sizing: border-box;
}

.detail-10bit-note .detail-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    color: var(--primary-color);
}

.detail-10bit-note span {
    display: inline;
    vertical-align: middle;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.detail-icon {
    flex-shrink: 0;
}

/* رنگ ایکون‌ها بر اساس نوع */
.download-item.color-yellow .detail-icon {
    color: #FBBF24;
}

.download-item.color-green .detail-icon {
    color: #22c55e;
}

.download-item.color-white .detail-icon {
    color: #ffffff;
}

.detail-label {
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.detail-value {
    font-weight: 600;
    white-space: nowrap;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

/* رنگ متن بر اساس نوع */
.download-item.color-yellow .detail-value {
    color: #FBBF24;
}
.download-actions {
    display: flex;
    align-items: center;
    gap: 12px;          
    flex-wrap: nowrap;
}
@media (max-width: 600px) {
    .download-actions {
        flex-wrap: wrap;
        gap: 10px;
    }

    .download-actions a {
        flex: 1;
        justify-content: center;
    }
}
.download-item.color-green .detail-value {
    color: #22c55e;
}

.download-item.color-white .detail-value {
    color: #ffffff;
}

.detail-notes {
    flex-basis: 100%;
}

.detail-notes .detail-value {
    color: #d1d5db;
}

/* دکمه دانلود */
.btn-download {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.download-item.color-yellow .btn-download {
    background: #FBBF24;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.download-item.color-yellow .btn-download:hover {
    background: #f59e0b;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.5);
}

.download-item.color-green .btn-download {
    background: #22c55e;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.download-item.color-green .btn-download:hover {
    background: #16a34a;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.5);
}

.download-item.color-white .btn-download {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.download-item.color-white .btn-download:hover {
    background: #e5e5e5;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.5);
}

.btn-download:hover {
    transform: translateY(-2px);
}

.btn-download svg {
    flex-shrink: 0;
}

/* دکمه پخش آنلاین */
.btn-online-play {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

/* رنگ دکمه پخش آنلاین بر اساس نوع */
.download-item.color-yellow .btn-online-play {
    background: rgba(251, 191, 36, 0.15);
    color: #FBBF24;
    border: 2px solid #FBBF24;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
}

.download-item.color-yellow .btn-online-play:hover {
    background: #FBBF24;
    color: #000;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.5);
}

.download-item.color-green .btn-online-play {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 2px solid #22c55e;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

.download-item.color-green .btn-online-play:hover {
    background: #22c55e;
    color: #000;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.5);
}

.download-item.color-white .btn-online-play {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.download-item.color-white .btn-online-play:hover {
    background: #ffffff;
    color: #000;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.5);
}

.btn-online-play:hover {
    transform: translateY(-2px);
}

.btn-online-play svg {
    flex-shrink: 0;
}

/* ریسپانسیو */
@media (max-width: 968px) {
    .download-details {
        gap: 1rem;
    }
    
    .detail-item {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .download-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }
    
    .download-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .detail-item {
        width: 100%;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .category-toggle {
        padding: 0.875rem 1rem;
    }
    
    .category-label {
        font-size: 1rem;
    }
    
    .download-list.active {
        padding: 0.75rem;
    }
}
/* ==========================================
   عوامل دوبله (داخل بخش جزئیات بیشتر)
========================================== */

.dubbing-info-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.dubbing-info-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}

.dubbing-info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #fbbf24;
    margin: 0;
}

.dubbing-info-title svg {
    stroke: #fbbf24;
}

.dubbing-info-content {
    font-family: 'Yekan', Tahoma, Arial, sans-serif;
    line-height: 1.7;
    color: #cbd5e1;
    font-size: 14px;
}

.dubbing-info-text p {
    margin-bottom: 10px;
}

.dubbing-info-text ul,
.dubbing-info-text ol {
    padding-right: 20px;
    margin: 8px 0;
}

.dubbing-info-text li {
    margin-bottom: 4px;
}

.dubbing-info-text strong {
    color: #fbbf24;
}


/* ==========================================
   SERIES DOWNLOADS STYLES
========================================== */

/* کانتینر اصلی دانلود سریال */
.series-downloads {
    margin-top: 20px;
}

/* هر فصل */
.row_season_n_dl {
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

/* عنوان فصل */
.title_series_row_n {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.title_series_row_n:hover {
    background: rgba(255, 255, 255, 0.08);
}

.title_series_row_n .right_side {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.season_name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.label_status {
    font-size: 12px;
    padding: 4px 12px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 20px;
    color: #22c55e;
}

.arrow_holder {
    transition: transform 0.3s ease;
}

.title_series_row_n.active .arrow_holder {
    transform: rotate(180deg);
}

/* بدنه فصل */
.body_row_season_n_dl {
    padding: 0;
    transition: all 0.3s ease;
}

.inner_body_row_season_n_dl {
    padding: 5px 0;
}

/* ==========================================
   SERIES QUALITY - ریسپانسیو موبایل
========================================== */

/* هر کیفیت */
.item_quality_n_row {
    margin: 10px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    overflow: hidden;
}

/* عنوان کیفیت */
.quality_title_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quality_title_item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.quality_title_item .right_side {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.item_meta_qu_r_n {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 25px;
}

.item_meta_qu_r_n:not(:last-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.icon_row_q_n svg {
    width: 18px;
    height: 18px;
}

.label_meta_qu {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.value_meta_qu {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

.qua_val_text {
    color: #fff;
}

.label_row_q_n {
    font-size: 13px;
    padding: 2px 8px;
    background: #F59E0B;
    border-radius: 20px;
    color: #fff;
}

.sep_line {
    width: 1px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 15px;
}

/* ==========================================
   ریسپانسیو - موبایل
========================================== */

@media (max-width: 768px) {
    .item_quality_n_row {
        margin: 8px 0;
        border-radius: 8px;
    }
    
    .quality_title_item {
        padding: 10px 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .quality_title_item .right_side {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    /* ===== ردیف اول: کیفیت + زیرنویس ===== */
    .quality_title_item .right_side .quality_item_meta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0;
        border-left: none !important;
        width: 100%;
        flex: 0 0 auto;
    }
    
    .quality_title_item .right_side .quality_item_meta .icon_row_q_n svg {
        width: 22px;
        height: 22px;
    }
    
    .quality_title_item .right_side .quality_item_meta .label_meta_qu {
        display: none; /* مخفی کردن "کیفیت :" */
    }
    
    .quality_title_item .right_side .quality_item_meta .value_meta_qu {
        font-size: 18px;
        font-weight: 600;
        color: #fff;
    }
    
    .quality_title_item .right_side .quality_item_meta .label_row_q_n {
        font-size: 12px;
        padding: 3px 12px;
        background: #F59E0B;
        border-radius: 20px;
        color: #fff;
    }
    
    /* ===== ردیف دوم: تعداد قسمت + حجم (افقی با خط جداکننده) ===== */
    .quality_title_item .right_side .count_item_meta,
    .quality_title_item .right_side .size_item_meta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0 15px;
        border-left: none !important;
        flex: 1;
    }
    
    .quality_title_item .right_side .count_item_meta .icon_row_q_n svg,
    .quality_title_item .right_side .size_item_meta .icon_row_q_n svg {
        width: 18px;
        height: 18px;
    }
    
    .quality_title_item .right_side .count_item_meta .label_meta_qu,
    .quality_title_item .right_side .size_item_meta .label_meta_qu {
        display: none; /* مخفی کردن لیبل‌ها */
    }
    
    .quality_title_item .right_side .count_item_meta .value_meta_qu,
    .quality_title_item .right_side .size_item_meta .value_meta_qu {
        font-size: 14px;
        font-weight: 500;
        color: #fff;
    }
    
    /* ===== ردیف دوم: دو آیتم در یک ردیف با خط جداکننده ===== */
    .quality_title_item .right_side .count_item_meta {
        padding-right: 15px;
    }
    
    .quality_title_item .right_side .size_item_meta {
        padding-left: 15px;
    }
    
    /* ===== بسته‌بندی ردیف دوم به صورت افقی ===== */
    .quality_title_item .right_side {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }
    
    .quality_title_item .right_side .quality_item_meta {
        width: 100%;
        justify-content: center;
        margin-bottom: 8px;
    }
    
    .quality_title_item .right_side .count_item_meta,
    .quality_title_item .right_side .size_item_meta {
        flex: 0 1 auto;
        min-width: 80px;
    }
    
    /* ===== فلش ===== */
    .quality_title_item .left_side {
        align-self: center;
        margin-top: 4px;
    }
    
    .quality_title_item .left_side .arrow_holder svg {
        width: 16px;
        height: 16px;
    }
    
    .sep_line {
        display: none;
    }
}

/* ==========================================
   ریسپانسیو - موبایل کوچک
========================================== */

@media (max-width: 480px) {
    .quality_title_item {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .quality_title_item .right_side .quality_item_meta .value_meta_qu {
        font-size: 16px;
    }
    
    .quality_title_item .right_side .quality_item_meta .icon_row_q_n svg {
        width: 20px;
        height: 20px;
    }
    
    .quality_title_item .right_side .quality_item_meta .label_row_q_n {
        font-size: 11px;
        padding: 2px 10px;
    }
    
    .quality_title_item .right_side .count_item_meta .value_meta_qu,
    .quality_title_item .right_side .size_item_meta .value_meta_qu {
        font-size: 13px;
    }
    
    .quality_title_item .right_side .count_item_meta .icon_row_q_n svg,
    .quality_title_item .right_side .size_item_meta .icon_row_q_n svg {
        width: 16px;
        height: 16px;
    }
    
    .quality_title_item .right_side .count_item_meta {
        padding-right: 12px;
    }
    
    .quality_title_item .right_side .size_item_meta {
        padding-left: 12px;
    }
}

/* قسمت‌ها */
.parts_holder {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.inner_parts_holder {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ==========================================
   EPISODE ITEM - دانلود + پخش (بزرگ‌تر)
========================================== */

.item_part {
    flex: 0 0 auto;
}

.episode-item {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    min-width: 100px;
}

.episode-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ===== لینک دانلود ===== */
.episode-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 2px 20px 2px 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Yekan', 'Tahoma', Arial, sans-serif;
    flex: 1;
    min-width: 0;
    letter-spacing: 0.3px;
}

.episode-link:hover {
    color: #fbbf24;
}

.episode-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ===== جداکننده ===== */
.episode-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* ===== آیکون پلی/دانلود ===== */
.episode-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px 16px 16px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 0 0 auto;
}

.episode-play:hover {
    color: #fbbf24;
    transform: scale(1.05);
}

.episode-play svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ===== استایل پخش آنلاین ===== */
.episode-item.episode-stream {
    border-color: rgba(96, 165, 250, 0.25);
    min-width: 180px;
}

.episode-item.episode-stream .episode-link {
    color: #60a5fa;
    padding: 12px 16px 12px 20px;
    font-size: 15px;
}

.episode-item.episode-stream .episode-link:hover {
    color: #fbbf24;
}

.episode-item.episode-stream .episode-play {
    color: rgba(96, 165, 250, 0.4);
}

.episode-item.episode-stream .episode-play:hover {
    color: #fbbf24;
}

/* ==========================================
   ریسپانسیو
========================================== */

@media (max-width: 768px) {
    .episode-item {
        min-width: 160px;
        border-radius: 25px;
    }
    
    .episode-link {
        padding: 10px 14px 10px 18px;
        font-size: 14px;
        gap: 6px;
    }
    
    .episode-link svg {
        width: 16px;
        height: 16px;
    }
    
    .episode-play {
        padding: 10px 16px 10px 12px;
    }
    
    .episode-play svg {
        width: 18px;
        height: 18px;
    }
    
    .episode-divider {
        height: 24px;
    }
    
    .episode-item.episode-stream {
        min-width: 140px;
    }
    
    .episode-item.episode-stream .episode-link {
        padding: 10px 12px 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .episode-item {
        min-width: 140px;
        border-radius: 20px;
    }
    
    .episode-link {
        padding: 8px 10px 8px 14px;
        font-size: 12px;
        gap: 4px;
    }
    
    .episode-link svg {
        width: 14px;
        height: 14px;
    }
    
    .episode-play {
        padding: 8px 12px 8px 10px;
    }
    
    .episode-play svg {
        width: 16px;
        height: 16px;
    }
    
    .episode-divider {
        height: 20px;
    }
    
    .episode-item.episode-stream {
        min-width: 120px;
    }
    
    .episode-item.episode-stream .episode-link {
        padding: 8px 10px 8px 12px;
        font-size: 11px;
    }
}

/* کپی لینک‌ها */
.item_part.copylinksseason {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.item_part.copylinksseason:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {

    
    .sep_line {
        display: none;
    }
    
    .title_series_row_n .right_side {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .inner_parts_holder {
        display: flex;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
    }
    
  .item_part {
        width: 100% !important;
        flex: none !important;
    }
    
    .episode-item {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        border-radius: 25px !important;
        display: flex !important;
    }
    
    .episode-link {
        flex: 1 !important;
        justify-content: center !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
        gap: 8px !important;
    }
    
    .episode-play {
        padding: 12px 18px !important;
        flex-shrink: 0 !important;
    }
    
    .episode-divider {
        height: 24px !important;
    }
}

/* موبایل خیلی کوچک */
@media (max-width: 480px) {
    .season_name {
        font-size: 16px;
    }
    
    .label_meta_qu {
        font-size: 11px;
    }
    
    .value_meta_qu {
        font-size: 11px;
    }
}



/* ========== فیلم‌های مشابه - ریسپانسیو ========== */

/* گرید اصلی */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    width: 100%;
    overflow-x: hidden;
}

/* اطمینان از عدم خروج از کادر */
.similar-movies-section {
    width: 100%;
    overflow-x: hidden;
    padding: 60px 40px;
    box-sizing: border-box;
}

.section-header {
    width: 100%;
    margin-bottom: 30px;
}

/* کارت فیلم */
.movie-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.movie-poster-wrap {
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
}

/* ========== ریسپانسیو ========== */

/* تبلت */
@media (max-width: 1024px) {
    .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .similar-movies-section {
        padding: 40px 30px;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .movies-grid {
        grid-template-columns: repeat(3, 1fr);  /* 3 ستون در موبایل */
        gap: 12px;
    }
    
    .similar-movies-section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 20px;
    }
}

/* مخفی کردن پوستر موبایل در دسکتاپ */
.movie-poster-mobile {
    display: none;
}

/* ==========================================
   MOVIES SIMILAR - HORIZONTAL SCROLL MOBILE
========================================== */

@media (max-width: 768px) {
    .similar-movies-section {
        position: relative;
        width: 100%;
        padding: 0 15px !important;
        overflow: visible !important;
    }
    
    /* عنوان ثابت - اسکرول نمی‌شود */
    .similar-movies-section .section-header {
        position: relative;
        width: 100%;
        margin-bottom: 15px !important;
        padding-right: 0 !important;
        background: var(--background-dark);
        z-index: 2;
    }
    
    .similar-movies-section .section-title {
        font-size: 18px;
        display: inline-block;
    }
    
    /* کانتینر فیلم‌ها - اسکرول افقی */
    .similar-movies-section .movies-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        padding-bottom: 10px !important;
        margin: 0 !important;
    }
    
    /* هر کارت فیلم */
    .similar-movies-section .movie-card {
        flex: 0 0 120px !important;
        width: 120px !important;
        display: block !important;
    }
    
    .similar-movies-section .movie-poster-wrap {
        width: 100% !important;
        aspect-ratio: 2/3 !important;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .similar-movies-section .movie-title {
        font-size: 11px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: center;
    }
    
    .similar-movies-section .movie-meta {
        display: none; /* مخفی کردن سال و مدت در موبایل برای فشردگی */
    }
    
    /* استایل اسکرولبار (اختیاری) */
    .similar-movies-section .movies-grid::-webkit-scrollbar {
        height: 3px;
    }
    
    .similar-movies-section .movies-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }
    
    .similar-movies-section .movies-grid::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }
}

/* موبایل خیلی کوچک */
@media (max-width: 480px) {
    .similar-movies-section .movie-card {
        flex: 0 0 100px !important;
        width: 100px !important;
    }
    
    .similar-movies-section .movie-title {
        font-size: 10px !important;
    }
}

/* ==========================================
   MOBILE FIX - MOVIE PAGE
========================================== */

@media (max-width: 768px) {
    
    /* بازآرایی hero-content */
    .single-hero-content {
        display: flex !important;
        flex-direction: column !important;
        padding: 100px 20px 30px !important;
    }
    
    /* چیدمان hero-left */
    .hero-left {
        order: 1;
        width: 100%;
        max-width: 100%;
    }
    
    /* مخفی کردن hero-right (پوستر دسکتاپ + اشتراک + دوبله) */
    .hero-right {
        display: none !important;
    }
    
    /* نمایش پوستر در موبایل داخل hero-left */
    .movie-poster-mobile {
        display: block !important;
        margin: 15px auto !important;
        text-align: center !important;
    }
    
    .movie-poster-mobile .movie-poster-large {
        max-width: 200px !important;
        margin: 0 auto !important;
    }
    
    /* عنوان اصلی */
    .single-movie-title {
        text-align: center !important;
        font-size: 28px !important;
    }
    
    .original-title {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: 14px !important;
        gap: 10px !important;
        width: 100% !important;
        color: rgba(255, 255, 255, 0.6) !important;
    }
    
    .original-title::before,
    .original-title::after {
        content: '' !important;
        flex: 1 !important;
        height: 1px !important;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
        display: block !important;
    }
    
    .original-title::before {
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2)) !important;
    }
    
    .original-title::after {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent) !important;
    }
    
    
    /* امتیاز و سال و مدت - وسط چین */
    .movie-rating-year {
        justify-content: center !important;
    }
    
    .series-info-cards {
        justify-content: center !important;
    }
    
    /* حذف بخش اشتراک‌گذاری و دوبله/زیرنویس */
    .share-section-sidebar,
    .poster-audio-badges-single,
    .audio-badge-single {
        display: none !important;
    }
    
    
    /* لایک/دیسلایک */
    .single_like_or_dislike {
        justify-content: center !important;
    }
    
    /* دکمه‌ها */
    .movie-action-buttons {
        justify-content: center !important;
    }
    
    /* خلاصه داستان */
    .synopsis-text {
        font-size: 14px !important;
        text-align: justify !important;
    }
}


/* موبایل کوچک (480px) */
@media (max-width: 480px) {
    .movies-grid {
        grid-template-columns: repeat(2, 1fr);  /* 2 ستون در موبایل کوچک */
        gap: 10px;
    }
    
    .similar-movies-section {
        padding: 30px 12px;
    }
    
    .similar-movies-section .movie-card {
        flex: 0 0 110px !important;
        width: 110px !important;
    }
    
    .movie-title {
        font-size: 12px;
    }
    
    .movie-meta {
        font-size: 10px;
    }
}

/* موبایل خیلی کوچک (380px) */
@media (max-width: 380px) {
    .movies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}
.download-section {
    margin: 2rem 0;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.section-header-download {
    margin-bottom: 1.5rem;
}

.download-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.download-title svg {
    color: #FBBF24;
}

/* دسته‌بندی */
.download-category {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.category-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.category-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.category-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.category-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.download-count {
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}
.download-item.locked {
    opacity: 0.7;
    position: relative;
}

.download-item.locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.03) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 10px;
}

/* دکمه خرید اشتراک */
.btn-get-membership-single {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: Yekan, Tahoma, Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-get-membership-single::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-get-membership-single:hover::before {
    width: 300%;
    height: 300%;
}

.btn-get-membership-single:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.5);
}

.btn-get-membership-single svg {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.3));
}

.btn-get-membership-single span,
.btn-get-membership-single > svg ~ * {
    position: relative;
    z-index: 1;
}

/* Badge اشتراک ویژه */
.premium-badge-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.15) 100%);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 50px;
    color: #fbbf24;
    font-size: 13px;
    font-weight: 700;
    margin-right: 12px;
    font-family: Yekan, Tahoma, Arial, sans-serif;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% { box-shadow: 0 0 10px rgba(251, 191, 36, 0.2); }
    50% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.4); }
}

.premium-badge-title svg {
    width: 14px;
    height: 14px;
    animation: rotate-star 3s linear infinite;
}

@keyframes rotate-star {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* پیام فوتر */
.membership-notice-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.membership-notice-footer svg {
    flex-shrink: 0;
    color: #fbbf24;
}

.membership-notice-footer a {
    color: #fbbf24;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
}

.membership-notice-footer a:hover {
    border-bottom-color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .btn-get-membership-single {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .membership-notice-footer {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .premium-badge-title {
        font-size: 11px;
        padding: 4px 10px;
        margin-right: 8px;
    }
}

@media (max-width: 600px) {
    .download-item.locked {
        padding: 1rem;
    }
    
    .btn-get-membership-single {
        font-size: 14px;
        padding: 0.85rem 1.5rem;
    }
}

/* رنگ‌بندی برای تعداد لینک */
.download-count.color-yellow {
    background: rgba(251, 191, 36, 0.15);
    color: #FBBF24;
}

.download-count.color-green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.download-count.color-white {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.toggle-icon {
    transition: transform 0.3s ease;
    color: #9ca3af;
}

/* ==========================================
   دکمه گزارش خرابی
========================================== */

/* کانتینر اصلی */
.report-btn-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap; /* جلوگیری از رفتن به خط بعد */
}

/* دکمه گزارش خرابی */
.btn-report-issue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 16px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 50px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    font-family: 'Yekan', Tahoma, Arial, sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
    height: 38px;
}

.btn-report-issue:hover {
    background: rgba(239, 68, 68, 0.22);
    border-color: rgba(239, 68, 68, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.btn-report-issue svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* بادج تیک سبز (بازبینی شده) */
.report-resolved-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 50px;
    color: #22c55e;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    cursor: default;
    position: relative;
    font-family: 'Yekan', Tahoma, Arial, sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
    height: 38px;
}

.report-resolved-badge svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* تولتیپ بادج */
.report-resolved-badge[data-tooltip] {
    position: relative;
}

.report-resolved-badge[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(34, 197, 94, 0.3);
    z-index: 100;
}

.report-resolved-badge[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.report-resolved-badge[data-tooltip]:hover::after,
.report-resolved-badge[data-tooltip]:hover::before {
    opacity: 1;
}

/* ==========================================
   ریسپانسیو - موبایل
========================================== */

@media (max-width: 768px) {
    .report-btn-wrapper {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }
    
    .btn-report-issue {
        padding: 6px 14px;
        font-size: 12px;
        height: 34px;
    }
    
    .report-resolved-badge {
        padding: 5px 12px;
        font-size: 12px;
        height: 34px;
    }
    
    .btn-report-issue svg,
    .report-resolved-badge svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .report-btn-wrapper {
        gap: 6px;
    }
    
    .btn-report-issue {
        padding: 5px 12px;
        font-size: 11px;
        height: 30px;
    }
    
    .report-resolved-badge {
        padding: 4px 10px;
        font-size: 11px;
        height: 30px;
    }
    
    .btn-report-issue svg,
    .report-resolved-badge svg {
        width: 12px;
        height: 12px;
    }
}

/* ==========================================
   مدال گزارش خرابی
========================================== */

.report-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.report-modal.active {
    opacity: 1;
    visibility: visible;
}

.report-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.report-modal-content {
    position: relative;
    z-index: 2;
    background: #101314;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.report-modal.active .report-modal-content {
    transform: translateY(0);
}

.report-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.report-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #ef4444;
    margin: 0;
}

.report-modal-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.report-modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
    transform: rotate(90deg);
}

.report-movie-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 10px;
    color: #fbbf24;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.report-field {
    margin-bottom: 16px;
}

.report-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 8px;
}

.report-input,
.report-select {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #f8fafc;
    font-size: 14px;
    font-family: 'Yekan', Tahoma, Arial, sans-serif;
    transition: all 0.3s ease;
    direction: rtl;
}

.report-input:focus,
.report-select:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.report-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.report-select option {
    background: #1e293b;
    color: #f8fafc;
}

.report-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.report-btn-cancel {
    flex: 1;
    padding: 11px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Yekan', Tahoma, Arial, sans-serif;
}

.report-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.report-btn-submit {
    flex: 2;
    padding: 11px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Yekan', Tahoma, Arial, sans-serif;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.report-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.report-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* پیام موفقیت */
.report-success-msg {
    text-align: center;
    padding: 20px;
    display: none;
}

.report-success-msg svg {
    color: #22c55e;
    margin-bottom: 12px;
}

.report-success-msg p {
    color: #f8fafc;
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 480px) {
    .report-modal-content {
        padding: 20px;
        border-radius: 16px;
    }
    
    .report-actions {
        flex-direction: column;
    }
}


/* لیست دانلودها */
.download-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.download-list.active {
    padding: 1rem;
}

/* آیتم دانلود */
.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.download-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-3px);
}

/* رنگ‌بندی برای آیتم‌ها */
.download-item.color-yellow:hover {
    border-color: rgba(251, 191, 36, 0.3);
}

.download-item.color-green:hover {
    border-color: rgba(34, 197, 94, 0.3);
}

.download-item.color-white:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.download-item:last-child {
    margin-bottom: 0;
}

/* جزئیات دانلود */
.download-details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    flex: 1;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.detail-icon {
    flex-shrink: 0;
}

/* رنگ ایکون‌ها بر اساس نوع */
.download-item.color-yellow .detail-icon {
    color: #FBBF24;
}

.download-item.color-green .detail-icon {
    color: #22c55e;
}

.download-item.color-white .detail-icon {
    color: #ffffff;
}

.detail-label {
    color: #9ca3af;
    font-weight: 500;
    white-space: nowrap;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

.detail-value {
    font-weight: 600;
    white-space: nowrap;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

/* رنگ متن بر اساس نوع */
.download-item.color-yellow .detail-value {
    color: #FBBF24;
}
.download-actions {
    display: flex;
    align-items: center;
    gap: 12px;          /* فاصله بین دکمه‌ها */
    flex-wrap: nowrap; /* نذاره بره خط بعد */
}
@media (max-width: 600px) {
    .download-actions {
        flex-wrap: wrap;
        gap: 10px;
    }

    .download-actions a {
        flex: 1;
        justify-content: center;
    }
}
.download-item.color-green .detail-value {
    color: #22c55e;
}

.download-item.color-white .detail-value {
    color: #ffffff;
}

.detail-notes {
    flex-basis: 100%;
}

.detail-notes .detail-value {
    color: #d1d5db;
}

/* دکمه دانلود */
.btn-download {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

/* رنگ دکمه بر اساس نوع */
.download-item.color-yellow .btn-download {
    background: #FBBF24;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.download-item.color-yellow .btn-download:hover {
    background: #f59e0b;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.5);
}

.download-item.color-green .btn-download {
    background: #22c55e;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.download-item.color-green .btn-download:hover {
    background: #16a34a;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.5);
}

.download-item.color-white .btn-download {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.download-item.color-white .btn-download:hover {
    background: #e5e5e5;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.5);
}

.btn-download:hover {
    transform: translateY(-2px);
}

.btn-download svg {
    flex-shrink: 0;
}

/* دکمه پخش آنلاین */
.btn-online-play {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: Yekan, Tahoma, Arial, sans-serif;
}

/* رنگ دکمه پخش آنلاین بر اساس نوع */
.download-item.color-yellow .btn-online-play {
    background: rgba(251, 191, 36, 0.15);
    color: #FBBF24;
    border: 2px solid #FBBF24;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.2);
}

.download-item.color-yellow .btn-online-play:hover {
    background: #FBBF24;
    color: #000;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.5);
}

.download-item.color-green .btn-online-play {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 2px solid #22c55e;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

.download-item.color-green .btn-online-play:hover {
    background: #22c55e;
    color: #000;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.5);
}

.download-item.color-white .btn-online-play {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.download-item.color-white .btn-online-play:hover {
    background: #ffffff;
    color: #000;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.5);
}

.btn-online-play:hover {
    transform: translateY(-2px);
}

.btn-online-play svg {
    flex-shrink: 0;
}

/* ریسپانسیو */
@media (max-width: 968px) {
    .download-details {
        gap: 1rem;
    }
    
    .detail-item {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .download-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }
    
    .download-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .detail-item {
        width: 100%;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .category-toggle {
        padding: 0.875rem 1rem;
    }
    
    .category-label {
        font-size: 1rem;
    }
    
    .download-list.active {
        padding: 0.75rem;
    }
}


/* ==========================================
   فشرده‌سازی کلی - فاصله‌ها کمتر
========================================== */

.single-hero-content {
    padding: 40px;
    gap: 30px;
}

.hero-left {
    max-width: 65%;
}

.hero-right {
    max-width: 300px;
}

/* ==========================================
   عنوان و امتیاز - کوچک‌تر و فشرده‌تر
========================================== */

.single-movie-title {
    font-size: 36px;
    margin-bottom: 8px;
    line-height: 1.2;
}

.original-title {
    font-size: 21px;
    margin-bottom: 12px;
    opacity: 0.9;
}

/* ========== باکس‌های شیشه‌ای با نقطه جداکننده ========== */
.movie-rating-year {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 20px 0;
}

/* نقطه جداکننده */
.separator-dot {
    color: #fff;
    font-size: 14px;
    text-shadow: 0 0 5px rgba(251, 191, 36, 0.5);
    margin: 0 -5px;
}

/* Responsive - حذف نقطه در موبایل */
@media (max-width: 768px) {
    .separator-dot {
        display: none;
    }
}

/* ========== باکس‌های شیشه‌ای ========== */
.movie-rating-year {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

/* استایل پایه باکس‌ها */
.glass-dark {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 50px !important;
    padding: 12px 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
}

/* هاور افکت */
.glass-dark:hover {
    background: rgba(0, 0, 0, 0.7) !important;
    border-color: rgba(251, 191, 36, 0.5) !important;
    transform: translateY(-2px);
}

/* آیکون IMDB */
.imdb-icon-large {
    width: 48px !important;
    height: 24px !important;
}

.rating-score {
    font-size: 24px !important;
    font-weight: 700;
    color: #fbbf24;
}

.rating-votes {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.5);
}

.duration-box svg,
.year-box svg {
    width: 18px !important;
    height: 18px !important;
}

.duration-box span,
.year-box span {
    font-size: 16px !important;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .glass-dark {
        padding: 8px 16px !important;
    }
    
    .rating-score {
        font-size: 18px !important;
    }
}


.rating-details {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.rating-score {
    font-size: 26px;   /* ← بزرگتر */
    font-weight: 700;
    color: #fbbf24;
    line-height: 1;
}

.rating-max {
    font-size: 15px;   /* ← بزرگتر */
    color: rgba(255, 255, 255, 0.5);
}

.rating-votes {
    font-size: 12px;   /* ← بزرگتر */
    color: rgba(255, 255, 255, 0.4);
    margin-right: 8px;
}

.year-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;  /* ← بزرگتر */
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    color: #fff;
    font-size: 16px;   /* ← بزرگتر */
    font-weight: 600;
}

.year-box svg {
    width: 18px;
    height: 18px;
}

/* ==========================================
   Badges - فشرده‌تر
========================================== */

/* ========== Badge ها با استایل جدید ========== */
.movie-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
}

.movie-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.movie-badges span svg {
    width: 16px;
    height: 16px;
}

/* Badge کیفیت */
.badge-quality {
    background: rgba(251, 191, 36, 0.15) !important;
    border-color: rgba(251, 191, 36, 0.3) !important;
    color: #fbbf24 !important;
}


/* هاور افکت */
.movie-badges span:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15) !important;
}

.badge-quality:hover {
    background: #fbbf24 !important;
    color: #000 !important;
}

.badge-metascore:hover {
    background: #10b981 !important;
    color: #fff !important;
}

.badge-rated:hover {
    background: #8b5cf6 !important;
    color: #fff !important;
}

/* ========== تعاملات کاربر - بزرگ و رنگی ========== */
.movie-interactions {
    margin: 25px 0;
}

.interaction-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

/* استایل پایه دکمه‌ها */
.interaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.interaction-btn svg {
    flex-shrink: 0;
}

/* دکمه لایک - سبز */
.like-btn {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.like-btn:hover {
    background: #22c55e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.like-btn:hover svg {
    stroke: #fff;
}

/* دکمه دیسلایک - قرمز */
.dislike-btn {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.dislike-btn:hover {
    background: #ef4444;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.dislike-btn:hover svg {
    stroke: #fff;
}

/* دکمه نظرات */
.comment-btn {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.comment-btn:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-2px);
}

/* دکمه علاقه‌مندی */
.bookmark-btn {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
}

.bookmark-btn:hover {
    background: #8b5cf6;
    color: #fff;
    transform: translateY(-2px);
}

/* ========== استایل لایک/دیسلایک مانند نمونه ========== */
.single_like_or_dislike {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 15px 0;
    margin: 10px 0;
    gap: 15px;
    align-items: center;
}

.btn_rate_single {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f2f2f2;
}

/* آیکون شست لایک - سبز ثابت (حتی در حالت عادی) */
.btn_rate_action_like .icon_like {
    fill: #22c55e !important;
    stroke: #22c55e !important;
}

/* آیکون شست دیسلایک - قرمز ثابت (حتی در حالت عادی) */
.btn_rate_action_dislike .icon_dislike {
    fill: #ef4444 !important;
    stroke: #ef4444 !important;
}

.btn_rate_single .icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
/* متن دکمه در حالت عادی */
.btn_rate_single span {
    color: #f2f2f2;
}
.btn_rate_action_like:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
}

.btn_rate_action_dislike:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
}

/* وقتی رای داده شده */
.btn_rate_action_like.voted {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.btn_rate_action_dislike.voted {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

.btn_rate_single span {
    font-size: 14px;
}

.like-count, .dislike-count {
    font-weight: 600;
    margin-right: 4px;
}

.result_text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 40px;
    font-size: 13px;
    color: #fbbf24;
}

.result_text .icon_info {
    width: 18px;
    height: 18px;
    fill: #fbbf24;
}

@media (max-width: 768px) {
    .single_like_or_dislike {
        gap: 10px;
    }
    
    .btn_rate_single {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .result_text {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* ==========================================
   خلاصه داستان - فشرده
========================================== */

.synopsis-section {
    margin: 15px 0;
}

.section-heading {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.synopsis-text {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   بخش Crew - فشرده
========================================== */

.crew-section {
    margin-top: 15px;
}

.crew-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px; /* از 10px به 8px کاهش یافت */
}

.crew-item svg {
    width: 10px;
    height: 10px;
    opacity: 0.5;
}

.crew-label {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    opacity: 0.8;
}

.crew-tag {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    padding: 4px 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;          /* ← مهم */
    align-items: center;
    white-space: nowrap;           /* ← نشکنه */
}


a.crew-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.crew-tag.view-more-cast {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

@media (max-width: 600px) {

    .crew-item {
        gap: 6px;
        margin-bottom: 6px;
    }

    .crew-item svg {
        width: 12px;
        height: 12px;
    }

    .crew-label {
        width: auto;        
        margin-left: 6px;
        font-size: 12px;
        white-space: nowrap;
    }

    .crew-tag {
        white-space: nowrap;
    }
}

@media (max-width: 400px) {
    .crew-tag {
        font-size: 11.2px;
        padding: 5px 10px;
    }
}

/* ==========================================
   دکمه‌های اصلی - فشرده
========================================== */

/* ========== دکمه‌های اصلی - بزرگتر ========== */
.movie-action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 25px 0 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;  /* بزرگتر */
    border-radius: 50px;  /* دایره‌ای‌تر */
    font-size: 16px;      /* بزرگتر */
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

/* دکمه دانلود فیلم */
.btn-watch {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #232729;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-watch:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
}

/* دکمه تماشای تریلر */
.btn-secondary {
    background: linear-gradient(135deg, #2D5395 0%, #2D5395 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #2D5395 0%, #2D5395 100%);
    border-color: #fbbf24;
    transform: translateY(-3px);
}

/* ==========================================
   WATCHLIST BUTTON - رفع مشکل بیضی در موبایل
========================================== */

/* دکمه watchlist در دسکتاپ */
.btn-watchlist {
    width: 52px !important;
    height: 52px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50% !important;
    color: #fff;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* در موبایل */
@media (max-width: 768px) {
    .btn-watchlist {
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
    }
    
    .btn-watchlist svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* در موبایل خیلی کوچک */
@media (max-width: 480px) {
    .btn-watchlist {
        width: 40px !important;
        height: 40px !important;
    }
    
    .btn-watchlist svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* اطمینان از گرد ماندن در همه حالت‌ها */
.btn-watchlist,
.btn-watchlist *,
.btn-watchlist:focus,
.btn-watchlist:active,
.btn-watchlist:hover {
    border-radius: 10% !important;
    outline: none !important;
}

/* Responsive برای موبایل */
@media (max-width: 768px) {
    .btn {
        padding: 10px 22px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .movie-action-buttons {
        gap: 10px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================
   پوستر - کوچک‌تر
========================================== */

.movie-poster-large {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.movie-poster-large img {
    width: 100%;
    display: block;
}

/* ==========================================
   Badge های دوبله/زیرنویس - فشرده
========================================== */

.poster-audio-badges-single {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.audio-badge-single {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.audio-badge-single:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(-3px);
}

.dubbing-badge {
    border-right: 3px solid #34d399;
}

.dubbing-badge svg {
    color: #34d399;
    width: 16px;
    height: 16px;
}

.subtitle-badge {
    border-right: 3px solid #60a5fa;
}

.subtitle-badge svg {
    color: #60a5fa;
    width: 16px;
    height: 16px;
}

/* ==========================================
   بخش اطلاعات اضافی - فشرده
========================================== */

.cast-toggle-button {
    font-family: 'Vazir', sans-serif !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 15px 0;
}

.cast-toggle-button svg {
    width: 16px;
    height: 16px;
}

.additional-info {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
}

.additional-info-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.additional-info-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

.info-value {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

/* ==========================================
   Download Section - فشرده
========================================== */

.download-section {
    padding: 30px 40px;
}

.section-header-download {
    margin-bottom: 20px;
}

.download-title {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
}

/* ==========================================
   فشرده‌سازی کلی - فاصله‌ها کمتر
========================================== */

.single-hero-content {
    padding: 40px;
    gap: 30px;
}

.hero-left {
    max-width: 85%;
}

.hero-right {
    max-width: 340px;
}

/* ==========================================
   عنوان و امتیاز - کوچک‌تر و فشرده‌تر
========================================== */

.single-movie-title {
    font-size: 36px;
    margin-bottom: 8px;
    line-height: 1.2;
}


/* ========== باکس‌های شیشه‌ای با نقطه جداکننده ========== */
.movie-rating-year {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 20px 0;
}

/* نقطه جداکننده */
.separator-dot {
    color: #fff;
    font-size: 14px;
    text-shadow: 0 0 5px rgba(251, 191, 36, 0.5);
    margin: 0 -5px;
}

/* Responsive - حذف نقطه در موبایل */
@media (max-width: 768px) {
    .separator-dot {
        display: none;
    }
}

/* ========== باکس‌های شیشه‌ای ========== */
.cast-content {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
}

.cast-content.active {
    display: block;
}
.movie-rating-year {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

/* استایل پایه باکس‌ها */
.glass-dark {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
    padding: 12px 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
}

/* هاور افکت */
.glass-dark:hover {
    background: rgba(0, 0, 0, 0.7) !important;
    border-color: rgba(251, 191, 36, 0.5) !important;
    transform: translateY(-2px);
}

/* آیکون IMDB */
.imdb-icon-large {
    width: 48px !important;
    height: 24px !important;
}

.rating-score {
    font-size: 24px !important;
    font-weight: 700;
    color: #fbbf24;
}

.rating-votes {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.5);
}

.duration-box svg,
.year-box svg {
    width: 18px !important;
    height: 18px !important;
}

.duration-box span,
.year-box span {
    font-size: 16px !important;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .glass-dark {
        padding: 8px 16px !important;
    }
    
    .rating-score {
        font-size: 18px !important;
    }
}


.rating-details {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.rating-score {
    font-size: 26px;
    font-weight: 700;
    color: #fbbf24;
    line-height: 1;
}

.rating-max {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
}

.rating-votes {
    font-size: 12px;
    color: #fff;
    margin-right: 8px;
}

.year-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.year-box svg {
    width: 18px;
    height: 18px;
}

/* ========== Badge ها با استایل جدید ========== */
.movie-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
}

.movie-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.movie-badges span svg {
    width: 16px;
    height: 16px;
}

.badge-quality {
    background: rgba(251, 191, 36, 0.15) !important;
    border-color: rgba(251, 191, 36, 0.3) !important;
    color: #fbbf24 !important;
}


.movie-badges span:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15) !important;
}

.badge-quality:hover {
    background: #fbbf24 !important;
    color: #fff !important;
}

.badge-metascore:hover {
    background: #10b981 !important;
    color: #fff !important;
}

.badge-rated:hover {
    background: #8b5cf6 !important;
    color: #fff !important;
}

/* ========== تعاملات کاربر - بزرگ و رنگی ========== */
.movie-interactions {
    margin: 25px 0;
}

.interaction-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

/* استایل پایه دکمه‌ها */
.interaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.interaction-btn svg {
    flex-shrink: 0;
}

/* دکمه لایک - سبز */
.like-btn {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.like-btn:hover {
    background: #22c55e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.like-btn:hover svg {
    stroke: #fff;
}

/* دکمه دیسلایک - قرمز */
.dislike-btn {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.dislike-btn:hover {
    background: #ef4444;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.dislike-btn:hover svg {
    stroke: #fff;
}

/* دکمه نظرات */
.comment-btn {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.comment-btn:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-2px);
}

/* دکمه علاقه‌مندی */
.bookmark-btn {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
}

.bookmark-btn:hover {
    background: #8b5cf6;
    color: #fff;
    transform: translateY(-2px);
}

/* ========== استایل لایک/دیسلایک مانند نمونه ========== */
.single_like_or_dislike {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 15px 0;
    margin: 10px 0;
    gap: 15px;
    align-items: center;
}

.btn_rate_single {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f2f2f2;
}

/* آیکون شست لایک - سبز ثابت (حتی در حالت عادی) */
.btn_rate_action_like .icon_like {
    fill: #22c55e !important;
    stroke: #22c55e !important;
}

/* آیکون شست دیسلایک - قرمز ثابت (حتی در حالت عادی) */
.btn_rate_action_dislike .icon_dislike {
    fill: #ef4444 !important;
    stroke: #ef4444 !important;
}

/* متن دکمه در حالت عادی */
.btn_rate_single span {
    color: #f2f2f2;
}

.btn_rate_single .icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.btn_rate_action_like:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
}

.btn_rate_action_dislike:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
}

/* وقتی رای داده شده */
.btn_rate_action_like.voted {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.btn_rate_action_dislike.voted {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

.btn_rate_single span {
    font-size: 14px;
}

.like-count, .dislike-count {
    font-weight: 600;
    margin-right: 4px;
}

.result_text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 40px;
    font-size: 13px;
    color: #fbbf24;
}

.result_text .icon_info {
    width: 18px;
    height: 18px;
    fill: #fbbf24;
}

@media (max-width: 768px) {
    .single_like_or_dislike {
        gap: 10px;
    }
    
    .btn_rate_single {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .result_text {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* ==========================================
   خلاصه داستان - فشرده
========================================== */

.synopsis-section {
    margin: 15px 0;
}

.section-heading {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.synopsis-text {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   بخش Crew - فشرده
========================================== */

.crew-section {
    margin-top: 15px;
}

.crew-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
}

.crew-item svg {
    width: 15px;
    height: 15px;
    opacity: 0.5;
}

.crew-label {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    opacity: 0.8;
}

.crew-tag {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    padding: 4px 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;        
    align-items: center;
    white-space: nowrap;        
}


a.crew-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.crew-tag.view-more-cast {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

@media (max-width: 600px) {

    .crew-item {
        gap: 6px;
        margin-bottom: 6px;
    }

    .crew-item svg {
        width: 12px;
        height: 12px;
    }

    .crew-label {
        width: auto;
        margin-left: 6px;
        font-size: 12px;
        white-space: nowrap;
    }

    .crew-tag {
        white-space: nowrap;
    }
}


/* ==========================================
   دکمه‌های اصلی - فشرده
========================================== */

.movie-action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 25px 0 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.btn-watch {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #232729;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
}

.btn-watch:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.5);
}

.btn-watch {
    -webkit-tap-highlight-color: transparent;
}

.btn-watch:focus {
    outline: none;
}

.btn-secondary {
    background: linear-gradient(135deg, #2D5395 0%, #2D5395 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #2D5395 0%, #2D5395 100%);
    border-color: #fbbf24;
    transform: translateY(-3px);
}

.btn-watchlist {
    width: 52px;
    height: 52px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-watchlist:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    transform: translateY(-3px);
}

.btn-watchlist svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 768px) {
    .btn {
        padding: 10px 22px;
        font-size: 14px;
    }
    
    .btn-watchlist {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        flex: 0 0 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        flex-shrink: 0 !important;
    }
}

@media (max-width: 480px) {
    .movie-action-buttons {
        gap: 10px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .btn-watchlist {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        flex: 0 0 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        flex-shrink: 0 !important;
    }
    
    .btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================
   پوستر - کوچک‌تر
========================================== */

.movie-poster-large {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.movie-poster-large img {
    width: 100%;
    display: block;
}

/* ==========================================
   Badge های دوبله/زیرنویس - فشرده
========================================== */
/* بج‌ها - گوشه بالا سمت چپ - کنار هم */
.poster-audio-badges-single {
    position: absolute;
    top: 2px;
    right: 15px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 10;
    direction: rtl;
}

.audio-badge-single {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 17%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2.5px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* استایل دوبله - سبز شیشه‌ای */
.audio-badge-single.dubbing-badge {
    border-color: #22c55e;
    background: #22c55e;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.15);
}

.audio-badge-single.dubbing-badge i {
    color: #fff;
    font-size: 18px;
}

/* استایل زیرنویس - زرد شیشه‌ای */
.audio-badge-single.subtitle-badge {
    border-color: #eab308;
    background: #eab308;
    box-shadow: 0 4px 20px rgba(234, 179, 8, 0.15);
}

.audio-badge-single.subtitle-badge i {
    color: #fff;
    font-size: 18px;
}

/* هاور افکت روی بج */
.audio-badge-single:hover {
    transform: scale(1.1);
}

.audio-badge-single.dubbing-badge:hover {
    border-color: #16a34a;
    background: rgba(34, 197, 94, 0.3);
    box-shadow: 0 4px 30px rgba(34, 197, 94, 0.3);
}

.audio-badge-single.subtitle-badge:hover {
    border-color: #ca8a04;
    background: rgba(234, 179, 8, 0.3);
    box-shadow: 0 4px 30px rgba(234, 179, 8, 0.3);
}

/* ========== تولتیپ - باز شدن به پایین ========== */
.audio-badge-single .tooltip-box {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px) scale(0.9);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    letter-spacing: 0.3px;
}

/* رنگ تولتیپ متناسب با هر بج - حاشیه پایین (سمت فلش) */
.audio-badge-single.dubbing-badge .tooltip-box {
    border-bottom: 3px solid #22c55e;  /* ← تغییر از border-top به border-bottom */
}

.audio-badge-single.subtitle-badge .tooltip-box {
    border-bottom: 3px solid #eab308;  /* ← تغییر از border-top به border-bottom */
}

/* فلش تولتیپ - اشاره به بالا (سمت آیکون) */
.audio-badge-single .tooltip-box::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(0, 0, 0, 0.85);
}

/* ========== هاور تولتیپ - کشویی به پایین ========== */
.audio-badge-single:hover .tooltip-box {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .audio-badge-single {
        width: 34px;
        height: 34px;
    }
    
    .audio-badge-single i {
        font-size: 15px !important;
    }
    
    .poster-audio-badges-single {
        top: 10px;
        left: 10px;
        gap: 8px;
    }
    
    .audio-badge-single .tooltip-box {
        font-size: 12px;
        padding: 6px 14px;
        top: calc(100% + 10px);
    }
}

@media (max-width: 480px) {
    .audio-badge-single {
        width: 30px;
        height: 30px;
        border-width: 2px;
    }
    
    .audio-badge-single i {
        font-size: 13px !important;
    }
    
    .poster-audio-badges-single {
        top: 8px;
        left: 8px;
        gap: 6px;
    }
    
    .audio-badge-single .tooltip-box {
        font-size: 11px;
        padding: 5px 12px;
        top: calc(100% + 8px);
    }
}

/* ==========================================
   اشتراک‌گذاری - افقی و فشرده
========================================== */

.share-section-sidebar {
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.share-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.share-title svg {
    width: 14px;
    height: 14px;
}

.share-buttons-horizontal {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.share-btn-horizontal {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn-horizontal:hover {
    transform: translateY(-2px);
}

.share-btn-horizontal svg {
    width: 18px;
    height: 18px;
}

.share-btn-horizontal.twitter-btn:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.share-btn-horizontal.telegram-btn:hover {
    background: #0088cc;
    border-color: #0088cc;
}

.share-btn-horizontal.whatsapp-btn:hover {
    background: #25D366;
    border-color: #25D366;
}

.share-btn-horizontal.copy-link-btn:hover {
    background: #6366f1;
    border-color: #6366f1;
}

/* ==========================================
   بخش اطلاعات اضافی - فشرده
========================================== */

.cast-toggle-button {
    font-family: 'Vazir', sans-serif !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 15px 0;
}

.cast-toggle-button svg {
    width: 16px;
    height: 16px;
}

.additional-info {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
}

.additional-info-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.additional-info-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

.info-value {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

/* ==========================================
   Download Section - فشرده
========================================== */

.download-section {
    padding: 30px 40px;
}

.section-header-download {
    margin-bottom: 20px;
}

.download-title {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
}
*/
@media (max-width: 768px) {
    .section-header-download {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-report-issue {
        align-self: flex-start;
    }
}
/* ==========================================
   Responsive - فشرده‌تر
========================================== */

@media (max-width: 1024px) {
    .single-hero-content {
        flex-direction: column;
        padding: 30px;
    }
    
    .hero-left {
        max-width: 100%;
    }
    
    .hero-right {
        max-width: 100%;
        display: flex;
        gap: 15px;
    }
    
    .movie-poster-large {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .single-hero-content {
        padding: 20px;
    }
    
    .single-movie-title {
        font-size: 24px;
    }
    
    .movie-rating-year {
        flex-wrap: wrap;
    }
    
    .interaction-buttons {
        flex-wrap: wrap;
    }
    
    .interaction-btn {
        flex: 1;
        min-width: 70px;
        font-size: 12px;
        padding: 5px 8px;
    }
    
    .movie-action-buttons {
        flex-wrap: wrap;
    }
    
    .btn {
        flex: 1;
        min-width: 120px;
        font-size: 13px;
        padding: 8px 14px;
    }
    
    .hero-right {
        flex-direction: column;
    }
    
    .share-buttons-horizontal {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .single-movie-title {
        font-size: 20px;
    }
    
    .imdb-rating-box {
        padding: 6px 10px;
    }
    
    .rating-score {
        font-size: 16px;
    }
}


/* ==========================================
   Responsive - فشرده‌تر
========================================== */

@media (max-width: 1024px) {
    .single-hero-content {
        flex-direction: column;
        padding: 30px;
    }
    
    .hero-left {
        max-width: 100%;
    }
    
    .hero-right {
        max-width: 100%;
        display: flex;
        gap: 15px;
    }
    
    .movie-poster-large {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .single-hero-content {
        padding: 20px;
    }
    
    .single-movie-title {
        font-size: 24px;
    }
    
    .movie-rating-year {
        flex-wrap: wrap;
    }
    
    .interaction-buttons {
        flex-wrap: wrap;
    }
    
    .interaction-btn {
        flex: 1;
        min-width: 70px;
        font-size: 12px;
        padding: 5px 8px;
    }
    
    .movie-action-buttons {
        flex-wrap: wrap;
    }
    
    .btn {
        flex: 1;
        min-width: 120px;
        font-size: 13px;
        padding: 8px 14px;
    }
    
    .hero-right {
        flex-direction: column;
    }
    
    .share-buttons-horizontal {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .single-movie-title {
        font-size: 20px;
    }
    
    .imdb-rating-box {
        padding: 6px 10px;
    }
    
    .rating-score {
        font-size: 16px;
    }
}