
.crypto-currencies,
.crypto-currencies * {
    box-sizing: border-box;
}

.crypto-currencies {
    --crypto-currencies-accent: #009f72;
    --crypto-currencies-navy: #071d3d;
    --crypto-currencies-muted: #465c83;
    --crypto-currencies-border: #dfeaf3;
    --crypto-currencies-soft: #e8f8f2;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 92px 24px 110px;
    color: var(--crypto-currencies-navy);
    background:
        radial-gradient(circle at 3% 38%, rgba(0, 159, 114, 0.10), transparent 16%),
        radial-gradient(circle at 98% 28%, rgba(0, 159, 114, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fbfefd 100%);
    font-family: inherit;
}

.crypto-currencies__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.crypto-currencies__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 78px;
}

.crypto-currencies__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 10px 28px;
    border: 1px solid rgba(0, 159, 114, 0.18);
    border-radius: 999px;
    background: rgba(0, 159, 114, 0.08);
    color: var(--crypto-currencies-accent);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.crypto-currencies__badge-icon,
.crypto-currencies__badge-icon svg {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    fill: currentColor;
}

.crypto-currencies__heading {
    margin: 46px 0 22px;
    color: var(--crypto-currencies-navy);
    font-family: inherit;
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.055em;
}

.crypto-currencies__description {
    max-width: 760px;
    margin: 0 auto;
    color: var(--crypto-currencies-muted);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 500;
    line-height: 1.55;
}

.crypto-currencies__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.crypto-currencies__card {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 400px;
    padding: 42px 26px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    border: 1px solid var(--crypto-currencies-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 22px 50px rgba(7, 29, 61, 0.06);
}

.crypto-currencies__card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(0, 159, 114, 0.055), transparent 42%);
}

.crypto-currencies__flag {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 106px;
    height: 106px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7f7f1;
    box-shadow: inset 0 0 0 1px rgba(0, 159, 114, 0.16), 0 10px 24px rgba(0, 159, 114, 0.10);
}

.crypto-currencies__flag::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(7, 29, 61, 0.06);
}

.crypto-currencies__flag-emoji,
.crypto-currencies__flag-img {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    object-fit: cover;
    font-size: 62px;
    line-height: 1;
}

.crypto-currencies__code {
    position: relative;
    z-index: 1;
    margin: 38px 0 22px;
    color: var(--crypto-currencies-navy);
    font-family: inherit;
    font-size: clamp(32px, 3.1vw, 42px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
}

.crypto-currencies__line {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 34px;
    height: 4px;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    border-radius: 999px;
    background: #a9decd;
    color: var(--crypto-currencies-accent);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.crypto-currencies__line span {
    position: absolute;
    white-space: nowrap;
}

.crypto-currencies__card-text {
    position: relative;
    z-index: 1;
    max-width: 180px;
    margin: 0 auto;
    color: var(--crypto-currencies-muted);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;
}

.crypto-currencies__decor {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.crypto-currencies--no-decor .crypto-currencies__decor {
    display: none;
}

.crypto-currencies__decor--dots {
    top: 105px;
    left: 34px;
    width: 160px;
    height: 145px;
    opacity: 0.42;
    background-image: radial-gradient(circle, rgba(0, 159, 114, 0.45) 4px, transparent 4.6px);
    background-size: 36px 36px;
}

.crypto-currencies__decor--circle {
    left: -105px;
    top: 270px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(0, 159, 114, 0.075);
}

.crypto-currencies__decor--globe {
    right: -62px;
    top: 210px;
    width: 265px;
    height: 265px;
    opacity: 0.28;
    border: 2px solid rgba(0, 159, 114, 0.32);
    border-radius: 50%;
}

.crypto-currencies__decor--globe::before,
.crypto-currencies__decor--globe::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border-left: 2px solid rgba(0, 159, 114, 0.30);
    border-right: 2px solid rgba(0, 159, 114, 0.30);
}

.crypto-currencies__decor--globe::before {
    transform: scaleX(0.55);
}

.crypto-currencies__decor--globe::after {
    transform: rotate(90deg) scaleX(0.55);
}

.crypto-currencies__decor--star-one,
.crypto-currencies__decor--star-two {
    width: 44px;
    height: 44px;
}

.crypto-currencies__decor--star-one {
    top: 146px;
    right: 150px;
}

.crypto-currencies__decor--star-two {
    top: 390px;
    left: 180px;
    transform: scale(0.75);
}

.crypto-currencies__decor--star-one::before,
.crypto-currencies__decor--star-one::after,
.crypto-currencies__decor--star-two::before,
.crypto-currencies__decor--star-two::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(0, 159, 114, 0.28);
}

.crypto-currencies__decor--star-one::before,
.crypto-currencies__decor--star-two::before {
    left: 50%;
    top: 0;
    width: 5px;
    height: 44px;
    transform: translateX(-50%);
}

.crypto-currencies__decor--star-one::after,
.crypto-currencies__decor--star-two::after {
    left: 0;
    top: 50%;
    width: 44px;
    height: 5px;
    transform: translateY(-50%);
}

@media (max-width: 1180px) {
    .crypto-currencies__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .crypto-currencies {
        padding: 70px 18px 80px;
    }

    .crypto-currencies__header {
        margin-bottom: 44px;
    }

    .crypto-currencies__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .crypto-currencies__card {
        min-height: 330px;
    }

    .crypto-currencies__decor--dots,
    .crypto-currencies__decor--globe {
        opacity: 0.18;
    }
}

@media (max-width: 560px) {
    .crypto-currencies {
        padding: 56px 14px 64px;
    }

    .crypto-currencies__badge {
        min-height: 44px;
        padding: 8px 18px;
        font-size: 16px;
    }

    .crypto-currencies__heading {
        margin-top: 28px;
        font-size: clamp(34px, 10vw, 46px);
    }

    .crypto-currencies__description {
        font-size: 17px;
    }

    .crypto-currencies__grid {
        grid-template-columns: 1fr;
    }

    .crypto-currencies__card {
        min-height: 285px;
        padding: 34px 22px;
    }

    .crypto-currencies__flag {
        width: 86px;
        height: 86px;
    }

    .crypto-currencies__flag-emoji,
    .crypto-currencies__flag-img {
        width: 58px;
        height: 58px;
        font-size: 50px;
    }

    .crypto-currencies__code {
        margin: 28px 0 16px;
        font-size: 34px;
    }

    .crypto-currencies__card-text {
        max-width: 250px;
        font-size: 16px;
    }
}
