* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(to bottom, #0f0c29, #302b63, #24243e);
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: white;
}

.scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* 鼠标变成默认，避免在发呆时干扰 */
    cursor: default; 
}

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

.center-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* 让鼠标事件穿透到 Canvas，如果需要交互 */
    user-select: none; /* 禁止选中文本 */
}

.breathing-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    /* 4秒吸气，4秒呼气，共8秒 */
    animation: breathe 8s infinite ease-in-out;
    margin-bottom: 3rem;
}

@keyframes breathe {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
        box-shadow: 0 0 60px rgba(255, 255, 255, 0.5);
    }
    100% {
        transform: scale(0.8);
        opacity: 0.3;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }
}

.fade-text {
    font-size: 1.2rem;
    letter-spacing: 4px;
    font-weight: 300;
    opacity: 0;
    transition: opacity 2s ease;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    height: 1.5em; /* 占位防止跳动 */
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
}

button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
