body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('./bg/placeholder.png'); /* 占位符，实际图片将由JavaScript设置 */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #333;
}

.hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.5s, opacity 0.5s linear;
}

#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header {
    background-color: transparent; /* 移除半透明背景色 */
    color: white;
    padding: 30px 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 3em;
    font-family: '宋体', SimSun, serif; /* 修改字体为宋体 */
}

header p {
    margin: 15px 0;
    font-size: 1.5em;
}

nav {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    background-color: transparent; /* 修改为完全透明背景色 */
    backdrop-filter: none; /* 移除毛玻璃效果 */
    padding: 0; /* 移除内边距 */
    border-radius: 0; /* 移除圆角 */
}

.nav-buttons {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.nav-buttons li {
    background-color: transparent; /* 保持透明背景色 */
    backdrop-filter: blur(10px); /* 添加毛玻璃效果 */
    border: 1px solid #bdc3c7;
    border-radius: 10px;
    padding: 30px; /* 增大内边距 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex; /* 使用flex布局 */
    flex-direction: row; /* 水平排列 */
    align-items: center; /* 竖直居中 */
    justify-content: space-between; /* 图标靠左，文字靠右 */
    width: 250px; /* 增大宽度 */
    transition: transform 0.2s ease, background-color 0.2s ease; /* 添加背景颜色过渡 */
}

.nav-buttons a {
    text-decoration: none;
    color: white; /* 修改为白色 */
    font-family: 'Arial', sans-serif; /* 修改字体为Arial */
    font-weight: bold; /* 添加加粗 */
    font-size: 24px; /* 调整为24px */
    text-align: right; /* 文字靠右 */
    transition: color 0.2s ease; /* 添加颜色过渡 */
}

.nav-buttons a:hover {
    color: #ffcc00; /* 悬停时文字颜色变为亮黄色 */
}

.nav-buttons li:hover {
    background-color: rgba(255, 255, 255, 0.1); /* 悬停时背景颜色变为半透明白色 */
    transform: scale(1.05); /* 悬停时稍微放大 */
}

.nav-buttons .nav-icon {
    max-width: 60px;
    max-height: 60px;
    width: 60px; /* 固定宽度 */
    height: 60px; /* 固定高度 */
    margin-right: 10px; /* 图标与文字间距 */
}

#time-display {
    height: 170px;
    position: relative;
    margin-left: 1100px; /* 修改: 设置左边距为600px */
    margin-right: 280px;
    font-size: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 10px;
    margin-top: -187px;
    color: white;
    font-family: 'Comic Sans MS', Arial, sans-serif; /* 修改: 更改为更美观的字体 */
}

#hitokoto-container {
    position: relative;
    text-align: left; /* 修改为靠左对齐 */
    margin: 20px 0;
    padding-left: 290px; /* 添加左内边距，使其与“南凤音乐”按钮对齐 */
}

#hitokoto-text {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 15px 30px; /* 增加内边距 */
    font-size: 24px; /* 增加字体大小 */
    cursor: pointer;
    border-radius: 10px; /* 增加圆角 */
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    text-align: left; /* 修改为靠左对齐 */
    margin-bottom: 10px; /* 添加底部间距 */
}

#hitokoto-button {
    width: 1335px;
    background-color: transparent;
    border: none; /* 修改为无边框 */
    color: white;
    padding: 10px 20px;
    font-size: 40px; /* 修改为40px */
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: '楷体', STKaiti, serif; /* 修改字体为楷体 */
    backdrop-filter: blur(10px); /* 添加毛玻璃效果 */
}

#hitokoto-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffcc00;
}

#copy-server-address {
    background-color: transparent;
    border: 1px solid rgb(95, 195, 241);
    color: white;
    padding: 10px 20px;
    font-size: 30px; /* 根据需要调整字体大小 */
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
    backdrop-filter: blur(10px); /* 添加毛玻璃效果 */
    margin-top:47px; /* 修改: 增加上边距，向下移动按钮 */
    margin-left: 290px; /* 添加左边距，向右移动290px */
}

#copy-server-address:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffcc00;
    transform: scale(1.05); /* 添加悬停时的缩放效果 */
}

#utopia-link-container {
    padding-left: 290px; /* 添加左内边距，使其与“南凤音乐”按钮对齐 */
    margin-top: 60px; /* 减少上边距，使按钮往上移动一些 */
}

#utopia-link {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    font-size: 40px; /* 修改为40px */
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
    backdrop-filter: blur(10px); /* 添加毛玻璃效果 */
    text-decoration: none; /* 移除下划线 */
    display: inline-block; /* 确保按钮样式正确 */
    margin-top: 0; /* 添加上边距 */
}

#utopia-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffcc00;
    transform: scale(1.05); /* 添加悬停时的缩放效果 */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#hitokoto-text.fade-in {
    animation: fadeIn 0.5s ease;
}

footer {
    background-color: transparent; /* 移除半透明背景色 */
    color: white;
    text-align: center;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    backdrop-filter: none; /* 修改为完全透明 */
}