.exchange-section {

    width: 100%;

    display: flex;

    justify-content: center;

    margin-top: 120px;

    padding: 0 24px 30px;

    position: relative;

    z-index: 2;

}

.exchange-container {

    width: 100%;

    max-width: 1350px;

    border-radius: 38px;

    padding: 42px;

    background: var(--glass-bg);

    border: 1px solid var(--card-border);

    backdrop-filter: blur(30px);

    -webkit-backdrop-filter: blur(30px);

}

.exchange-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 40px;

}

.exchange-badge {

    display: inline-flex;

    padding: 10px 18px;

    border-radius: 999px;

    background: rgba(15,23,42,.04);

    color: #7dd3fc;

    font-size: 13px;

    margin-bottom: 18px;

}

.exchange-title {

    font-family: 'Vazir', sans-serif;

    font-weight: 900;

}

.exchange-update {

    color: var(--muted-text);

    font-size: 14px;

}

.exchange-grid {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 18px;

}

.exchange-card {

    position: relative;

    overflow: hidden;

    border-radius: 26px;

    padding: 24px;

    background: var(--soft-bg);

    border: 1px solid var(--card-border);

    transition: .35s;

}

.exchange-card:hover {

    transform: translateY(-6px);

    border-color: rgba(125,211,252,.3);

}

.exchange-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 22px;

}

.exchange-name {

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--text);

    font-size: 17px;

}

.exchange-price {

    font-size: 30px;

    color: var(--title-color);
    
        font-family: 'Vazir', sans-serif;

    font-weight: 700;

    margin-bottom: 12px;

}

.exchange-change {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    font-size: 14px;

    padding: 8px 12px;

    border-radius: 999px;

}

.exchange-change.up {

    background: rgba(16,185,129,.12);

    color: #34d399;

}

.exchange-change.down {

    background: rgba(239,68,68,.12);

    color: #f87171;

}

.exchange-time {

    margin-top: 18px;

    color: var(--muted-text);

    font-size: 13px;

}
body {

    font-family:
    'Vazir',
    sans-serif;

}

.exchange-tabs {

    display: flex;

    align-items: center;

    gap: 10px;

}

.exchange-tab {

    height: 44px;

    padding: 0 22px;

    border: none;

    border-radius: 16px;

    background: transparent;

    color: var(--muted-text);

    cursor: pointer;

    transition: .3s;

    font-family: 'Vazir';

    font-size: 14px;

}

.exchange-tab.active {

    background: rgba(59,130,246,.12);

    color: #60a5fa;

}
.exchange-tabs {

    display: flex;

    gap: 10px;

}

.exchange-tab {

    border: none;

    height: 44px;

    padding: 0 20px;

    border-radius: 14px;

    cursor: pointer;

    background: transparent;

    color: var(--muted-text);

    font-family: 'Vazir';

    transition: .3s;

}

.exchange-tab.active {

    background: rgba(59,130,246,.12);

    color: #60a5fa;

}

@media (max-width: 768px) {

    .exchange-card {

        padding: 20px;

    }

    .exchange-price {

        font-size: 22px;

    }

}

.exchange-header-left {

    display: flex;

    flex-direction: column;

}

.exchange-header-right {

    display: flex;

    align-items: center;

    gap: 18px;

}
.exchange-flag{
    width:24px;
    height:18px;
    border-radius:3px;
    object-fit:cover;
}
.exchange-flag{
    width:24px;
    height:18px;
    object-fit:cover;
    border-radius:4px;
}
.exchange-section {

    position: relative;

    margin-top: 120px;

}

.exchange-section::before {

    content: "";

    position: absolute;

    top: -60px;
    left: 50%;

    transform: translateX(-50%);

    width: 70%;
    height: 1px;

    background:
        linear-gradient(
            to right,
            transparent,
            rgba(120, 140, 255, 0.25),
            rgba(120, 140, 255, 0.45),
            rgba(120, 140, 255, 0.25),
            transparent
        );

}
.hero-description {

    max-width: 650px;

    line-height: 2.3;

    font-size: 18px;

    color: #4b5563;

    margin-bottom: 40px;

    text-align: justify;

    text-align-last: right;

}