/* 设置全局样式 */
body {
    font-family: Arial, sans-serif; /* 字体设置 */
    background-color: #f0f7fc; /* 背景色设置 */
    color: #333; /* 文字颜色设置 */
    margin: 0; /* 取消外边距 */
    padding: 0; /* 取消内边距 */
}

/* 设置容器样式 */
.container {
    max-width: 800px; /* 最大宽度 */
    margin: 20px auto; /* 上下外边距20px，左右居中 */
    padding: 20px; /* 内边距20px */
    background-color: #fff; /* 背景颜色 */
    border-radius: 10px; /* 圆角边框 */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* 阴影效果 */
}

/* 设置标题样式 */
h1 {
    text-align: center; /* 文字居中 */
    color: #3498db; /* 标题文字颜色 */
}

/* 设置链接列表样式 */
.link-list {
    list-style-type: none; /* 去掉列表前的默认样式 */
    padding: 0; /* 去掉内边距 */
}

.link-list li {
    margin-bottom: 10px; /* 列表项之间的间距 */
}

.link-list li a {
    display: block; /* 链接块级显示 */
    padding: 10px; /* 内边距10px */
    background-color: #3498db; /* 背景颜色 */
    color: #fff; /* 文字颜色 */
    text-decoration: none; /* 去掉下划线 */
    border-radius: 5px; /* 圆角边框 */
    text-align: center; /* 文字居中 */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* 添加过渡效果 */
}

.link-list li a:hover {
    background-color: #2980b9; /* 悬停时背景颜色 */
    transform: translateY(-5px); /* 向上浮动效果 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* 浮动时的阴影效果 */
}

/* 设置通知样式 */
.notification {
    margin-top: 20px; /* 上外边距 */
    padding: 15px; /* 内边距15px */
    background-color: #eaf2f8; /* 背景颜色 */
    border-left: 6px solid #3498db; /* 左边框颜色 */
}

/* 弹窗样式 */
.cookie-banner {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 50%; /* 垂直居中 */
    left: 50%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 使元素在垂直和水平中心 */
    width: 80%;
    max-width: 600px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1001;
    text-align: center; /* 文字居中 */
}

.cookie-banner p {
    margin: 0;
    padding: 0;
    font-size: 16px;
}

.cookie-banner button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.cookie-banner .accept {
    background-color: #3498db;
    color: #fff;
}

.cookie-banner .reject {
    background-color: #e74c3c;
    color: #fff;
}

.cookie-banner .accept:hover {
    background-color: #2980b9;
}

.cookie-banner .reject:hover {
    background-color: #c0392b;
}

/* 模糊背景样式 */
.blur-background {
    display: none; /* 默认隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4); /* 减少透明度 */
    backdrop-filter: blur(4px); /* 设置毛玻璃效果 */
    z-index: 1000;
    pointer-events: all; /* 允许点击 */
}
