/* 全局样式 */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

/* 幻灯片部分 */
#slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* 暗度覆盖层 */
#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* 中间Logo */
#logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}
/* 动态脉动效果 */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1); /* 正常大小 */
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1); /* 稍微放大 */
    }
    100% {
        transform: translate(-50%, -50%) scale(1); /* 恢复原大小 */
    }
}

/* 主 Logo 样式（保持居中） */
#logo {
    width: 150px; /* 控制 Logo 大小 */
    height: auto;
    cursor: pointer; /* 鼠标悬停显示手型 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s infinite; /* 3秒一循环，循环无限次 */
    animation-timing-function: ease-in-out; /* 动画缓入缓出 */
}


/* 菜单部分的样式（隐藏状态） */
#menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
#menu a {
    color: white; /* 文字颜色为白色 */
    text-decoration: none; /* 去除下划线 */
}

#menu a:hover {
    color: rgb(247, 255, 16); /* 悬停时保持白色 */
    text-decoration: none; /* 无下划线 */
}

/* Menu 内的文字样式 */
#menu span {
    color: white; /* 文字颜色为白色 */
    text-decoration: none; /* 确保没有下划线 */
}

/* Menu 内 hover 效果（可选） */
#menu .menu-item:hover span {
    color: rgb(247, 255, 16); /* 悬停时保持白色 */
    text-decoration: none; /* 悬停时仍无下划线 */
}
/* 隐藏菜单 */
.hidden {
    display: none;
}

/* 小 Logo 样式 */
.mini-logo {
    width: 50px;
    height: auto;
    margin-bottom: 5px;
}

/* 菜单项的样式 */
.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
    cursor: pointer;
}


/* 左下角简介 */
#intro {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 1rem;
    max-width: 300px;
    line-height: 1.5;
}
