/* 组件样式CSS文件 */


/* 导航菜单样式 */
.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    padding: 15px;
    display: flex;
    gap: 10px;
    z-index: 9998; /* 略低于浮动按钮但高于其他内容 */
    align-items: center;
}

/* 导航按钮通用样式 */
.nav-btn {
    background-color: rgba(0, 123, 255, 0.8); /* 半透明蓝色 */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px); /* 添加毛玻璃效果 */
}

.nav-btn:hover {
    background-color: rgba(0, 123, 255, 1); /* 悬停时不透明 */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 首页和关于按钮的特殊样式（可根据需要调整） */
.nav-home,
.nav-about {
    background-color: rgba(40, 167, 69, 0.8); /* 半透明绿色 */
}

.nav-home:hover,
.nav-about:hover {
    background-color: rgba(40, 167, 69, 1); /* 悬停时不透明 */
}

/* 占位按钮的样式 */
.nav-x01,
.nav-x02,
.nav-x03 {
    opacity: 0.7; /* 占位按钮稍微透明一些 */
}








/* --------------------------------------------------------------------------------------------- */
/* 浮动按钮容器样式 */
.float-buttons {
    position: fixed;
    bottom: 80px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

/* 浮动按钮通用样式 */
.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 页脚样式 */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    z-index: 1000;
}

/* 运行时间样式 */
.runtime {
    font-size: 12px; 
    font-style: italic;
    margin-top: 5px;
    opacity: 0.9;
}