.the-header {
    /* background:linear-gradient(0deg, rgb(49 133 141) 0%, rgb(41 108 115) 100%) ; */
    /* background: linear-gradient(0deg, rgb(4 145 235) 0%, rgb(25 65 90) 100%); */
    background: linear-gradient(0deg, rgb(4 115 186) 0%, rgb(25 65 90) 100%);
    width: 100%;
    height: auto;
    padding: 50px 0;
}

.the-header-radio {
    padding: 15px 0 !important;
    height: 43vh;
    /*height: 60vh;*/
}

.the-nav,
.the-nav-home {
    background: #184460;
    position: fixed;
    backdrop-filter: blur(10px);
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    padding: 0.7rem 2rem;
    z-index: 100;
    transition: all .3s ease;
}

.the-nav-radio {
    background: #184460 !important;
    position: fixed !important;
    width: 100%;
    z-index: 100 !important;
    backdrop-filter: blur(10px) !important;
    padding: 0.7rem 2rem !important;
}

.the-nav-book {
    background: #184460;
    position: fixed;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    padding: 0.7rem 2rem;
}

.the-nav-video {
    background: #00000000;
    position: fixed;
    width: 100%;
    /* top: 8px;
    right: 2.5%;
    width: 95%; */
    /* border-radius: 2rem; */
    z-index: 100;
    backdrop-filter: blur(10px);
    padding: 0.7rem 2rem;
}

.the-nav-profile {
    background: #232323;
    position: fixed;
    top: 8px;
    padding: 0.7rem 2rem;
    right: 2.5%;
    width: 95%;
    border-radius: 2rem;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
}

.right-nav h2 {
    font-size: 17px;
    margin: 0 !important;
}

.nav-icon1 {
    color: white;
    border-radius: 50%;
    box-shadow: 0px 1px 6px #0000004a;
    width: 35px;
    height: 35px;
}

.pt-18 {
    padding-top: 4px;
}

