/* =====================================================
   HOME MOBILE UI
===================================================== */

:root {
    --bg: #080a0d;
    --card: #11151a;
    --card2: #15191f;

    --red: #ef3340;
    --red2: #ff4654;

    --text: #ffffff;
    --muted: #8b9199;

    --border: rgba(255, 255, 255, .07);
}


/* ================= BODY ================= */

body {
    background:
        radial-gradient(circle at 50% -10%,
            rgba(239, 51, 64, .08),
            transparent 35%),
        var(--bg);

    color: white;
    padding-bottom: 90px;
}


/* ================= HEADER ================= */

.mobile-header {

    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 18px;

    position: relative;
    z-index: 1000;

    background: rgba(8, 10, 13, .85);

    backdrop-filter: blur(20px);
}


.site-logo {

    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    text-align: center;
}


.site-logo span {

    display: block;

    font-size: 28px;

    font-weight: 900;

    color: white;

    letter-spacing: -2px;
}


.site-logo small {

    display: block;

    font-size: 9px;

    color: var(--red);

    margin-top: -5px;
}


.header-actions {

    display: flex;

    gap: 7px;
}


.header-icon {

    width: 42px;
    height: 42px;

    border: 0;

    border-radius: 50%;

    color: #d9dce0;

    background: rgba(255, 255, 255, .045);

    display: flex;

    align-items: center;
    justify-content: center;

    position: relative;

    font-size: 17px;
}


.header-icon b {

    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--red);

    top: 8px;
    right: 8px;

    box-shadow: 0 0 10px var(--red);
}


/* ================= STORIES ================= */
/* (شامل فیکس جلوگیری از هم‌پوشانی با اسلایدر اصلی) */

.stories-section {

    padding: 5px 0 18px;

    display: block !important;
    visibility: visible !important;

    height: auto;
    min-height: 100px;

    position: relative;
    z-index: 10;

    overflow: hidden;
    overflow-x: hidden;
}


.stories {

    display: flex;

    gap: 13px;

    overflow-x: auto;

    padding: 5px 15px 8px;

    direction: rtl;

    scrollbar-width: none;

    position: relative;
    z-index: 20;
}


.stories::-webkit-scrollbar {
    display: none;
}


.story {

    min-width: 72px;

    text-align: center;

    text-decoration: none;

    color: white;
}


.story-image {

    width: 66px;
    height: 66px;

    padding: 3px;

    border-radius: 50%;

    background:
        linear-gradient(135deg,
            #ff3149,
            #7c1730,
            #242933);

    margin: auto;

    position: relative;
}


.story-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    border: 2px solid #090b0e;
}


.story span {

    display: block;

    margin-top: 7px;

    font-size: 11px;

    color: #d4d6d9;

    white-space: nowrap;
}


.add-story .story-image {

    background: #10141a;

    border: 1px solid rgba(255, 255, 255, .13);

    display: flex;

    align-items: center;
    justify-content: center;
}


.add-story .story-image i {

    font-size: 23px;

    color: #fff;
}


/* ================= MAIN SLIDER ================= */
/* (نسخه‌ی نهایی: تمام قوانین تکراری/بازنویسی‌شده روی همین سلکتور در یک جا ادغام شده‌اند) */

#mainSlider {

    position: relative;

    overflow: hidden;

    margin-top: 8px;

    z-index: 1;
    clear: both;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .45);
}


#mainSlider .carousel-inner {

    position: relative;
    overflow: hidden;

    height: 500px;
}


#mainSlider .carousel-item {

    position: relative;

    width: 100%;

    margin: 0;
    padding: 0;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    transform: translateZ(0);

    transition: none;
    animation: none;
}


#mainSlider .carousel-item.active,
#mainSlider .carousel-item-next,
#mainSlider .carousel-item-prev {
    display: block;
}

#mainSlider .carousel-item-next,
#mainSlider .carousel-item-prev {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    transition: none;
    transform: none;
}

#mainSlider .carousel-item-next.carousel-item-start,
#mainSlider .carousel-item-prev.carousel-item-end,
#mainSlider .carousel-item.active.carousel-item-start,
#mainSlider .carousel-item.active.carousel-item-end {
    transform: none;
}


.main-slide {

    display: block;

    position: relative;

    width: 100%;
    height: 500px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    color: white;

    text-decoration: none;

    transform: translateZ(0);
}


