﻿/* --- Global IRANSans font binding --- */
@font-face {
    font-family: 'IRANSans';
    src: url('/fonts/IRANSans/IRANSansWeb.eot');
    src: url('/fonts/IRANSans/IRANSansWeb.eot?#iefix') format('embedded-opentype'), url('/fonts/IRANSans/IRANSansWeb(FaNum).woff') format('woff'), url('/fonts/IRANSans/IRANSansWeb.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* اعمال روی کل عناصر متداول و کامپوننت‌های Mud */
html, body, button, input, select, textarea, div,
.mud-typography, .mud-typography-root,
.mud-input, .mud-input-root, .mud-button-label,
.mud-table, .mud-chip, .mud-breadcrumbs {
    font-family: 'IRANSans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* اطمینان از فونت در مودال‌ها/پاپ‌اورها */
.mud-dialog, .mud-popover {
    font-family: inherit !important;
}

/* ----- حالت‌های بدنه ----- */
body.dark {
    background-color: #05070B;
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
}

body.light {
    background-color: #f5f5f7;
    color: #111;
}

/* اسکرول افقی رو مخفی می‌کنیم */
::-webkit-scrollbar {
    height: 0;
    width: 0;
}

/* ----- شِل کلی اپ ----- */
.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ----- نوار بالای صفحه ----- */
.top-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 24px;
}

.logo-area {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #00ff99, #00b3ff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
}

.search-area {
    flex: 1;
}

.search-input {
    width: 100%;
    padding: 10px 16px;
    border-radius: 999px;
    border: none;
    outline: none;
    background-color: #151821;
    color: #ffffff;
    font-size: 14px;
}

    .search-input::placeholder {
        color: #7a7e8a;
    }

/* ----- محتوای صفحات ----- */
.main-content {
    flex: 1;
    padding: 0 24px 80px 24px; /* جای منوی پایین */
}

/* ----- منوی پایین ----- */
.bottom-nav {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: rgba(5, 7, 11, 0.95);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #222634;
    backdrop-filter: blur(10px);
    z-index: 40;
}

.nav-item {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

/* ----- دکمه شناور تلگرام ----- */
.telegram-fab {
    position: fixed;
    bottom: 80px;
    left: 24px;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #229ED9;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-decoration: none;
}

/* ----- صفحه اصلی ----- */
.home-page {
    padding-bottom: 10px;
}

.section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: right;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.badge-live {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ff3b30;
}

/* اسلایدرهای بزرگ */
.hero-slider {
    display: flex;
    flex-direction: row;
    direction: rtl;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.hero-item {
    flex: 0 0 90%; /* هر اسلاید ۹۰ درصد عرض کل صفحه */
    height: 220px;
    border-radius: 16px;
    background: #252a36;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    scroll-snap-align: start;
}

/* ردیف پوسترها */
.poster-row {
    display: flex;
    flex-direction: row; /* عادی */
    direction: rtl; /* چینش بصری راست به چپ */
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.poster-card {
    min-width: 120px;
    height: 180px;
    background: #151821;
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 8px;
    font-size: 14px;
}

/* کارت «بیشتر» */
.more-card {
    background: transparent;
    border: 1px dashed #555b66;
    cursor: pointer;
}

    .more-card:hover {
        border-style: solid;
    }

/* ----- صفحه لیست فیلم‌ها ----- */
.page-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: right;
}

/* نوار فیلتر بالا */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.filter-search {
    flex: 1 1 200px;
    min-width: 200px;
    padding: 8px 12px;
    border-radius: 999px;
    border: none;
    outline: none;
    background-color: #151821;
    color: #fff;
}

    .filter-search::placeholder {
        color: #7a7e8a;
    }

.filter-select {
    flex: 0 0 160px;
    padding: 8px 12px;
    border-radius: 999px;
    border: none;
    outline: none;
    background-color: #151821;
    color: #fff;
}

/* تب‌ها (چیب‌ها) */
.chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.chip {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #333846;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

    .chip:hover {
        transform: translateY(-1px);
        background: #1f2230;
    }

.chip-active {
    background: #ffffff;
    color: #05070B;
}

/* گرید فیلم‌ها */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

/* کارت فیلم با انیمیشن */
.movie-card {
    background: #151821;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

    .movie-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top, rgba(255,255,255,0.14), transparent 55%);
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .movie-card:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
        background: #1b1f2b;
    }

        .movie-card:hover::before {
            opacity: 1;
        }

/* پوستر */
.movie-poster {
    position: relative;
    padding-top: 150%; /* نسبت تصویر 2:3 */
    background: linear-gradient(135deg, #32394c, #181c27);
    overflow: hidden;
}

/* تگ کیفیت */
.quality-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.75);
}

/* اطلاعات زیر پوستر */
.movie-info {
    padding: 8px 10px 10px 10px;
}

.movie-title {
    font-size: 14px;
    margin: 0 0 4px 0;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
    opacity: 0.8;
}

/* انیمیشن ورود کارت‌ها */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-card {
    animation: fadeUp 0.35s ease-out;
}

/* ----- صفحه جزئیات ----- */
.movie-details-page {
    padding-bottom: 24px;
}

.details-header {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.details-poster {
    width: 140px;
    height: 200px;
    border-radius: 12px;
    background: #252a36;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
}

.details-main-info {
    flex: 1;
    min-width: 220px;
}

.details-title-fa {
    font-size: 22px;
    margin: 0 0 4px 0;
}

.details-title-en {
    font-size: 14px;
    margin: 0 0 10px 0;
    opacity: 0.8;
}

.details-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    opacity: 0.85;
    margin-bottom: 10px;
}

.details-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.details-description {
    font-size: 14px;
    line-height: 1.8;
}

/* دکمه‌ها */
.primary-btn {
    border: none;
    border-radius: 999px;
    padding: 8px 16px;
    background: #ffffff;
    color: #05070B;
    font-size: 13px;
}

    .primary-btn.small {
        padding: 6px 12px;
        font-size: 12px;
    }

.outline-btn {
    border-radius: 999px;
    padding: 8px 16px;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
}

/* لیست دانلود */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-item {
    background: #151821;
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    transition: all 0.3s ease;
}

    .download-item:hover {
        transform: translateX(5px);
        background: linear-gradient(90deg, rgba(255,255,255,0.05), #151821);
    }

.download-meta {
    font-size: 11px;
    opacity: 0.8;
}

/* فصل‌ها و قسمت‌ها در صفحه سریال */
.season-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.season-block {
    background: #151821;
    border-radius: 12px;
    padding: 10px 12px;
    transition: transform 0.2s ease;
}

    .season-block:hover {
        transform: translateY(-3px);
    }

.season-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
}

.season-status {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
}

    .season-status.done {
        background: rgba(52, 199, 89, 0.2);
        color: #34C759;
    }

    .season-status.ongoing {
        background: rgba(255, 149, 0, 0.2);
        color: #FF9500;
    }

.episode-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.episode-item {
    border-radius: 8px;
    background: #10131c;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.2s ease;
}

    .episode-item:hover {
        transform: translateX(5px);
    }

.episode-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
}

.episode-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    opacity: 0.8;
}

.episode-downloads,
.episode-subtitles {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
}

.episode-downloads-label {
    opacity: 0.8;
}

.episode-quality-link,
.episode-subtitle-link {
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #333846;
    text-decoration: none;
    color: #ffffff;
    font-size: 11px;
    transition: all 0.2s ease;
}

    .episode-quality-link:hover,
    .episode-subtitle-link:hover {
        background: #1f2230;
        transform: translateY(-1px);
    }

/* --- فرم‌ها و جدول‌ها در بخش ادمین --- */
.admin-dashboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* فرم ادمین */
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #141723;
    border-radius: 12px;
    padding: 10px 12px;
}