.scroll {
    background: #232323;
    position: fixed;
    top: 8px;
    right: 2.5%;
    width: 95%;
    border-radius: 2rem;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.home-container {
    /* background: linear-gradient(180deg, var(--dark-color) 0%, #232323 21.98%, #3C3C3C 70.42%, #3E3E3E 100%); */
    background-color: #212121;
    border-radius: 16px 16px 0px 0px;
    padding-top: 1.3rem;
    margin-top: -20px;
}

/* hrader-play */
.header-title h2 {
    font-size: 19px;
    font-weight: bold !important;
}

.header-title h6 {
    font-size: 13px;
    color: rgb(194, 194, 194);
}

.blur-card {
    width: 90%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    position: relative;
}

    .blur-card .card-img {
        width: 85px !important;
        height: 85px;
        object-fit: cover;
        border-radius: 12px;
    }

.card-text {
    flex: 1;
    overflow: hidden;
    max-width: 100%;
}

.card-title1 {
    color: #323232;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

.card-subtext {
    font-size: 12px;
    color: #555;
    line-height: 1.4;
    max-height: 35px;
    overflow: hidden;
    text-align: right;
}

.the-play-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 12px;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

    .the-play-btn:hover {
        color: #222;
        background: #fff;
    }

@media (min-width:340px) {
    .card-title {
        font-size: 16px;
    }

    .card-subtext {
        font-size: 14px;
    }

    .the-play-btn {
        width: 42px;
        height: 42px;
    }
}

@media (max-width:340px) {
    .right-nav h2 {
        display: none;
    }
}

.mainMask {
    background: #212121 !important;
}

/* banner slider1 */
.header-details div div h1 {
    font-size: 17px;
}

.mySwiper {
    width: 100%;
    padding: 40px 0;
}

.swiper-slide {
    display: flex !important;
    justify-content: center;
    align-items: center;
    transition: .35s ease;
}

.slide-box {
    width: 220px;
    /* width: 100%;  */
    height: 150px;
    overflow: hidden;
    background: #fff;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: bold;
    transition: .35s ease;
    opacity: 0.4;
    transform: scale(0.8);
}

@media(min-width:550px) and (max-width:992px) {
    .slide-box {
        width: 100%;
        height: 190px;
    }
}

@media(min-width:992px) {
    .slide-box {
        width: 100%;
        height: 310px;
    }
}


.swiper-slide-active .slide-box {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

/* story slider */
.story-slider {
    width: 100%;
    padding: 20px 0;
}

    .story-slider .swiper-slide {
        display: block !important;
        text-align: center;
        width: 90px;
    }

.story-item {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    margin: 0 auto;
    transition: .3s ease;
}

    .story-item img {
        width: 70px !important;
        height: 70px;
        border-radius: 50%;
        object-fit: contain;
    }

@media (max-width:380px) {
    .story-item {
        width: 60px;
        height: 60px;
    }
}

/* .story-item:hover {
    transform: scale(1.08);
} */

.story-text {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
}

/* audio slider */
.audio-slider {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    width: 100%;
}

.audio-card {
    width: 100%;
    display: flex;
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    gap: 14px;
    overflow: hidden;
    position: relative;
}

.lock-badge {
    position: absolute;
    top: 10px;
    left: 14px;
    /* width: 28px;
    height: 28px;
    background: rgba(30, 136, 229, 0.95); */
    color: #0e0e0e;
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    z-index: 5;
}

.audio-card:not(.locked) .lock-badge {
    display: none;
}

.audio-img {
    width: 110px !important;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width:320px) {
    .audio-img {
        width: 95px !important;
        height: 95px;
    }
}

.audio-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.audio-title {
    text-align: right;
    color: rgb(68, 68, 68);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    max-width: 95%;
    display: block;
    line-height: 1;
    height: 1.2em;
    /* یا مقدار دلخواه */
}

.audio-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

    .audio-meta i {
        font-size: 13px;
    }

.divider {
    width: 1px;
    height: 14px;
    background: #ccc;
}

.audio-bottom {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
    /* width: 150px; */
    width: 100%;
}

@media (min-width:390px) {
    .audio-bottom {
        width: 100%;
    }
}

.audio-progress {
    width: 100%;
    height: 5px;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 10px;
}

.audio-progress-line {
    height: 100%;
    background: #232323;
}

.the-play-btn2 {
    width: 50px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: #222;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* mini padcast */
.mini-padcast {
    width: 100%;
    padding: 20px 40px;
}

    .mini-padcast .swiper-slide {
        width: 160px;
    }

.pod-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.pod-img {
    width: 90% !important;
    height: 80px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 8px;
}

@media(min-width:999px) {
    .pod-img {
        width: 90% !important;
        height: 100px !important;
    }
}

.pod-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* سه‌نقطه */
}

.pod-poet {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* all-padcast */
/* .all-declame{
    position: absolute;
} */


@media (max-width:768px) {
    .all-declame {
        padding: 0 30px;
    }
}

.declame-cadr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 7px;
    overflow: hidden;
    border-bottom: 1px solid #5e5e5e;
}

    /* @media (max-width:768px) { */
    .declame-cadr:last-child {
        border-bottom: none;
    }

/* } */
.declame-cadr2 {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 9px;
    overflow: hidden;
    border-bottom: none;
    border-radius: 12px;
    background-color: #212121;
}

.dec-img {
    width: 80px !important;
    height: 80px;
    border-radius: 14px;
    object-fit: cover;
}

.dec-img2 {
    width: 55px !important;
    height: 55px;
    border-radius: 9px;
    object-fit: cover;
}

.dec-content {
    flex: 1;
    overflow: hidden;
}

.dec-title {
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dec-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 12px;
    color: #666;
    gap: 7px;
    /* flex-wrap: nowrap; */
}

.dec-info2 {
    font-size: 9px;
}

.dec-info span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dec-info i {
    margin-left: 4px;
}

.sep {
    width: 1px;
    height: 14px;
    background: #ccc;
}

.dec-btn {
    margin: 5px 5px 0;
    /*background: #f5f5f5;*/
    border: none;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    float: left;
    /* display: none; */
}

    .dec-btn i {
        font-size: 14px;
    }

.header-details2 {
    margin: 0;
}

/*  */

.back-btn i {
    font-size: 16px;
}

.back-btn {
    color: #11537d;
    position: fixed;
    top: 60%;
    left: 0px;
    z-index: 50;
    background: #212121;
    border: none;
    box-shadow: 0 2px 6px rgb(0 0 0);
    padding: 10px 12px;
    border-radius: 0 50% 50% 0;
    cursor: pointer;
}

/* bottom btn */
.bottom-player {
    position: fixed;
    bottom: 59px;
    left: 0;
    width: 100%;
    background: #212121;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.25s ease;
}

.player-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
    gap: 12px;
}

.player-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 12px;
}

.player-info {
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.player-title {
    text-align: right;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-meta {
    font-size: 12px;
    color: #666;
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
}

.player-controls button {
    background: none;
    border: none;
    font-size: 15px;
    margin-left: 6px;
    cursor: pointer;
    color: #c1c1c1;
}

.middle .owl-stage .owl-item {
    padding-bottom: 20px;
}

/*  */

.full-player,
.full-movie {
    position: fixed;
    inset: 0;
    background: #242424;
    overflow-y: auto;
    z-index: 9999;
    /*opacity: 0;*/
    /*transform: translateY(40px);*/
    transform: translateY(0);
    /*pointer-events: none;*/
    transition: opacity 0.35s ease, transform 0.35s ease;
    scroll-behavior: smooth;
}

@media (min-width:330) {
    .full-player {
        padding: 8px;
    }
}

.full-player.show,
.full-movie.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.full-player-player-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    padding: 25px 25px 60px 25px;
}

.full-header {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    padding-bottom: 20px;
}

.full-img {
    width: 70%;
    height: 270px;
    /* height: auto; */
    object-fit: cover;
    border-radius: 20px;
    margin: 20px auto 0;
    display: block;
}

@media (max-width:475px) {
    .full-img {
        height: auto;
    }
}

.full-img2 {
    width: 60%;
    height: 260px;
}

.full-title {
    text-align: center;
    /* margin-top: 10px; */
}

.full-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: rgb(195, 195, 195);
}

@media (max-width:768px) {
    .full-meta {
        margin-top: -30px;
    }
}

.full-meta .divider {
    width: 1px;
    background: #888;
    height: 50%;
}

.full-meta .speaker {
    color: #0056b3;
}

.full-progress {
    width: 100%;
    margin-top: 15px;
    direction: ltr;
    width: 100%;
    height: 6px;
    border-radius: 10px;
    /* background: linear-gradient(to right, #ff7b00, #ffb500); */
    accent-color: #029afb;
}

.time-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.full-controls {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
}

@media (max-width:768px) {
    .time-row {
        margin-top: -36px;
    }

    .full-controls {
        margin-top: -30px;
    }
}

@media (min-height:896px) {
    .time-row {
        margin-top: -60px;
    }
}

.prev-full,
.play-pause-full,
.next-full {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 25px;
}

.scroll-down-btn {
    width: 100%;
    margin-top: 30px;
    padding: 12px;
    border: none;
    background: #eee;
    border-radius: 12px;
    color: #232323;
    text-decoration: none;
}

/* declame-text */
.text-container {
    border-radius: 20px;
    background-color: #029afb;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.34);
    min-height: 320px;
    position: relative;
    padding: 25px;
    font-size: 13px;
    line-height: 29px;
}

.top-img-container-slider {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

@media(max-width:354px) {
    .top-img-container-slider {
        top: -31px;
    }
}

.top-img-container-slider .icon {
    color: white;
    font-size: 17px;
    top: 14%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    text-decoration: none;
}

.top-img-container-slider img {
    width: 190px;
    height: auto;
}

.favorite-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #242424;
    z-index: 9990;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

    .favorite-panel.show {
        transform: translateX(0);
        opacity: 1;
        overflow: scroll;
    }

.fav-header {
    /* position: fixed;
    width: 100%; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    font-size: 14px;
}

    .fav-header i {
        font-size: 20px;
    }

.fav-body {
    padding: 20px;
    font-size: 16px;
}

/* radio */
.radio-container {
    background-color: #212121;
    border-radius: 16px 16px 0px 0px;
    padding-top: 1.3rem;
    margin-top: -20px;
}

.radio-box {
    border-radius: 20px;
    padding: 20px;
    width: 96%;
    margin: 0px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-image {
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background: rgba(30, 41, 59, 0.15);
    border-radius: 20px;
    border: 1px solid rgba(100, 116, 139, 0.2);
    box-shadow: 0px 12px 40px 0 rgba(2, 6, 23, 0.3), inset 0 0 120px rgba(79, 70, 229, 0.08), inset 0px 0px 4px 2px rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    width: 140px !important;
    height: 140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .radio-image img {
        width: 90px !important;
        height: auto;
        border-radius: 15px;
        object-fit: cover;
    }

.radio-channel {
    font-size: 22px;
    font-weight: bold;
}

.radio-info {
    display: flex;
    justify-content: center;
    gap: 8px;
    color: #d9d9d9;
    font-size: 14px;
    flex-wrap: wrap;
}

    .radio-info .item {
        white-space: nowrap;
    }

    .radio-info .divider {
        width: 1px;
        height: 18px;
        background: #ccc;
    }

.radio-volume {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.volume-icon {
    font-size: 16px;
}

.volume-slider {
    width: 150px;
    height: 6px !important;
    accent-color: #e5f5ff;
    direction: ltr;
}

/* --- کنترل‌های بالا --- */
.radio-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}

.control-btn {
    width: 35px;
    height: 35px;
    background: rgba(0, 123, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    color: #0056b3;
    cursor: pointer;
}

    .control-btn.play {
        background: #0d6efd;
        color: #fff;
        width: 50px;
        height: 50px;
        font-size: 23px;
    }

.radio-title {
    text-align: right;
    font-size: 16px;
    font-weight: bold;
    margin: 5px 10px 15px 5px;
}

.radio-chanel {
    margin: 0 10px !important;
}

.radio-item {
    width: 80px !important;
    height: 80px !important;
    border-radius: 15px;
    overflow: hidden;
    opacity: 0.5;
    transition: 0.3s;
    background-color: #5e5e5e;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.9);
    transition: all 0.35s ease !important;
}

.radio-programs-img {
    width: 86%;
    height: 89px;
    border-radius: 15px;
    overflow: hidden;
    opacity: 0.5;
    transition: 0.3s;
    background-color: #5e5e5e;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.9);
    transition: all 0.35s ease !important;
}

    .radio-item img,
    .radio-programs-img img {
        width: 60px !important;
        object-fit: cover;
    }

.radio-item.active-slide {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 
.swiper {
    width: 100%;
    display: flex;
    justify-content: center;
}
.swiper-slide {
    display: flex;
    justify-content: center;
} */
/*  */

.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex !important;
    justify-content: center;
    align-items: flex-start;
    padding-top: 50px;
    z-index: 9990;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

    .search-overlay.show {
        opacity: 1;
        display: flex;
        pointer-events: auto;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

.search-box {
    background: #fff;
    border-radius: 12px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 90%;
    max-width: 480px;
    transform: translateY(-30px);
    transition: transform 0.35s ease;
}


.search-overlay.show .search-box {
    transform: translateY(0);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-box .icon1 {
    font-size: 17px;
    cursor: pointer;
    color: #184460;
}

.search-box .icon2 {
    font-size: 20px;
    cursor: pointer;
    color: #11537d;
}

.close-search {
    color: white;
}

/*  */
.glassmorphism-element {
    backdrop-filter: blur(25px) saturate(100%);
    -webkit-backdrop-filter: blur(25px) saturate(100%);
    background: rgba(23, 23, 23, 0.05);
    box-shadow: 0px 16px 60px 0 rgba(0, 0, 0, 0.4), inset 0 0 0px rgba(255, 255, 255, 0), inset 0px 0px 4px 2px rgba(255, 255, 255, 0.1);
}

    .glassmorphism-element::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        border-radius: inherit;
        background: linear-gradient(to left top, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0) 50%);
        z-index: 1;
    }

    .glassmorphism-element::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        border-radius: inherit;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.386) 0%, rgba(255, 255, 255, 0) 100%);
        z-index: 1;
    }

.popular-tags {
    margin: 20px 15px 0 15px;
    color: #fff;
}

    .popular-tags h4 {
        font-size: 14px;
        margin-bottom: 10px;
        text-align: right;
    }

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    /* background: #323232; */
    background: #18394d;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.25s;
}

    .tag:hover {
        background: #11537d;
    }

.footer-tabs .tab a p {
    font-size: 10px !important;
}

/*  */
.the-header-video {
    width: 100%;
    /* padding: 50px 0; */
    height: 250px;
    position: relative;
    overflow: hidden;
    margin-top: -8px;
}

.headerSwiper,
.headerSwiper .swiper-wrapper,
.headerSwiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.video-slide {
    background-size: cover;
    background-position: center;
    filter: blur(0px);
    position: relative;
}

.slide-overlay {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
    z-index: 1;
}

@media screen and (min-width: 350px) and (max-width: 450px) {
    .the-header-video {
        height: 300px;
    }

    .slide-overlay {
        height: 300px;
    }
}

@media screen and (min-width: 450px) and (max-width: 735px) {
    .the-header-video {
        height: 450px;
    }

    .slide-overlay {
        height: 450px;
    }
}

@media screen and (min-width: 735px) and (max-width: 2000px) {
    .the-header-video {
        height: 550px;
    }

    .slide-overlay {
        height: 550px;
    }
}

.slide-content {
    position: absolute;
    z-index: 5;
    top: 50%;
    right: 0;
    left: 0;
    transform: translateY(-50%);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slide-text {
    width: 55%;
    color: #fff;
    text-align: right;
}

    .slide-text h2 {
        font-size: 14px;
        line-height: 1.3;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-align: right;
        color: gainsboro;
        line-height: 27px;
    }

    .slide-text h1 {
        font-size: 16px;
        line-height: 1.3;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        text-align: right;
    }

.slide-poster {
    width: 38%;
    display: flex;
    justify-content: center;
}

    .slide-poster img {
        width: 85%;
        border-radius: 14px;
        box-shadow: 1px 1px 20px black;
    }

/* موبایل */
@media (max-width: 768px) {
    .slide-content {
        /* flex-direction: column-reverse; */
        text-align: center;
        gap: 25px;
    }

    .slide-text {
        width: 100%;
        text-align: center;
    }

    .slide-poster {
        width: 60%;
    }
}

/*  */
/* Profile & User Info Section */
.suport-box {
    margin: 40px 10px 0 10px;
    border: 1px solid #0473ba;
}

.profile-img {
    border-radius: 50px;
    width: 65px !important;
    object-fit: cover;
}

.user-info-container i {
    font-size: 12px;
}

.user-id-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    gap: 3px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background-color: #27272a;
    color: #e5e7eb;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #3f3f46;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

    .user-id-badge .icon-fingerprint {
        color: #a1a1aa;
        font-size: 0.75rem;
        margin-left: 0.25rem;
    }

    .user-id-badge .id-value {
        color: white;
        font-weight: 700;
    }

/* Support Section */
.support-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #171717;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.2s;
    border: 1px solid #0473ba;
    text-decoration: none;
    margin: 10px 10px;
}

.support-text-container {
    flex-grow: 1;
    text-align: right;
    margin-right: .8rem;
}

.support-icon {
    color: white;
    font-size: 1.5rem;
}

.support-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.support-subtitle {
    color: #a1a1aa;
    font-size: 0.8rem;
    font-weight: 400;
    margin: 0;
}

/* Declame Modal */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
    padding-bottom: 0.5rem;
    box-sizing: border-box;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.modal-hidden {
    opacity: 0;
    pointer-events: none;
}

    .modal-hidden .card-container {
        transform: translateY(100%);
    }

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #27272a;
    flex-shrink: 0;
}

.header-title {
    flex-direction: column;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-btn {
    color: #a1a1aa;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    font-size: 1.1rem;
}

.close-btn-about {
    color: #a1a1aa;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    font-size: 1.1rem;
}

.close-btn:hover {
    color: #3b82f6;
}

.close-btn-about:hover {
    color: #3b82f6;
}

.add-new-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 25px;
    padding: 0.8rem;
    border: 1px dashed #3f3f46;
    border-radius: 0.75rem;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
    flex-shrink: 0;
}

    .add-new-btn:hover {
        border-color: #3b82f6;
        color: #3b82f6;
        background-color: rgba(59, 130, 246, 0.05);
    }

.form-content {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 5px;
}

    .form-content::-webkit-scrollbar {
        width: 6px;
    }

    .form-content::-webkit-scrollbar-track {
        background: #1a1a1a;
    }

    .form-content::-webkit-scrollbar-thumb {
        background: #3f3f46;
        border-radius: 3px;
    }


.form-group {
    margin-bottom: 1.25rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.85rem;
        font-weight: 500;
        color: #a1a1aa;
        margin-right: 5px;
    }

.text-input,
.text-area {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #27272a;
    border: 1px solid #3f3f46;
    border-radius: 0.5rem;
    color: white;
    /* font-family: 'Vazirmatn', sans-serif; */
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

    .text-input::placeholder {
        font-size: 12px;
        color: #6e6e74;
    }

    .text-input:focus,
    .text-area:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
        background-color: #2d2d30;
    }

.text-area {
    resize: vertical;
    min-height: 8rem;
}

.audio-upload-box {
    border: 2px dashed #3f3f46;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
    position: relative;
    overflow: hidden;
    background-color: #27272a;
}

    .audio-upload-box:hover {
        border-color: #3b82f6;
        background-color: #2d2d30;
    }

    .audio-upload-box input[type="file"] {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

.upload-icon {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.upload-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    margin: 0;
}

.upload-hint {
    font-size: 0.75rem;
    color: #a1a1aa;
    margin-top: 0.25rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1.5rem;
    /* margin-bottom: 75px; */
}

    .submit-btn:hover {
        background-color: #2563eb;
    }

/* Social Icons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #27272a;
    margin-top: 1rem;
    flex-shrink: 0;
}

.social-icon {
    color: #a1a1aa;
    font-size: 1.3rem;
    transition: color 0.3s, transform 0.3s;
    text-decoration: none;
}

    .social-icon:hover {
        color: #3b82f6;
        transform: scale(1.1);
    }

/* Plan Cards Section */
.subscription-card {
    width: 100%;
    max-width: 18rem;
    background-color: #1a1a1a;
    border-radius: 1rem;
    padding: 0;
    border: 1px solid #27272a;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .subscription-card:hover {
        border-color: #3b82f6;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    }

.card-content {
    padding: 1.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.discount-badge {
    display: inline-block;
    background-color: #4ade80;
    color: #1a1a1a;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.1rem;
    color: white;
}

.card-duration {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.price-details {
    margin-bottom: 1.5rem;
    width: 100%;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-top: 1px dashed #27272a;
}

.original-label {
    font-size: 0.85rem;
    color: #6b7280;
}

.original-value {
    font-size: 0.85rem;
    color: #6b7280;
    text-decoration: line-through;
}

.discounted-row {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3b82f6;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #27272a;
}

.discounted-label {
    font-size: 1rem;
    font-weight: 600;
}

.discounted-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #4ade80;
}

.currency {
    font-size: 1rem;
    font-weight: 500;
    margin-right: 0.25rem;
}

.purchase-btn {
    display: block;
    width: 100%;
    padding: 0.5rem 0.8rem;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

    .purchase-btn:hover {
        background-color: #2563eb;
        transform: scale(1.02);
        box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
    }

    .purchase-btn:active {
        transform: scale(0.98);
        box-shadow: none;
    }

.plans-row .col-12 {
    max-width: 310px;
}

/* Declame ha Section */
.audio-player-card {
    width: 100%;
    /*max-width: 400px;*/
    background-color: #1a1a1a;
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid #27272a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

    .audio-player-card:hover {
        border-color: #3b82f6;
    }

#customAudio {
    display: none;
}

.track-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px dashed #27272a;
    padding-bottom: 0.5rem;
}

.track-icon {
    background-color: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.track-details h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
}

.track-details h5 {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    color: #a1a1aa;
}

.controls-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.play-pause-btn {
    background-color: #3b82f6;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
    font-size: 1.2rem;
}

    .play-pause-btn:hover {
        background-color: #2563eb;
        transform: scale(1.05);
    }

    .play-pause-btn:active {
        transform: scale(0.95);
    }

.time-display {
    font-size: 0.8rem;
    color: #a1a1aa;
    min-width: 45px;
    text-align: center;
}

.progress-container {
    flex-grow: 1;
    height: 8px;
    background-color: #27272a;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #3b82f6;
    border-radius: 4px;
    transition: width 0.1s linear;
    position: relative;
}

    .progress-bar::after {
        content: '';
        position: absolute;
        left: 100%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 12px;
        height: 12px;
        background-color: white;
        border-radius: 50%;
        box-shadow: 0 0 0 3px #3b82f6;
        pointer-events: none;
    }

/* 
.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #27272a;
}

.volume-icon {
    color: #94a3b8;
    font-size: 0.9rem;
    flex-shrink: 0;
    width: 20px;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #3f3f46;
    outline: none;
    opacity: 0.8;
    transition: opacity 0.2s;
    border-radius: 3px;
}

.volume-slider:hover {
    opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: #3b82f6;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #3b82f6;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    border: none;
} */

.recitation-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
    max-height: calc(90vh - 150px);
}

    .recitation-list::-webkit-scrollbar {
        width: 6px;
    }

    .recitation-list::-webkit-scrollbar-track {
        background: #1a1a1a;
    }

    .recitation-list::-webkit-scrollbar-thumb {
        background: #3f3f46;
        border-radius: 3px;
    }

.recitation-item {
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s;
}

/* Contact Us */
.contact-card {
    width: 100%;
    max-width: 450px;
    background-color: #1a1a1a;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #27272a;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

    .contact-card h1 {
        font-size: 1.8rem;
        font-weight: 800;
        color: #3b82f6;
        text-align: center;
        margin-bottom: 2rem;
        position: relative;
    }

        .contact-card h1::after {
            content: '';
            display: block;
            width: 50px;
            height: 3px;
            background-color: #4ade80;
            margin: 0.5rem auto 0;
            border-radius: 2px;
        }

.contact-item {
    display: flex;
    align-items: flex-start;
    background-color: #27272a;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.25rem;
    border: 1px solid transparent;
    cursor: default;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

    .contact-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
        border-color: #3b82f6;
    }

    .contact-item:last-child {
        margin-bottom: 0;
    }

.icon-wrapper {
    background-color: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

.detail-content {
    flex-grow: 1;
}

    .detail-content h4 {
        margin: 0;
        font-size: 1rem;
        font-weight: 700;
        color: white;
        line-height: 1.5;
    }

    .detail-content p {
        margin: 0.2rem 0 0;
        font-size: 0.9rem;
        color: #a1a1aa;
        word-break: break-word;
        line-height: 20px !important;
    }

    .detail-content a {
        color: #4ade80;
        text-decoration: none;
        transition: color 0.2s;
    }

        .detail-content a:hover {
            color: #2563eb;
        }


/* Books Section */
.header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .header-content img {
        width: 43% !important;
    }

.icon-box {
    background-color: rgba(255, 255, 255, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .icon-box:hover {
        transform: scale(1.1) rotate(5deg);
        background-color: rgba(255, 255, 255, 0.25);
    }

.book-header-title h1 {
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.book-header-title p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
    font-weight: 300;
    text-align: right;
}

.books-banner-swiper {
    width: 100%;
    /* padding: 40px 0; */
    display: flex !important;
    justify-content: center;
    align-items: center;
    transition: .35s ease;
}

    .books-banner-swiper .swiper-wrapper .swiper-slide {
        width: 100%;
    }

    .books-banner-swiper .slide-box {
        width: 220px;
        height: 150px;
        overflow: hidden;
        background: #fff;
        border-radius: 18px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 40px;
        font-weight: bold;
        transition: .35s ease;
    }

.books-banner-swiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

    .books-banner-swiper .banner-book-item {
        width: 100%;
        height: auto;
    }

        .books-banner-swiper .banner-book-item img {
            border-radius: 10px;
        }

.books-swiper .book-item img {
    border-radius: 5px;
    height: 150px;
    object-fit: cover;
}

.container-box {
    background: #272727;
    border-radius: 12px;
    margin: 20px 5px;
}

.top-section {
    padding: 0px 15px;
    text-align: center;
    position: relative;
}

.top-image {
    display: block;
    width: 250px !important;
    margin: 0 auto 25px;
    margin-top: 0;
}

.top-image2 {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    color: #0473ba;
    font-size: 44px;
}

.container-box .title1 {
    font-size: 23px;
    font-weight: bold;
}

.container-box .title2 {
    font-size: 16px;
    color: #777777;
}

.container-box .title3 {
    font-size: 15px;
    color: #5d5d5d;
}

.books-swiper2 .book-item {
    width: 100%;
    border: 1px solid #0467a71f;
    box-shadow: 1px 1px 6px #000000a3;
    padding: 4px 9px;
    margin: 10px 0;
    border-radius: 5px;
}

    .books-swiper2 .book-item img {
        border-radius: 5px;
        height: 146px;
        width: 100%;
        display: flex;
        margin: 0 auto;
        /* padding: 10px; */
        object-fit: cover;
    }

.book-name {
    border-bottom: 1px solid #454545;
    text-align: start;
    max-width: 110px;
    font-size: 14px;
    color: #f2f0f0;
}

.author h5 {
    max-width: 110px;
    font-size: 12px;
    color: #e2e2e2;
    margin-bottom: 2px;
}

.author i {
    font-size: 12px;
    color: #c8c4c4;
}

.speaker h5 {
    max-width: 110px;
    font-size: 11px;
    color: #979797;
}

.speaker i {
    font-size: 11px;
    color: #c8c4c4;
}

.mt-7 {
    margin-top: 5rem !important;
}

.z-1000 {
    z-index: 1000;
}

/*  */
.films-slider {
    margin: 0 5px !important;
}

    .films-slider .swiper-slide {
        flex-direction: column;
        align-items: flex-start;
    }

.film-item {
    height: 200px;
    width: 100%;
    line-height: 50px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

    .film-item img {
        border-radius: 15px;
        height: 100%;
        width: auto;
        object-fit: cover;
    }

.film-caption {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 200px;
    width: 100%;
    line-height: 30px;
    text-align: right;
    padding: 20px;
    font-size: 13px;
    color: #e0e0e0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.458) 0%, rgba(0, 0, 0, 0.775) 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    border-radius: 15px;
    opacity: 0;
    text-decoration: none !important;
    transition: opacity 0.5s ease;
    padding-bottom: 0px !important;
}

@media screen and (min-width: 390px) and (max-width: 768px) {
    .film-item {
        height: 165px;
    }

    .film-caption {
        height: 165px;
    }
}

.film-caption span {
    color: #e0e0e0;
    text-decoration: none !important;
    text-align: right !important;
}

.film-item:hover .film-caption {
    opacity: 1;
}

.film-container p {
    color: white;
    margin: 8px 10px;
    font-size: 12px;
}

.films-baners .swiper-wrapper,
.films-baners2 .swiper-wrapper {
    padding: 0 8px;
}

    .films-baners .swiper-wrapper .swiper-slide,
    .films-baners2 .swiper-wrapper .swiper-slide {
        border-radius: 10px;
        overflow: hidden;
        height: 150px;
        transition: all 0.3s ease;
    }

@media(max-width:391px) {

    .films-baners .swiper-wrapper .swiper-slide,
    .films-baners2 .swiper-wrapper .swiper-slide {
        height: 100px;
    }
}

.films-baners .swiper-wrapper .swiper-slide img,
.films-baners2 .swiper-wrapper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pt-30 {
    padding-top: 30px !important;
}

.z-1 {
    z-index: -1 !important;
}

/*  */
.full-ratings {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

@media (max-height:750px) {
    .full-ratings {
        margin-top: 50px !important;
    }
}

.rating-box {
    width: 100px;
    background: #1d1d1d;
    padding: 10px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #e8e8e8;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    justify-content: space-around;
}

    .rating-box i {
        font-size: 20px;
        color: #0056b3;
    }

        .rating-box i.fa-imdb {
            color: #0056b3;
            font-size: 22px;
        }

.full-description {
    color: #d1d1d1;
    font-size: 14px;
    text-align: center;
    margin: 20px 0 15px 0;
    line-height: 1.6;
    max-height: 3.2em;
    overflow: hidden;
}

.watch-btn {
    width: 100%;
    background: #0056b3;
    border: none;
    padding: 14px 0;
    border-radius: 15px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s ease;
    /* margin-top: auto; */
}

    .watch-btn:hover {
        opacity: 0.85;
    }

    .watch-btn i {
        font-size: 18px;
    }

/*  */
.episode-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 71, 255, 0.05);
    border: 1px solid rgba(0, 132, 255, 0.2);
    padding: 12px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.episode-img {
    width: 90px;
    height: 80px;
    object-fit: cover;
    border-radius: 14px;
}

.episode-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80px;
    flex: 1;
}

.episode-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    text-align: right;
}

.episode-time {
    font-size: 12px;
    color: #c9c9c9;
}

.title-episode {
    color: #0056b3;
    text-align: right;
    font-size: 18px;
}

.episode-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

    .episode-actions button {
        width: 38px;
        height: 32px;
        border-radius: 10px;
        border: none;
        outline: none;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgb(0 86 179 / 62%);
        color: white;
        backdrop-filter: blur(4px);
    }

        .episode-actions button.play-movie {
            background: #1d1d1d;
        }

        .episode-actions button i {
            font-size: 14px;
        }

/*  */

.chapter-list-card {
    width: 100%;
    max-width: 500px;
    background-color: #1a1a1a;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #27272a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.list-header {
    text-align: right;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed #27272a;
}

    .list-header h2 {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 800;
        color: #3b82f6;
    }

    .list-header p {
        margin: 0.25rem 0 0;
        font-size: 0.8rem;
        color: #94a3b8;
    }

.chapter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s, transform 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
}

    .chapter-item:hover {
        background-color: #27272a;
        transform: translateY(-1px);
        border-color: #3b82f6;
    }

.chapter-info {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.play-btn {
    background: none;
    border: none;
    color: #3b82f6;
    font-size: 1.1rem;
    margin-left: 1rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
    flex-shrink: 0;
}

.book-play-icon {
    text-decoration: none;
    background-color: #3b82f6;
    border: none;
    color: white;
    margin-left: 1rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
}

    .book-play-icon i {
        font-size: 13px;
    }

.chapter-item:hover .play-btn {
    background-color: #3b82f6;
    color: white;
}

.text-content {
    width: 70%;
    text-align: right;
    margin-top: 2px;
}

.chapter-title {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    width: 98%;
}

.chapter-duration {
    margin: 0;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.file-size {
    font-size: 0.8rem;
    color: #a1a1aa;
    font-weight: 600;
}

.download-icon {
    color: rgb(4 115 186);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}

    .download-icon:hover {
        transform: scale(1.1);
    }

.bottom-player-book {
    position: fixed;
    bottom: 59px;
    left: 0;
    width: 100%;
    background: #212121;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.25s ease;
}

.full-player-book {
    position: fixed;
    inset: 0;
    background: #242424;
    overflow-y: auto;
    z-index: 9990;
    opacity: 0;
    transform: translateY(40px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    scroll-behavior: smooth;
}

@media (min-width:330px) {
    .full-player-book {
        padding: 8px;
    }
}

.full-player-book.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.full-player-player-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    padding: 25px 25px 60px 25px;
}

@media (max-width:400px) {
    .chapter-list-card {
        padding: 1.5rem 0.7rem;
    }

    #fehrest {
        padding: 0;
    }

    .meta-info {
        flex-direction: column;
    }
}

/* login */
.login-bg {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #212121, #0473ba);
    background-size: 300% 300%;
    animation: gradientMove 5s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.login-box {
    width: 95%;
    background: #222;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    text-align: center;
    /* background: rgb(51 51 51 / 78%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4); */
}

.login-logo img {
    width: 70px;
    margin-bottom: 10px;
}

.login-title {
    font-size: 21px;
    color: #fff;
    margin: -15px 0 0;
}

.switch-box {
    margin: 0 auto;
    width: 80%;
    display: flex;
    justify-content: space-between;
    background: #333;
    padding: 5px;
    font-size: 14px;
    border-radius: 12rem;
    margin-bottom: 20px;
}

@media (max-width:340px) {
    .switch-box {
        width: 90%;
    }
}

.switch-item {
    flex: 1;
    padding: 7px 10px;
    border-radius: 12rem;
    color: #bbb;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .switch-item.active {
        background: #0473ba;
        color: #fff;
    }

.form-content {
    /* display: none;
    opacity: 0; */
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.active-form {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


.input-box {
    position: relative;
    margin-bottom: 15px;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #999;
    font-size: 18px;
}

.input-box input {
    width: 100%;
    background: #333;
    border: none;
    padding: 12px 40px 12px 12px;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease-in-out;
}

    .input-box input:focus {
        box-shadow: 0px 3px 5px 0px #0473ba21;
    }

input::placeholder {
    color: #888;
}


.submit-btn2 {
    width: 100%;
    /* background-color: #3b82f6; */
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1.5rem;
    padding: 12px;
    background: #0473ba;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

    .submit-btn2:hover {
        background: #0590ee;
    }


.note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

@media (min-width:390px) {
    .login-logo img {
        width: 100px;
        margin-bottom: 10px;
    }

    .login-title {
        font-size: 24px;
    }

    .note {
        font-size: 15px;
        margin-top: 0px;
    }
}

.blink-icon {
    color: #2196f3;
    font-size: 16px;
    animation: blink 2.2s infinite ease-in-out;
}

@keyframes blink {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.2;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.the-disabled {
    opacity: 0.7 !important;
}

/* new styles */

.custom-checkbox {
    display: flex;
    align-items: center;
    direction: rtl;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    user-select: none;
}

    .custom-checkbox .text {
        color: #c0c0c0;
    }

    .custom-checkbox input {
        display: none;
    }

    .custom-checkbox .checkmark {
        width: 20px;
        height: 20px;
        border: 2px solid #1e88e5;
        border-radius: 6px;
        margin-left: 8px;
        position: relative;
        transition: all 0.2s ease;
        background-color: #282828;
    }

        .custom-checkbox .checkmark::after {
            content: "";
            position: absolute;
            width: 6px;
            height: 10px;
            border: solid #fff;
            border-width: 0 2px 2px 0;
            top: 2px;
            right: 6px;
            transform: rotate(45deg);
            opacity: 0;
            transition: opacity 0.2s ease;
        }

    .custom-checkbox input:checked + .checkmark {
        background-color: #1e88e5;
        border-color: #1e88e5;
    }

        .custom-checkbox input:checked + .checkmark::after {
            opacity: 1;
        }

    .custom-checkbox:hover .checkmark {
        box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.15);
    }

/*  */
.profile-card {
    padding: 40px 20px 20px;
    border-radius: 20px;
    background: #212121;
    border: 1px solid rgba(30, 136, 229, 0.25);
    box-shadow: 0 10px 17px 0px rgb(30 136 229 / 6%);
    position: relative;
    direction: rtl;
}

.avatar-wrapper {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

    .avatar-wrapper input {
        display: none;
    }

.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d4d4d4;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.edit-icon {
    position: absolute;
    bottom: -2px;
    right: 5px;
    width: 28px;
    height: 28px;
    background-color: #282828;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 3px 8px rgba(30, 136, 229, 0.5);
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

/* ؟؟؟؟؟ */
.termsOfUse {
    padding: 25px 20px 70px 20px !important;
}

/*  */
.close-butn {
    color: #a1a1aa;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    font-size: 1.1rem;
    position: absolute;
    top: 16px;
    left: 15px;
}

.speaker-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.speaker-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.speaker-info {
    flex: 1;
}

.speaker-name {
    font-size: 16px;
    font-weight: 600;
    color: #f0f0f0;
}

.speaker-meta {
    margin-top: 4px;
    font-size: 13px;
    color: #b0b0b0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bio-box {
    text-align: justify;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #029afb47;
    box-shadow: 0 6px 18px rgb(6 142 229 / 15%);
}

.bio-text {
    font-size: 14px;
    line-height: 35px !important;
    color: #e5e5e5;
    margin: 0;
    margin-bottom: 10px !important;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

    .bio-text.collapsed {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

.toggle-bio {
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    color: #029afb;
    cursor: pointer;
    user-select: none;
}

.size17 {
    font-size: 16px;
}

.mr-7 {
    margin-right: 7px;
}

.mt-4-5 {
    margin-top: 2rem;
}

.showe-all-declame {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #ebebeb;
}

.owl-item {
    padding-bottom: 50px !important;
}

.p-b-80 {
    padding-bottom: 100px !important;
}

.radio-programs-item {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    background-color: #272727;
    border-radius: 10px;
    padding: 8px 4px;
    text-align: right;
    opacity: 0.7;
    transition: all 0.5s ease-in-out !important;
    position: relative;
}

.live-badge {
    position: absolute;
    top: 3px;
    left: 4px;
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
    color: #fff;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 8px;
    white-space: nowrap;
    z-index: 5;
    opacity: 0;
    /* transform: scale(0.8); */
    transition: all 0.3s ease;
    animation: pulse 2.2s infinite;
    display: none;
}

.radio-programs-item.manual-active .live-badge {
    display: inline-flex;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

.swiper-slide-active.radio-programs-item .live-badge {
    opacity: 1;
    /* transform: scale(1); */
}

.radio-programs-item .radio-programs-info {
    overflow: hidden;
    width: 100%;
}

.radio-programs-item h3 {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: grey;
}

.radio-programs-item span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 11px;
    width: 94%;
    color: rgb(172, 172, 172);
}

.radio-programs-item.manual-active {
    opacity: 1;
    transform: scale(1);
    background-color: #333;
}

    .radio-programs-item.manual-active h3 {
        color: #0d6efd;
    }

    .radio-programs-item.manual-active span {
        color: #ddd;
    }

.about-card {
    margin: 0 auto;
}

/* قاب متن */
.about-text {
    /* background: #ffffff; */
    border-radius: 18px;
    padding: 12px 24px;
    border: 1px solid rgba(30, 136, 229, 0.25);
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.12);
}

    .about-text p {
        margin: 0;
        line-height: 2;
        font-size: 14px;
        color: #ededed;
        text-align: justify;
        white-space: pre-line;
    }

/* قاب پایین */
.about-footer {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(30, 136, 229, 0.35);
    box-shadow: 0 6px 18px rgba(30, 136, 229, 0.15);
    background-color: #212121;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

    .about-footer img {
        width: 85px;
        height: auto;
    }

    .about-footer a {
        font-size: 16px;
        color: #6c6c6a;
        text-decoration: none !important;
        font-weight: 500;
    }

        .about-footer a:hover {
            text-decoration: underline;
        }

.rtl-placeholder::placeholder {
    direction: rtl;
    text-align: right;
}

.subscribe-toast {
    position: fixed;
    top: 30%;
    left: 50%;
    width: 90%;
    transform: translateX(-50%);
    background-color: #2a2a2a;
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
    color: #fff;
    padding: 14px 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(186, 223, 255, 0.053);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
}

    .subscribe-toast.show {
        opacity: 1;
        visibility: visible;
        animation: slideDown 0.4s ease;
    }

@keyframes slideDown {
    from {
        transform: translate(-50%, -20px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}
/*  */
/* لینک قوانین */
.rules-link {
    color: #1e88e5;
    cursor: pointer;
    font-size: 13px;
}

/* بک گراند محو */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    z-index: 999;
    display: none;
}

/* مودال */
.rules-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 480px;
    background: #2c2c2d;
    border-radius: 18px;
    padding: 20px 22px;
    z-index: 1000;
    display: none;
    direction: rtl;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.726);
}

    .rules-modal h3 {
        margin-top: 0;
        margin-bottom: 14px;
        font-size: 16px;
        color: #f3f3f3;
    }

    .rules-modal ul {
        padding-right: 18px;
        margin: 0;
    }

    .rules-modal li {
        font-size: 13px;
        color: #dedede;
        line-height: 1.9;
        margin-bottom: 8px;
    }


    .rules-modal.show {
        display: block;
        animation: modalFade 0.3s ease forwards;
    }

.modal-overlay.show {
    display: block;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translate(-50%, -55%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
