:root {
    --button-card-bg: linear-gradient(0deg,rgba(54, 54, 54, 1) 0%, rgba(89, 89, 89, 1) 70%);
    --text-card-desc: #878787;
}

.card-main {
    position: relative;
    padding-block: 35px 30px;
    padding-inline: 2rem;
    height: 246px;
    background: var(--card);
    border-radius: 22px;
}

.card-flex {
    height: 100%;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.card-info {
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-text {
    font-weight: bold;
    font-size: var(--font-size-4xl);
}

.card-descriptions {
    font-size: var(--font-size-m);
    font-weight: 500;
    color: var(--text-secondary);
}

.card-clan-content {
    width: 20rem;
}

.clan-img {
    border-radius: 22px;
    overflow: visible;
    z-index: 1;
    bottom: 0;
    position: absolute;
    right: 0.2rem;
}

.clan_img_shadow {
    border-radius: 22px;
    right: 0;
    position: absolute;
    bottom: 0;
    width: 18rem;
    height: 10rem;
    background: linear-gradient(0deg, #151922, transparent);
    pointer-events: none;
    z-index: 3;
    transition: 0.5s ease;
}

.clan-back-1 {
    top: 6.5rem;
    right: 13rem;
    height: 5rem;
    width: 5rem;
    position: absolute;
}

.clan-back-2 {
    width: 3rem;
    height: 3rem;
    top: 2rem;
    position: absolute;
    right: 2rem;
}

.button-link-clans {
    overflow: hidden;
    border-radius: var(--br-12);
    position: relative;
    height: 3.125rem;
    width: 6.9375rem;
}

.button-link-clans svg {
    fill: #57D161;
    z-index: 2;
    width: 1.375rem;
    height: 1.375rem;
}

.link-clans-text {
    z-index: 2;
    color: #57D161;
}

.button-link-clans::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(87, 209, 97, 0.1);
  transition: background 0.3s ease;
}

.button-link-clans:hover::before {
  background: rgb(90 227 96 / 25%);
}

.button-link-clans::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(21, 25, 34, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 1660px) {
    .card-info {
        flex: unset;
        width: 20rem;
    }
}


@media (max-width: 1532px) {
    .card-descriptions {
        display: none;
    }
}

@media (max-width: 768px) {
    .card-main {
        height: 180px;
        padding-block: 15px;
        padding-inline: 1.5rem;
        border-radius: 16px;
    }

    .card-text {
        font-size: 18px;
    }

    .card-text-block {
        gap: 0.6rem;
        display: flex;
        flex-direction: column;
    }

    .card-descriptions {
        display: flex;
        font-size: var(--font-size-s, 0.875rem);
        flex-direction: column;
    }

    .card-clan-content {
        width: 8rem;
    }

    .clan-img {
        right: .6rem;
        max-width: 180px;
    }

    .clan_img_shadow {
        width: 12rem;
        height: 8rem;
    }

    .clan-back-1 {
        top: 5rem;
        right: 10rem;
        height: 3rem;
        width: 3rem;
    }

    .clan-back-2 {
        width: 2rem;
        height: 2rem;
        top: 1rem;
        right: 1rem;
    }

    .button-link-clans {
        display: flex;
        padding: unset;
        height: 2.5rem;
        width: 6rem;
        justify-content: center;
        align-items: center;
    }
}