.stage {
    position: relative;
    width: 30vw;
    height: 30vw;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

/* ================== 1. 入场时间控制 ================== */
.enter-1 {
    animation-delay: 0.2s !important;
}

.enter-2 {
    animation-delay: 0.6s !important;
}

.enter-3 {
    animation-delay: 1.0s !important;
}

/* ================== 2. 同频共振延迟控制 (核心：周期2.4s) ================== */
.sync-1 {
    animation-delay: -1.2s !important;
}

.sync-2 {
    animation-delay: -0.6s !important;
}

.sync-3 {
    animation-delay: 0s !important;
}

.sync-1 .satellite {
    --r: 7.5vw;
}

.sync-2 .satellite {
    --r: 10.6875vw;
}

.sync-3 .satellite {
    --r: 13.875vw;
}

/* ================== 3. 中心字母系统 ================== */
.logo-center {
    display: flex;
    align-items: center;
    z-index: 10;
}

/* 字母入场外壳 */
.letter-wrap {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: scale(0);
}

/* 字母共振本体 */
.letter-breathe {
    height: 4.6875vw;
    width: auto;
    animation: letterWave 2.4s ease-in-out infinite;
    will-change: transform;
}


/* ================== 4. 轨道系统 ================== */
/* 轨道入场外壳 */
.ring-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0;
    transform: scale(0.4) rotate(var(--start-rot));
    z-index: var(--z);
}

/* 新增：轨道共振层 (和对应字母保持同频缩放) */
.ring-breathe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: ringWave 2.4s ease-in-out infinite;
    will-change: transform;
}

/* 轨道自转层 */
.orbit-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: spin var(--t) linear infinite var(--dir);
    will-change: transform;
}

.ring-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}


/* ================== 5. 图标系统 ================== */
.satellite {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: rotate(var(--angle)) translateX(var(--r)) rotate(calc(-1 * var(--angle)));
}

.icon-img {
    position: absolute;
    width: 2.5vw;
    height: 2.5vw;
    object-fit: contain;
    background: #f8f8f8;
    border-radius: 50%;
    animation: antiSpin var(--t) linear infinite var(--dir);
    will-change: transform;
    max-width: none;
}

.icon-box {
    position: absolute;
    top: 0;
    left: 0;
    animation: iconBreathe 2.5s ease-in-out infinite alternate;
}


/* ================== 动画关键帧 ================== */

/* 字母入场 */
@keyframes letterPop {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 轨道旋风入场 */
@keyframes ringPop {
    0% {
        opacity: 0;
        transform: scale(0.4) rotate(var(--start-rot));
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* 字母共振波幅 (1.0 -> 1.2) */
@keyframes letterWave {

    0%,
    100% {
        transform: scale(1.0);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
    }

    50% {
        transform: scale(1.2);
        filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
    }
}

/* 轨道共振波幅 (1.0 -> 1.05) - 轨道巨大，微小的缩放就能产生极佳的失重感 */
@keyframes ringWave {

    0%,
    100% {
        transform: scale(1.0);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes antiSpin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes iconBreathe {
    from {
        transform: scale(0.97);
    }

    to {
        transform: scale(1.03);
    }
}

.hlwyx .ani-slide .letter-wrap {
    opacity: 1;
    transform: scale(1);
}

.hlwyx .ani-slide .ring-wrap {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

@media screen and (max-width: 767px) {
    .stage {
        width: 60vw;
        height: 60vw;
    }

    .sync-1 .satellite {
        --r: 15vw;
    }

    .sync-2 .satellite {
        --r: 21.375vw;
    }

    .sync-3 .satellite {
        --r: 27.75vw;
    }

    .letter-breathe {
        height: 9.375vw;
    }

    .icon-img {
        width: 5vw;
        height: 5vw;
    }
}