/* news ticker */
.crypto-ticker {
    background: linear-gradient(90deg, #171945, #171945, var(--color-tree)) !important;
}

.color-news {
    background-color: #3742BD;
}

.ticker-track {
    /* این خط جادویی مشکل نصفه نیمه بودن اخبار در موبایل را حل می‌کند */
    width: max-content;

    animation: marquee-scroll 40s linear infinite;
    will-change: transform;
}

.ticker-item {
    font-size: 16px;
}

.crypto-ticker:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        /* جهت حرکت راست به چپ خودتان */
        transform: translate3d(50%, 0, 0);
    }
}

@media (max-width: 768px) {
    .ticker-item {
        font-size: 14px;
    }
}

/* livetrade and product*/

.btn-primary-gradient {
    background: linear-gradient(180deg, var(--one-color), var(--two-color));
    border-radius: var(--box-radius);;
    padding: 6px 13px 6px 13px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-gradient:hover {
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.25), 0 0 11.5px #4250E2;
    border-color: #4250E2;
    color: white;
}

.style-btn-product {
    background-color: var(--gray);
    border-radius: var(--box-radius);
    padding: 6px 24px 6px 24px;
    gap: 24px;
    color: white;
    border: 1px solid #4a4953;
}

.style-btn-product:hover {
    background-color: #fff;
    color: #000;
    transition: ease 1s;
}

/* (Glassmorphism) */
.rta-card {
    border-radius: var(--box-radius);
    background: linear-gradient(51deg, rgba(58, 41, 121, 1) 0%, rgba(56, 55, 75, 0.66) 48%);
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}


.feature-box {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.20);
    padding: 8px 24px 8px 24px;
    transition: 0.3s;
    height: 44px;
    border-radius: var(--box-radius);
    border-top: 0.01rem solid #eddfdf78;
    border-bottom: 0.01rem solid #eddfdf78;
}

.glass-stats-box {
    background: rgba(255, 255, 255, 0.05); /* پس زمینه شفاف */
    border-radius: var(--box-radius);
    padding: 15px 0;
    box-shadow: inset 0 0 15px rgba(73, 169, 171, 0.67);
    margin-bottom: 20px;
    height: 40px;
}

.stat-divider {
    width: 1px;
    height: 25px;
    background-color: #ffffff;
}

.glass-stats {
    background: linear-gradient(180deg, var(--one-color), var(--two-color));
    border-radius: var(--box-radius);
    height: 40px;
    padding: 6px 6px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0 !important;
}

.glass-stats:hover {
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.25), 0 0 11.5px #4250E2;
    border-color: #4250E2;
}

@media (max-width: 768px) {
    .feature-box {
        font-size: 10px !important;
        padding: 5px !important;
        height: auto !important;
        min-height: 35px;
        display: flex;
        align-items: center;
        gap: 3px;
    }

    .lead {
        font-size: 13px;
    }

    .aling-member-mobile {
        margin: 10px 0 0 0 !important;
        font-size: 12px;
    }

    .feature-box svg {
        width: 21px;
        height: 12px;
    }

    .stat-label,
    .stat-value {
        font-size: 16px !important;
    }

    .glass-stats-box {
        height: auto !important;
        padding: 10px 0 !important;
    }

    .stat-item {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .font-size-44 {
        font-size: 24px !important;
        line-height: 2.5rem;
    }

    .rta-description {
        font-size: 11px;
        line-height: 1.8;
    }
}

.aling-member {
    margin: auto auto 0 0;
}

.aling-member span {
    margin-right: 3px;
}

.color-customize {
    color: var(--blue-normal);
}

/*rastad services*/
.services-bg-shape {
    width: 100%;
    max-width: 1320px;
    height: 45%;
    background: linear-gradient(0deg, #321c75 0%, #ffffff00 100%);
    border-radius: var(--box-radius);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%);
}

.service-card {
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25.8px);
    -webkit-backdrop-filter: blur(25.8px);
    box-shadow: inset 0 0 11.5px rgba(255, 255, 255, 0.6);
    border: 1px solid transparent;
    background-clip: padding-box, border-box;
    border-radius: var(--box-radius);
    transition: all 0.3s ease;
}

.service-card:hover {
    background-color: white;
    box-shadow: 0 15px 40px rgba(50, 27, 162, 0.3);
}

.service-card:hover h6,
.service-card:hover {
    color: #18114C !important;
    transition: color 0.3s ease;
}

