/* 基础页面样式 */
body, html { 
    height: 100%; 
    margin: 0;
    padding: 0;
}

/* 页面主体样式 */
body {
    height: 100%;
    background-color: rgba(25,25,25,1); /* 深色背景 */
    overflow: hidden; /* 隐藏滚动条 */
}

/* 黑洞容器样式 */
#blackhole {
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
}

/* 中心悬浮按钮样式 */
.centerHover {
    width: 255px;
    height: 255px;
    background-color: transparent;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -128px;
    margin-left: -128px;
    z-index: 2;
    cursor: pointer; /* 鼠标手型 */
    line-height: 255px;
    text-align: center; /* 文字居中 */
    transition: all 500ms; /* 过渡动画 */
}

/* 打开状态样式 */
.centerHover.open {
    opacity: 0; /* 完全透明 */
    pointer-events: none; /* 禁用交互 */
}

.centerHover:hover span {
    color: #DDD;
}

.centerHover:hover span:before { 
    background-color: #DDD; 
}

/* 文字样式 */
.centerHover:hover span:after { 
    background-color: #DDD; 
}

.centerHover span {
    color: #666; /* 初始文字颜色 */
    font-family: serif; /* 衬线字体 */
    font-size: 18px;
    position: relative;
    transition: all 500ms;
}

.centerHover span:before {
    content: '';
    display: inline-block;
    height: 1px;
    width: 16px;
    margin-right: 12px;
    margin-bottom: 4px;
    background-color: #666; /* 初始装饰线颜色 */
    transition: all 500ms;
}

.centerHover span:after {
    content: '';
    display: inline-block;
    height: 1px;
    width: 16px;
    margin-left: 12px;
    margin-bottom: 4px;
    background-color: #666; /* 初始装饰线颜色 */
    transition: all 500ms;
}

/* 画布样式 */
canvas {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: auto;
}

/* 登录框样式 - 使用login页面的样式 */
#login-box {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#login-box.show {
    opacity: 1;
}

.centerHover span:after {
    content: '';
    display: inline-block;
    height: 1px;
    width: 16px;
    margin-left: 12px;
    margin-bottom: 4px;
    background-color: #666;
    transition: all 500ms;
}

canvas {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: auto;
}