.slider-img {

    display: block;

    width: 100%;
    height: 100% !important;

    object-fit: cover;

    margin: 0;
    padding: 0;

    border-radius: 5px !important;

    transition: transform .7s ease;
}


.slider-gradient {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(to top,
            rgba(0, 0, 0, .95) 0%,
            rgba(0, 0, 0, .4) 42%,
            transparent 75%);
}


.slider-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    padding: 25px;

}


.slider-content {

    width: 100%;

    direction: rtl;

    text-align: right;
}


.slider-label {

    color: var(--red);

    font-size: 13px;

    font-weight: 700;
}


.slider-content h2 {

    font-size: 27px;

    font-weight: 900;

    margin: 7px 0;

    color: white;
}


.slider-content p {

    color: #c4c7ca;

    margin: 0 0 15px;

    font-size: 13px;
}


.slider-button {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 16px;

    border-radius: 13px;

    border: 1px solid rgba(255, 255, 255, .25);

    background: rgba(255, 255, 255, .08);

    backdrop-filter: blur(15px);

    color: white;

    font-size: 12px;
}


.slider-button i {

    color: var(--red);

}


/* ================= INDICATORS ================= */

#mainSlider .carousel-indicators {

    top: 15px;

    right: 15px;

    left: auto;

    bottom: auto;

    margin: 0;

    display: flex;

    gap: 5px;

    direction: ltr;
}


#mainSlider .carousel-indicators button {

    width: 7px;
    height: 7px;

    padding: 0;

    margin: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, .45);
}


#mainSlider .carousel-indicators .active {

    width: 20px;

    border-radius: 10px;

    background: var(--red);

}


/* ================= QUICK CARDS ================= */

.quick-container {

    margin-top: 20px;

    padding-left: 12px;
    padding-right: 12px;
}


.quick-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;
}


.quick-card {

    min-height: 135px;

    border-radius: 18px;

    padding: 14px;

    text-decoration: none;

    color: white;

    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, .08),
            rgba(255, 255, 255, .025));

    border: 1px solid var(--border);

    backdrop-filter: blur(15px);

    transition: .3s;
}


.quick-card:hover {

    transform: translateY(-3px);

    border-color: rgba(239, 51, 64, .3);
}


.quick-special {

    background:
        radial-gradient(circle at top right,
            rgba(239, 51, 64, .18),
            transparent 65%),
        #12151a;
}


.quick-icon {

    width: 40px;
    height: 40px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(239, 51, 64, .13);

    color: #ff5360;

    font-size: 17px;

    border: 1px solid rgba(239, 51, 64, .25);
}


.video-icon {

    background: rgba(239, 51, 64, .12);

    color: #ff5a67;
}


.audio-icon {

    background: rgba(160, 60, 220, .13);

    color: #c56cff;
}


.quick-card h3 {

    margin: 0;

    font-size: 14px;

    font-weight: 800;
}


.quick-card span {

    display: block;

    color: #777d85;

    font-size: 10px;

    margin-top: 3px;
}


.arrow {

    position: absolute;

    left: 12px;

    bottom: 17px;

    color: #9da2a8;

    font-size: 13px;
}


/* ================= SECTION HEADER ================= */

.section-header {

    margin-top: 38px;

    margin-bottom: 13px;

    padding: 0 4px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    direction: rtl;
}


.section-header h2 {

    margin: 0;

    font-size: 17px;

    font-weight: 800;

    color: white;
}


.section-header h2 i {

    color: var(--red);

    margin-left: 6px;

    font-size: 15px;
}


.see-all {

    color: #777d85;

    font-size: 11px;

    text-decoration: none;
}


.see-all i {

    margin-right: 5px;
}


/* ================= HORIZONTAL SLIDERS ================= */

.video-slider,
.audio-slider,
.roze-slider {

    display: flex;

    gap: 10px;

    overflow-x: auto;

    padding: 5px 3px 12px;

    direction: rtl;

    scrollbar-width: none;
}


.video-slider::-webkit-scrollbar,
.audio-slider::-webkit-scrollbar,
.roze-slider::-webkit-scrollbar {

    display: none;
}


/* ================= VIDEO CARD ================= */

.video-slider>a,
.roze-slider>a {

    flex: 0 0 auto !important;

    display: block !important;
}


.video-card,
.roze-card {

    width: 190px;

    background: #11151a;

    border-radius: 17px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .06);

    box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
}


.video-card img,
.roze-card img {

    width: 100%;

    height: 120px;

    object-fit: cover;

    border-radius: 0;
}


