* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body.pc-home-body {
    min-width: 1180px;
    color: #ffffff;
    font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    background: #020416;
}

a,
button {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

.pc-home {
    position: relative;
    width: 100%;
    --home-bg-width: max(1920px, 100vw);
    min-height: 2533px;
    overflow: hidden;
    background-color: #020416;
    background-image:
        url("/static/userb/home/hero-bg.png?v=2026072223"),
        url("/static/userb/home/steps-bg.png?v=2026072223"),
        url("/static/userb/home/footer-bg.png?v=2026072223");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center top, center 1000px, center bottom;
    background-size: 1920px 1000px, 1920px 1000px, 1920px 533px;
    background-size:
        var(--home-bg-width) 1000px,
        var(--home-bg-width) 1000px,
        var(--home-bg-width) 533px;
}

.pc-home__shell {
    position: relative;
    width: 1200px;
    min-height: 2533px;
    margin: 0 auto;
    padding-top: 34px;
}

.home-topbar {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.home-metric {
    position: relative;
    width: 172px;
    height: 40px;
    overflow: hidden;
    flex-shrink: 0;
    border: 0;
    border-radius: 0;
    background: url("/static/userb/home/metric-bg.png?v=2026072222") no-repeat center / 172px 40px;
    box-shadow: none;
}

.home-metric__list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: top .5s ease;
    will-change: top;
}

.home-metric__list li {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0 18px 0 17px;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(132, 98, 255, .52);
}

.home-metric__list li span {
    display: block;
    line-height: 1;
    transform: translateY(-1px);
}

.home-metric__list li img {
    width: 20px;
    height: 20px;
    margin-right: 9px;
    object-fit: contain;
    flex-shrink: 0;
    position: relative;
    left: -3px;
    top: -3px
}

.home-metric__list li.user-count {
    color: rgba(255, 255, 255, .92);
}

.home-metric__list li.login-count {
    color: rgba(255, 255, 255, .88);
}

.home-metric__list li.withdrawal-count {
    color: rgba(255, 255, 255, .88);
}

.home-actions {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.home-lang {
    position: relative;
    z-index: 30;
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.home-lang__trigger,
.home-login,
.home-user__trigger {
    border: 0;
    cursor: pointer;
}

.home-lang__trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: 118px;
    height: 32px;
    padding: 0 10px;
    border-radius: 16px;
    color: #f4f7ff;
    font-size: 13px;
    background: rgba(56, 71, 82, .78);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.home-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.home-lang__arrow {
    width: 12px;
    height: 12px;
    margin-left: auto;
    object-fit: contain;
}

.home-lang__menu {
    position: absolute;
    right: 0;
    top: 38px;
    width: 118px;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(59, 64, 75, .94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .3);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.home-lang:hover .home-lang__menu,
.home-lang:focus-within .home-lang__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.home-user:hover .home-user__menu,
.home-user:focus-within .home-user__menu,
.home-user.is-open .home-user__menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.home-lang__menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 12px;
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
}

.home-lang__menu a + a {
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.home-lang__menu a:hover {
    background: rgba(255, 255, 255, .08);
}

.home-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 92px;
    height: 32px;
    padding: 0 17px;
    border-radius: 16px;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    background: linear-gradient(90deg, #7356ff 0%, #a871ff 100%);
    box-shadow: 0 10px 24px rgba(109, 73, 241, .28), inset 0 1px 0 rgba(255, 255, 255, .26);
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.home-login:hover,
.home-login:focus-visible {
    color: #2a2144;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 255, 255, .16);
}

.home-login__arrow {
    width: 12px;
    height: 12px;
    object-fit: contain;
}

.home-user {
    position: relative;
    z-index: 30;
}

.home-user__trigger {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
}

.home-user__trigger img {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.home-user__menu {
    position: absolute;
    left: 50%;
    top: 46px;
    width: 260px;
    padding: 28px 0 30px;
    border-radius: 6px;
    background: rgba(62, 68, 79, .96);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .28);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    transition: .2s ease;
}

.home-user__menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    width: 0;
    height: 0;
    border-right: 12px solid transparent;
    border-bottom: 12px solid rgba(62, 68, 79, .96);
    border-left: 12px solid transparent;
    transform: translateX(-50%);
}

.home-user__profile {
    padding: 0 24px 14px;
    text-align: center;
}

.home-user__profile img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.home-user__name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 12px;
    color: #ffffff;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    white-space: nowrap;
}

.home-user__name span {
    min-width: 0;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-user__verify {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    background: url(../images/vip2.png) no-repeat center / contain;
}

.home-user__verify.on {
    background-image: url(../images/vip.png);
}

.home-user__level-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    min-height: 42px;
    margin: 11px auto 18px;
}

.home-user__level-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 8px;
    color: #ffffff;
    font-size: 19px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
    background: linear-gradient(180deg, rgba(245, 255, 255, .94) 0%, rgba(164, 184, 193, .82) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78), 0 8px 18px rgba(0, 0, 0, .16);
    text-shadow: 0 1px 2px rgba(73, 86, 92, .55);
}

.home-user__profile .home-user__level-image {
    display: block;
    width: 100px;
    height: auto;
    border-radius: 0;
    object-fit: contain;
}

.home-user__menu > a {
    display: flex;
    align-items: center;
    gap: 17px;
    height: 48px;
    padding: 0 54px;
    color: #f4f4f8;
    font-size: 19px;
    line-height: 1;
    font-weight: 600;
}

.home-user__menu > a:hover {
    background: rgba(255, 255, 255, .08);
}

.home-user__menu > a span {
    min-width: 0;
    flex: 1;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

.home-user__menu-icon {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex: 0 0 auto;
}

.home-user__menu-arrow {
    display: none;
    width: 12px;
    height: 12px;
    object-fit: contain;
    flex: 0 0 auto;
    opacity: .72;
}

.hero {
    padding-top: 120px;
    text-align: center;
}

.hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: 54px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 0;
}

.hero__desc {
    width: 1160px;
    margin: 37px auto 0;
    color: rgba(255, 255, 255, .86);
    font-size: 16px;
    line-height: 1.8;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 230px);
    justify-content: center;
    gap: 24px;
    margin-top: 72px;
}

.download-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 240px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    color: #ffffff;
    background: rgba(31, 32, 48, .82);
    box-shadow: inset 0 0 28px rgba(255, 255, 255, .02);
    overflow: hidden;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.download-card::before {
    content: "";
    position: absolute;
    right: -2px;
    top: -2px;
    z-index: 1;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7d45ff 0%, #a46dff 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.download-card:hover,
.download-card.is-active {
    border-color: rgba(145, 90, 255, .9);
    background: linear-gradient(145deg, rgba(100, 0, 210, .96) 0%, rgba(42, 0, 88, .96) 72%);
    transform: translateY(-2px);
}

.download-card:hover::before,
.download-card.is-active::before {
    opacity: 1;
}

.download-card__corner {
    position: absolute;
    right: -2px;
    top: -2px;
    z-index: 2;
    width: 60px;
    height: 60px;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.download-card:hover .download-card__corner,
.download-card.is-active .download-card__corner {
    opacity: 1;
}

.download-card__icon {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-card__main-icon {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.download-card .fa {
    color: #ffffff;
    font-size: 56px;
}

.download-card__qr {
    display: none;
    width: 148px;
    height: 148px;
    object-fit: contain;
    border-radius: 3px;
    background: #ffffff;
}

.download-card--qr:hover,
.download-card--qr.is-active {
    --qr-size: 148px;
    justify-content: flex-start;
    padding-top: 18px;
}

.download-card--qr:hover .download-card__icon,
.download-card--qr.is-active .download-card__icon {
    min-height: 0;
}

.download-card--qr:hover .download-card__qr,
.download-card--qr.is-active .download-card__qr {
    display: block;
}

.download-card--qr:hover .download-card__main-icon,
.download-card--qr.is-active .download-card__main-icon,
.download-card--qr:hover small,
.download-card--qr.is-active small,
.download-card--qr:hover strong,
.download-card--qr.is-active strong {
    display: none;
}

.download-card small {
    display: block;
    margin-top: 16px;
    color: rgba(255, 255, 255, .35);
    font-size: 13px;
}

.download-card strong {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
}

.download-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 31px;
    margin-top: 19px;
    border-radius: 18px;
    color: #ffffff;
    font-size: 14px;
    line-height: 31px;
    text-align: center;
    background: linear-gradient(90deg, #7a55ff 0%, #a36eff 100%);
}

.download-card__arrow {
    display: none !important;
    width: 12px;
    height: 12px;
    margin-left: 12px;
    object-fit: contain;
    flex: 0 0 auto;
}

.download-card--qr:hover .download-card__btn--qr,
.download-card--qr.is-active .download-card__btn--qr {
    position: relative;
    align-self: center;
    gap: 0;
    min-width: 88px;
    height: 30px;
    margin-top: 10px;
    margin-left: 0;
    padding: 0 15px;
    color: #17152a;
    font-weight: 700;
    line-height: 30px;
    background: #ffffff;
    overflow: visible;
}

.download-card--qr:hover .download-card__btn--qr::before,
.download-card--qr.is-active .download-card__btn--qr::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -10px;
    z-index: 2;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 10px solid #26104f;
    transform: translateX(-50%);
    pointer-events: none;
}

.download-card:hover .download-card__btn,
.download-card.is-active .download-card__btn {
    color: #2a2144;
    font-weight: 700;
    background: #ffffff;
}

.download-card:hover .download-card__arrow,
.download-card.is-active .download-card__arrow {
    display: block !important;
}

.scroll-cue {
    width: 32px;
    height: 32px;
    margin: 78px auto 0;
}

.scroll-cue img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.steps {
    display: grid;
    grid-template-columns: 700px 360px;
    gap: 100px;
    align-items: start;
    margin-top: 150px;
}

.steps-list {
    position: relative;
    padding-top: 6px;
}

.feature-step {
    position: relative;
    display: grid;
    grid-template-columns: 76px 1fr;
    align-items: center;
    width: 700px;
    min-height: 94px;
    margin-bottom: 43px;
    padding: 0 34px 0 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: rgba(255, 255, 255, .62);
    text-align: left;
    cursor: pointer;
    background: transparent;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.feature-step__icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    opacity: .68;
    transition: opacity .2s ease, filter .2s ease;
}

.feature-step strong {
    display: block;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.35;
    font-weight: 800;
}

.feature-step__body {
    display: block;
}

.feature-step__desc {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, .43);
    font-size: 18px;
    line-height: 1.45;
}

.feature-step.is-active {
    border-color: rgba(116, 84, 255, .55);
    color: #ffffff;
    background: linear-gradient(90deg, rgba(41, 21, 133, .92) 0%, rgba(18, 16, 55, .48) 72%, rgba(15, 16, 44, 0) 100%);
}

.feature-step.is-active .feature-step__icon {
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(128, 79, 255, .46));
}

.phone-stage {
    position: relative;
    width: 360px;
    min-height: 710px;
    overflow: visible;
}

.phone-stage img {
    position: absolute;
    left: 50%;
    top: 0;
    display: block;
    width: 328px;
    max-height: 680px;
    object-fit: contain;
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
    transition: opacity .24s ease, transform .24s ease;
}

.phone-stage img.is-active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.phone-stage img.phone-wide {
    width: 328px;
    max-width: 328px;
    max-height: none;
}

.home-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 270px;
}

.home-footer__card {
    min-height: 326px;
    padding: 42px 40px 36px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: linear-gradient(108deg, rgba(38, 35, 70, .9) 0%, rgba(26, 58, 72, .74) 100%);
}

.home-footer h2 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.3;
}

