/* 背景样式 - 渐变淡蓝色 */
body {
    background: linear-gradient(to bottom, #a7c7f1, #e0efff);  /* 淡蓝色渐变背景 */
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial;
    min-height: 100vh;
    margin: 0;
}

/* 简介部分 - 液态玻璃效果 */
header {
    background: rgba(255, 255, 255, 0.7);  /* 半透明白色背景 */
    backdrop-filter: blur(10px);  /* 背景模糊效果 */
    -webkit-backdrop-filter: blur(10px); /* 支持 Safari */
    border-radius: 15px;  /* 圆角 */
    padding: 2rem 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* 增加阴影 */
}

/* 标题部分样式 */
header img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    /* margin-bottom: 1rem; */
}

header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}

header p {
    font-size: 1.1rem;
    color: #555;
}

/* 表单样式 */
form {
    margin: 1rem 0;
}

/* 输入框样式 */
input[type="text"] {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus {
    border-color: #4CAF50;
    outline: none;
}

/* 按钮样式 */
button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
}

button:hover {
    background-color: #45a049;
}

button:active {
    background-color: #3e8e41;
}

/* 歌单展示 */
#song-list-1, #song-list-2 {
    margin-top: 2rem;
}

#song-list-table-1, #song-list-table-2 {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

#song-list-table-1 th, #song-list-table-2 th, #song-list-table-1 td, #song-list-table-2 td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#song-list-table-1 th, #song-list-table-2 th {
    background-color: #f2f2f2;
}

/* 显示计算结果 */
#average-result {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#average-result p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* 页脚样式 */
footer {
    background-color: #f8f9fa;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: #4CAF50;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* 页脚链接 */
footer a {
    color: #4CAF50;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* 使页面适应不同的屏幕大小 */
main {
    margin: 0 auto;
    padding: 1rem;
    max-width: 1200px;
}