.video-card h6,
.roze-card h6 {

    color: white;

    font-size: 12px;

    padding: 0 10px;

    margin: 10px 0 4px;

    text-align: right;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.video-card p,
.roze-card p {

    color: #70767d !important;

    font-size: 10px !important;

    padding: 0 10px;

    text-align: right !important;
}


/* ================= AUDIO CARD ================= */

.audio-slider>a {

    flex: 0 0 auto !important;

    display: block !important;
}


.audio-card {

    width: 145px;

    padding: 8px;

    border-radius: 18px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, .07),
            rgba(255, 255, 255, .025));

    border: 1px solid rgba(255, 255, 255, .06);

    overflow: hidden;
}


.gallery-img {

    width: 129px !important;

    height: 129px !important;

    border-radius: 13px !important;

    object-fit: cover;
}


.audio-card .card-body {

    padding: 5px 2px;
}


.audio-card .card-title {

    color: white;

    font-size: 11px !important;

    text-align: right;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* ================= MOBILE ================= */

@media(max-width:768px) {

    .container {

        width: 100%;

        padding-left: 12px !important;
        padding-right: 12px !important;
    }


    #mainSlider {

        margin-left: 10px;
        margin-right: 10px;
    }

    #mainSlider .carousel-inner {
        height: 390px;
    }

    .main-slide,
    #mainSlider .main-slide {

        height: 390px;
    }


    .slider-content h2 {

        font-size: 23px;
    }


    .quick-card {

        min-height: 125px;

        padding: 12px;
    }


    .quick-card h3 {

        font-size: 13px;
    }


    .video-card,
    .roze-card {

        width: 180px;
    }


    .video-card img,
    .roze-card img {

        height: 110px;
    }

}


/* ================= VERY SMALL ================= */

@media(max-width:380px) {

    .story {

        min-width: 65px;
    }


    .story-image {

        width: 58px;
        height: 58px;
    }


    .quick-grid {

        gap: 7px;
    }


    .quick-card {

        min-height: 115px;

        padding: 10px;
    }


    .quick-icon {

        width: 34px;
        height: 34px;

        font-size: 14px;
    }


    .quick-card h3 {

        font-size: 12px;
    }


    .quick-card span {

        font-size: 9px;
    }


    .main-slide,
    #mainSlider .main-slide,
    #mainSlider .carousel-inner {

        height: 360px;
    }

}


@media (max-width: 480px) {

    #mainSlider .carousel-inner {
        height: 350px;
    }

    .main-slide,
    #mainSlider .main-slide {
        height: 350px;
    }

}


/* =====================================================
   MADAHI PLAYER
===================================================== */

.madahi-player {
    direction: rtl;
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    color: #fff;
    font-family: inherit;
}

/* Header */

.player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.player-header h2 {
    margin: 8px 0 0;
    font-size: 23px;
    font-weight: 800;
}

.player-label {
    color: #a5a5a5;
    font-size: 13px;
}

.player-label i {
    margin-left: 6px;
}

.player-count {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 8px 15px;
    border-radius: 30px;
    color: #aaa;
    font-size: 12px;
}


/* Main Player */

.player-main {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 28px;
    border-radius: 25px;
    overflow: hidden;

    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, .08),
            rgba(255, 255, 255, .025));

    border: 1px solid rgba(255, 255, 255, .08);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .35);

    backdrop-filter: blur(20px);
}


/* Cover */

.player-cover-box {
    position: relative;
    width: 230px;
    height: 230px;
    min-width: 230px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}

.player-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.player-main.playing .player-cover {
    transform: scale(1.04);
}

.cover-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(to top,
            rgba(0, 0, 0, .5),
            transparent);

    color: rgba(255, 255, 255, .8);
    font-size: 30px;
}


/* Content */

.player-content {
    flex: 1;
    min-width: 0;
}

.player-info {
    margin-bottom: 25px;
}

.player-badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 8px;

    background: rgba(255, 255, 255, .08);
    color: #bbb;

    font-size: 11px;
}

