.podcast-archive-page {
    font-family: 'Vazir', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    padding-bottom: 120px; /* برای پلیر ثابت */
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* هدر */
.podcast-archive-header {
    background: linear-gradient(135deg, #275342 0%, #1e4536 100%);
    color: white;
    padding: 25px 0 120px;
    position: relative;
    overflow: hidden;
}

.header-content {
    position: relative;
    z-index: 2;
}

/* ناوبری */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item:hover {
    color: white;
}

.breadcrumb-item svg {
    width: 16px;
    height: 16px;
}

.breadcrumb-separator {
    color: rgba(255,255,255,0.5);
}

.breadcrumb-item.active {
    color: white;
    font-weight: 500;
}

/* عنوان هدر */
.header-title-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.archive-main-title {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: white;
    line-height: 1.2;
}

.archive-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin: 0 0 40px 0;
    line-height: 1.6;
}

/* آمارها */
.archive-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    min-width: 140px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-top: 5px;
}

/* موج هدر */
.header-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 120px;
    color: #f8fafc;
}

.header-wave svg {
    width: 100%;
    height: 100%;
    transform: scaleY(-1);
    display: block;
}

/* فیلترها */
.archive-filters-bar {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.search-filter {
    flex: 1;
    min-width: 300px;
}

.search-box {
    position: relative;
    background: #f8fafc;
    border-radius: 12px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.search-box:focus-within {
    border-color: #275342;
    background: white;
    box-shadow: 0 0 0 3px rgba(39, 83, 66, 0.1);
}

.search-box svg {
    color: #94a3b8;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    background: none;
    padding: 15px;
    font-size: 15px;
    color: #334155;
    outline: none;
}

.search-input::placeholder {
    color: #94a3b8;
}

.search-clear {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.search-box.has-value .search-clear {
    opacity: 1;
    visibility: visible;
}

.search-clear:hover {
    color: #64748b;
}

.search-clear svg {
    width: 16px;
    height: 16px;
}

/* فیلترهای dropdown */
.filter-group {
    position: relative;
}

.filter-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    padding: 13px 20px;
    font-size: 15px;
    color: #334155;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    min-width: 150px;
    justify-content: space-between;
}

.dropdown-toggle:hover,
.dropdown-toggle.active {
    border-color: #275342;
    background: white;
}

.dropdown-toggle svg:first-child {
    width: 18px;
    height: 18px;
    color: #64748b;
}

.dropdown-toggle svg:last-child {
    width: 16px;
    height: 16px;
    color: #94a3b8;
    transition: transform 0.3s;
}

.filter-dropdown.active .dropdown-toggle svg:last-child {
    transform: rotate(180deg);
}

/* منوهای dropdown */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    min-width: 280px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    max-height: 0;
    overflow: hidden;
}

.filter-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 500px;
}

.dropdown-header {
    padding: 20px 20px 15px;
    border-bottom: 1px solid #f1f5f9;
}

.dropdown-header h4 {
    margin: 0;
    font-size: 16px;
    color: #334155;
    font-weight: 600;
}

.dropdown-content {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px 0;
}

.dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.dropdown-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    background: none;
    width: 100%;
    text-align: right;
    cursor: pointer;
    font-size: 15px;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #275342;
}

.dropdown-item.active {
    background: #f0f9ff;
    color: #275342;
    font-weight: 500;
}

.dropdown-item.active .item-count {
    background: #275342;
    color: white;
}

.item-count {
    background: #e2e8f0;
    color: #64748b;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    min-width: 30px;
    text-align: center;
    transition: all 0.3s;
}

.dropdown-footer {
    padding: 15px 20px;
    border-top: 1px solid #f1f5f9;
}

.view-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #275342;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: #1e4536;
}

.view-all-link svg {
    width: 16px;
    height: 16px;
}

/* toggle نمایش */
.view-toggle-group {
    margin-right: auto;
}

.view-toggle {
    display: flex;
    gap: 8px;
    background: #f8fafc;
    padding: 6px;
    border-radius: 12px;
}

.view-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s;
}

.view-btn:hover {
    background: white;
    color: #64748b;
}

