@font-face {
    font-family: IBMPlexMono;
    src: url('./IBMPlexMono-Medium.woff2');
}

@font-face {
    font-family: IBMPlexSans;
    src: url('./IBMPlexSans-Medium.woff2');
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'IBMPlexSans', 'MiSans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h1 {
    font-family: MiSans, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 72px;
    margin: 0;
    font-weight: 400;
    transition: all 0.5s cubic-bezier(0, 0.65, 0.25, 1);
}

h1 span {
    color: #447AFD;
    text-decoration: underline dotted #2F8CFD;
    text-underline-offset: 14px;
}

h2 {
    font-family: 'IBMPlexSans', 'MiSans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 28px;
    margin: 0;
    font-weight: normal;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 64px;
        line-height: 70px;
        letter-spacing: 1px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tool-list-container {
        transform: scale(0.8);
    }

    .slogan svg {
        transform: scale(0.8);
    }

    .slogan .download-links svg {
        transform: scale(1);
    }
}

#cover {
    background-color: #111111;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 150vh;
    overflow-x: hidden;
    gap: 40px;
}

.slogan {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.slogan svg {
    transition: all 0.5s cubic-bezier(0, 0.65, 0.25, 1);
}

main {
    flex: 1;
}

footer {
    background-color: #333;
    color: rgb(141, 141, 141);
    padding: 24px;
    text-align: center;
    font-size: 14px;
}

.tool-list {
    height: 110px;
    transition: all 0.5s cubic-bezier(0, 0.65, 0.25, 1);
    --opacity: 0;
    opacity: var(--opacity);
}

.tool-list.bandbbs {
    opacity: 1;
}

.tool-list-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.5s cubic-bezier(0, 0.65, 0.25, 1);
}

#tool-list-1,
#tool-list-3 {
    animation: tool-list-1-3 500s linear infinite;
}

#tool-list-2 {
    animation: tool-list-2 500s linear infinite;
}

@keyframes tool-list-1-3 {
    0% {
        transform: translateX(0px);
    }

    100% {
        transform: translateX(2410px);
    }
}

@keyframes tool-list-2 {
    0% {
        transform: translateX(2410px);
    }

    100% {
        transform: translateX(0px);
    }
}

.tool-list-container>div[tg-name="scale"] {
    --scale: 1.5;
    transform-origin: center top;
    transition: all 0.5s cubic-bezier(0, 0.65, 0.25, 1);
    transform: scale(var(--scale, 1));
    display: flex;
}

button {
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-family: MiSans, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

button svg {
    height: 20px;
    width: 20px;
}

button svg path {
    fill: white;
}

button[primary] {
    background: #447AFD;
    font-weight: 500;
}

button[secondary] {
    background: #262626;
    font-weight: 400;
}

.cover.button-group {
    display: flex;
    gap: 16px;
    margin-top: 42px;
    margin-bottom: 78px;
}

#info {
    min-height: 90vh;
    max-height: 90vh;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    background: #262626;
    align-items: center;
}

#info div {
    margin: 0;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: -1.2px;
    color: #fff;
    line-height: 54px;
    max-width: 800px;
    width: calc(100% - 40px);
}

#info span {
    --opacity: 0.3;
    opacity: var(--opacity);
    font-family: MiSans, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#info .pro {
    display: block;
    margin-top: 2.2rem;
}

#info .pro .download-link.large {
    padding: 0;
}

.download-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    max-width: 830px;
    width: calc(100% - 40px);
    gap: 8px;
    justify-content: flex-start;
    flex-direction: column;
}

.download-item h3 {
    margin: 0;
    font-weight: 400;
    font-size: 22px;
    color: white;
    width: 210px;
    padding: 0px 10px;
}

.download-item p {
    margin: 0;
    font-size: 16px;
    color: #878787;
}

.download-link-hr {
    margin: unset;
    margin-block: unset;
    margin-inline: unset;
    height: 12px;
    border-width: 1px;
    border-color: #3b3b3b;
    border-style: solid;
    display: flex;
}