.player-info h3 {
    margin: 12px 0 0;
    font-size: 22px;
    line-height: 1.8;
    font-weight: 800;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Wave */

.madahi-wave {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin: 15px 0;
    direction: ltr;
}

.wave-bar {
    display: block;
    width: 3px;
    height: 20px;
    border-radius: 10px;

    background: rgba(255, 255, 255, .25);

    transition:
        height .25s ease,
        background .25s ease;
}

.player-main.playing .wave-bar:nth-child(3n) {
    animation: wave 1s infinite ease-in-out;
}

.player-main.playing .wave-bar:nth-child(4n) {
    animation: wave 1.2s infinite ease-in-out;
}

.player-main.playing .wave-bar:nth-child(5n) {
    animation: wave .8s infinite ease-in-out;
}

@keyframes wave {

    0%,
    100% {
        height: 12px;
    }

    50% {
        height: 45px;
    }
}


/* Progress */

.player-progress-area {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #888;
    font-size: 11px;
}

.progress-container {
    position: relative;
    flex: 1;
    height: 5px;
    border-radius: 20px;

    background: rgba(255, 255, 255, .1);
    cursor: pointer;

    direction: ltr;
}

.progress-bar {
    position: absolute;
    left: 0;
    top: 0;

    width: 0%;
    height: 100%;

    border-radius: 20px;

    background: linear-gradient(90deg,
            #777,
            #fff);

    transform-origin: left center;
}

.progress-dot {
    position: absolute;
    top: 50%;
    left: 0;

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: #fff;

    transform: translate(50%, -50%);

    opacity: 0;
    transition: opacity .2s;
}

.progress-container:hover .progress-dot {
    opacity: 1;
}


/* Controls */

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.control-btn,
.play-button,
.download-button {
    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    cursor: pointer;

    transition:
        transform .2s,
        background .2s;
}

.control-btn {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .06);
    color: #aaa;
}

.control-btn:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    transform: translateY(-2px);
}

.control-btn.active {
    color: #fff;
    background: rgba(255, 255, 255, .15);
}

.play-button {
    width: 64px;
    height: 64px;

    border-radius: 50%;

    background: #fff;
    color: #111;

    font-size: 19px;

    box-shadow: 0 10px 30px rgba(255, 255, 255, .15);
}

.play-button:hover {
    transform: scale(1.07);
}

.download-button {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .06);
    color: #aaa;
    text-decoration: none;
}

.download-button:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}


/* Playlist */

.playlist {
    margin-top: 25px;
    padding: 20px;

    border-radius: 22px;

    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .06);
}

.playlist-header {
    margin-bottom: 12px;
}

.playlist-header h3 {
    margin: 0;
    font-size: 15px;
}

.playlist-header i {
    margin-left: 8px;
    color: #aaa;
}


/* Rows */

.madahi-list {
    display: flex;
    flex-direction: column;
    gap: 7px;

    max-height: 210px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 4px;
}

.madahi-list::-webkit-scrollbar {
    width: 5px;
}

.madahi-list::-webkit-scrollbar-track {
    background: #181818;
    border-radius: 10px;
}

.madahi-list::-webkit-scrollbar-thumb {
    background: #d71920;
    border-radius: 10px;
}

.madahi-list::-webkit-scrollbar-thumb:hover {
    background: #ef252c;
}

.madahi-row {
    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 62px;
    padding: 8px 12px;

    color: #fff;
    text-decoration: none;

    border-radius: 14px;

    transition:
        background .2s,
        transform .2s;
}

.madahi-row:hover {
    background: rgba(255, 255, 255, .05);
    transform: translateX(-3px);
}

.madahi-row.active {
    background: rgba(255, 255, 255, .08);
}

.row-number {
    width: 25px;
    color: #555;
    font-size: 11px;
}

.madahi-row-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(255, 255, 255, .06);
    color: #aaa;
}

.madahi-row.active .madahi-row-icon {
    background: #fff;
    color: #111;
}