.service-card:hover .text-white-50 {
    color: #18114C !important;
    opacity: 0.8;
    transition: color 0.3s ease;
}

.service-card:hover
.service-card:hover ul li svg,
.service-card:hover ul li svg path {
/ color: #18114C !important;
    fill: #18114C !important;
    transition: all 0.3s ease;
}

.service-icon-bg {
    height: 53px;
    width: 53px;
    display: flex;
}

.btn-glass {
    background: #CCCCCC26;
    border: 1px solid #CCCCCC26;
    border-radius: var(--box-radius);
    transition: 0.3s;
}

.service-card:hover .btn-glass {
    background-color: #18114C !important;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

@media (max-width: 991px) {
    .services-bg-shape {
        width: 95%;
        height: 100%;
    }
}

/*copy trade*/
.trade-card {
    background: linear-gradient(36deg, #291d75 0%, rgb(7 7 37) 100%) padding-box;
    backdrop-filter: blur(47.8px);
    border: 1px solid transparent;
    border-radius: var(--box-radius);
    box-shadow: inset 0 0 11.5px rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trade-card:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.25), 0 0 11.5px #4250E2;
    border-color: #4250E2;
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: #0dcaf0;
    border-radius: 50%;
    box-shadow: 0 0 8px #0dcaf0;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.risk-badge {
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 8px;
    border: 1px solid;
}

.badge-low {
    color: #0dcaf0;
    border-color: rgba(13, 202, 240, 0.3);
    background: rgba(13, 202, 240, 0.05);
}

.badge-medium {
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.05);
}

.badge-high {
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.3);
    background: rgba(220, 53, 69, 0.05);
}

.btn-glass-copy {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: white;
    transition: 0.3s;
}

.btn-glass-copy:hover {
    background-color: white;
    color: #18114C;
    font-weight: 700;
}

/* تنظیمات Swiper */
.copyTradeSwiper {
    padding: 15px 10px 20px 10px !important;
}

/*.swiper-slide {*/
/*    height: auto !important;*/
/*}*/

@media (min-width: 992px) {
    .copyTradeSwiper {
        overflow: visible !important;
    }
}

@media (max-width: 768px) {
    .copy-trade-section .swiper-slide-active {
        box-shadow: 0 0 21px rgb(8, 39, 237);
    }
}

.hover-bright {
    border-radius: var(--box-radius);
    border: 1px solid white;
}

.hover-bright:hover {
    background-color: rgb(37, 31, 110);
    color: white;
    transition: 0.5s ease-in-out;
}

/*live trade*/
.countdown-wrapper {
    direction: ltr;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.timer-box {
    width: 135px;
    height: 135px;
    background: linear-gradient(180deg, #828ADF 0%, #3F4DE3 100%);
    box-shadow: 0px 4px 10.2px rgba(0, 0, 0, 0.25), /* Drop Shadow (سایه بیرونی) */ inset 0 6px 18.5px 4.5px rgba(255, 255, 255, 0.36); /* Inner Shadow (سایه داخلی سفید) */
    border-radius: var(--box-radius);
    font-size: 85px;
    font-weight: 800;
    border-bottom: 4px solid #364fc7;
}

.timer-line {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #0C0A1B;
    transform: translateY(-50%);
    backdrop-filter: blur(1px)
}

.timer-line::before,
.timer-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #0C0A1B;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.timer-line::before {
    left: -10px;
    -webkit-mask-image: linear-gradient(to right, transparent 50%, black 50%);
    mask-image: linear-gradient(to right, transparent 50%, black 50%);
}

.timer-line::after {
    right: -10px;
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 50%);
    mask-image: linear-gradient(to right, black 50%, transparent 50%);
}


.timer-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.border-raduis-live {
    border-radius: var(--box-radius);
}

.btn-glass-live-trade {
    background-color: var(--gray);
    border-radius: var(--box-radius);
    padding: 6px 24px 6px 24px;
    gap: 24px;
    border: 1px solid #4a4953;
    color: white;
}

.btn-glass-live-trade:hover {
    background-color: #fff;
    color: #000;
    transition: ease 1s;
}