/* ردیف لیبل + ورودی */
.form-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 12px;
}

    .form-row label {
        opacity: 0.9;
    }

/* ورودی‌ها در ادمین: کوچک و جمع‌وجور، بدون کشیدن تمام عرض */
.admin-form .filter-search,
.admin-form .filter-select,
.admin-form textarea {
    flex: 0 0 auto; /* نذار فلکس‌بار کشش بده */
    width: 260px; /* عرض منطقی */
    max-width: 100%;
    min-height: 32px;
    height: 32px;
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 8px;
}

.admin-form textarea {
    height: auto;
    min-height: 60px;
    resize: vertical;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.status-message {
    font-size: 12px;
    opacity: 0.9;
}

/* جدول‌های ادمین */
.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-top: 6px;
}

    .admin-table thead {
        background: #151827;
    }

    .admin-table th,
    .admin-table td {
        padding: 6px 8px;
        border-bottom: 1px solid #252a36;
        text-align: right;
    }

    .admin-table tbody tr {
        transition: background 0.2s ease;
    }

        .admin-table tbody tr:hover {
            background: #151827;
        }

/* اگر خواستی فرم و جدول کنار هم باشند */
.admin-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
    gap: 16px;
}

/* --- لایوت کلی پنل ادمین --- */
.admin-shell {
    display: flex;
    min-height: 100vh;
    background: radial-gradient(circle at top, #141827 0, #05060a 50%, #020308 100%);
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* سایدبار راست */
.admin-sidebar {
    width: 250px;
    background: linear-gradient(180deg, #0b0e19, #05060c);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
    z-index: 20;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.admin-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff3b6a, #fca311);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.admin-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-logo-title {
    font-size: 16px;
    font-weight: 700;
}

.admin-logo-sub {
    font-size: 11px;
    opacity: 0.7;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 13px;
    color: #d7d9e3;
    text-decoration: none;
    opacity: 0.9;
    transition: background 0.15s ease, opacity 0.15s ease, transform 0.12s ease;
}

    .admin-nav-item:hover {
        background: #161a27;
        opacity: 1;
        transform: translateY(-1px);
    }

    .admin-nav-item.active {
        background: linear-gradient(135deg, #ff3b6a, #fca311);
        color: #0b0e19;
        opacity: 1;
    }

.admin-nav-icon {
    width: 20px;
    text-align: center;
}

.admin-sidebar-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 10px;
}

/* محوطه اصلی ادمین */
.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* تاپ‌بار بالا */
.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 6, 12, 0.94);
    backdrop-filter: blur(12px);
    z-index: 10;
}

.admin-topbar-left {
    display: flex;
    flex-direction: column;
}

.admin-topbar-title {
    font-size: 18px;
    font-weight: 700;
}

.admin-topbar-subtitle {
    font-size: 12px;
    opacity: 0.8;
}

.admin-topbar-right {
    display: flex;
    align-items: center;
}

/* دکمه منو برای موبایل */
.admin-mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 22px;
    color: #ffffff;
    margin-left: 8px;
    cursor: pointer;
}

