@font-face {
    font-family: "KdlPurchaseIcons";
    src: url("./font/kdl-purchase-iconfont.woff2") format("woff2");
    font-display: swap;
}

.purchase-footer {
    margin-top: 36px;
    background: #fff;
    color: #98999b;
    font-size: 12px;
}

.purchase-footer__container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 36px 0 24px;
}

.purchase-footer__main,
.purchase-footer__licenses,
.purchase-footer__social,
.purchase-footer__trust,
.purchase-footer__copyright {
    display: flex;
    align-items: center;
}

.purchase-footer__main {
    justify-content: space-between;
    gap: 48px;
}

.purchase-footer__details {
    min-width: 0;
}

.purchase-footer__logo {
    display: block;
    width: 92px;
    height: 25px;
}

.purchase-footer__copyright {
    gap: 36px;
    margin-top: 12px;
}

.purchase-footer__details p {
    max-width: 930px;
    margin: 12px 0 0;
    color: #98999b;
    line-height: 1.6;
}

.purchase-footer__licenses {
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 10px;
}

.purchase-footer a {
    color: #98999b;
    text-decoration: none;
}

.purchase-footer a:hover {
    color: #2878FF;
}

.purchase-footer__licenses a,
.purchase-footer__trust a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.purchase-footer__links {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 68px;
}

.purchase-footer__social,
.purchase-footer__trust {
    gap: 22px;
}

.purchase-footer__social-link::before {
    display: block;
    width: 28px;
    height: 28px;
    background: none;
    color: #9ea2b9;
    font-family: "KdlPurchaseIcons";
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.purchase-footer__social-link:hover::before {
    color: #2878FF;
}

.purchase-footer__social-link[aria-label="抖音"]::before { content: "\e6f8"; }
.purchase-footer__social-link[aria-label="百家号"]::before { content: "\e6f9"; }
.purchase-footer__social-link[aria-label="哔哩哔哩"]::before { content: "\e6fe"; }
.purchase-footer__social-link[aria-label="GitHub"]::before { content: "\e6fd"; }

.purchase-footer__trust a {
    gap: 2px;
}

.purchase-footer__trust img {
    display: block;
}

@media screen and (max-width: 900px) {
    .purchase-footer__main {
        align-items: flex-start;
        flex-direction: column;
    }

    .purchase-footer__links {
        align-items: flex-start;
        gap: 24px;
    }
}

@media screen and (max-width: 600px) {
    .purchase-footer__container {
        padding: 28px 20px;
    }

    .purchase-footer__copyright,
    .purchase-footer__licenses {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .purchase-footer__details p {
        line-height: 1.7;
    }
}