.madahi-row-title {
    flex: 1;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.madahi-row-style {
    color: #777;
    font-size: 11px;
}

.row-arrow {
    color: #555;
    font-size: 12px;
}


/* Mobile */

@media (max-width: 700px) {

    .madahi-player {
        margin: 20px auto;
    }

    .player-header h2 {
        font-size: 18px;
    }

    .player-main {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        text-align: center;
    }

    .player-cover-box {
        width: 190px;
        height: 190px;
        min-width: 190px;
    }

    .player-content {
        width: 100%;
    }

    .player-info h3 {
        font-size: 17px;
    }

    .player-progress-area {
        direction: ltr;
    }

    .player-controls {
        gap: 8px;
    }

    .play-button {
        width: 58px;
        height: 58px;
    }

    .control-btn,
    .download-button {
        width: 38px;
        height: 38px;
    }

    .playlist {
        padding: 10px;
    }

    .madahi-row {
        gap: 8px;
    }

    .row-number {
        display: none;
    }

    .madahi-row-style {
        display: none;
    }

    .row-arrow {
        display: none;
    }

    .madahi-list {
        max-height: 195px;
    }

}


/* =========================================================
   NVX VIDEO SECTION
   کاملاً مستقل از استایل‌های قبلی
   (نسخه‌ی نهایی؛ نسخه‌ی اولیه‌ی تکراری حذف شد)
========================================================= */

.nvx-video-section {
    width: 100%;
    padding: 45px 0;
    background: transparent;
}

.nvx-video-container {
    width: min(1400px, calc(100% - 30px));
    margin: 0 auto;
}


/* ================= HEADER ================= */

.nvx-video-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.nvx-video-title {
    display: flex;
    align-items: center;
    gap: 13px;
}

.nvx-video-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: linear-gradient(135deg,
            #171717,
            #343434);

    color: #fff;

    font-size: 19px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .15);
}

.nvx-video-label {
    display: block;

    margin-bottom: 3px;

    font-size: 11px;
    font-weight: 600;

    color: #999;
}

.nvx-video-title h2 {
    margin: 0;

    font-size: 22px;
    font-weight: 900;

    color: #181818;
}

.nvx-video-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 15px;

    border-radius: 12px;

    color: #555;
    background: #f5f5f5;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    transition: all .25s ease;
}

.nvx-video-more i {
    transition: transform .25s ease;
}

.nvx-video-more:hover {
    color: #fff;
    background: #191919;

    transform: translateY(-2px);
}

.nvx-video-more:hover i {
    transform: translateX(-4px);
}


/* ================= SWIPER ================= */

.nvxVideoSwiper {
    width: 100%;
    overflow: hidden;

    padding: 5px 3px 45px !important;
    padding-bottom: 42px !important;
}

.nvx-video-slide {
    height: auto;
}


/* ================= CARD ================= */

.nvx-video-link {
    display: block;

    width: 100%;
    height: 100%;

    color: inherit;
    text-decoration: none;
}

.nvx-video-card {
    position: relative;
    height: 100%;

    overflow: hidden;

    border-radius: 24px;

    background: #fff;

    border: 1px solid rgba(0, 0, 0, .055);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .055);

    transition:
        transform .35s cubic-bezier(.2, .8, .2, 1),
        box-shadow .35s ease,
        border-color .35s ease;
}


/* افکت Hover */

.nvx-video-card:hover {
    transform: translateY(-8px);

    border-color: rgba(215, 25, 32, .18);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .13);
}


/* تصویر */

.nvx-video-image {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #111;
}

.nvx-video-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .65s cubic-bezier(.2, .8, .2, 1),
        filter .45s ease;
}

.nvx-video-card:hover .nvx-video-image img {
    transform: scale(1.09);

    filter: brightness(.68);
}


/* لایه روی تصویر */

.nvx-video-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, .72),
            rgba(0, 0, 0, .05) 65%);

    opacity: .8;

    transition: opacity .3s ease;
}

.nvx-video-card:hover .nvx-video-overlay {
    opacity: 1;
}


/* دکمه Play */

.nvx-video-play {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, .95);

    color: #d71920;

    font-size: 16px;

    opacity: 0;

    transform:
        translate(-50%, -50%) scale(.65);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, .3);

    transition:
        opacity .3s ease,
        transform .35s cubic-bezier(.2, .8, .2, 1);
}

.nvx-video-card:hover .nvx-video-play {
    opacity: 1;

    transform:
        translate(-50%, -50%) scale(1);
}

.nvx-video-play i {
    margin-right: -2px;
}


/* Badge */

.nvx-video-badge {
    position: absolute;

    top: 13px;
    right: 13px;

    display: flex;
    align-items: center;
    gap: 6px;

    padding: 7px 11px;

    border-radius: 12px;

    color: #fff;

    background: rgba(0, 0, 0, .48);

    border: 1px solid rgba(255, 255, 255, .15);

    backdrop-filter: blur(12px);

    font-size: 10px;
    font-weight: 800;

    transition: .3s ease;
}

.nvx-video-card:hover .nvx-video-badge {
    background: #d71920;

    border-color: #d71920;
}

.nvx-video-badge i {
    font-size: 10px;
}


/* محتوای کارت */

.nvx-video-content {
    padding: 15px 16px 14px;

    background: #fff;
}

