﻿@charset "UTF-8";
/*
Theme Name: رویای فیلم
Theme URI: http://royayeFilm.com
Author: خودت 😊
Author URI: http://your-portfolio.com
Description: پوسته حرفه‌ای و مدرن دانلود فیلم و سریال با افکت‌های شیشه‌ای و سینمایی.
Version: 1.0
Tags: entertainment, movies, dark, responsive
*/
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');
:root {
  --blank-color:#11151a;
  --live-color:#f05f5f;
  --blue-50:#1a2638cc;
  --blue-color:#1a2638;
  --off-color:#e0e0e0;
  --yellow:#ffb700;
  --white:#fff;
  --theme:#0077ff;
  --ligh-color:#1a90ff;
  --font-size-large: 22px;
  --font-size-small: 14px;
  --fw6: 600;
  --fw5: 500;
  --padding-x: 120px
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
html{
    font-family: vazirmatn, sans-serif;
}
h1,h2,h3,h4,h5,h6{
    color: var(--white);
}

body {
    background-color: var(--blank-color);
    color: var(--off-color);
}
img{
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    object-fit: cover;
}
input,button,select{
    font: inherit;
    background: none;
    border: none;
    outline: none;
}
button{
    color: var(--off-color);
    cursor: pointer;
}
li{
    list-style: none;
}
a{
    text-decoration: none;
    display: block;
    color: var(--off-color);
}
/*اسکرول بار */
::-webkit-scrollbar{
    background: transparent;
}
::-webkit-scrollbar-thumb{
    background: var(--ligh-color);
    border-radius: 5rem;
    border: 3px solid var(--blank-color);
}

header{
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    background: rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.container{
    max-width: 1920px;
    margin: auto;
}
.navbar, .banner, .movies, .category{
    padding: 0 var(--padding-x);
}

/* ===== NAVBAR ===== */
.navbar{
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.navbar-brand img{
    width: 90px;
    height: auto;
    object-fit: contain;
}
.navbar-menu-btn{
    display: none;
}
.navbar-nav{
    display: flex;
    flex-direction: row !important;
    gap: 25px;
}
.navbar-link{
    font-size: var(--font-size-small);
    font-weight: var(--fw5);
    transition: 0.3s ease;
}
.navbar-link:hover{
    color: var(--ligh-color);
}

.navbar-actions{
    display: flex;
    align-items: center;
    gap: 20px;
}
.navbar-form{
    position: relative;
}
.navbar-form-search {
    background: var(--blue-color);
    width: 320px;
    height: 45px;
    padding: 14px 20px;
    border-radius: 15px;
    color: var(--off-color);
    font-size: var(--font-size-small);
    font-weight: var(--fw5);
}
.navbar-form-btn {
    background: var(--blue-color);
    position: absolute;
    top: calc(50% - 10px);
    left: 10px;
}
.navbar-form-btn ion-icon{
    font-size: 20px;
    color: var(--ligh-color);
}
.navbar-signin{
    display: flex;
    align-items: center;
    font-size: var(--font-size-small);
}
.navbar-signin ion-icon{
    font-size: 22px;
    color: var(--ligh-color);
    margin-left: 5px;
    transform: rotate(180deg);
}
.navbar-signin span{
    color: var(--ligh-color);
}
.navbar-form-close, .navbar-search-close, .navbar-search-btn {
    display: none;
}

/* ===== BANNER ===== */
.banner{
    margin-top: 15px;
}
.banner-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    background: #0f1722;
}
.banner-card::after, .banner-card::before{
    content:"";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.15));
    z-index: 1;
}
.banner-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.8);
    transition: 0.4s ease;
}
.card-content{
    position: absolute;
    right: 80px;
    bottom: 60px;
    left: 80px;
    z-index: 3;
}
.card-title{
    font-size: 3em;
    color: var(--white);
    text-shadow: 2px 0 2px #0007;
}
.banner-card:hover img{
    transform: scale(1.03);
}

/* ===== MOVIES & FILTER BAR ===== */
.movies{
    margin-bottom: 20px;
}
.filter-bar{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    background-color: var(--blue-color);padding: 15px 25px;
    border-radius: 16px;
    margin: 25px 0;
    width: 100%;
}
.filter-bar select{
    color: var(--white);
    font-size: var(--font-size-small);
    background: #1f2937;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}
.filter-bar option{
    background: var(--blank-color);
}
.filter-radios{
    position: relative;
    background-color: #1f2937;
    padding: 8px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    margin-right: auto; 
}
.filter-radios input{
    display: none;
}
.filter-radios label{
    position: relative;
    margin: 0 12px;
    font-size: var(--font-size-small);
    user-select: none;
    cursor: pointer;
    z-index: 10;
    color: var(--off-color);
}
.filter-radios input:checked + label,
.filter-radios label:hover{
    color: var(--white);
}
input ~ .checked-radio-bg{
    background-color: var(--ligh-color);
    position: absolute;
    top: 5px;
    bottom: 5px;
    z-index: 1;
    border-radius: 8px;
    transition: all 0.3s ease;
}
#featured:checked ~ .checked-radio-bg { right: 8px; width: 45px; }
#popular:checked ~ .checked-radio-bg { right: 58px; width: 55px; }
#newest:checked ~ .checked-radio-bg { right: 120px; width: 75px; }

/* ===== MOVIES GRID ===== */
.movies-grid{
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(160px , 1fr)) !important; 
    gap: 30px !important;
    margin-bottom: 60px !important;
    width: 100% !important;
}
.movie-card{
    cursor: pointer;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.movie-card.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.card-head{
    position: relative !important;
    height: 250px !important;
    border-radius: 15px !important;
    margin-bottom: 15px !important;
    overflow: hidden !important;
}
.movie-card:hover img {
    transform: scale(1.1);
}
.card-overlay{
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}
.movie-card:hover .card-overlay{
    opacity: 1;
}
.movie-card .bookmark, .movie-card .rating{
    position: absolute;
    top: 15px;
    padding: 6px;
    border-radius: 10px;
    color: var(--ligh-color);
    z-index: 3;
}
.movie-card .bookmark{ background: var(--blue-color); right: 15px; }
.movie-card .rating{ display: flex; align-items: center; left: 15px; background-color: var(--blue-50); }
.movie-card .rating span{ color: var(--white); font-size: 13px; margin-right: 5px; }
.movie-card .play{ position: absolute; top: 50%; left: 50%; transform: translate(-50% , -50%); z-index: 3;}
.movie-card .play ion-icon{ font-size: 60px; }
.movie-card .card-title{ font-size: 17px; font-weight: var(--fw5); margin-bottom: 5px; text-align: center; }
.movie-card:hover .card-title { color: var(--ligh-color); }
.movie-card .card-info{ display: flex; justify-content: space-evenly; font-size: var(--font-size-small); }

.load-more-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 40px 0 !important;
}
.load-more-btn {
    display: inline-block;
    background: var(--blue-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 12px;
    transition: 0.3s;
}
.load-more-btn:hover { background-color: var(--ligh-color); }

/* ===== CATEGORY ===== */
.section-heading{
    font-size: 26px;
    font-weight: var(--fw6);
    margin-bottom: 25px;
    position: relative;
    padding-right: 15px;
}
.section-heading::before {
    content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 22px; background: var(--ligh-color); border-radius: 4px;
}
.category{ margin-bottom: 60px; }
.category-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.category-card{ position: relative; height: 140px; border-radius: 16px; overflow: hidden; cursor: pointer; transition: 0.4s; }
.category-card::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%); z-index: 2; }
.category-card .name, .category-card .total{ position: absolute; bottom: 15px; color: var(--white); z-index: 10; }
.category-card .name{ right: 15px; font-size: 16px; font-weight: var(--fw6); }
.category-card .total{ left: 15px; font-size: 12px; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(5px); padding: 3px 8px; border-radius: 6px; }
.category-card:hover { transform: translateY(-5px); }
.category-card:hover img { transform: scale(1.08); }
.category-card:hover .name { color: var(--ligh-color); }

