/* 轨道动画 - 平台图标环绕展示 (2D) */
.richness-content {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.richness-content .orbit-icon {
    width: 1.6em;
    height: 1.6em;
    line-height: 1.6em;
    font-size: 1.2em;
    border-radius: 50%;
    display: block;
    object-fit: contain;
}

.richness-content .orbit-wrap {
    height: 40em;
    list-style: none;
    font-size: 1.3em;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.richness-content .orbit-wrap > li {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.richness-content .orbit-wrap > li:hover ul {
    border-width: 2px;
    border-color: #fff;
}

.richness-content .orbit-wrap > li:hover ~ li ul {
    border-color: rgb(255, 255, 255, 0.2);
}

.richness-content .orbit-wrap > li:hover ~ li ul li {
    opacity: 0.4;
}

.richness-content ul[class^='ring'] {
    transition: all 300ms ease-in-out;
}

.richness-content ul[class^='ring'] li {
    transition: all 300ms ease-in-out;
}

.richness-content .ring-0 {
    width: 25em;
    height: 25em;
    animation: clockwiseRotate 35s linear infinite;
}

.richness-content .ring-0 img {
    animation: counterClockwiseRotate 35s linear infinite;
    will-change: transform;
}

.richness-content .ring-0 > *:nth-of-type(1) {
    transform: rotate(95deg) translate(12.5em) rotate(-95deg);
}

.richness-content .ring-0 > *:nth-of-type(2) {
    transform: rotate(190deg) translate(12.5em) rotate(-190deg);
}

.richness-content .ring-0 > *:nth-of-type(3) {
    transform: rotate(285deg) translate(12.5em) rotate(-285deg);
}

.richness-content .ring-0 > *:nth-of-type(4) {
    transform: rotate(380deg) translate(12.5em) rotate(-380deg);
}

.richness-content .ring-1 {
    width: 20em;
    height: 20em;
    animation: clockwiseRotate 30s linear infinite;
}

.richness-content .ring-1 img {
    animation: counterClockwiseRotate 30s linear infinite;
}

.richness-content .ring-1 > *:nth-of-type(1) {
    transform: rotate(126.6666666667deg) translate(10em) rotate(-126.6666666667deg);
}

.richness-content .ring-1 > *:nth-of-type(2) {
    transform: rotate(253.3333333333deg) translate(10em) rotate(-253.3333333333deg);
}

.richness-content .ring-1 > *:nth-of-type(3) {
    transform: rotate(380deg) translate(10em) rotate(-380deg);
}

.richness-content .ring-2 {
    width: 15em;
    height: 15em;
    animation: clockwiseRotate 25s linear infinite;
}

.richness-content .ring-2 img {
    animation: counterClockwiseRotate 25s linear infinite;
}

.richness-content .ring-2 > *:nth-of-type(1) {
    transform: rotate(47.5deg) translate(7.5em) rotate(-47.5deg);
}

.richness-content .ring-2 > *:nth-of-type(2) {
    transform: rotate(95deg) translate(7.5em) rotate(-95deg);
}

.richness-content .ring-2 > *:nth-of-type(3) {
    transform: rotate(142.5deg) translate(7.5em) rotate(-142.5deg);
}

.richness-content .ring-2 > *:nth-of-type(4) {
    transform: rotate(190deg) translate(7.5em) rotate(-190deg);
}

.richness-content .ring-2 > *:nth-of-type(5) {
    transform: rotate(237.5deg) translate(7.5em) rotate(-237.5deg);
}

.richness-content .ring-2 > *:nth-of-type(6) {
    transform: rotate(285deg) translate(7.5em) rotate(-285deg);
}

.richness-content .ring-2 > *:nth-of-type(7) {
    transform: rotate(332.5deg) translate(7.5em) rotate(-332.5deg);
}

.richness-content .ring-2 > *:nth-of-type(8) {
    transform: rotate(380deg) translate(7.5em) rotate(-380deg);
}

.richness-content .ring-3 {
    width: 10em;
    height: 10em;
    animation: clockwiseRotate 20s linear infinite;
}

.richness-content .ring-3 img {
    animation: counterClockwiseRotate 20s linear infinite;
}

.richness-content .ring-3 > *:nth-of-type(1) {
    transform: rotate(126.6666666667deg) translate(5em) rotate(-126.6666666667deg);
}

.richness-content .ring-3 > *:nth-of-type(2) {
    transform: rotate(253.3333333333deg) translate(5em) rotate(-253.3333333333deg);
}

.richness-content .ring-3 > *:nth-of-type(3) {
    transform: rotate(380deg) translate(5em) rotate(-380deg);
}

.richness-content ul[class^='ring'] {
    border: solid 1px rgb(33, 150, 243, 0.8);
    position: relative;
    padding: 0;
    border-radius: 50%;
    list-style: none;
    box-sizing: content-box;
}

.richness-content ul[class^='ring'] li {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.6em;
    height: 1.6em;
    margin: -0.8em;
}

.richness-content .orbit-center {
    z-index: 5;
    font-size: 2em;
    width: 1.8em;
    height: 1.8em;
    line-height: 1.8em;
    text-align: center;
    background: hotpink;
    border-radius: 50%;
}

.richness-content .orbit-center:hover .orbit-center__icon {
    transform: rotateZ(0deg);
}

.richness-content .orbit-center__icon {
    transform: rotateZ(-360deg);
    transition: all 300ms ease-in-out;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.richness-content .orbit-wrap > li.orbit-center:hover ~ li > ul {
    width: 0;
    height: 0;
}

.richness-content .orbit-wrap > li.orbit-center:hover ~ li > ul * {
    transform: translate(0, 0);
}

/* 过渡动画 */
.richness-content .orbit-wrap {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.richness-content ul[class^='ring'] {
    transition:
        border-color 0.8s ease,
        box-shadow 0.8s ease;
}

@keyframes clockwiseRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes counterClockwiseRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* ============================================
   移动端响应式
   ============================================ */
@media (width <= 768px) {
    .richness-content {
        height: 100vw;
        max-height: 100vh;
        perspective: 1200px;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }

    .richness-content .orbit-wrap {
        font-size: min(1em, 3.5vw);
        height: 100vw;
        max-height: 100vh;
        width: 100%;
        transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        transform-style: preserve-3d;
    }

    .richness-content .orbit-wrap > li {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .richness-content .orbit-center {
        z-index: 5;
        font-size: 2em;
        width: 1.8em;
        height: 1.8em;
        line-height: 1.8em;
        text-align: center;
        background: hotpink;
        border-radius: 50%;
    }

    .richness-content .orbit-center__icon {
        transform: rotateZ(-360deg);
        transition: all 300ms ease-in-out;
        border-radius: 50%;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .richness-content ul[class^='ring'] {
        border: solid 1px rgb(33, 150, 243, 0.8);
        position: relative;
        padding: 0;
        border-radius: 50%;
        list-style: none;
        box-sizing: content-box;
    }

    .richness-content ul[class^='ring'] li {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 1.6em;
        height: 1.6em;
        margin: -0.8em;
    }

    .richness-content ul[class^='ring'] img {
        animation: inherit;
    }

    .richness-content .orbit-icon {
        width: 1.6em;
        height: 1.6em;
        line-height: 1.6em;
        font-size: 1.2em;
        border-radius: 50%;
        display: block;
        object-fit: contain;
    }

    .richness-content .ring-0 {
        width: 85vw;
        height: 85vw;
        max-width: 85vh;
        max-height: 85vh;
        animation: clockwiseRotate 35s linear infinite;
    }

    .richness-content .ring-0 > *:nth-of-type(1) {
        transform: rotate(95deg) translate(42.5vw) rotate(-95deg);
    }

    .richness-content .ring-0 > *:nth-of-type(2) {
        transform: rotate(190deg) translate(42.5vw) rotate(-190deg);
    }

    .richness-content .ring-0 > *:nth-of-type(3) {
        transform: rotate(285deg) translate(42.5vw) rotate(-285deg);
    }

    .richness-content .ring-0 > *:nth-of-type(4) {
        transform: rotate(380deg) translate(42.5vw) rotate(-380deg);
    }

    .richness-content .ring-0 img {
        animation: counterClockwiseRotate 35s linear infinite;
    }

    .richness-content .ring-1 {
        width: 68vw;
        height: 68vw;
        max-width: 68vh;
        max-height: 68vh;
        animation: clockwiseRotate 30s linear infinite;
    }

    .richness-content .ring-1 > *:nth-of-type(1) {
        transform: rotate(126.6666666667deg) translate(34vw) rotate(-126.6666666667deg);
    }

    .richness-content .ring-1 > *:nth-of-type(2) {
        transform: rotate(253.3333333333deg) translate(34vw) rotate(-253.3333333333deg);
    }

    .richness-content .ring-1 > *:nth-of-type(3) {
        transform: rotate(380deg) translate(34vw) rotate(-380deg);
    }

    .richness-content .ring-1 img {
        animation: counterClockwiseRotate 30s linear infinite;
    }

    .richness-content .ring-2 {
        width: 51vw;
        height: 51vw;
        max-width: 51vh;
        max-height: 51vh;
        animation: clockwiseRotate 25s linear infinite;
    }

    .richness-content .ring-2 > *:nth-of-type(1) {
        transform: rotate(47.5deg) translate(25.5vw) rotate(-47.5deg);
    }

    .richness-content .ring-2 > *:nth-of-type(2) {
        transform: rotate(95deg) translate(25.5vw) rotate(-95deg);
    }

    .richness-content .ring-2 > *:nth-of-type(3) {
        transform: rotate(142.5deg) translate(25.5vw) rotate(-142.5deg);
    }

    .richness-content .ring-2 > *:nth-of-type(4) {
        transform: rotate(190deg) translate(25.5vw) rotate(-190deg);
    }

    .richness-content .ring-2 > *:nth-of-type(5) {
        transform: rotate(237.5deg) translate(25.5vw) rotate(-237.5deg);
    }

    .richness-content .ring-2 > *:nth-of-type(6) {
        transform: rotate(285deg) translate(25.5vw) rotate(-285deg);
    }

    .richness-content .ring-2 > *:nth-of-type(7) {
        transform: rotate(332.5deg) translate(25.5vw) rotate(-332.5deg);
    }

    .richness-content .ring-2 > *:nth-of-type(8) {
        transform: rotate(380deg) translate(25.5vw) rotate(-380deg);
    }

    .richness-content .ring-2 img {
        animation: counterClockwiseRotate 25s linear infinite;
    }

    .richness-content .ring-3 {
        width: 34vw;
        height: 34vw;
        max-width: 34vh;
        max-height: 34vh;
        animation: clockwiseRotate 20s linear infinite;
    }

    .richness-content .ring-3 > *:nth-of-type(1) {
        transform: rotate(126.6666666667deg) translate(17vw) rotate(-126.6666666667deg);
    }

    .richness-content .ring-3 > *:nth-of-type(2) {
        transform: rotate(253.3333333333deg) translate(17vw) rotate(-253.3333333333deg);
    }

    .richness-content .ring-3 > *:nth-of-type(3) {
        transform: rotate(380deg) translate(17vw) rotate(-380deg);
    }

    .richness-content .ring-3 img {
        animation: counterClockwiseRotate 20s linear infinite;
    }
}
