/* ===== 首页专属样式：深紫渐变背景、canvas 定位、底部留空 ===== */
/* ===== 首页专属样式 ===== */
html,
body {
    margin: 0px;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: 
        linear-gradient(
            180deg,
            #0d0020 0%,
            #150030 8%,
            #1a0035 18%,
            #12002a 30%,
            #0a0018 45%,
            #000008 60%,
            #000000 78%,
            #000000 100%
        );
    background-attachment: scroll;
}

#canvas {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* 底部留空，让渐变背景可滚动展现 */
#page-wrapper {
    padding-bottom: 60vh;
}

/* ===== 移动端适配 ===== */
@media (max-width: 768px) {
    html, body {
        overflow: hidden !important;
        height: 100% !important;
        width: 100% !important;
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
    }
    #page-wrapper {
        height: 100%;
        overflow: hidden;
        padding-bottom: 0;
    }
    #canvas {
        width: 100%;
        height: 100%;
        position: absolute;
    }
    section {
        min-height: 100vh;
        height: 100vh;
    }
    /* Explore 按钮：固定在屏幕底部居中（避开底部抽屉把手） */
    #btn {
        position: fixed !important;
        bottom: 18vw !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        font-size: 4vw !important;
        padding: 2.5vw 10vw !important;
        z-index: 50 !important;
    }
}