/* اطلاعات کاربر */
.admin-user-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #141827;
}

.admin-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4a9eff, #0066ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.admin-user-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
}

.admin-user-name {
    font-weight: 600;
}

.admin-user-role {
    opacity: 0.7;
}

/* محتوای وسط */
.admin-content {
    padding: 16px 18px 24px 18px;
    overflow-x: auto;
}

/* کارت‌های KPI و کارت داشبورد */
.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.admin-kpi-card {
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 55%), #11131d;
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-kpi-label {
    font-size: 12px;
    opacity: 0.75;
}

.admin-kpi-value {
    font-size: 22px;
    font-weight: 800;
}

.admin-kpi-sub {
    font-size: 11px;
    opacity: 0.75;
}

.admin-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 16px;
}

.admin-card {
    background: #11131d;
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.admin-card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* نمودار ساده */
.admin-chart {
    height: 180px;
    display: flex;
    align-items: flex-end;
}

.admin-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
}

.admin-chart-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.admin-chart-bar-inner {
    width: 100%;
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg, #4a9eff, #1a48ff);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6);
}

.admin-chart-bar-label {
    font-size: 11px;
    opacity: 0.8;
    margin-top: 4px;
}

/* پوستر کوچک داخل ادمین */
.admin-poster-thumb {
    width: 48px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
}

/* پوستر کارت‌ها در صفحه اصلی */
.poster-thumb {
    width: 100%;
    aspect-ratio: 2 / 3; /* عمودی */
    overflow: hidden;
    border-radius: 10px;
    background: #111;
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* کاورهای اسلایدر */
.hero-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- اسلایدر هدر: یک اسلاید پهن و تمام عرض --- */
.hero-slider {
    width: 100%;
    display: block; /* دیگه فلکس کاروسل نباشه */
    overflow: hidden;
}

.hero-item {
    display: block;
    width: 100%;
    max-width: 100%;
}

.hero-image-wrapper {
    width: 100%;
    /* نسبت تصویر عریض‌تر برای بنر — هرکدوم رو دوست داشتی بذار */
    /* aspect-ratio: 16 / 9;  // کلاسیک */
    aspect-ratio: 21 / 9; /* کمی سینمایی‌تر */
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* تصویر کراپ میشه، کش نمیاد */
    display: block;
}

.hero-caption {
    margin-top: 8px;
}

.hero-title {
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- ردیف پوسترها --- */
.poster-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

/* هر کارت یک عرض ثابت داشته باشد (پوستر عمودی) */
.poster-card {
    flex: 0 0 150px; /* می‌تونی 140 یا 180 هم بذاری */
    max-width: 150px;
    text-decoration: none;
}

    /* کارت "بیشتر" هم‌قد بقیه پوسترها بماند */
    .poster-card.more-card {
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* خود کادر پوستر (داخل کارت) */
.poster-thumb {
    width: 100%;
    aspect-ratio: 2 / 3; /* عمودی: 2 به 3 */
    overflow: hidden;
    border-radius: 10px;
    background: #111;
    margin-bottom: 6px;
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* تصویر فیت می‌شود داخل کادر */
    display: block;
}

.poster-title {
    font-size: 0.85rem;
    font-weight: 500;
}

/* --- صفحه اصلی جدید --- */
.home-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 16px 80px;
}

/* سکشن‌ها */
.home-section {
    margin-bottom: 32px;
}

/* --- هدر بزرگ (Hero) --- */
.home-hero-section {
    margin-bottom: 40px;
}

.home-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9; /* نسبت سینمایی */
    border-radius: 20px;
    overflow: hidden;
    background-color: #111;
    background-size: cover;
    background-position: center center;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(0,0,0,0.55) 0, rgba(0,0,0,0.75) 45%, rgba(0,0,0,0.95) 100%);
}

.home-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    color: #fff;
}

.home-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.badge-type,
.badge-rating {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.badge-type {
    color: #ffd95a;
}

.badge-rating {
    color: #8be9fd;
}

.home-hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
}

.home-hero-title-en {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
}

.home-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    opacity: 0.9;
}

    .home-hero-meta span::before {
        content: "•";
        margin: 0 4px;
    }

    .home-hero-meta span:first-child::before {
        content: "";
        margin: 0;
    }

.home-hero-actions {
    margin-top: 10px;
}

/* --- هدر هر سکشن پایین --- */
.home-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.home-section-more {
    font-size: 0.85rem;
    color: #9b87ff;
    text-decoration: none;
}

    .home-section-more:hover {
        text-decoration: underline;
    }