/* ===== FOOTER ===== */
footer{ margin-top: 80px; padding: 60px 40px 20px; background: #0f1722; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content{ display: flex; justify-content: space-between; gap: 80px; flex-wrap: wrap; }
.des{ color: #9ca3af; margin-bottom: 20px; line-height: 1.8; }
.social-link{ display: flex; gap: 15px; }
.social-link a{ width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.05); color: white; transition: 0.3s; }
.social-link a:hover{ background: #2563eb; transform: translateY(-4px); }
.footer-links{ display: flex; gap: 80px; }
.link-heading{ color: white; margin-bottom: 20px; font-size: 18px; }
.link-item{ margin-bottom: 12px; }
.link-item a{ color: #9ca3af; transition: 0.3s; }
.link-item a:hover{ color: white; }
.footer-copyright{ margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }

/* ===== MEDIA QUERIES (RESPONSIVE) ===== */
@media screen and (max-width: 1200px) {
    :root { --padding-x: 40px; }
    
    .navbar-menu-btn {
        display: block !important;
        position: relative !important;
        z-index: 1002 !important;
    }
    .navbar-menu-btn span {
        display: block; background-color: var(--off-color); width: 25px; height: 2px; margin: 5px 0; transition: 0.3s;
    }
    .navbar-menu-btn.active .one { transform: translateY(7px) rotate(45deg); }
    .navbar-menu-btn.active .two { opacity: 0; }
    .navbar-menu-btn.active .three { transform: translateY(-7px) rotate(-45deg); }

    /* منوی کشویی موبایل بدون تداخل با دسکتاپ */
    nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: #11151a !important;
        box-shadow: -5px 0 25px rgba(0,0,0,0.5) !important;
        transition: right 0.3s ease-in-out !important;
        z-index: 1000 !important;
        padding-top: 90px !important;
    }
    nav.active { right: 0 !important; }
    .navbar-nav { flex-direction: column !important; padding: 0 30px !important; gap: 20px !important; }
    .navbar-nav li:not(:last-child) { margin-left: 0 !important; }
    .navbar-link { font-size: 16px !important; padding: 10px 0 !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important; width: 100%; }

    .navbar-form { display: none; } 
}

@media screen and (max-width: 760px) {
    :root { --padding-x: 20px; }
    .movies { padding: 0 var(--padding-x); }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-radios { margin-right: 0; justify-content: center; }
}

html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* ===== کدهای تکمیلی صفحات دیگر شما ===== */
.movie-detail-container { margin: 40px var(--padding-x); background: var(--blue-color); padding: 40px; border-radius: 25px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.movie-detail-content { display: flex; gap: 40px; align-items: flex-start; }
.movie-main-poster { width: 300px; height: 450px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); flex-shrink: 0; }
.movie-main-info { flex-grow: 1; display: flex; flex-direction: column; gap: 20px; }
.movie-main-info .movie-title { font-size: 36px; font-weight: var(--fw6); color: var(--white); margin: 0; }
.movie-meta-badges { display: flex; gap: 15px; flex-wrap: wrap; }
.movie-badge { background: rgba(255, 255, 255, 0.08); padding: 6px 14px; border-radius: 10px; font-size: var(--font-size-small); color: var(--off-color); border: 1px solid rgba(255, 255, 255, 0.05); }
.movie-badge.rating-badge { background: rgba(255, 183, 0, 0.15); color: var(--yellow); border-color: rgba(255, 183, 0, 0.2); font-weight: var(--fw6); }
.movie-main-info .movie-description { font-size: 15px; line-height: 1.8; color: #9ca3af; margin: 10px 0; text-align: justify; }
.movie-actions-btns { display: flex; gap: 15px; margin-top: 10px; }
.movie-btn { display: flex; align-items: center; gap: 10px; padding: 12px 24px; border-radius: 12px; font-size: var(--font-size-small); font-weight: var(--fw6); transition: 0.3s ease; }
.movie-btn ion-icon { font-size: 20px; }
.movie-btn.btn-play-now { background: var(--ligh-color); color: var(--white); }
.movie-btn.btn-play-now:hover { background: #006cd4; }
.movie-btn.btn-bookmark-add { background: rgba(255, 255, 255, 0.05); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.1); }
.movie-btn.btn-bookmark-add:hover { background: rgba(255, 255, 255, 0.1); }

@media screen and (max-width: 992px) {
    .movie-detail-content { flex-direction: column; text-align: center; }
    .movie-main-info .movie-description { text-align: center; margin-left: auto; margin-top: auto; }
    .movie-meta-badges { justify-content: center; }
    .movie-main-poster { width: 220px; height: 320px; }
}
@media screen and (max-width: 768px) {
    .movie-detail-container { margin: 20px; padding: 20px; }
    .movie-main-info .movie-title { font-size: 28px; }
}

/* ===== فیکس قطعی و شیک دکمه پلی، ستاره و امتیاز روی پوسترها ===== */

/* تنظیم موقعیت لایه رویی پوستر فیلم */
.movie-card .card-head {
    position: relative !important;
    overflow: hidden !important;
}

/* لایه تاریک‌کننده روی پوستر هنگام هاور */
.movie-card .card-overlay {
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
    background: rgba(17, 21, 26, 0.75) !important; /* رنگ تم تاریک سایت */
    backdrop-filter: blur(4px) !important; /* افکت بلور شیک */
    transition: opacity 0.3s ease !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* وقتی ماوس روی کارت میره، لایه رویی ظاهر بشه */
.movie-card:hover .card-overlay {
    opacity: 1 !important;
}

/* دکمه پلی بزرگ وسط پوستر */
.movie-card .play {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.9) !important;
    color: var(--ligh-color) !important;
    transition: 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.movie-card .play ion-icon {
    font-size: 55px !important;
}

/* افکت بزرگ شدن دکمه پلی هنگام هاور */
.movie-card:hover .play {
    transform: translate(-50%, -50%) scale(1) !important;
}

.movie-card .play:hover {
    color: var(--white) !important;
}

/* دکمه نشان کردن (Bookmark) بالای سمت راست */
.movie-card .bookmark {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    background: var(--blue-color) !important;
    padding: 6px !important;
    border-radius: 8px !important;
    color: var(--white) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: 0.2s !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.movie-card .bookmark ion-icon {
    font-size: 18px !important;
}

.movie-card .bookmark:hover {
    background: var(--ligh-color) !important;
}

/* باکس امتیاز و ستاره بالای سمت چپ */
.movie-card .rating {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    background: rgba(26, 38, 56, 0.9) !important;
    padding: 4px 8px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.movie-card .rating ion-icon {
    color: var(--yellow) !important;
    font-size: 14px !important;
}

.movie-card .rating span {
    color: var(--white) !important;
    font-size: 12px !important;
    font-weight: var(--fw6) !important;
}
/* ===== فیکس قطعی و شیک کردن فوتر رویای فیلم ===== */
footer {
    background-color: #0f1722 !important;
    padding: 60px var(--padding-x) 30px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin-top: 80px !important;
}

/* تراز کردن بخش اصلی فوتر به صورت فلکس‌باکس راست‌چین */
footer .footer-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 50px !important;
    flex-wrap: wrap !important;
    direction: rtl !important;
}

/* فیکس کردن ابعاد و استایل بخش لوگو */
footer .footer-brand {
    flex: 1 !important;
    min-width: 250px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

footer .footer-brand img {
    width: 120px !important; /* اندازه استاندارد و شیک لوگو در فوتر */
    height: auto !important;
    object-fit: contain !important;
}

footer .des {
    color: #9ca3af !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    margin: 0 !important;
}

/* تراز کردن ستون‌های لینک‌های دسترسی سریع */
footer .footer-links {
    display: flex !important;
    gap: 80px !important;
    flex-wrap: wrap !important;
}

footer .footer-links ul {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

footer .link-heading {
    color: var(--white) !important;
    font-size: 16px !important;
    font-weight: var(--fw6) !important;
    margin-bottom: 20px !important;
    position: relative !important;
}

footer .link-item {
    margin-bottom: 12px !important;
}

footer .link-item a {
    color: #9ca3af !important;
    font-size: 14px !important;
    transition: 0.3s ease !important;
}

footer .link-item a:hover {
    color: var(--ligh-color) !important;
    padding-right: 5px !important; /* یک انیمیشن ریز موقع هاور */
}

/* شیک کردن بخش شبکه های اجتماعی */
footer .social-link {
    display: flex !important;
    gap: 12px !important;
    margin-top: 10px !important;
}

footer .social-link a {
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--white) !important;
    transition: 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

footer .social-link a:hover {
    background: var(--ligh-color) !important;
    color: var(--white) !important;
    transform: translateY(-3px) !important;
}

/* فیکس کردن بخش کپی رایت پایین فوتر */
footer .footer-copyright {
    margin-top: 40px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    width: 100% !important;
}

footer .copyright p, 
footer .wrapper a {
    color: #6b7280 !important;
    font-size: 13px !important;
    margin: 0 !important;
}

footer .wrapper a:hover {
    color: var(--white) !important;
}

/* واکنش‌گرایی فوتر برای گوشی‌ها */
@media screen and (max-width: 768px) {
    footer {
        padding: 40px 20px 20px !important;
    }
    footer .footer-content {
        flex-direction: column !important;
        gap: 35px !important;
        text-align: center !important;
    }
    footer .footer-brand {
        align-items: center !important;
    }
    footer .footer-links {
        width: 100% !important;
        justify-content: space-around !important;
        gap: 30px !important;
    }
    footer .footer-copyright {
        flex-direction: column !important;
        text-align: center !important;
    }
}
/* ===== نمایش و تراز کردن کپشن زیر پوسترها ===== */

/* کارت فیلم باید فضای کافی برای متن داشته باشد */
.movie-card {
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
}

/* استایل بخش متنی زیر پوستر */
.card-body {
    padding: 15px 5px !important;
    text-align: right !important;
}

/* اسم فیلم */
.card-title {
    color: var(--white) !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* اطلاعات ژانر و سال */
.card-info {
    display: flex !important;
    gap: 10px !important;
    color: #9ca3af !important;
    font-size: 13px !important;
}



/* ===================================================
   بخش اختصاصی اسلایدر بنر و افکت بلور شیشه‌ای (فیکس نهایی)
====================================================== */
.mySwiper {
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.banner-card {
    height: 450px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #11151a;
    position: relative;
    overflow: hidden;
}

.banner-card .banner-bg-blur {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: blur(25px) brightness(0.5) !important;
    transform: scale(1.2);
    z-index: 1;
    pointer-events: none;
}

.banner-card .banner-main-img {
    position: relative !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: 100% !important;
    object-fit: contain !important;
    z-index: 3;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.7);
}

/* باکس دکمه مشاهده فیلم در سمت راست بنر */
.banner-card .card-content {
    position: absolute !important;
    bottom: 35px !important;
    right: 50px !important;
    left: auto !important;
    transform: none !important;
    z-index: 5 !important;
}

/* دکمه کپسولی، کوچک و لوکس شیشه‌ای */
.banner-card .load-more-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--white) !important;
    padding: 8px 24px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
}

.banner-card .load-more-btn:hover {
    background: var(--ligh-color) !important;
    border-color: var(--ligh-color) !important;
    color: var(--white) !important;
    box-shadow: 0 6px 20px rgba(26, 144, 255, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* ===================================================
   🛠️ نوسازی کامل فیلتربار و دکمه‌های ۳تایی
====================================================== */
.filter-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin: 40px 0 30px !important;
    width: 100% !important;
}

.select-group {
    display: flex !important;
    gap: 15px !important;
}

/* استایل سلکت باکس‌های ژانر و سال */
.filter-bar select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #1a2638 !important;
    color: var(--white) !important;
    font-family: vazirmatn, sans-serif !important;
    font-size: 14px !important;
    padding: 10px 40px 10px 20px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231a90ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: left 12px center !important;
    background-size: 16px !important;
    min-width: 140px !important;
}

.filter-bar select:hover { border-color: var(--ligh-color) !important; }
.filter-bar select option { background-color: #11151a !important; color: var(--white) !important; }

/*باکس دکمه‌های ویژه، محبوب، جدید */
.filter-radios {
    display: flex !important;
    align-items: center !important;
    background-color: #1a2638 !important;
    padding: 4px !important;
    border-radius: 12px !important;
    width: auto !important; /* لغو عرض ثابت قدیمی تداخل‌زا */
    height: 45px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.filter-radios input[type="radio"] {
    display: none !important; /* حذف دایره‌های رادیویی زشت */
}

.filter-radios label {
    padding: 0 22px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    color: var(--off-color) !important;
    border-radius: 8px !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

/* افکت دکمه فعال هنگام انتخاب */
.filter-radios input[type="radio"]:checked + label {
    background-color: var(--ligh-color) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(26, 144, 255, 0.3) !important;
}

.checked-radio-bg { display: none !important; } /* حذف لایه مطلق تداخل‌زای قدیمی */

/* ===== فعال‌سازی استایل منوی همبرگری موبایل ===== */
#navbar-menu.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@media screen and (max-width: 768px) {
    .banner-card { height: 260px !important; }
    .banner-card .card-content { right: 20px !important; bottom: 20px !important; }
    .filter-bar { justify-content: center !important; }
}





/* ===================================================
   🎬 باکس هیرو شیک اختصاصی فیلم (طرح پانیشر)
====================================================== */
.movie-details-section {
    position: relative !important;
    min-height: 450px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 24px !important; /* گوشه‌های گرد مثل نمونه */
    overflow: hidden !important;
    margin: 30px var(--padding-x) !important;
    background: #15191e !important; /* پس‌زمینه تیره هماهنگ */
    padding: 40px 50px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5) !important;
}

/* تصویر پس‌زمینه بلور شده داینامیک */
.movie-details-section .movie-bg-blur {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: blur(15px) brightness(0.45) !important; /* ماتی عمیق سینمایی */
    transform: scale(1.15);
    z-index: 1;
    pointer-events: none;
}

.movie-details-wrapper {
    position: relative !important;
    z-index: 3 !important;
    display: flex !important;
    flex-direction: row-reverse !important; /* راست‌چین کردن کامل پوستر و متن */
    gap: 50px !important;
    align-items: center !important;
    width: 100% !important;
}

/* پوستر سمت راست */
.movie-poster-box {
    width: 250px !important;
    min-width: 250px !important;
    height: 360px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7) !important;
}

/* باکس متن سمت چپ */
.movie-info-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    text-align: right !important;
    flex-grow: 1 !important;
    align-items: flex-start !important; /* مرتب‌سازی آیتم‌ها از راست به چپ */
}

/* برای اینکه در حالت راست‌چین، متون چسبیده به راست بمانند */
.movie-info-box h1, .movie-info-box p {
    width: 100% !important;
}

.movie-info-box h1 {
    font-size: 42px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    margin: 0 0 5px 0 !important;
}

/* ✨ فیکس کردن صف کپسول‌ها به صورت افقی (دقیقاً مثل پانیشر) */
.movie-meta-tags {
    display: flex !important;
    flex-direction: row !important; /* چیدمان حتما افقی */
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    justify-content: flex-start !important;
}

/* استایل کپسول‌های رنگی زيبا */
.movie-badge {
    background: #0077ff !important; /* رنگ کپسول ژانر */
    color: var(--white) !important;
    padding: 6px 18px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

/* کپسول سال و زمان (طوسی تیره شیک) */
.movie-badge.info-tag {
    background: #1e2530 !important;
    color: #94a3b8 !important;
}

/* کپسول امتیاز (طلایی لوکس) */
.movie-badge.rating-badge {
    background: #b4530933 !important;
    color: #fbbf24 !important;
    border: 1px solid #b4530966 !important;
    font-weight: 600 !important;
}

.movie-description {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #cbd5e1 !important;
    margin: 0 !important;
}

/* 📥 دکمه دانلود بزرگ و کشیده شبیه نمونه پانیشر */
.movie-actions-btns {
    width: 100% !important;
    display: flex !important;
    justify-content: flex-start !important;
    margin-top: 10px !important;
}

.btn-play-now {
    background: #0077ff !important; /* رنگ آبی دکمه پانیشر */
    color: var(--white) !important;
    padding: 12px 40px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    border: none !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.3) !important;
}

.btn-play-now:hover {background: #0066da !important;
    transform: translateY(-2px) !important;
}

/* ریسپانسیو مچ برای موبایل */
@media screen and (max-width: 768px) {
    .movie-details-section { margin: 15px !important; padding: 30px 20px !important; }
    .movie-details-wrapper { flex-direction: column !important; gap: 25px !important; }
    .movie-poster-box { width: 180px !important; min-width: 180px !important; height: 260px !important; }
    .movie-info-box { align-items: center !important; text-align: center !important; }
    .movie-meta-tags { justify-content: center !important; }
    .movie-actions-btns { justify-content: center !important; }
}

.movie-info-box .movie-meta-tags {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
}

/*************/

/* ===== صفحه اختصاصی فیلم ===== */
.movie-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 450px; /* یا هر ارتفاعی که برای هدر فیلم در نظر داری */
    overflow: hidden;
    z-index: 1;
}

.movie-bg-blur {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* جلوگیر از دفرمه شدن عکس */
    object-position: center !important;
    filter: blur(30px); /* ماتی بک‌گراند */
    transform: scale(1.1); /* برای اینکه لبه‌های تصویر به خاطر مات شدن سفید نشن */
}

.movie-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(10,15,25,0.95) 40%, rgba(10,15,25,0.6));
}

.movie-details-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 60px var(--padding-x);
    overflow: hidden;
}

.movie-details-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
}

