body { 
    margin: 0; 
    background: #000; 
    overflow: hidden; 
    font-family: Arial, sans-serif;
}
canvas { display: block; }

/* 入口页面样式 */
#entryScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000, #1a0033);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #fff;
    transition: opacity 0.5s ease-out;
}

#entryText {
    font-size: 2rem;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.7),
                 0 0 20px rgba(255, 105, 180, 0.5),
                 0 0 30px rgba(255, 105, 180, 0.3);
    animation: pulse 1.5s infinite alternate;
    margin-bottom: 20px;
}

@keyframes pulse {
    from { opacity: 0.7; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1.02); }
}

#entryHint {
    font-size: 1rem;
    opacity: 0.7;
    text-align: center;
    margin-top: 30px;
}

/* 星星背景动画 */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    animation: twinkle 1s infinite alternate;
}

@keyframes twinkle {
    from { opacity: 0.2; }
    to { opacity: 0.8; }
}

/* 3D场景容器样式 */
#sceneContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in;
}

/* 渐显覆盖层 */
#fadeOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 1;
    z-index: 999;
    pointer-events: none;
    transition: opacity 1.2s ease-out;
}
  .floating-button {
        z-index: 10001;
        position: fixed;
        bottom: 10vh;
        right: 0px;
        background-color:#00000061;
        color: white;
        padding: 10px 15px;
        border: none;
        border-radius: 5px 0px 0px 5px;
        cursor: pointer;
        font-size: 14px;
        font-weight: bold;
        opacity: 0.5;
        text-transform: uppercase;
        letter-spacing: 1px;
        /*z-index: 999;*/
        transition: transform 0.3s ease-in-out;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    .floating-button a {
        color: inherit;
        text-decoration: none;
    }
    .vertical-text {
        writing-mode: vertical-rl;
        text-align: center;
        margin-left: -13px;
        padding: 5px;
    }