/* --- ردیف کارت‌ها (اسکرول افقی) --- */
.home-card-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
}

    .home-card-row::-webkit-scrollbar {
        height: 6px;
    }

    .home-card-row::-webkit-scrollbar-thumb {
        background: #333;
        border-radius: 999px;
    }

/* --- کارت فیلم / سریال --- */
.home-card {
    flex: 0 0 150px;
    max-width: 150px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

    .home-card:hover {
        transform: translateY(-5px);
    }

.home-card-poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    margin-bottom: 6px;
}

.home-card-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* تصویر فیت و کراپ می‌شود */
    display: block;
    transition: transform 0.3s ease;
}

.home-card:hover .home-card-poster-img {
    transform: scale(1.05);
}

.home-card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.home-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.home-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.75rem;
    opacity: 0.75;
}

/* --- برترین‌ها (Top Rated) --- */
.home-top-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.home-top-card {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
    background: #18181b;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .home-top-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

.home-top-thumb {
    flex: 0 0 70px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
}

.home-top-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-top-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.home-top-rating {
    font-size: 0.8rem;
    color: #ffb86c;
    font-weight: 600;
}

.home-top-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.home-top-meta {
    font-size: 0.75rem;
    opacity: 0.7;
    display: flex;
    gap: 8px;
}

/* ---- VimoMovies Home (بر اساس تم نمونه) ---- */
:root {
    --vm-primary-color: #e50914;
    --vm-secondary-color: #b81d24;
    --vm-dark-bg: #141414;
    --vm-dark-secondary: #181818;
    --vm-dark-tertiary: #2a2a2a;
    --vm-text-primary: #ffffff;
    --vm-text-secondary: #b3b3b3;
    --vm-card-bg: #1f1f1f;
    --vm-hover-color: #333333;
    --vm-hero-gradient: linear-gradient( to top, rgba(20, 20, 20, 0.95) 0%, rgba(20, 20, 20, 0.6) 50%, rgba(20, 20, 20, 0.2) 100% );
}

.vm-home-page {
    background-color: var(--vm-dark-bg);
    color: var(--vm-text-primary);
}

/* کانتینر اصلی داخل صفحه (بدون دست‌کاری لِی‌اوت اصلی) */
.vm-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* اسلایدر اصلی */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
    margin-bottom: 40px;
}

    .hero-slider .slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity 1s ease;
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
    }

        .hero-slider .slide.active {
            opacity: 1;
        }

        .hero-slider .slide::after {
            content: "";
            position: absolute;
            inset: 0;
            background: var(--vm-hero-gradient);
        }

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-right: 60px;
    padding: 0 40px;
}

.slide-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 6px 20px rgba(0,0,0,0.9);
}

.slide-title-en {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--vm-text-secondary);
}

.slide-description {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color: var(--vm-text-secondary);
    line-height: 1.7;
}

.slide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: var(--vm-text-secondary);
}

    .slide-meta span::before {
        content: "•";
        margin: 0 4px;
    }

    .slide-meta span:first-child::before {
        content: "";
        margin: 0;
    }