.movie-poster-box img {
    width: 220px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.movie-info-box {
    flex: 1;
}

.movie-single-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}

.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.movie-rating-star {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #1a1a2e;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 5px 12px;
    color: #fbbf24;
    font-weight: 700;
    font-size: 16px;
}

.quality-tag {
    background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
    color: #fff !important;
    font-weight: 700 !important;
}

/* ===== بخش دانلود ===== */
.download-section {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 20px;
    margin-top: 15px;
}

.download-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 15px;
}

.download-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dl-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    min-width: 100px;
    gap: 4px;
}

.dl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.dl-quality {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.dl-label {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
}

.dl-btn-sub {
    background: linear-gradient(135deg, #1e3a5f, #2d5a8e);
    border: 1px solid rgba(99,179,237,0.3);
}

.dl-btn-dub {
    background: linear-gradient(135deg, #1a3d2b, #2d6a4f);
    border: 1px solid rgba(72,187,120,0.3);
}

.dl-btn-hard {
    background: linear-gradient(135deg, #3d1a1a, #6a2d2d);
    border: 1px solid rgba(252,129,129,0.3);
}

.dl-btn-hd {
    border-color: rgba(251,191,36,0.4) !important;
    box-shadow: 0 0 15px rgba(251,191,36,0.1);
}

.similar-movies {
    padding: 50px var(--padding-x);
}


/* 📱 استایل‌های مخصوص موبایل و تبلت */
@media screen and (max-width: 768px) {
    .movie-single-title {
        font-size: 20px !important; /* کوچک‌تر کردن عنوان فیلم */
        line-height: 1.5;
    }
    
    .movie-meta-row {
        flex-wrap: wrap; /* اگر باکس‌ها زیاد بودند بروند خط بعد */
        gap: 8px !important;
    }

    .movie-badge, .movie-rating-star {
        font-size: 12px !important; /* کوچک کردن دکمه‌های اطلاعات */
        padding: 6px 10px !important;
    }
    
    .movie-details-wrapper {
        flex-direction: column; /* پوستر و اطلاعات زیر هم بیفتند */
        align-items: center;
        text-align: center;
    }
    
    .movie-info-box {
        padding-right: 0 !important; /* حذف فاصله‌های اضافی در موبایل */
        margin-top: 20px;
    }
}

/* باکس کل اطلاعات سمت راست پوستر */
.movie-info-box {
    display: flex;
    flex-direction: column;
    gap: 20px; /* ایجاد فاصله عمودی منظم بین عنوان، متاها، داستان و دکمه‌ها */
    text-align: right;
    direction: rtl;
    width: 100%;
}

/* ردیف دکمه‌های کوچک (امتیاز، سال، زمان و...) */
.movie-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 5px;
}

/* باکس خلاصه داستان فیلم */
.movie-storyline-section {
    margin-top: 10px;
    margin-bottom: 15px;
}

.movie-description {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
    max-width: 650px; /* جلوگیری از کشیده شدن بیش از حد متن */
}

/* باکس دکمه‌های دانلود بزرگ آبی */
.download-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 10px;
    max-width: 500px; /* شیک و جمع‌وجور شدن باکس دانلود */
}

.download-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 15px;
    margin-bottom: 15px;
}

.download-grid {
    display: flex;
    gap: 12px;
}

/* استایل دکمه‌های دانلود */
.dl-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    background: #0284c7; /* یا همان رنگ آبی زیبایی که داری */
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dl-btn:hover {
    background: #0369a1;
    transform: translateY(-2px);
}


/* ===================================================
   💎 استایل اصلاحی و پیشرفته صفحه اختصاصی فیلم (پانیشر)
====================================================== */
.movie-single-main {
    width: 100%;
    margin-bottom: 50px;
    direction: rtl;
}

/* اصلاح باکس هیرو و پس‌زمینه بلور */
.movie-details-section {
    position: relative !important;
    min-height: 500px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    margin: 40px var(--padding-x) !important;
    background: #15191e !important;
    padding: 50px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6) !important;
}