.nvx-video-content h3 {
    margin: 0 0 11px;

    color: #191919;

    font-size: 14px;
    font-weight: 850;

    line-height: 1.8;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;

    transition: color .25s ease;
}

.nvx-video-card:hover .nvx-video-content h3 {
    color: #d71920;
}


/* اطلاعات پایین کارت */

.nvx-video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    min-height: 22px;
}


/* مناسبت */

.nvx-video-occasion {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 6px;

    color: #999;

    font-size: 10px;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nvx-video-occasion i {
    color: #d71920;

    font-size: 9px;
}


/* بازدید */

.nvx-video-views {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    gap: 5px;

    padding: 5px 8px;

    border-radius: 8px;

    color: #777;

    background: #f7f7f7;

    font-size: 9px;
    font-weight: 700;

    transition: .25s ease;
}

.nvx-video-views i {
    color: #d71920;

    font-size: 9px;
}

.nvx-video-card:hover .nvx-video-views {
    color: #d71920;

    background: rgba(215, 25, 32, .07);
}


/* ================= NAVIGATION ================= */

.nvx-video-prev,
.nvx-video-next {
    position: absolute;

    top: 43%;
    z-index: 10;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, .96);

    color: #222;

    cursor: pointer;

    box-shadow:
        0 7px 25px rgba(0, 0, 0, .13);

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease;
}

.nvx-video-prev {
    right: 12px;
}

.nvx-video-next {
    left: 12px;
}

.nvx-video-prev:hover,
.nvx-video-next:hover {
    color: #fff;
    background: #181818;

    transform: scale(1.08);
}


/* ================= PAGINATION ================= */

.nvx-video-pagination {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 2px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    gap: 6px;

    height: 14px;

    z-index: 20;
}

.nvx-video-pagination .swiper-pagination-bullet {
    display: block !important;

    width: 8px !important;
    height: 8px !important;

    margin: 0 !important;

    border-radius: 50% !important;

    background: #d71920 !important;

    opacity: .35 !important;

    transform: scale(1);

    transition:
        width .3s ease,
        opacity .3s ease,
        transform .3s ease;

    cursor: pointer;
}

.nvx-video-pagination .swiper-pagination-bullet:hover {
    opacity: .7 !important;
}

.nvx-video-pagination .swiper-pagination-bullet-active {
    width: 28px !important;
    height: 8px !important;

    border-radius: 10px !important;

    background: #d71920 !important;

    opacity: 1 !important;

    transform: scale(1.05);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (min-width: 1200px) {

    .nvxVideoSwiper {
        padding-left: 55px !important;
        padding-right: 55px !important;
    }

}


@media (max-width: 768px) {

    .nvx-video-section {
        padding: 30px 0;
    }

    .nvx-video-container {
        width: calc(100% - 20px);
    }

    .nvx-video-header {
        margin-bottom: 18px;
    }

    .nvx-video-icon {
        width: 42px;
        height: 42px;

        border-radius: 13px;

        font-size: 16px;
    }

    .nvx-video-title {
        gap: 10px;
    }

    .nvx-video-title h2 {
        font-size: 17px;
    }

    .nvx-video-label {
        font-size: 9px;
    }

    .nvx-video-more {
        padding: 8px 11px;

        font-size: 10px;
    }

    .nvx-video-card {
        border-radius: 20px;
    }

    .nvx-video-content {
        padding: 12px 13px;
    }

    .nvx-video-content h3 {
        font-size: 12px;
        line-height: 1.7;
    }

    .nvx-video-occasion {
        font-size: 10px;
    }

    .nvx-video-play {
        width: 48px;
        height: 48px;

        font-size: 13px;
    }

    .nvx-video-badge {
        top: 9px;
        right: 9px;

        padding: 6px 8px;

        font-size: 9px;
    }

    .nvx-video-prev,
    .nvx-video-next {
        display: none;
    }

}


/* موبایل خیلی کوچک */

@media (max-width: 400px) {

    .nvx-video-container {
        width: calc(100% - 16px);
    }

    .nvx-video-title h2 {
        font-size: 15px;
    }

    .nvx-video-more {
        font-size: 9px;
    }

}


/* =========================================================
   RAX AUDIO SECTION
========================================================= */

.rax-audio-section {
    width: 100%;
    padding: 32px 0;
}

.rax-audio-container {
    width: min(1400px, calc(100% - 30px));
    margin: auto;
}


/* ================= HEADER ================= */

.rax-audio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}

