body {
    margin: 0;
    overflow: hidden;
    background-color: #050505;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: white;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#ui-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直居中 */
    align-items: center;     /* 水平居中 */
    transition: opacity 0.8s ease;
}

/* 内容包装器，加一个半透明背景增加对比度 */
.content-wrapper {
    text-align: center;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 70%);
    padding: 40px;
    border-radius: 20px;
}

h1 {
    font-weight: 200;
    font-size: 4rem;
    margin: 0;
    letter-spacing: 10px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
    background: linear-gradient(to right, #fff, #a1c4fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 15px;
    letter-spacing: 4px;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
    z-index: 10;
    letter-spacing: 2px;
}

#loading {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
}
.loading-text { letter-spacing: 5px; margin-bottom: 20px; font-size: 1.2rem; }
.loading-bar { width: 200px; height: 2px; background: #333; position: relative; overflow: hidden; }
.loading-bar::after {
    content: ''; position: absolute; left: -100%; width: 100%; height: 100%;
    background: white; animation: load 1.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
@keyframes load { 0% { left: -100%; } 100% { left: 100%; } }