* {
    box-sizing: border-box
}

html,body {
    margin: 0;
    min-height: 100%;
    font-family: "Microsoft YaHei","PingFang SC",Arial,sans-serif
}

body {
    background: #071a31;
    color: #fff;
    overflow-x: hidden
}

#sf-cup-intro {
    --duration: 5.8s;
    position: fixed;
    inset: 0;
    z-index: 99999;
    overflow: hidden;
    background: #081b32;
    isolation: isolate;
    opacity: 1;
    visibility: visible;
}

#sf-cup-intro.is-leaving {
    animation: overlayOut .75s ease forwards;
    pointer-events: none
}

.intro-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 39% 49% at 50% 50%,rgba(30,76,145,.56) 0%,rgba(16,48,94,.42) 40%,rgba(7,25,47,.96) 100%), linear-gradient(112deg,#081b30 0%,#0b2342 50%,#081a2e 100%)
}

.ambient {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%,-50%);
    filter: blur(28px);
    pointer-events: none
}

.ambient-a {
    width: min(62vw,1100px);
    height: min(62vw,800px);
    background: radial-gradient(ellipse,rgba(34,91,177,.19),transparent 68%);
    animation: breath 4s ease-in-out infinite
}

.ambient-b {
    width: min(38vw,700px);
    height: min(38vw,550px);
    background: radial-gradient(ellipse,rgba(53,112,206,.15),transparent 70%);
    animation: breath 3s ease-in-out infinite reverse
}

.orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none
}

.orbit-outer {
    width: min(54vw,920px);
    height: min(54vw,920px);
    border: 1px dashed rgba(63,121,211,.22);
    opacity: 0;
    animation: ringIn 1.4s .1s ease forwards,slowSpin 42s 1.5s linear infinite
}

.orbit-inner {
    width: min(38vw,650px);
    height: min(38vw,650px);
    border: 1px solid rgba(83,145,226,.24);
    box-shadow: 0 0 50px rgba(35,100,190,.08),inset 0 0 50px rgba(35,100,190,.04);
    opacity: 0;
    animation: ringIn 1.1s .15s ease forwards
}

.orbit-dash {
    width: min(31vw,530px);
    height: min(31vw,530px);
    border: 1px solid rgba(63,126,220,.10);
    opacity: 0;
    animation: ringIn 1.3s .35s ease forwards
}

.circuits {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible
}

.circuit-lines path {
    fill: none;
    stroke: inherit;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1800;
    stroke-dashoffset: 1800;
    animation: drawLine 1.35s .45s cubic-bezier(.22,.7,.2,1) forwards
}

.circuit-lines path:nth-child(2) {
    animation-delay: .53s
}

.circuit-lines path:nth-child(3) {
    animation-delay: .62s
}

.circuit-lines path:nth-child(4) {
    animation-delay: .70s
}

.circuit-dots {
    fill: #a8d2ff;
    opacity: 0;
    animation: dotsIn .5s 0s ease forwards
}

.circuit-edge {
    fill: none;
    stroke: rgba(54,119,220,.26);
    stroke-width: 1;
    opacity: 0;
    animation: fadeIn .8s 1s forwards
}

.center-content {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(760px,88vw);
    transform: translate(-50%,-50%);
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center
}
.center-content::before{
    display: block;
    content: "";
    width: 150%;
    height: 150%;
    background: radial-gradient(farthest-side at 50% 50%,rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0) 100% );
    position: absolute;
    left: -25%;
    top: -25%;
}
.eyebrow {
    font-size: clamp(9px,.7vw,13px);
    letter-spacing: .42em;
    color: #8ba8c9;
    font-weight: 500;
    opacity: 0;
    transform: translateY(9px);
    animation: textIn .7s .35s ease forwards
}

.eyebrow span {
    color: #c31b58;
    padding: 0 .35em
}

.brand-logo {
    display: block;
    width: min(480px,48vw);
    height: auto;
    object-fit: contain;
    margin-top: 30px;
    opacity: 0;
    transform: translateY(12px) scale(.97);
    filter: drop-shadow(0 0 12px rgba(140,190,255,.10));
    animation: logoIn .8s .28s cubic-bezier(.2,.7,.2,1) forwards
}

.separator {
    width: 190px;
    height: 1px;
    background: linear-gradient(90deg,transparent,rgba(115,158,210,.35),transparent);
    margin: 32px 0 25px;
    position: relative;
    opacity: 0;
    animation: fadeIn .7s .7s forwards
}