.movie-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 21, 26, 0.4) 0%, rgba(17, 21, 26, 0.85) 100%);
    z-index: 2;
}

.movie-details-wrapper {
    position: relative !important;
    z-index: 5 !important;
    display: flex !important;
    flex-direction: row !important; /* چیدمان افقی استاندارد راست به چپ */
    gap: 45px !important;
    align-items: flex-start !important;
    width: 100% !important;
}

/* اصلاح پوستر فیلم */
.movie-poster-box {
    width: 280px !important;
    min-width: 280px !important;
    height: 410px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8) !important;
    flex-shrink: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.movie-poster-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* اصلاح تراز متن و کپسول‌های فیلم */
.movie-info-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
    text-align: right !important;
    flex-grow: 1 !important;
    align-items: flex-start !important;
}

.movie-page-title {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    margin: 0 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* ردیف کپسول‌ها */
.movie-info-box .movie-meta-tags-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 100% !important;
}

.movie-info-box .movie-badge {
    font-size: 13px !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    font-weight: 500 !important;
}

.movie-info-box .movie-badge.info-tag {
    background: rgba(255, 255, 255, 0.07) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
}

.movie-info-box .movie-badge.quality-tag {
    background: rgba(26, 144, 255, 0.15) !important;
    color: var(--ligh-color) !important;
    border: 1px solid rgba(26, 144, 255, 0.3) !important;
}

