/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 页面主体样式 */
body {
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* 背景画布样式 - 固定定位，全屏显示 */
#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* 内容容器样式 */
.content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* 标题样式 */
.content h1 {
    font-size: 3rem;
    font-weight: bold;
}

/* 顶部导航栏样式 - 半透明乳白色 */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(255, 255, 240, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-end;
    padding: 0 20px 0 20px;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Logo图片样式 */
.logo-img {
    width: 90px; /* 适当增大尺寸，可根据需求调整 */
    height: 90px; /* 宽高保持一致，保证圆形 */
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    margin-top: 15px; /* 减小margin-top，让图片整体下移，完整显示 */
    border: 2px solid rgba(255, 165, 0, 0.4);
    /* 可选：添加position微调，确保兼容性 */
    position: relative;
    top: 5px; /* 若margin调整后仍需微调，可增加top值下移 */
}

/* 网站标题样式 */
.site-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* 左侧导航栏样式 */
.side-nav {
    position: fixed;
    top: 80px;
    left: 20px;
    width: 120px;
    background-color: rgba(255, 255, 240, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px 0;
    z-index: 99;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 导航项样式 */
.nav-item {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

/* 导航项悬停效果 */
.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.5);
    border-left-color: #ff8c00;
    transform: translateX(5px);
}

/* 中文文本样式 */
.zh-text {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 2px;
}

/* 英文文本样式 */
.en-text {
    display: block;
    font-size: 0.7rem;
    color: #666;
}