/* دکمه‌ها */
.btn {
    padding: 10px 26px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--vm-primary-color);
    color: #fff;
}

    .btn-primary:hover {
        background-color: var(--vm-secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
    }

.btn-secondary {
    background-color: rgba(255,255,255,0.18);
    color: #fff;
}

    .btn-secondary:hover {
        background-color: rgba(255,255,255,0.28);
        transform: translateY(-2px);
    }

/* کنترل‌های اسلایدر */
.slider-controls {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

    .slider-dot.active {
        background-color: var(--vm-primary-color);
        transform: scale(1.1);
    }

/* سکشن‌های پایین */
.content-section {
    margin-bottom: 45px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 5px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
}

.view-all {
    color: var(--vm-text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s;
}

    .view-all:hover {
        color: var(--vm-primary-color);
    }

/* کارت‌ها – اسکرول افقی */
.cards-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 8px 5px;
    scrollbar-width: thin;
    scrollbar-color: var(--vm-primary-color) var(--vm-dark-secondary);
}

    .cards-container::-webkit-scrollbar {
        height: 8px;
    }

    .cards-container::-webkit-scrollbar-track {
        background: var(--vm-dark-secondary);
        border-radius: 4px;
    }

    .cards-container::-webkit-scrollbar-thumb {
        background: var(--vm-primary-color);
        border-radius: 4px;
    }

/* کارت فیلم */
.card {
    min-width: 210px;
    background-color: var(--vm-card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    }

.card-img {
    width: 100%;
    height: 300px;
    background-color: var(--vm-dark-tertiary);
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-content {
    padding: 12px 12px 14px;
}

.card-title {
    font-size: 1rem;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--vm-text-secondary);
    font-size: 0.85rem;
}

.card-rating {
    color: gold;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* کارت "مشاهده بیشتر" */
.view-more-card {
    min-width: 210px;
    border-radius: 8px;
    background-color: var(--vm-dark-tertiary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--vm-text-secondary);
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

    .view-more-card i {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .view-more-card:hover {
        background-color: var(--vm-hover-color);
        transform: translateY(-4px);
    }

/* متغیرهای CSS برای تم دارک */
:root {
    --primary-color: #e50914;
    --secondary-color: #b81d24;
    --dark-bg: #141414;
    --dark-secondary: #181818;
    --dark-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --card-bg: #1f1f1f;
    --hover-color: #333333;
    --gradient: linear-gradient(to top, rgba(20, 20, 20, 0.9) 0%, rgba(20, 20, 20, 0.5) 50%, rgba(20, 20, 20, 0.3) 100%);
}

/* استایل‌های پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* نوار ناوبری */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 10%, transparent);
    z-index: 1000;
    transition: background 0.3s;
}

    .navbar.scrolled {
        background-color: var(--dark-bg);
    }

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

    .logo:hover {
        transform: scale(1.05);
    }

.nav-links {
    display: flex;
    gap: 25px;
}

    .nav-links a {
        font-size: 16px;
        transition: color 0.3s, transform 0.2s;
    }

        .nav-links a:hover {
            color: var(--primary-color);
            transform: translateY(-2px);
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 5px 10px;
    transition: background 0.3s;
}

    .search-box:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    .search-box input {
        background: transparent;
        border: none;
        color: white;
        padding: 5px;
        width: 180px;
        outline: none;
    }

    .search-box i {
        color: var(--text-secondary);
    }

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

    .user-profile:hover {
        transform: scale(1.05);
    }

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 4px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* اسلایدر اصلی - واید با ارتفاع کم */
.hero-slider {
    position: relative;
    height: 70vh; /* ارتفاع کمتر */
    overflow: hidden;
    margin-bottom: 40px;
    margin-top: 70px; /* فاصله از نوار ناوبری */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end; /* محتوا در پایین */
}

    .slide.active {
        opacity: 1;
    }

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(20, 20, 20, 0.9) 0%, rgba(20, 20, 20, 0.3) 50%, transparent 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 60px 100px 0; /* محتوا در پایین */
    padding: 0 40px;
}

.slide-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.badge-type, .badge-rating {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

    .badge-type:hover, .badge-rating:hover {
        transform: translateY(-2px);
    }

.badge-type {
    background-color: var(--primary-color);
    color: white;
}

.badge-rating {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.slide-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-title-en {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: normal;
}

.slide-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 1rem;
}

    .slide-meta span {
        position: relative;
    }

        .slide-meta span:not(:last-child)::after {
            content: '•';
            position: absolute;
            left: -12px;
        }

.slide-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

    .btn-primary:hover {
        background-color: var(--secondary-color);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
    }

.slider-controls {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

    .slider-dot:hover {
        transform: scale(1.2);
    }

    .slider-dot.active {
        background-color: var(--primary-color);
        transform: scale(1.3);
    }

/* بخش محتوا */
.content-section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: bold;
}

.view-all {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s;
}

    .view-all:hover {
        color: var(--primary-color);
    }

.cards-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--dark-secondary);
}

    .cards-container::-webkit-scrollbar {
        height: 8px;
    }

    .cards-container::-webkit-scrollbar-track {
        background: var(--dark-secondary);
        border-radius: 4px;
    }

    .cards-container::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 4px;
    }

/* کارت‌های کوچک‌تر */
.card {
    min-width: 160px; /* عرض کمتر */
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    flex-shrink: 0;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

.card-img-container {
    width: 100%;
    height: 220px; /* ارتفاع کمتر */
    background-color: var(--dark-tertiary);
    overflow: hidden;
    position: relative;
}

    .card-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* فیت شدن کامل در المان */
        transition: transform 0.3s;
    }

.card:hover .card-img-container img {
    transform: scale(1.05);
}

.card-content {
    padding: 12px;
}

.card-title {
    font-size: 0.95rem;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-info {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.card-rating {
    color: gold;
}

.view-more-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 160px;
    background-color: var(--dark-tertiary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

    .view-more-card:hover {
        background-color: var(--hover-color);
        transform: translateY(-3px);
    }

    .view-more-card i {
        font-size: 1.5rem;
        margin-bottom: 8px;
        color: var(--text-secondary);
    }

    .view-more-card span {
        font-size: 0.9rem;
    }

/* گرید برترین‌ها */
.top-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* کوچیک‌تر */
    gap: 16px;
    padding: 0 20px;
}

.top-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

    .top-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.45);
    }

.top-img-container {
    width: 65px; /* کوچیک شد */
    height: 95px; /* کوچیک شد */
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

    .top-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.top-card:hover .top-img-container img {
    transform: scale(1.05);
}

.top-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.top-rating {
    background-color: gold;
    color: #000;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.75rem; /* کوچیک شد */
    width: fit-content;
    transition: transform 0.3s ease;
}

.top-card:hover .top-rating {
    transform: scale(1.1);
}

.top-title {
    font-size: 0.9rem; /* جمع‌وجورتر */
    font-weight: bold;
}

.top-meta {
    font-size: 0.75rem; /* کوچیک‌تر */
    color: var(--text-secondary);
    display: flex;
    gap: 6px;
}

    .top-meta span {
        position: relative;
    }

        .top-meta span:not(:last-child)::after {
            content: '•';
            position: absolute;
            left: -7px;
        }

/* فوتر */
footer {
    background-color: var(--dark-secondary);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s, transform 0.2s;
}

    .footer-links a:hover {
        color: var(--primary-color);
        transform: translateX(5px);
    }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: var(--dark-tertiary);
        border-radius: 50%;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background-color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
        }

.footer-bottom {
    text-align: center;
    padding-top: 5px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== دراور منو ===== */

/* تریگر چک‌باکس: مخفی ولی فعال */
.menu-toggle {
    display: none;
}

/* بک‌دراپ تیره پشت دراور */
.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 48;
}

/* خود دراور */
.menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #05070b;
    border-left: 1px solid #222634;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.8);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 49;
    display: flex;
    flex-direction: column;
    padding: 16px 14px;
}