/* باکس‌های فیلد دلخواه ACF جدید */
.movie-acf-creators {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 15px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.creator-line {
    font-size: 14px;
    color: #e2e8f0;
}

.creator-line strong {
    color: var(--ligh-color);
}

/* متن خلاصه داستان */
.movie-storyline-container {
    width: 100% !important;
}

.story-title {
    font-size: 18px !important;
    color: var(--white) !important;
    margin-bottom: 10px !important;
}

.movie-info-box .movie-description {
    font-size: 15px !important;
    line-height: 1.9 !important;
    color: #94a3b8 !important;
    text-align: justify !important;
}

/* ===================================================
   🛠️ طراحی فوق مدرن و لوکس باکس‌های دانلود شیشه‌ای
====================================================== */
.movie-download-center-section {
    padding: 0 var(--padding-x);
    margin-top: 40px;
}

.download-block-card {
    background: #1a2638;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.download-block-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 25px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: var(--white) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
}

.download-block-title ion-icon {
    font-size: 24px;
    color: var(--ligh-color);
}

.download-links-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* استایل دکمه‌های پهن و جذاب دانلود */
.custom-dl-btn {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 16px 25px !important;
    border-radius: 12px !important;
    color: var(--white) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.custom-dl-btn ion-icon {
    font-size: 22px;
    transition: transform 0.3s ease;
}

/* هاور دکمه‌ها */
.custom-dl-btn:hover {
    background: var(--ligh-color) !important;
    border-color: var(--ligh-color) !important;
    transform: translateX(-5px) !important; /* افکت حرکت به سمت چپ شیک */
    box-shadow: 0 5px 15px rgba(26, 144, 255, 0.3) !important;
}

.custom-dl-btn:hover ion-icon {
    transform: scale(1.2);
}

/* دکمه اختصاصی کیفیت بالا */
.custom-dl-btn.size-1080 {
    border-left: 4px solid var(--ligh-color) !important;
}

/* ===================================================
   📱 ریسپانسیو کامل و بی نقص نسخه موبایل (فیکس نهایی)
====================================================== */
@media screen and (max-width: 992px) {
    .movie-details-section {
        margin: 20px !important;
        padding: 30px !important;
    }
    
    .movie-details-wrapper {
        flex-direction: column !important; /* در تبلت و موبایل زیر هم بروند */
        align-items: center !important;
        gap: 30px !important;
    }
    
    .movie-poster-box {
        width: 220px !important;
        min-width: 220px !important;
        height: 320px !important;
    }
    
    .movie-info-box {
        align-items: center !important;
        text-align: center !important;
    }
    
    .movie-info-box .movie-meta-tags-row {
        justify-content: center !important;
    }
    
    .movie-info-box .movie-description {
        text-align: center !important;
    }
}

@media screen and (max-width: 768px) {
    .movie-details-section {
        margin: 15px !important;
        padding: 20px 15px !important;
    }
    
    .movie-page-title {
        font-size: 26px !important;
    }
    
    .movie-download-center-section,
    .movie-comments-section-container {
        padding: 0 15px !important;
    }
    
    .download-block-card {
        padding: 20px;
    }
    
    .custom-dl-btn {
        font-size: 13px !important;
        padding: 12px 15px !important;
    }
}

/* ظریف و استاندارد کردن نوشته‌های دکمه دانلود */
.custom-dl-btn {
    padding: 12px 20px !important; /* جمع و جورتر شدن باکس */
    font-size: 14px !important; /* کوچک‌تر شدن فونت اصلی دکمه */
}

.custom-dl-btn span {
    font-size: 13px !important; /* ریز و شیک شدن متن کیفیت‌ها */
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.9);
}

.custom-dl-btn ion-icon {
    font-size: 18px !important; /* کوچک‌تر شدن آیکون دانلود */
    color: var(--ligh-color);
}

/* استایل عنوان انگلیسی */
.movie-english-title {
    font-family: 'Roboto', sans-serif !important;
    font-size: 18px !important;
    color: #64748b !important;
    margin-top: -15px !important;
    font-weight: 500 !important;
    letter-spacing: 0.8px !important;
    text-align: right !important;
    direction: ltr !important;
    width: 100% !important;
}

/* تراز کردن آیکون‌های جدید داخل مشخصات فیلم */
.movie-badge ion-icon, .creator-line ion-icon {
    font-size: 16px;
    color: var(--ligh-color);
    vertical-align: middle;
}

.movie-badge span, .creator-line span {
    margin-right: 5px;
    vertical-align: middle;
}

/* 🎯 فیکس نهایی سایز دکمه‌ها و متن‌های دانلود (فوق‌العاده ظریف) */
.custom-dl-btn {
    padding: 10px 18px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.02) !important;
}