.footer-downloads {
    display: flex;
    gap: 22px;
    margin-top: 28px;
}

.footer-downloads__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 136px;
    height: 38px;
    padding: 0 18px;
    box-sizing: border-box;
    border-radius: 20px;
    color: #ffffff;
    font-size: 14px;
    background: linear-gradient(90deg, #7b55ff 0%, #a66dff 100%);
    box-shadow: 0 8px 20px rgba(123, 85, 255, .28);
    cursor: default;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.footer-downloads__icon-wrap {
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.footer-downloads__icon {
    position: absolute;
    inset: 0;
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
    transition: opacity .2s ease;
}

.footer-downloads__icon--hover {
    opacity: 0;
}

.footer-downloads__arrow {
    display: none;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    margin-left: 1px;
    line-height: 1;
    flex: 0 0 auto;
}

.footer-downloads__arrow img {
    display: block;
    width: 12px;
    height: 12px;
    object-fit: contain;
}

.footer-downloads__item:hover,
.footer-downloads__item:focus-visible {
    color: #1f1a31;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 255, 255, .12);
}

.footer-downloads__item:hover .footer-downloads__icon--default,
.footer-downloads__item:focus-visible .footer-downloads__icon--default {
    opacity: 0;
}

.footer-downloads__item:hover .footer-downloads__icon--hover,
.footer-downloads__item:focus-visible .footer-downloads__icon--hover {
    opacity: 1;
}

.footer-downloads__item:hover .footer-downloads__arrow,
.footer-downloads__item:focus-visible .footer-downloads__arrow {
    display: inline-flex;
}

.risk {
    margin-top: 28px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.risk h3 {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    font-weight: 600;
}

.risk p {
    margin: 0;
    color: rgba(255, 255, 255, .38);
    font-size: 12px;
    line-height: 1.8;
}

.friend-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 0;
    margin-top: 22px;
    color: rgba(255, 255, 255, .44);
    font-size: 12px;
}

.friend-links span {
    margin-right: 24px;
}

.friend-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 0;
    color: rgba(255, 255, 255, .38);
}

.friend-links a + a {
    margin-left: 30px;
}

.friend-links a + a::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 50%;
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, .22);
    transform: translateY(-50%);
}