/* وقتی چک‌باکس تیک بخوره (روی منو کلیک بشه) */
.menu-toggle:checked ~ .menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.menu-toggle:checked ~ .menu-drawer {
    transform: translateX(0);
}

/* هدر دراور */
.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 24px;
}

.menu-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff3b6a, #fca311);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.menu-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-logo-title {
    font-size: 15px;
    font-weight: 700;
}

.menu-logo-sub {
    font-size: 11px;
    opacity: 0.7;
}

/* سوییچ تم */
.menu-theme-toggle {
    display: flex;
    gap: 6px;
}

.theme-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #333846;
    background: #11131d;
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    .theme-btn.active {
        border-color: #ffffff;
        transform: scale(1.1);
    }

/* دکمه بستن */
.menu-close {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid #333846;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .menu-close:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: rotate(90deg);
    }

/* لیست آیتم‌های منو */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

    .menu-item:hover {
        background: #141827;
        transform: translateX(-5px);
    }

.menu-item-icon {
    width: 22px;
    text-align: center;
}

/* ===== صفحه جزئیات: هدر سینمایی با پوستر ===== */
.movie-details-page {
    position: relative;
    padding-bottom: 40px;
    background: radial-gradient(circle at top, #141827 0, #05060a 50%, #020308 100%);
    color: #ffffff;
    animation: md-page-fade-in 0.4s ease-out;
}

/* اسکلتن / لودینگ */
.details-loading {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0.8;
}

.details-loading-spinner {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, 0.18);
    border-top-color: #ffffff;
    animation: md-spin 0.9s linear infinite;
}

/* هدر */
.details-hero {
    position: relative;
    margin: -8px -8px 24px;
    padding: 28px 20px 32px;
    overflow: hidden;
    border-radius: 0 0 26px 26px;
    isolation: isolate;
}

/* بک‌گراند پوستر + افکت کن‌برنز */
.details-hero-bg {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center center;
    filter: blur(12px) saturate(1.25);
    transform: scale(1.1);
    animation: md-kenburns 26s ease-in-out infinite alternate;
}

.details-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, rgba(0, 0, 0, 0.8), transparent 55%), radial-gradient(circle at 100% 0, rgba(0, 0, 0, 0.8), transparent 55%), linear-gradient(to bottom, rgba(5, 6, 12, 0.8), rgba(5, 6, 12, 0.98));
}

/* محتوا */
.details-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1.8fr);
    gap: 22px;
    align-items: flex-end;
}

/* پوستر */
.details-hero-poster-wrapper {
    display: flex;
    justify-content: center;
}

.details-hero-poster {
    position: relative;
    width: 170px;
    height: 255px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
    transform-origin: center center;
    animation: md-float 5.8s ease-in-out infinite alternate, md-fade-up 0.5s ease-out;
}

.details-hero-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center center;
    animation: md-slow-zoom 18s ease-in-out infinite alternate;
}

.details-hero-poster-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient( 120deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.0) 60% );
    mix-blend-mode: screen;
    transform: translateX(-120%);
    animation: md-shine 5s ease-in-out infinite;
}

.details-hero-poster-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.25), transparent 60%);
    opacity: 0.7;
    mix-blend-mode: screen;
}

/* متن سمت راست پوستر */
.details-hero-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: md-fade-in 0.6s ease-out;
}

.details-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.details-chip {
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.02em;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

    .details-chip:hover {
        transform: translateY(-2px);
        background: rgba(0, 0, 0, 0.6);
    }

.details-chip-soft {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.06);
}

.details-chip-rating {
    background: rgba(255, 215, 90, 0.12);
    border-color: rgba(255, 215, 90, 0.8);
    color: #ffd95a;
}

    .details-chip-rating:hover {
        background: rgba(255, 215, 90, 0.2);
    }

.details-title-fa {
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.9);
}

.details-title-en {
    margin: 0;
    font-size: 13px;
    opacity: 0.8;
}

.details-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
    margin-bottom: 8px;
    font-size: 12px;
    opacity: 0.9;
}

.details-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.details-genre-chip {
    background: rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.08);
    font-size: 11px;
    transition: all 0.2s ease;
}

    .details-genre-chip:hover {
        transform: translateY(-2px);
        background: rgba(0, 0, 0, 0.6);
    }

.details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.details-primary-btn {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.85);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .details-primary-btn::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.35), transparent 55%);
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .details-primary-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.95);
    }

        .details-primary-btn:hover::after {
            opacity: 1;
        }