.custom-dl-btn span {
    font-size: 13px !important; /* کاملاً ریز و شیک */
    font-weight: 500 !important;
    color: #cbd5e1 !important;
}

.custom-dl-btn ion-icon {
    font-size: 16px !important; /* ظریف شدن آیکون داخل دکمه */
    color: var(--ligh-color) !important;
}

.creator-line {
    display: flex;
    align-items: center;
    gap: 8px;
}
/* ===================================================
   📺 استایل باکس دانلود تاشو (آکاردئونی) مخصوص سریال‌ها
====================================================== */
.series-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* دکمه اصلی بازکننده فصل */
.accordion-header {
    width: 100%;
    background: #1a2638;
    border: none;
    padding: 18px 20px;
    color: var(--white);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.accordion-header:hover {
    background: #223249;
}

/* آیکون فلش */
.accordion-header .arrow-icon {
    font-size: 18px;
    color: var(--off-color);
    transition: transform 0.3s ease;
}

/* محتوای داخلی لینک‌ها که در حالت عادی مخفی است */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    background: rgba(17, 21, 26, 0.3);
}

/* وقتی کلاس active به آیتم اضافه می‌شود */
.accordion-item.active .accordion-content {
    max-height: 1000px; /* یک مقدار بزرگ برای اینکه همه لینک‌ها جا بشن */
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* چرخیدن فلش در حالت باز */
.accordion-item.active .arrow-icon {
    transform: rotate(180deg);
    color: var(--ligh-color);
}

/* ===================================
   📱 ریسپانسیو موبایل - رویای فیلم
=================================== */

@media (max-width: 768px) {

    /* --- ناوبار --- */
    .navbar {
        padding: 10px 4%;
        position: relative;
    }

    .navbar-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 75%;
        height: 100vh;
        background: #0f172a;
        z-index: 9999;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
        transition: auto;
    }

    .navbar-menu.active {
        display: block !important;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0;
    }

    .navbar-nav li {
        border-bottom: 1px solid #1e293b;
    }

    .navbar-link {
        display: block;
        padding: 16px 10px;
        font-size: 16px;
        color: #fff;
    }

    .navbar-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 5px;
        z-index: 10000;
    }

    .navbar-menu-btn span {
        display: block;
        width: 25px;
        height: 2px;
        background: #fff;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .navbar-menu-btn.active .one {
        transform: translateY(7px) rotate(45deg);
    }
    .navbar-menu-btn.active .two {
        opacity: 0;
    }
    .navbar-menu-btn.active .three {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-title {
        font-size: 22px !important;
    }

    .hero-subtitle {
        font-size: 13px !important;
    }

    /* --- فیلتربار --- */
    .filter-bar {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .filter-bar select {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }

    .filter-radios {
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    /* --- گرید فیلم‌ها --- */
    .movies-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 4%;
    }

    .card-title {
        font-size: 13px !important;
    }

    .card-info {
        font-size: 11px !important;
    }

    /* --- دسته‌بندی‌ها --- */
    .category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* --- صفحه اختصاصی فیلم --- */
    .movie-details-wrapper {
        flex-direction: column !important;
        align-items: center;
        gap: 20px;
    }

    .movie-poster-box {
        width: 180px !important;
        margin: 0 auto;
    }

    .movie-page-title {
        font-size: 20px !important;
        text-align: center;
    }

    .movie-english-title {
        font-size: 14px !important;
        text-align: center;
    }

    .movie-meta-tags-row {
        justify-content: center !important;
        flex-wrap: wrap;
    }

    .download-links-grid-layout {
        grid-template-columns: 1fr !important;
    }

    /* --- فوتر --- */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .swiper-slide div {
        flex-direction: column !important;
        padding: 20px !important;
        min-height: 300px !important;
        justify-content: flex-end !important;
    }

    .swiper-slide h1 {
        font-size: 18px !important;
        margin-bottom: 6px !important;
    }

    .swiper-slide p {
        font-size: 12px !important;
        margin-bottom: 8px !important;
    }

    .swiper-slide img {
        width: 130px !important;
        height: 190px !important;
    }
}

@media (max-width: 480px) {
    .movies-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .hero-title {
        font-size: 18px !important;
    }

    .watch-btn {
        font-size: 13px !important;
        padding: 8px 16px !important;
    }
}

/* =================================================== */
/* 💅 بهینه‌سازی، شیک‌سازی و استاندارد کردن فونت‌های صفحه فیلم و سریال */
/* =================================================== */

/* عنوان اصلی فیلم یا سریال */
.movie-details h1 {
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: var(--white, #fff) !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.5px;
}

/* عنوان انگلیسی فیلم (زیر عنوان اصلی) */
.movie-details h2, 
.movie-details .english-title {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 20px !important;
    font-family: 'Roboto', sans-serif !important; /* استفاده از فونت انگلیسی تم */
}

/* ردیف تگ‌ها و اطلاعات بالا (سال، ژانر، کشور و...) */
.movie-meta-tags-row {
    gap: 10px !important;
    margin-bottom: 20px !important;
}

.movie-meta-tags-row span {
    font-size: 12.5px !important;
    font-weight: 500 !important;
    padding: 5px 12px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--off-color, #e0e0e0) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* استایل خاص برای امتیاز IMDB */
.movie-meta-tags-row span:has(ion-icon[name="star"]),
.movie-meta-tags-row .rating-span {
    background: rgba(255, 183, 0, 0.15) !important;
    color: var(--yellow, #ffb700) !important;
    border: 1px solid rgba(255, 183, 0, 0.2) !important;
    font-weight: 600 !important;
}

/* بخش اطلاعات هدر (کارگردان، بازیگران و...) */
.movie-info-box p {
    font-size: 14px !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 10px !important;
}

.movie-info-box p strong {
    color: var(--yellow, #ffb700) !important;
    font-weight: 600 !important;
    margin-left: 5px;
}

/* متن خلاصه داستان */
.movie-story {
    margin-top: 25px !important;
    background: rgba(0, 0, 0, 0.2) !important;
    padding: 20px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
}

.movie-story h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--white, #fff) !important;
    margin-bottom: 10px !important;
}

.movie-story p {
    font-size: 13.5px !important;
    line-height: 1.9 !important;
    color: #b4c6ef !important; /* رنگ نیلی ملایم و شیک برای خسته نشدن چشم */
    text-align: justify !important;
}

/* عناوین بخش دانلود و نظرات */
.movie-download-center-section .section-heading,
.movie-comments-section-container .section-heading {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--white, #fff) !important;
    margin-bottom: 20px !important;
    position: relative;
    padding-right: 12px;
}

.movie-download-center-section .section-heading::before,
.movie-comments-section-container .section-heading::before {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 4px;
    background: var(--yellow, #ffb700);
    border-radius: 2px;
}

/* =================================================== */
/* 📱 ریسپانسیو و بهینه‌سازی فونت‌ها در موبایل */
/* =================================================== */
@media screen and (max-width: 768px) {
    .movie-details h1 {
        font-size: 21px !important;
    }
    
    .movie-details h2, 
    .movie-details .english-title {
        font-size: 14px !important;
    }
    
    .movie-meta-tags-row span {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }

    .movie-info-box p {
        font-size: 13px !important;
    }

    .movie-story p {
        font-size: 13px !important;
        line-height: 1.8 !important;
    }
    
    .movie-download-center-section .section-heading,
    .movie-comments-section-container .section-heading {
        font-size: 16px !important;
    }
}

.filter-radio-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    background: #1e293b;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #334155;
    transition: all 0.2s;
    margin: 2px;
}

.filter-radio-btn:hover,
.filter-radio-btn.active {
    background: #ffc107;
    color: #000;
    border-color: #ffc107;
    font-weight: bold;
}



@media (max-width: 768px) {
    #navbar-menu {
        display: none !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 75%;
        height: 100vh;
        background: #0f172a;
        z-index: 99999;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.8);
        overflow-y: auto;
        transition: transform 0.3s ease;
    }

    #navbar-menu.active {
        display: block !important;
    }

    .navbar-menu-btn {
        display: flex !important;
        z-index: 100000;
        position: relative;
    }
}


/* فیکس Admin Bar روی موبایل */
@media (max-width: 768px) {
    #wpadminbar {
        position: fixed !important;
        top: 0;
        z-index: 99998;
    }

    .navbar-menu-btn {
        position: relative;
        z-index: 999999 !important;
        pointer-events: all !important;
    }

    #navbar-menu {
        top: 0 !important;
    }
}