.rax-audio-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rax-audio-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #d71920;

    color: white;

    font-size: 16px;

    box-shadow:
        0 7px 20px rgba(215, 25, 32, .22);
}

.rax-audio-label {
    display: block;

    color: #999;

    font-size: 9px;
    margin-bottom: 2px;
}

.rax-audio-title h2 {
    margin: 0;

    color: #181818;

    font-size: 18px;
    font-weight: 900;
}

.rax-audio-more {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 8px 12px;

    border-radius: 10px;

    background: #fff1f2;
    color: #d71920;

    text-decoration: none;

    font-size: 10px;
    font-weight: 800;

    transition: .25s ease;
}

.rax-audio-more:hover {
    background: #d71920;
    color: #fff;

    transform: translateY(-2px);
}


/* ================= SWIPER ================= */

.raxAudioSwiper {
    width: 100%;

    padding:
        4px 3px 40px !important;

    overflow: hidden;
}

.rax-audio-slide {
    height: auto;
}


/* ================= CARD ================= */

.rax-audio-link {
    display: block;

    height: 100%;

    color: inherit;
    text-decoration: none;
}

.rax-audio-card {
    height: 100%;

    overflow: hidden;

    border-radius: 17px;

    background: #fff;

    border: 1px solid rgba(215, 25, 32, .08);

    box-shadow:
        0 6px 22px rgba(0, 0, 0, .06);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.rax-audio-card:hover {
    transform: translateY(-6px);

    border-color: rgba(215, 25, 32, .22);

    box-shadow:
        0 14px 32px rgba(0, 0, 0, .12);
}


/* ================= COVER ================= */
/* (نسبت تصویر نهایی 1/1 است؛ نسخه‌ی 16/10 اولیه توسط قانون بعدی بازنویسی شده بود) */

.rax-audio-cover {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #191919;
}

.rax-audio-cover img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .55s ease,
        filter .35s ease;
}

.rax-audio-card:hover .rax-audio-cover img {
    transform: scale(1.07);

    filter: brightness(.7);
}


/* ================= COVER OVERLAY ================= */

.rax-audio-cover-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, .7),
            transparent 65%);
}


/* ================= PLAY ================= */

.rax-audio-play {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #d71920;

    color: #fff;

    font-size: 13px;

    opacity: 0;

    transform:
        translate(-50%, -50%) scale(.65);

    box-shadow:
        0 8px 25px rgba(215, 25, 32, .4);

    transition:
        opacity .3s ease,
        transform .3s ease;
}

.rax-audio-card:hover .rax-audio-play {
    opacity: 1;

    transform:
        translate(-50%, -50%) scale(1);
}


/* ================= BADGE ================= */

.rax-audio-badge {
    position: absolute;

    top: 9px;
    right: 9px;

    display: flex;
    align-items: center;
    gap: 5px;

    padding: 5px 8px;

    border-radius: 8px;

    color: #fff;

    background: rgba(215, 25, 32, .92);

    font-size: 8px;
    font-weight: 800;
}

.rax-audio-badge i {
    font-size: 8px;
}


/* ================= BODY ================= */

.rax-audio-body {
    padding: 10px 11px 11px;
}

.rax-audio-body h3 {
    margin: 0 0 8px;

    color: #202020;

    font-size: 11px;
    font-weight: 800;

    line-height: 1.7;

    display: -webkit-box;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;

    transition: color .25s ease;
}

.rax-audio-card:hover .rax-audio-body h3 {
    color: #d71920;
}


/* ================= META ================= */

.rax-audio-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 5px;
}

.rax-audio-occasion {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 4px;

    color: #999;

    font-size: 8px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rax-audio-occasion i {
    color: #d71920;
}


/* بازدید */

.rax-audio-views {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    gap: 4px;

    padding: 4px 6px;

    border-radius: 7px;

    background: #fff1f2;

    color: #888;

    font-size: 8px;
    font-weight: 700;
}

.rax-audio-views i {
    color: #d71920;

    font-size: 8px;
}


/* ================= NAVIGATION ================= */

.rax-audio-prev,
.rax-audio-next {
    position: absolute;

    top: 42%;
    z-index: 10;

    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #fff;

    color: #d71920;

    cursor: pointer;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, .13);

    transition: .25s ease;
}

.rax-audio-prev {
    right: 8px;
}

.rax-audio-next {
    left: 8px;
}