.view-btn.active {
    background: white;
    color: #275342;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.view-btn svg {
    width: 20px;
    height: 20px;
}

/* نتایج */
.archive-results {
    margin-top: 50px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.results-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #64748b;
}

.count-number {
    font-weight: 700;
    color: #275342;
}

/* گرید پادکست‌ها */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.podcast-grid.list-view {
    grid-template-columns: 1fr;
}

.podcast-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.podcast-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.podcast-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #e2e8f0;
}

.card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* حالت لیست */
.podcast-grid.list-view .podcast-card {
    max-width: 100%;
}

.podcast-grid.list-view .card-inner {
    flex-direction: row;
}

.podcast-grid.list-view .card-image {
    width: 280px;
    flex-shrink: 0;
}

/* تصویر */
.card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.podcast-card:hover .card-thumbnail {
    transform: scale(1.08);
}

.card-thumbnail.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #94a3b8;
}

/* Overlay پخش */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(39, 83, 66, 0.9), rgba(39, 83, 66, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.podcast-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform 0.3s;
}

.podcast-card:hover .play-button {
    transform: scale(1);
}

.play-button svg {
    width: 24px;
    height: 24px;
    color: white;
    margin-right: -2px;
}

/* بدج‌ها */
.card-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 2;
    flex-direction: column;
    align-items: flex-end;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    white-space: nowrap;
}

.duration-badge {
    background: rgba(0,0,0,0.7);
}

.episode-badge {
    background: rgba(39, 83, 66, 0.9);
}

.badge svg {
    width: 12px;
    height: 12px;
}

/* محتوا */
.card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    margin-bottom: 10px;
}

.card-category a {
    display: inline-block;
    background: #f0f9ff;
    color: #275342;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #dbeafe;
}

.card-category a:hover {
    background: #275342;
    color: white;
    border-color: #275342;
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.4;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.card-title a:hover {
    color: #275342;
}

.card-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 15px 0;
    flex: 1;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* متادیتا */
.card-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
}

.meta-item svg {
    width: 14px;
    height: 14px;
    color: #94a3b8;
    flex-shrink: 0;
}

.meta-item span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.meta-item span a {
    color: #475569;
    text-decoration: none;
    transition: color 0.3s;
}

.meta-item span a:hover {
    color: #275342;
}

/* دکمه‌ها */
.card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    min-height: 40px;
    white-space: nowrap;
}

.btn-primary {
    background: #275342;
    color: white;
}

.btn-primary:hover {
    background: #1e4536;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 83, 66, 0.2);
}

.btn-secondary {
    background: #f8fafc;
    color: #475569;
    border: 2px solid #f1f5f9;
}

.btn-secondary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.btn svg {
    width: 14px;
    height: 14px;
}

/* بدون نتیجه */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 24px;
    border: 2px dashed #e2e8f0;
}

.no-results-icon {
    margin-bottom: 25px;
    color: #cbd5e1;
}

.no-results h3 {
    font-size: 24px;
    color: #334155;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.no-results p {
    font-size: 16px;
    color: #64748b;
    margin: 0 0 30px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* صفحه‌بندی */
.pagination {
    margin-top: 60px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination .page-numbers li {
    margin: 0;
}

.pagination .page-numbers a,
.pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #f1f5f9;
    background: white;
    color: #475569;
}

.pagination .page-numbers a:hover {
    border-color: #275342;
    color: #275342;
    transform: translateY(-2px);
}

.pagination .page-numbers .current {
    background: #275342;
    color: white;
    border-color: #275342;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 83, 66, 0.2);
}

.pagination .page-numbers .dots {
    border: none;
    background: transparent;
    color: #94a3b8;
    min-width: auto;
}

.pagination .page-numbers .prev,
.pagination .page-numbers .next {
    gap: 8px;
    padding: 0 20px;
}

.pagination .page-numbers .prev svg,
.pagination .page-numbers .next svg {
    width: 16px;
    height: 16px;
}

/* پلیر ثابت */
.fixed-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
    border-top: 1px solid #e2e8f0;
    padding: 15px 20px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.fixed-player.active {
    transform: translateY(0);
}

.player-container {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.player-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.player-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-details {
    flex: 1;
    min-width: 0;
}

.player-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-meta {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: none;
    border-radius: 10px;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s;
}

.player-btn:hover {
    background: #f1f5f9;
    color: #275342;
    transform: translateY(-2px);
}

.player-btn svg {
    width: 20px;
    height: 20px;
}

.play-btn {
    width: 50px;
    height: 50px;
    background: #275342;
    color: white;
}

.play-btn:hover {
    background: #1e4536;
    color: white;
}

.play-btn svg {
    width: 24px;
    height: 24px;
}

.player-progress {
    flex: 1;
    max-width: 400px;
}

.progress-slider {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #e2e8f0;
    border-radius: 2px;
    outline: none;
    margin: 0;
}

.progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #275342;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(39, 83, 66, 0.3);
}

.progress-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #275342;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(39, 83, 66, 0.3);
}