.details-outline-btn {
    border-color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

    .details-outline-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-3px);
    }

/* سکشن‌های پایین */
.details-section {
    position: relative;
    padding-inline: 20px;
}

.details-section-card {
    margin-top: 10px;
}

    .details-section-card .download-item,
    .details-section-card .episode-item,
    .details-section-card .season-block {
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

.download-item-card,
.episode-card,
.season-card {
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 60%), #11131d;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}

    .download-item-card:hover,
    .episode-card:hover {
        transform: translateY(-3px);
        background: #161927;
    }

/* لیست مشابه‌ها */
.similar-row {
    scroll-snap-type: x mandatory;
}

.similar-card {
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .similar-card:hover {
        transform: translateY(-3px);
    }

.similar-thumb {
    position: relative;
    border-radius: 11px;
    overflow: hidden;
    background: #05070b;
}

.similar-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center;
    transition: transform 0.35s ease;
}

.similar-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 55%);
    opacity: 0.8;
}

.similar-card:hover .similar-thumb-img {
    transform: scale(1.05);
}

/* انیمیشن‌های جدید */
@keyframes slideInLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(229, 9, 20, 0.8);
    }
}

/* انیمیشن‌های صفحه جزئیات */
@keyframes md-page-fade-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes md-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes md-kenburns {
    from {
        transform: scale(1.06) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.13) translate3d(0, -8px, 0);
    }
}

@keyframes md-float {
    from {
        transform: translate3d(0, 0, 0) rotate3d(0, 0, 1, -0.4deg);
    }

    to {
        transform: translate3d(0, -10px, 0) rotate3d(0, 0, 1, 0.4deg);
    }
}

@keyframes md-slow-zoom {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.08);
    }
}

@keyframes md-shine {
    0% {
        transform: translateX(-140%);
    }

    35% {
        transform: translateX(40%);
    }

    100% {
        transform: translateX(140%);
    }
}

@keyframes md-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes md-fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* کلاس‌های انیمیشن جدید */
.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.5s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.5s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s infinite;
}

/* لودینگ شایمر */
.shimmer-loading {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

/* اثر شیشه‌ای */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* افکت هورور */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

.genre-checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.genre-checkbox-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    .home-page {
        padding-inline: 10px;
    }

    .home-hero {
        aspect-ratio: 16 / 9;
    }

    .home-hero-content {
        padding: 16px;
    }

    .home-hero-title {
        font-size: 1.4rem;
    }

    .vm-container {
        padding-inline: 12px;
    }

    .hero-slider {
        height: 60vh;
    }

    .slide-content {
        margin-right: 10px;
        padding: 0 16px;
    }

    .slide-title {
        font-size: 2.2rem;
    }

    .slide-description {
        font-size: 0.95rem;
    }

    .card {
        min-width: 170px;
    }

    .card-img {
        height: 250px;
    }

    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .search-box input {
        width: 120px;
    }

    .hero-slider {
        height: 60vh;
        margin-top: 60px;
    }

    .slide-content {
        margin: 0 20px 60px 0;
        padding: 0 20px;
    }

    .slide-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .card {
        min-width: 140px;
    }

    .card-img-container {
        height: 190px;
    }

    .top-grid {
        grid-template-columns: 1fr;
    }

    .top-card {
        flex-direction: column;
    }

    .top-img-container {
        width: 100%;
        height: 200px;
    }

    .details-hero {
        margin: -8px -8px 20px;
        padding: 22px 16px 26px;
        border-radius: 0 0 22px 22px;
    }

    .details-hero-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        align-items: flex-start;
    }

    .details-hero-poster {
        width: 140px;
        height: 210px;
    }

    .details-title-fa {
        font-size: 22px;
    }

    .details-section {
        padding-inline: 16px;
    }
}

@media (max-width: 900px) {
    .admin-shell {
        flex-direction: column;
    }

    .admin-mobile-menu-btn {
        display: block;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        right: -260px;
        height: 100vh;
        padding-top: 60px;
        border-left: none;
        border-right: 1px solid rgba(255, 255, 255, 0.12);
        transition: right 0.3s ease;
        max-width: 260px;
        z-index: 30;
    }

        .admin-sidebar.open {
            right: 0;
        }

    .admin-topbar {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 29;
    }

    .admin-main {
        padding-top: 60px;
    }

    .admin-content {
        padding-top: 80px;
    }

    .admin-main-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-two-column {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-backdrop {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 50vh;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-title-en {
        font-size: 1rem;
    }

    .card {
        min-width: 120px;
    }

    .card-img-container {
        height: 160px;
    }
}



/* ===== انیمیشن‌های جدید ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(229, 9, 20, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes wave {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes ripple {
    from {
        transform: scale(0);
        opacity: 1;
    }

    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* کلاس‌های انیمیشن */
.animate-fadeIn {
    animation: fadeIn 0.8s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease-out;
}

.animate-fadeInUp {
    animation: slideInUp 0.8s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-glow {
    animation: glow 2s infinite;
}

/* ===== استایل‌های جدید صفحه جزئیات ===== */
.loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
}

.spinner-circle {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: md-spin 1s linear infinite;
}

.spinner-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(229,9,20,0.3) 0%, transparent 70%);
    animation: pulse 2s infinite;
}