/* ===== فیکس موبایل ===== */
@media (max-width: 768px) {

    /* فیکس دکمه همبرگری */
    .navbar-menu-btn {
        position: relative;
        z-index: 999999 !important;
        cursor: pointer;
        touch-action: manipulation;
    }

    /* فیکس بنر موبایل */
    .swiper-slide > div {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 20px !important;
        min-height: 350px !important;
        gap: 15px !important;
    }

    .swiper-slide > div > img {
        width: 140px !important;
        height: 200px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
    }

    .swiper-slide > div > div h1 {
        font-size: 18px !important;
        text-align: center !important;
        margin-bottom: 6px !important;
    }

    .swiper-slide > div > div p {
        font-size: 12px !important;
        text-align: center !important;
        margin-bottom: 8px !important;
    }

    .swiper-slide > div > div a {
        font-size: 12px !important;
        padding: 8px 16px !important;
    }

    /* فیکس navbar */
    .navbar {
        position: relative;
        z-index: 9999;
    }
}

@media screen and (max-width: 1200px) {
    #navbar-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: #11151a !important;
        box-shadow: -5px 0 25px rgba(0,0,0,0.5) !important;
        transition: right 0.3s ease-in-out !important;
        z-index: 1000 !important;
        padding-top: 90px !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    #navbar-menu.active {
        right: 0 !important;
    }
}

.navbar-close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .swiper-slide > div {
        flex-direction: column !important;
        align-items: center !important;
        padding: 20px !important;
        gap: 15px !important;
        min-height: auto !important;
    }
    .swiper-slide img {
        width: 160px !important;
        height: 230px !important;
    }
    .swiper-slide .banner-info {
        text-align: center !important;
        width: 100% !important;
    }
}