.download-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.download-link {
    --icon-color: #5A89FF;
    color: var(--icon-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    padding: 6px 8px;
    font-size: 22px;
    font-weight: 400;
    font-family: MiSans, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.download-link.small {
    --icon-color: #d5d5d5;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-link path.icon-01,
.download-link path.icon-02,
.download-link path.icon-03,
.download-link path.icon-love {
    transition: all 0.5s cubic-bezier(0, 0.65, 0.25, 1) 0.25s;
    fill: var(--icon-color, #5A89FF);
}

.download-link:hover path.icon-01,
.download-link:hover path.icon-02,
.download-link:hover path.icon-03,
.download-link:hover path.icon-love {
    transition: all 0.5s cubic-bezier(0, 0.65, 0.25, 1);
}

.download-link.small path.icon-01 {
    transform: scaleX(0) translateX(10px);
    transform-origin: 20px center;
}

.download-link.small path.icon-02 {
    transform: translateX(1px);
    transform-origin: center center;
}

.download-link.small:hover path.icon-01 {
    transform: scaleX(1) translateX(5px);
}

.download-link.small:hover path.icon-02 {
    transform: translateX(5.75px);
}

.download-link.large path.icon-01 {
    transform: scaleX(1) translateY(0px);
    transform-origin: center center;
}

.download-link.large path.icon-02,
.download-link.large path.icon-03 {
    transform: translateY(0px);
    transform-origin: center center;
}

.download-link.large path.icon-02 {
    transform: translateY(0px) scaleY(1);
    transform-origin: center center;
}

.download-link.large:hover path.icon-01 {
    transform: scaleX(0) translateY(5px);
}

.download-link.large:hover path.icon-02 {
    transform: translateY(5.75px) scaleY(1.35);
}

.download-link.large:hover path.icon-03 {
    transform: translateY(5.75px);
}

.download-link.large path.icon-love {
    transform: scale(1);
    transform-origin: center center;
}

.download-link.large:hover path.icon-love {
    transform: scale(1.15);
    transform-origin: center center;
}

.download-info-tags {
    display: flex;
    flex-direction: row;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
    padding: 0px 4px;
}

.download-info-tag {
    font-size: 16px;
    padding: 4px 8px;
    color: #bfbfbf;
    background: #303030;
    border-radius: 6px;
    display: flex;
    flex-direction: row;
    width: auto;
    align-items: center;
    gap: 4px;
    font-family: 'IBMPlexMono', 'MiSans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', monospace, sans-serif;
}

#get {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 0;
    background: #111111;
}

[tg-filter="2!"]::before {
    content: "拥有 24 般武艺；";
}

[tg-filter="3!"]::before {
    content: "体积超小超精简；";
}

[tg-filter="4!"]::before {
    content: "好多手环, \A全都能用；";
    white-space: pre;
}

[tg-filter="5!"]::before {
    content: "不止看起来好, \A用起来也好；";
    white-space: pre;
}

[tg-filter="6!"]::before {
    content: "仅售 3 元, \A自愿支持；";
    white-space: pre;
}

[tg-filter="2!"],
[tg-filter="3!"],
[tg-filter="4!"],
[tg-filter="5!"],
[tg-filter="6!"],
[tg-filter="7!,8!,9!,10!"] {
    font-size: 42px;
}

@media screen and (min-width: 655px) {
    [tg-filter="2!"]::before {
        content: "拥有 24 般武艺；";
    }

    [tg-filter="3!"]::before {
        content: "体积超小超精简；";
    }

    [tg-filter="4!"]::before {
        content: "好多手环, 全都能用；";
        white-space: pre;
    }

    [tg-filter="5!"]::before {
        content: "不止看起来好, 用起来也好；";
        white-space: pre;
    }

    [tg-filter="6!"]::before {
        content: "仅售 3 元, 自愿支持；";
        white-space: pre;
    }

    [tg-filter="2!"],
    [tg-filter="3!"],
    [tg-filter="4!"],
    [tg-filter="5!"],
    [tg-filter="6!"],
    [tg-filter="7!,8!,9!,10!"] {
        font-size: 48px;
    }
}

#team {
    background: #262626;
}

.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    padding: 48px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    width: calc(50% - 20px);
    max-width: 210px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0, 0.65, 0.25, 1) 0.25s;
}

.team-card:hover {
    transform: translateY(-8px);
    transition: transform 0.3s cubic-bezier(0, 0.65, 0.25, 1);
}

.team-avatar {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    background: #373737;
    border-radius: 60px;
    margin-bottom: 16px;
    color: #555555;
}

.team-card h3 {
    color: white;
    font-size: 20px;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.team-card p {
    color: #878787;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}