.separator i {
    position: absolute;
    width: 7px;
    height: 7px;
    left: 50%;
    top: 50%;
    background: #c21858;
    transform: translate(-50%,-50%) rotate(45deg);
    box-shadow: 0 0 12px rgba(204,23,89,.7)
}

h1 {
    margin: 0;
    color: #f5f8ff;
    font-size: clamp(25px,2.35vw,44px);
    font-weight: 500;
    letter-spacing: .16em;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(13px);
    text-shadow: 0 0 22px rgba(168,205,255,.12);
    animation: textIn .9s .65s ease forwards
}

h1 b {
    font-weight: 300;
    color: #78b2ff;
    padding: 0 .2em
}

.subtitle {
    margin: 20px 0 0;
    font-size: clamp(11px,.82vw,16px);
    letter-spacing: .22em;
    color: #8da7c5;
    opacity: 0;
    transform: translateY(8px);
    animation: textIn .75s 1s ease forwards
}

.footer-left {
    position: absolute;
    left: 5.9%;
    bottom: 8.2%;
    font-size: clamp(7px,.48vw,10px);
    letter-spacing: .38em;
    color: #718eae;
    white-space: nowrap;
    opacity: 0;
    animation: fadeIn .8s 1.3s forwards
}

.progress-track {
    position: absolute;
    left: 23.8%;
    right: 12.5%;
    bottom: 8.75%;
    height: 1px;
    background: rgba(106,143,188,.20);
    overflow: hidden
}

.progress-fill {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg,#2766bc,#4d9aff);
    box-shadow: 0 0 8px #438cff;
    animation: progress 5.8s linear forwards
}

.skip {
    position: absolute;
    right: 5.8%;
    bottom: 7.1%;
    border: 0;
    border-left: 1px solid rgba(110,150,199,.25);
    background: transparent;
    color: #8ca5c2;
    font-size: 0.16rem;
    letter-spacing: .04em;
    padding: 0.09rem 0.14rem;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn .6s 1.3s forwards
}

.skip span {
    color: #75adf3;
    margin-left: 10px
}

.skip:hover {
    color: #fff
}

.tiny-mark {
    position: absolute;
    right: 2.2%;
    top: 4%;
    font-size: 8px;
    letter-spacing: .3em;
    color: rgba(117,154,197,.25);
    opacity: 0;
    animation: fadeIn .5s 1.4s forwards
}

.demo-page {
    min-height: 100vh;
    background: #fff;
    color: #1d3450;
}

.demo-placeholder {
    font-size: 20px;
    opacity: .6
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0
    }
}

@keyframes ringIn {
    from {
        opacity: 0;
        transform: translate(-50%,-50%) scale(.88)
    }

    to {
        opacity: 1;
        transform: translate(-50%,-50%) scale(1)
    }
}

@keyframes dotsIn {
    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    to {
        opacity: 1
    }
}

@keyframes textIn {
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes logoIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

@keyframes breath {
    0%,100% {
        opacity: .65;
        transform: translate(-50%,-50%) scale(.96)
    }

    50% {
        opacity: 1;
        transform: translate(-50%,-50%) scale(1.06)
    }
}

@keyframes slowSpin {
    to {
        transform: translate(-50%,-50%) rotate(360deg)
    }
}

@keyframes progress {
    to {
        width: 100%
    }
}

@keyframes overlayOut {
    to {
        opacity: 0;
        visibility: hidden
    }
}

@media(max-width: 700px) {
    .brand-logo {
        width:min(350px,70vw);
        margin-top: 22px
    }

    .separator {
        margin: 24px 0 20px;
        width: 145px
    }

    h1 {
        letter-spacing: .08em
    }

    .subtitle {
        letter-spacing: .1em
    }

    .footer-left {
        left: 5%;
        bottom: 5.5%;
        letter-spacing: .18em
    }

    .progress-track {
        left: 5%;
        right: 31%;
        bottom: 6.2%
    }

    .skip {
        right: 4%;
        bottom: 4.5%;
        padding: 8px
    }

    .orbit-outer {
        width: 88vw;
        height: 88vw
    }

    .orbit-inner {
        width: 66vw;
        height: 66vw
    }

    .orbit-dash {
        width: 52vw;
        height: 52vw
    }
}

@media(prefers-reduced-motion:reduce) {
    *,*::before,*::after {
        animation-duration: .01ms!important;
        animation-delay: 0ms!important;
        animation-iteration-count: 1!important
    }
}