.loading-shimmer {
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite linear;
}

/* هدر جدید */
.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(15px) brightness(0.6);
    transform: scale(1.1);
    animation: kenburns 30s infinite alternate;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.4) 100% );
}

.hero-particle-effect {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 2px, transparent 2px), radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 100px 100px;
    animation: float 20s infinite linear;
}

.hero-content-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* پوستر جدید */
.poster-card {
    position: relative;
    width: 300px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

    .poster-card:hover {
        transform: translateY(-10px) rotateY(5deg);
        box-shadow: 0 30px 80px rgba(0,0,0,1), 0 0 0 1px rgba(255,255,255,0.2);
    }

.poster-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hover-zoom:hover {
    transform: scale(1.1);
}

.poster-shine-effect {
    position: absolute;
    inset: 0;
    background: linear-gradient( 120deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70% );
    transform: translateX(-100%);
    animation: shine 5s infinite;
}

.poster-corner-badge {
    position: absolute;
    top: 15px;
    left: 15px;
}

.badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

.badge-movie {
    background: linear-gradient(135deg, #e50914, #ff6b6b);
}

.badge-series {
    background: linear-gradient(135deg, #00b894, #00cec9);
}

.badge-anime {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

/* اطلاعات هدر */
.title-header {
    margin-bottom: 30px;
}

.title-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.rating-badge {
    background: linear-gradient(135deg, #fdc830, #f37335);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: bold;
    backdrop-filter: blur(10px);
}

.status-ongoing {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.status-completed {
    background: rgba(0, 184, 148, 0.2);
    color: #00b894;
}

.title-fa {
    font-size: 48px;
    font-weight: 900;
    margin: 10px 0;
    background: linear-gradient(135deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.title-en {
    font-size: 20px;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
}

/* متا اطلاعات */
.meta-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 25px 0;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.meta-icon {
    font-size: 20px;
}

/* ژانرها */
.genres-container {
    margin: 25px 0;
}

.genres-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.genres-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.genre-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .genre-chip:hover {
        background: rgba(229, 9, 20, 0.3);
        transform: translateY(-3px);
    }

/* دکمه‌های اکشن */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary, .btn-secondary, .btn-outline {
    padding: 15px 30px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-animate:hover {
    transform: translateY(-5px);
}

.btn-primary {
    background: linear-gradient(135deg, #e50914, #b81d24);
    color: white;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transform: scale(0);
    animation: ripple 0.6s linear;
}

/* بخش دانلود */
.downloads-section, .subtitles-section, .seasons-section, .similar-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 25px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 20px 0;
}

/* کارت دانلود */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.download-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

    .download-card:hover {
        background: rgba(255,255,255,0.1);
        transform: translateY(-5px);
        border-color: var(--primary-color);
    }

.download-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.quality-badge {
    padding: 8px 16px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 14px;
}

.badge-4k {
    background: linear-gradient(135deg, #833ab4, #fd1d1d);
    color: white;
}

.badge-1080 {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
}

.badge-720 {
    background: linear-gradient(135deg, #fc4a1a, #f7b733);
    color: white;
}

.badge-other {
    background: rgba(255,255,255,0.1);
    color: white;
}

.size-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

/* آیتم زیرنویس */
.subtitles-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subtitle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

    .subtitle-item:hover {
        background: rgba(255,255,255,0.1);
        transform: translateX(10px);
        border-color: rgba(255,255,255,0.2);
    }

.subtitle-language {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
}

.lang-flag {
    font-size: 24px;
}

.subtitle-meta {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.meta-tag {
    padding: 4px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    font-size: 12px;
}

/* آکاردیون فصل‌ها */
.seasons-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.season-accordion-item {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.season-accordion-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .season-accordion-header:hover {
        background: rgba(255,255,255,0.1);
    }

.season-accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.season-accordion-item.active .season-accordion-content {
    max-height: 2000px;
    padding: 20px;
}

/* قسمت‌ها */
.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.episode-card {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.episode-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.number-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e50914, #b81d24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

/* اسلایدر مشابه‌ها */
.similar-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.similar-slide {
    flex: 0 0 200px;
    text-decoration: none;
    color: inherit;
}

.slide-poster {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

    .slide-poster img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.similar-slide:hover .poster-overlay {
    opacity: 1;
}

/* افکت‌های شیشه‌ای */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }

.text-glow {
    text-shadow: 0 0 30px rgba(229, 9, 20, 0.5);
}

/* افکت‌های دکمه */
.download-btn, .subtitle-download-btn {
    position: relative;
    overflow: hidden;
}

.progress-wave {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: wave 1.5s infinite;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .hero-content-container {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
    }

    .poster-card {
        width: 100%;
        max-width: 250px;
        height: 375px;
        margin: 0 auto;
    }

    .title-fa {
        font-size: 32px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .episodes-grid {
        grid-template-columns: 1fr;
    }
}

/* انیمیشن‌های اضافی */
@keyframes kenburns {
    0% {
        transform: scale(1.1) translate(0, 0);
    }

    100% {
        transform: scale(1.2) translate(-20px, -20px);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}