

.svg-animation {
    width: 100%;
    height: 100%;
    animation: float 3s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clippy-svg {
    width: 100%;
    height: 100%;
    transform: scale(0.6);
    transform-origin: center;
}

.clippy-path {
    stroke: #4fc3f7;
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: draw 4s ease-in-out infinite alternate;
}

@keyframes draw {
    0% {
        stroke: #4fc3f7;
        filter: drop-shadow(0 0 2px #4fc3f7);
    }

    50% {
        stroke: #64ffda;
        filter: drop-shadow(0 0 4px #64ffda);
    }

    100% {
        stroke: #bb86fc;
        filter: drop-shadow(0 0 6px #bb86fc);
    }
}

.caption {
    margin-top: 8px;
    color: #eee;
    font-size: 14px;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
}


.step-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    width: 100%;
    padding: 10px 0;
    gap: 2em;
}



/* 隐藏原生复选框 */
#checkbox-menu {
  display: none;
}






/* 菜单按钮 */
.menu-button {
    position: fixed;
    top: 10px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, #444, #111);
    border: 4px solid #999;
    border-radius: 50%;
    z-index: 1001;
    cursor: pointer;
    display: flex;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.menu-button.open {
    transform: rotate(90deg);
}

/* 菜单栏 */
.menu {
    position: fixed;
    top: 0;
    left: 100px;
    width: auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    mix-blend-mode: difference;
}

.follower {
    position: relative;
    font-size: 5em;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    color: white; /* 初始颜色作为备用 */
}



.banner-loop {
    position: fixed;
    right: 62px;
    bottom: -600px;
    width: calc(100vh - 43em);
    transform: rotate(90deg);
    transform-origin: right bottom;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    white-space: nowrap;
    z-index: 99;
        mix-blend-mode: difference;
}

.banner-loop::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #ffffff;
    margin-top: 5px;
    /* 线条与文字的间距 */
}

.banner-line {
    padding: 10px;
    font-size: 0.5rem;
    color:#ffffff;
    letter-spacing:1px;
}

/* 隐藏 CUI 在手机端 */
@media (max-width: 425px) {
    .cui-text {
        display: none !important;
    }
    .name-spacing {
        display: none !important;
    }
}

/* 平板端样式 */
@media (min-width: 425px) and (max-width: 768px) {

    .menu-button {
        top: 13px;
        left: 25px;
        width: 50px;
        height: 50px;
    }
    .follower {
        font-size: 2.5em;
    }
    .banner-loop{
        right:46px;
        width: calc(100vh - 25em);
    }
    .banner-line {
    padding: 6px;
    font-size: 0.4rem;
    letter-spacing:4px;}
}


/* 移动端样式 */
@media screen and (max-width: 425px) {

    .space-window {
        width: 50px;
        height: 50px;
    }

    .menu {
        left: 60px;
        top: -3px;
    }

    .menu-button {
        top: 15px;
        left: 10px;
        width: 40px;
        height: 40px;
    }

    .follower {
        font-size: 1.7em;
    }
    .banner-loop{
        right:40px;
        width: calc(100vh - 20em);
    }

    .banner-line {
    padding: 2px;
    letter-spacing:6px;
    font-size: 0.35rem;
}
}

/* 菜单容器 */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    background: transparent !important;
    backdrop-filter: blur(5px);
}

#world {
    background: transparent !important;
}

/* 桌面端默认按钮大小 */
.ball-btn {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    z-index: 20;
    border: none;
    outline: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s, transform 0.2s;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ball-btn.language-btn {
    width: 120px;
    height: 120px;
    font-size: 22px;
}

.ball-btn:hover {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.9 !important;
}

#home-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    z-index: 5;
    transition: opacity 0.5s ease;
}

.home-content {
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

/* 桌面端默认文字大小 */
h1 {
    color: #333;
    font-size: 3em;
    margin-bottom: 20px;
}

p {
    color: #555;
    font-size: 1.3em;
    line-height: 1.6;
    margin-bottom: 30px;
}

#close-menu {
    position: fixed;
    top: 30px;
    right: 30px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 30;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#close-menu:hover {
    background-color: #ff5252;
    transform: rotate(90deg);
}

.menu-active #canvas-container {
    opacity: 1;
    pointer-events: auto;
}

.menu-active #home-page {
    opacity: 0.3;
    pointer-events: none;
}

.menu-active #close-menu {
    opacity: 1;
    pointer-events: auto;
}

.menu-active .ball-btn {
    opacity: 1;
    pointer-events: auto;
}