@media screen and (max-width: 768px) {
    .swiper-slide > div {
        flex-direction: column !important;
        padding: 25px 15px !important;
        gap: 20px !important;
        min-height: auto !important;
        justify-content: flex-start !important;
    }
    .swiper-slide > div > img {
        width: 150px !important;
        height: 220px !important;
        align-self: center !important;
    }
    .swiper-slide > div > div {
        text-align: center !important;
        max-width: 100% !important;
    }
    .swiper-slide > div > div h1 {
        font-size: 20px !important;
    }
}
@media screen and (max-width: 768px) {
    .swiper-slide > div {
        flex-direction: column !important;
        align-items: center !important;
        padding: 30px 20px 25px !important;
        gap: 18px !important;
        min-height: auto !important;
        text-align: center !important;
    }
    .swiper-slide > div > img {
        width: 180px !important;
        height: 265px !important;
        align-self: center !important;
        border-radius: 16px !important;
        box-shadow: 0 15px 50px rgba(0,0,0,0.9) !important;
    }
    .swiper-slide > div > div {
        text-align: center !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .swiper-slide > div > div h1 {
        font-size: 22px !important;
        margin-bottom: 6px !important;
    }
    .swiper-slide > div > div p {
        font-size: 13px !important;
        margin-bottom: 15px !important;
    }
    .swiper-slide > div > div a {
        display: inline-flex !important;
        justify-content: center !important;
        width: 80% !important;
        padding: 12px !important;
        font-size: 15px !important;
        border-radius: 12px !important;
    }
}

@media screen and (max-width: 768px) {
    .movie-page-title {
        font-size: 20px !important;
    }
    .movie-english-title {
        font-size: 12px !important;
    }
    .movie-badge {
        font-size: 11px !important;
        padding: 4px 10px !important;
    }
    .story-title {
        font-size: 14px !important;
    }
    .movie-description {
        font-size: 13px !important;
        line-height: 1.7 !important;
    }
}

.user-dropdown {
    position: relative;
    display: inline-block;
}
.user-dropdown-btn {
    background: linear-gradient(135deg, #1a90ff, #0077ff) !important;
    border: none !important;
    color: #fff !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-family: inherit !important;
}
.user-dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    min-width: 160px;
    z-index: 9999;
    overflow: hidden;
}
.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}
.user-dropdown-menu a:hover {
    background: #0f172a;
}
.user-dropdown:hover .user-dropdown-menu {
    display: block;
}
.profile-header {
    justify-content: flex-end !important;
}
.profile-logout {
    margin-right: auto !important;
    margin-left: 0 !important;
}
.profile-tabs {
    justify-content: flex-end !important;
}
.saved-grid {
    justify-items: end !important;
}

@media (max-width: 768px) {
    .profile-wrap { padding: 0 12px; margin: 20px auto; }
    .profile-header { padding: 20px; gap: 12px; }
    .profile-avatar { width: 60px; height: 60px; font-size: 24px; }
    .profile-name { font-size: 16px; }
    .profile-email { font-size: 11px; }
    .profile-logout { padding: 6px 12px; font-size: 12px; }
    .saved-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
    .saved-card img { height: 160px !important; }
    .saved-card-title { font-size: 11px !important; padding: 6px 8px !important; }
    .profile-tabs { gap: 5px; }
    .profile-tab { font-size: 12px; padding: 8px 12px; }
}
.user-dropdown { position: relative !important; display: inline-block !important; }
.user-dropdown-btn { background: linear-gradient(135deg, #1a90ff, #0077ff) !important; border: none !important; color: #fff !important; padding: 8px 16px !important; border-radius: 20px !important; cursor: pointer !important; display: flex !important; align-items: center !important; gap: 6px !important; font-size: 13px !important; font-family: inherit !important; }
.user-dropdown-menu { display: none !important; position: absolute !important; top: 110% !important; left: 0 !important; background: #1e293b !important; border: 1px solid #334155 !important; border-radius: 12px !important; min-width: 160px !important; z-index: 9999 !important; overflow: hidden !important; }
.user-dropdown-menu a { display: flex !important; align-items: center !important; gap: 8px !important; padding: 12px 16px !important; color: #fff !important; text-decoration: none !important; font-size: 13px !important; }
.user-dropdown-menu a:hover { background: #0f172a !important; }
.user-dropdown:hover .user-dropdown-menu { display: block !important; }

.navbar-brand {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* فونت صفحه سریال و فیلم */
.movie-page-title { font-size: 22px !important; }
.movie-english-title { font-size: 13px !important; }
.movie-badge { font-size: 12px !important; padding: 5px 12px !important; white-space: nowrap !important; }
.movie-meta-tags-row { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; justify-content: center !important; }
.story-title { font-size: 14px !important; }
.movie-description { font-size: 13px !important; line-height: 1.8 !important; }
.movie-genre-tag { font-size: 12px !important; padding: 4px 12px !important; }

@media (max-width: 768px) {
    .navbar-search-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: #fff;
        font-size: 22px;
        cursor: pointer;
        padding: 5px;
        z-index: 999;
    }

    .navbar-form {
        display: none !important;
        position: fixed;
        top: 70px;
        right: 10px;
        left: 10px;
        background: #0f172a;
        padding: 12px;
        border-radius: 12px;
        border: 1px solid #334155;
        z-index: 99999;
    }

    .navbar-form.active {
        display: flex !important;
        flex-direction: column;
        gap: 8px;
    }

    .navbar-form-search {
        width: 100%;
        padding: 10px 14px;
        border-radius: 8px;
        border: 1px solid #334155;
        background: #1e293b;
        color: #fff;
        font-size: 14px;
        font-family: inherit;
    }
}


.mobile-search-wrap {
    display: none;
    padding: 15px 20px;
}
.mobile-search-inner {
    display: flex;
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #334155;
}
.mobile-search-inner input {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 15px;
    color: #fff;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    direction: rtl;
}
.mobile-search-inner button {
    background: #1a90ff;
    border: none;
    padding: 0 18px;
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
}
@media screen and (max-width: 768px) {
    .mobile-search-wrap { display: block !important; }
}
.desktop-search {
    display: flex;
    align-items: center;
    background: #1e293b;
    border-radius: 25px;
    border: 1px solid #334155;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}

.desktop-search:focus-within {
    border-color: #1a90ff;
    box-shadow: 0 0 0 3px rgba(26,144,255,0.15);
}

.desktop-search input {
    background: none;
    border: none;
    padding: 10px 16px;
    color: #fff;
    font-size: 13px;
    outline: none;
    font-family: inherit;
    width: 320px;
    direction: rtl;
}

.desktop-search input::placeholder {
    color: #64748b;
}

.desktop-search button {
    background: #1a90ff;
    border: none;
    padding: 10px 16px;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.desktop-search button:hover {
    background: #0077ff;
}

/* سرچ موبایل */
.mobile-search-wrap { display: none; }

@media (max-width: 768px) {
    .desktop-search { display: none !important; }
    .mobile-search-wrap { display: block !important; }
}




/* کامنت ها */

.movie-comments-section-container{
    max-width:750px;
    margin:40px auto;
}

.comments-holder-box{
    padding:15px !important;
}

.comments-title{
    font-size:22px;
    margin-bottom:15px;
}

.comment{
    padding:12px !important;
    margin-bottom:10px !important;
    border-radius:12px;
}

.comment-content{
    font-size:14px;
    line-height:1.8;
}

.comment-author{
    font-size:14px;
}

.comment-metadata{
    font-size:12px;
    margin-bottom:6px;
}

/* فرم */

.comment-respond{
    padding:15px !important;
}

.comment-reply-title{
    font-size:20px;
    margin-bottom:12px;
}

.comment-form textarea{
    width:100%;
    min-height:90px;
    padding:12px;
    border-radius:10px;
}

.comment-form input:not([type="submit"]),
.comment-form-url,
.comment-form-email,
.comment-form-author,
.comment-form-cookies-consent{
    display:none !important;
}

.submit-comment-btn{
    padding:10px 20px !important;
    font-size:14px;
    border-radius:10px;
}