.rax-audio-prev:hover,
.rax-audio-next:hover {
    background: #d71920;
    color: #fff;

    transform: scale(1.08);
}


/* ================= PAGINATION ================= */

.rax-audio-pagination {
    position: absolute !important;

    left: 0 !important;
    right: 0 !important;

    bottom: 2px !important;

    display: flex !important;

    justify-content: center;
    align-items: center;

    gap: 5px;

    z-index: 20;
}

.rax-audio-pagination .swiper-pagination-bullet {
    width: 7px !important;
    height: 7px !important;

    margin: 0 !important;

    background: #d71920 !important;

    opacity: .3 !important;

    transition: .3s ease;
}

.rax-audio-pagination .swiper-pagination-bullet-active {
    width: 23px !important;

    border-radius: 10px;

    background: #d71920 !important;

    opacity: 1 !important;
}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .rax-audio-section {
        padding: 25px 0;
    }

    .rax-audio-container {
        width: calc(100% - 20px);
    }

    .rax-audio-title h2 {
        font-size: 16px;
    }

    .rax-audio-icon {
        width: 38px;
        height: 38px;

        font-size: 14px;
    }

    .rax-audio-label {
        font-size: 8px;
    }

    .rax-audio-more {
        font-size: 9px;
        padding: 7px 9px;
    }

    .rax-audio-prev,
    .rax-audio-next {
        display: none;
    }

}


/* =========================================================
   NVX INTRO - UNIQUE STYLE
========================================================= */

.nvx-intro-section {
    padding: 35px 15px 25px;
}

/* Main box */
.nvx-intro-box {
    position: relative;
    max-width: 1100px;
    min-height: 230px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 38px 45px;
    overflow: hidden;
    background: linear-gradient(110deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .16);
    transition: transform .3s ease, border-color .3s ease;
}

.nvx-intro-box:hover {
    transform: translateY(-3px);
    border-color: rgba(215, 25, 32, .18);
}

/* Red side line */
.nvx-intro-box::before {
    content: "";
    position: absolute;
    right: 0;
    top: 25px;
    bottom: 25px;
    width: 4px;
    background: #d71920;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 0 25px rgba(215, 25, 32, .25);
}

/* Number */
.nvx-intro-mark {
    width: 105px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, .07);
    margin-left: 38px;
    height: 100px;
}

.nvx-intro-mark span {
    direction: ltr;
    font-size: 65px;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(215, 25, 32, .35);
    user-select: none;
}

/* Content */
.nvx-intro-content {
    flex: 1;
    text-align: right;
}

.nvx-intro-heading>span {
    display: block;
    margin-bottom: 7px;
    color: #d71920;
    font-size: 11px;
    font-weight: 700;
}

.nvx-intro-heading h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(21px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.7;
}

.nvx-intro-heading h1 strong {
    color: #d71920;
    font-weight: 900;
}

/* Description */
.nvx-intro-content p {
    max-width: 780px;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, .46);
    font-size: 12px;
    line-height: 2.15;
}

/* Bottom mini line */
.nvx-intro-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 19px;
}

.nvx-intro-line span {
    width: 35px;
    height: 2px;
    background: #d71920;
    border-radius: 10px;
}

.nvx-intro-line b {
    color: rgba(255, 255, 255, .28);
    font-size: 9px;
    font-weight: 600;
}

/* Quote decoration */
.nvx-intro-decoration {
    position: absolute;
    left: 35px;
    bottom: 25px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(215, 25, 32, .09);
    font-size: 65px;
    transform: rotate(180deg);
    pointer-events: none;
}

/* ========================================================= MOBILE ========================================================= */
@media (max-width: 767px) {
    .nvx-intro-section {
        padding: 25px 12px 15px;
    }

    .nvx-intro-box {
        min-height: auto;
        padding: 28px 25px;
        display: block;
        border-radius: 20px;
    }

    .nvx-intro-box::before {
        top: 18px;
        bottom: 18px;
        width: 3px;
    }

    .nvx-intro-mark {
        display: none;
    }

    .nvx-intro-heading h1 {
        font-size: 20px;
        line-height: 1.8;
    }

    .nvx-intro-heading h1 strong {
        display: block;
    }

    .nvx-intro-content p {
        font-size: 11px;
        line-height: 2.15;
    }

    .nvx-intro-line {
        margin-top: 16px;
    }

    .nvx-intro-decoration {
        left: 18px;
        bottom: 12px;
        width: 45px;
        height: 45px;
        font-size: 45px;
    }
}