@media (max-width: 992px) {
    .font-size-mobile-titles {
        font-size: 28px !important;
    }

    .timer-box {
        width: 85px;
        height: 85px;
        font-size: 32px;
        border-radius: 10px;
    }

    .timer-label {
        font-size: 0.6rem !important;
    }

    .timer-line::before, .timer-line::after {
        width: 10px; /* دایره‌های کناری کوچک‌تر */
        height: 10px;
    }

    .text-justify-mobile {
        text-align: justify;
        font-size: 14px;
    }
}
/* تنظیمات مخصوص لپ‌تاپ و مانیتورهای متوسط (بین 992 تا 1400 پیکسل) */
@media (min-width: 992px) and (max-width: 1399px) {
    .countdown-wrapper {
        gap: 12px !important; /* کاهش فاصله بین باکس‌ها */
        flex-wrap: nowrap;
    }

    .timer-box {
        width: 95px;  /* کوچکتر کردن عرض باکس */
        height: 95px; /* کوچکتر کردن ارتفاع باکس */
        font-size: 45px; /* تنظیم سایز فونت متناسب با باکس */
    }

    .timer-label {
        font-size: 11px;
    }

    /* تنظیم خط وسط و دایره‌ها برای این سایز */
    .timer-line::before,
    .timer-line::after {
        width: 15px;
        height: 15px;
    }

    .timer-line::before { left: -7px; }
    .timer-line::after { right: -7px; }

    /* اگر دکمه ثبت نام هم مشکل فضا داشت، کمی فاصله‌ها را کم می‌کنیم */
    .btn-glass-live-trade {
        padding: 6px 16px;
    }
}
/*exchange*/
.ex-card {
    /*background-color: linear-gradient(43deg, rgba(44, 28, 147, 0.45) 0%, rgba(75, 75, 75, 0.4) 100%) padding-box;*/
    border-radius: var(--box-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex; /* اضافه شده برای تراز دکمه */
    flex-direction: column;
}

.ex-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.ex-card-header {
    width: 100%;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 700;
    box-shadow: inset 0px 0px 10px #BCA32E;
    border-bottom: 1px solid rgba(188, 163, 46, 0.4);
    border-radius: var(--box-radius);
    text-align: center;
}

.ex-card-body {
    padding: 16px;
    flex-direction: column;
    flex-grow: 1;
    display: flex; /* اضافه شده */
}

.ex-top-row {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
}

.ex-identity {
    display: flex;
    flex-direction: column;
}

.ex-logo {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    background: white;
    border-radius: 50%;
    color: #000;
    font-weight: bold;
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ex-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ex-name-group {
    display: flex;
    flex-direction: column;
}

.ex-name {
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    font-size: 20px;
}

.ex-sub-name {
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.ex-badges {
    margin: auto 0;
}

.ex-tag {
    padding: 3px 8px;
    border-radius: var(--box-radius);
    background: #3E4CE24D;
    color: #6a8eff;
    border: 1px solid #3F4DE3;
    font-size: 11px;
}

.ex-rating {
    background: #eff0f338;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--box-radius);
    padding: 2px 6px;
    gap: 3px;
    display: flex;
    align-items: center;
}

.ex-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px; /* از ۲۵ به ۱۰ کاهش یافت برای ریسپانسیو */
    margin-bottom: 12px;
}

.ex-stat-item {
    background: #CCCCCC26;
    border: 1px solid #CCCCCC33;
    border-radius: var(--box-radius);
    padding: 6px 4px;
    height: 40px;
    width: 100%; /* از ۱۲۳ پیکسل به ۱۰۰٪ تغییر یافت تا در دسکتاپ ۴تایی جا شود */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: 0.3s;
}

.ex-stat-val {
    color: white;
    font-weight: 700;
    font-family: sans-serif;
    letter-spacing: 0.5px;
    line-height: 1;
    font-size: 13px;
}

.ex-stat-lbl {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1;
    white-space: nowrap;
    font-size: 11px;
}

.ex-features {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    justify-content: flex-end;
}

.ex-pill {
    color: rgba(255, 255, 255, 0.7);
    background: #CCCCCC26;
    padding: 4px 8px;
    border-radius: var(--box-radius);
    border: 1px solid #CCCCCC33;
    font-size: 11px;
}

.ex-btn-action {
    width: 100%;
    height: 36px;
    margin-top: auto;
    background: #CCCCCC26;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--box-radius);
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ex-btn-action:hover {
    background-color: white;
    color: #18114C;
    font-weight: 700;
}

.ex-glow {
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.3;
    pointer-events: none;
}

/* تم‌های رنگی */
.ex-theme-gold .ex-card-header { border-bottom-color: rgba(255, 215, 0, 0.5); color: #FFD700; }
.ex-theme-cyan .ex-card-header { border-bottom-color: rgba(13, 202, 240, 0.5); color: #0DCAF0; }
.ex-theme-purple .ex-card-header { border-bottom-color: rgba(130, 90, 240, 0.5); color: #d6b3ff; }
.ex-theme-gold .ex-glow { background: #FFD700; }
.ex-theme-cyan .ex-glow { background: #0DCAF0; }
.ex-theme-purple .ex-glow { background: #825AF0; }
/*chart*/
.ms-card {
    border-radius: var(--box-radius);
    background: linear-gradient(223deg, #1B1256 0%, #0C0A1A 100%);
    border-top: 1px solid #ffffff26;
    border-bottom: 1px solid #ffffff26;
    border-image-slice: 1;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.4);
}

.ms-spark-right {
    width: 112px;
    height: 80px;
    margin-bottom: -12px;
}

.ms-ticker-data {
    min-width: 100px;
}

.ms-coin-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-weight: bold;
    background-color: #2B2260;
}

.ms-gradient-bar {
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, #FF0055 0%, #7000FF 50%, #00CCFF 100%);
    border-radius: var(--box-radius);
}

.ms-bar-dot {
    left: 29%;
    top: 50%;
    width: 14px;
    height: 14px;
    background: #0C0A1A;
    border: 3px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.ms-time-switcher {
    background: rgba(255, 255, 255, 0.05);
    padding: 3px;
    border-radius: var(--box-radius);
}

.ms-time-switcher button {
    background: transparent;
    border: none;
    color: #888;
    padding: 5px 15px;
    border-radius: var(--box-radius);
    font-size: 11px;
}

.ms-time-switcher button.active {
    background: #5D5DFF;
    color: white;
}

.ms-chart-header-custom {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.ms-info-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}


.ms-chart-header-custom .ms-time-switcher {
    align-self: flex-start;
}


@media (min-width: 992px) {
    .ms-chart-header-custom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .ms-info-wrapper {
        justify-content: flex-start;
        width: auto;
        gap: 20px;
    }

    .ms-chart-header-custom .ms-time-switcher {
        align-self: center;
    }
}

.ms-btc-big-icon {
    width: 45px;
    height: 45px;
    background: #F7931A;
    border-radius: 50%;
}

.ms-text-success {
    color: #08ABB1;
}

.ms-text-danger {
    color: #F30F5F;
}

#main-market-chart {
    height: 350px;
}

.gauge-wrapper {
    height: 220px;
}


#ms-gauge-fear {
    top: -20px;
    left: 0;
    right: 0;
}

.gauge-info {
    top: 100px;
    left: 0;
    right: 0;
}

.gauge-score {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/*ecosystem*/
/* --- تنظیمات پایه و ساختار اصلی --- */
.v-eco-section {
    position: relative;
    padding: 60px 0;
}

.v-eco-swiper {
    width: 100%;
    height: 100%;
}

/* رفع باگ پرش (Jumping) با ثابت کردن ارتفاع اسلایدها */
.v-eco-swiper .swiper-slide {
    height: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
}

/* --- استایل‌های ظاهری (Glass Card و دکمه‌ها) --- */
.v-eco-glass-card {
    background: radial-gradient(circle at center, rgb(18 15 43 / 48%) 0%, rgb(35 28 97) 100%), radial-gradient(circle at center, #D524E5CC 0%, rgba(23, 21, 37, 0.1) 100%), linear-gradient(305deg, #300dcd 20%, #0B0917 50%, #120f2b 100%);
    border-radius: var(--box-radius, 15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    height: 500px;
}

.v-eco-actions-wrapper {
    width: 100%;
    margin-top: 30px;
}

.v-eco-pills-stack {
    flex-direction: column;
    gap: 10px;
}

.v-eco-pill {
    display: inline-block;
    width: 200px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--box-radius, 15px);
    backdrop-filter: blur(5px);
    transition: 0.3s;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.20);
    cursor: pointer;
}

.v-eco-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.v-eco-btn-main {
    background: linear-gradient(180deg, var(--one-color, #4250E2) 0%, var(--two-color, #300dcd) 100%);
    color: white !important;
    padding: 6px 1px 6px 1px;
    border-radius: var(--box-radius, 15px);
    font-weight: 500;
    min-width: 180px;
    box-shadow: 0 8px 20px rgba(93, 108, 255, 0.3);
    transition: 0.3s;
    text-decoration: none;
    margin-left: 27px;
}

.v-eco-btn-main:hover {
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.25), 0 0 11.5px #4250E2;
    border-color: #4250E2;
}

/* --- استایل‌های پگینیشن (نقطه‌ها) --- */
.v-eco-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.3;
}

.v-eco-swiper .swiper-pagination-bullet-active {
    background: #5D6CFF;
    opacity: 1;
}

/* --- باز کردن قفل اسکرول عمودی روی اسلایدر در حالت موبایل --- */
.v-eco-swiper,
.v-eco-swiper .swiper-wrapper {
    touch-action: pan-y !important;
}

/* اطمینان از کلیک‌پذیری دکمه‌ها در موبایل */
.v-eco-swiper .v-eco-slide-content a,
.v-eco-swiper .v-eco-slide-content .btn {
    pointer-events: auto !important;
    z-index: 10;
}

/* --- تنظیمات ریسپانسیو (تبلت و موبایل) --- */
/* نقطه شکست روی 991 تنظیم شد تا با col-lg-6 بوت‌استرپ همخوانی داشته باشد */
@media (max-width: 991px) {
    .v-eco-glass-card {
        height: 680px !important;
    }

    .v-eco-hero-img {
        object-fit: contain;
        max-height: 280px;
    }

    .v-eco-actions-wrapper {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-top: 20px;
    }

    .v-eco-pill {
        width: 130px !important;
        font-size: 11px !important;
        padding: 6px 5px !important;
    }

    .v-eco-btn-main {
        min-width: 120px !important;
        margin-left: 0 !important;
        font-size: 13px !important;
        padding: 10px 5px !important;
        margin-top: auto;
    }

    .display-5 {
        font-size: 1.8rem !important;
    }

    /* افقی کردن پگینیشن در پایین کارت برای موبایل و تبلت */
    .v-eco-swiper .swiper-pagination {
        top: auto !important;
        right: auto !important;
        bottom: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 8px;
        z-index: 100 !important;
    }

    .v-eco-swiper .swiper-pagination-bullet {
        margin: 0 !important;
    }
}

/*analisys*/
.analysis-bg-shape {
    width: 100%;
    max-width: 1380px;
    height: 45%;
    background: linear-gradient(0deg, #65598359 0%, #ffffff00 100%);
    border-radius: var(--box-radius);
    pointer-events: none;
}

.rst-post-card {
    background: linear-gradient(264deg, rgb(28, 19, 89) 0%, rgba(12, 10, 26, 0) 100%);
    border-radius: var(--box-radius);
    box-shadow: 0px 3px 15px rgb(0 0 0 / 60%);
}

.rst-post-card:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.25), 0 0 11.5px #4250E2;
    border-color: #4250E2;
}

.rst-post-img-box {
    height: 200px;
}

.rst-post-img {
    object-fit: cover;
    transition: transform 0.5s;
    border-radius: var(--box-radius);
}

.rst-post-card:hover .rst-post-img {
    transform: scale(1.05);
    filter: brightness(1);
}

/* استایل پایه برای دسکتاپ و تبلت */
.rst-view-badge {
    position: absolute;
    /* فاصله ثابت و امن از لبه‌ها در همه دستگاه‌ها */
    bottom: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(239, 240, 243, 0.22);
    padding: 4px 10px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* ریسپانسیو شدن خودکار سایز متن (بین 10px تا 12px بر اساس عرض صفحه) */
    font-size: clamp(10px, 1.5vw, 12px);
    line-height: normal; /* خنثی کردن line-height والد */
}

.rst-badge-icon {
    /* ریسپانسیو شدن خودکار سایز آیکون */
    width: clamp(12px, 2vw, 16px);
    height: auto;
}

.rst-post-body {
    padding: 20px;
    height: calc(100% - 200px);
}

.rst-post-title {
    font-size: 18px;
    line-height: 1.4;
}

.rst-post-desc {
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* محدود کردن به ۲ خط */
    -webkit-box-orient: vertical;
}

.rst-btn-dark-glass {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    transition: 0.3s;
    white-space: nowrap; /* جلوگیری از شکستن متن دکمه */
}

.rst-btn-dark-glass:hover {
    background-color: #fff;
    color: #000;
    transition: ease 1s;
}

.rst-meta-data {
    line-height: 1.5;
}