.progress-time {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
}

.player-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-close:hover {
    color: #475569;
}

.player-close svg {
    width: 20px;
    height: 20px;
}

/* استایل‌های loading */
.podcast-grid.loading {
    position: relative;
    min-height: 300px;
}

.podcast-grid.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f1f5f9;
    border-top: 3px solid #275342;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

.podcast-grid.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    z-index: 9;
    border-radius: 20px;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overlay کلیک */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
}

.overlay.active {
    display: block;
}

/* ==================== رسپانسیو ==================== */

@media (max-width: 1400px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .podcast-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .podcast-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .player-container {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .podcast-archive-header {
        padding: 40px 0 100px;
    }
    
    .archive-main-title {
        font-size: 36px;
    }
    
    .archive-filters-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        margin-top: -60px;
    }
    
    .search-filter,
    .filter-group {
        width: 100%;
    }
    
    .search-filter {
        min-width: auto;
    }
    
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
    
    .view-toggle-group {
        align-self: flex-end;
        margin-right: 0;
        margin-top: 10px;
    }
    
    .podcast-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .podcast-grid.list-view .card-inner {
        flex-direction: column;
    }
    
    .podcast-grid.list-view .card-image {
        width: 100%;
        height: 200px;
    }
    
    .player-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .player-progress {
        order: 3;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .player-close {
        position: absolute;
        top: 15px;
        left: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .podcast-archive-header {
        padding: 30px 0 80px;
    }
    
    .archive-main-title {
        font-size: 32px;
    }
    
    .archive-subtitle {
        font-size: 16px;
    }
    
    .archive-stats {
        gap: 20px;
    }
    
    .stat-card {
        min-width: calc(33.333% - 20px);
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .archive-filters-bar {
        margin-top: -50px;
        padding: 15px;
    }
    
    .results-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .podcast-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-image {
        height: 200px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .card-title {
        font-size: 16px;
        height: auto;
    }
    
    .card-excerpt {
        height: auto;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .dropdown-menu {
        position: fixed !important;
        top: 50% !important;
        left: 20px !important;
        right: 20px !important;
        transform: translateY(-50%) !important;
        max-height: 70vh !important;
        z-index: 1001;
    }
    
    .overlay.active {
        display: block;
        z-index: 1000;
    }
    
    .fixed-player {
        padding: 15px;
    }
    
    .player-info {
        flex: 0 0 calc(100% - 60px);
    }
    
    .player-controls {
        flex: 0 0 auto;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .archive-main-title {
        font-size: 28px;
    }
    
    .archive-stats {
        gap: 10px;
    }
    
    .stat-card {
        min-width: calc(50% - 10px);
        padding: 12px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .archive-filters-bar {
        border-radius: 16px;
    }
    
    .pagination .page-numbers a,
    .pagination .page-numbers span {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
        padding: 0 12px;
    }
    
    .no-results {
        padding: 50px 20px;
    }
    
    .no-results h3 {
        font-size: 20px;
    }
}

/* بهبود UX در موبایل */
@media (max-width: 768px) {
    .search-input {
        font-size: 16px; /* جلوگیری از زوم در iOS */
    }
    
    .btn,
    .dropdown-toggle,
    .view-btn {
        min-height: 44px;
    }
}
