.squad {
}
.squad > h2,
.squad > p {
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
    margin-bottom: 16px;
}
.squad > p {
    margin-bottom: 24px !important;
}
.squad__card_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    row-gap: 44px;
}
.squad__card {
    max-width: 310px;
    position: relative;
    background-color: #202020;
    flex: 1 0 20%;
}
.squad__card::before,
.squad__card::after {
    z-index: -1;
    content: "";
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 30px;
    /* clip-path: polygon(50% 100%, 0 0, 100% 0); */
    background-color: #252525;
    clip-path: polygon(21% 100%, 0 0, 100% 0);
    /* clip-path: polygon(23% 45%, 100% 0, 21% 89%, 0% 0%); */
}
.squad__card::after {
    /* background-color: var(--mColor); */
    background: linear-gradient(to right, #957bff 0%, #fe72a1 100%);
    z-index: 1;
    clip-path: polygon(23% 45%, 100% 0, 21% 89%, 0% 0%);
}

.squad__card_top {
    position: relative;
}

.squad__card_top > p {
    text-transform: uppercase;
    margin-right: 12px;
    margin-top: 12px;
    text-align: right;
    opacity: 0.7;
    transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    cursor: pointer;
}
.squad__card_top > p:hover {
    opacity: 1;
}
/* .squad__card_top::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background-color: black;
    z-index: 1;
} */
.squad__card_top::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 77%;
    background-color: #202020;
    z-index: -1;
}
.squad__card_top > img {
    z-index: 200;
}

.squad__card_bottom {
    background-color: #202020;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
}

.squad__card_bottom > p {
    text-align: center;
    font-weight: 600;
}
.squad__card_bottom > p:first-child {
    font-size: 26px;
}

.squad__card_bottom > p:last-child {
    font-size: 16px;
    margin: 0 auto;
}

.squad__stats {
    padding: 24px;
    z-index: 900;
    background-color: #303030;
    width: 30%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-60%) translateY(-60%);
    transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    scale: 0.8;
    opacity: 0;
    visibility: hidden;

    overflow-y: auto;
    max-height: 80%;
    max-width: 94%;
    min-width: 360px;
}
.squad_close {
    cursor: pointer;
    position: sticky;
    left: 100%;
    top: 24px;
    z-index: 9000;
    width: max-content;
}
.squad__stats > div:nth-child(2) {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 24px;
    margin-bottom: 24px;
}
.squad__stats > div:last-child > ul > li:not(:last-child) {
    margin-bottom: 12px;
}
.stats_open {
    visibility: visible;
    opacity: 1;
    scale: 1;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}
@media (max-width: 768px) {
    .squad__card_container {
        flex-wrap: wrap;
        gap: 0;
        row-gap: 44px !important;
    }
    .squad__card {
        flex: 1 0 50%;
    }
    .squad__card_container > div {
        max-width: 50%;
    }
}
