.special-content-section {
    background-color: #1e1e1e90;
    padding: 40px 20px;
    width: 90%;
    max-width: 1200px;
    margin: 0px auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.movie-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.movie-card {
    flex: 0 0 calc(50% - 10px); /* دسکتاپ: 2 کارت در هر ردیف */
    max-width: calc(50% - 10px);
    background-color: #2c2c2c;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.movie-card .movie-cover-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #333;
    aspect-ratio: 16 / 9; /* ویدیو افقی */
}

.movie-card .movie-cover {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
    background: #000;
}

.movie-card:hover .movie-cover {
    transform: scale(1.05);
}

.movie-card .film-title {
    font-family: 'cinema', Times, serif;
    font-size: 1.2em;
    font-weight: normal;
    color: #fff;
    margin: 0;
    padding: 12px 10px;
    background-color: #1e1e1e;
    line-height: 1.3;
    direction: rtl;
}

/* تبلت */
@media (max-width: 768px) {
    .movie-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .movie-card .film-title {
        font-size: 1.05em;
        padding: 10px 8px;
    }
}

/* موبایل */
@media (max-width: 480px) {
    .movie-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .movie-card .film-title {
        font-size: 1em;
        padding: 10px 8px;
    }

    .movie-card:hover {
        transform: none;
        box-shadow: none;
    }

    .movie-card:hover .movie-cover {
        transform: none;
    }
}