.auth-service-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 116px;
    height: 48px;
    padding: 0 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, #7c3ff2 0%, #5a2bd8 100%);
    box-shadow: 0 10px 24px rgba(86, 51, 198, .32);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.auth-service-float:hover {
    color: #fff;
    background: linear-gradient(135deg, #8a4cff 0%, #6232e0 100%);
}

.auth-service-float__icon {
    position: relative;
    width: 18px;
    height: 14px;
    margin-right: 7px;
    border: 2px solid currentColor;
    border-radius: 10px;
    box-sizing: border-box;
}

.auth-service-float__icon::before,
.auth-service-float__icon::after {
    content: "";
    position: absolute;
    top: 4px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
}

.auth-service-float__icon::before {
    left: 4px;
}

.auth-service-float__icon::after {
    right: 4px;
}

.auth-service-float__icon + span {
    white-space: nowrap;
}

@media (max-width: 1280px) {
    body.pc-home-body {
        min-width: 0;
    }

    .pc-home {
        min-height: auto;
        background-position: center top, center 1000px, center bottom;
        background-size: 1920px 1000px, 1920px 1000px, 1920px 533px;
        background-size:
            var(--home-bg-width) 1000px,
            var(--home-bg-width) 1000px,
            var(--home-bg-width) 533px;
    }

    .pc-home__shell {
        width: min(1120px, calc(100% - 48px));
        min-height: 2220px;
    }

    .download-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .steps {
        grid-template-columns: 1fr 330px;
        gap: 70px;
    }

    .feature-step {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .pc-home {
        background-position: center top, center 1000px, center bottom;
    }

    .pc-home__shell {
        width: calc(100% - 32px);
        min-height: auto;
        padding-bottom: 48px;
    }

    .home-topbar {
        align-items: center;
    }

    .home-metric {
        max-width: 48%;
        padding: 0 12px;
        font-size: 12px;
    }

    .hero {
        padding-top: 86px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero__desc {
        width: 100%;
        margin-top: 24px;
        font-size: 14px;
    }

    .download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin-top: 44px;
    }

    .download-card {
        height: 205px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 90px;
    }

    .feature-step {
        grid-template-columns: 58px 1fr;
        min-height: 84px;
        margin-bottom: 16px;
        padding: 0 18px;
    }

    .feature-step__icon {
        width: 52px;
        height: 52px;
    }

    .feature-step strong {
        font-size: 20px;
    }

    .feature-step__desc {
        font-size: 14px;
    }

    .phone-stage {
        width: 100%;
        min-height: 610px;
    }

    .phone-stage img,
    .phone-stage img.phone-wide {
        width: min(328px, 90vw);
        max-width: 90vw;
    }

    .home-footer {
        position: static;
        margin-top: 36px;
    }
}
