/* 政策页面样式 */
.policy-header {
    text-align: center; /* 文字居中对齐 */
    padding: 40px 20px; /* 内边距设置 */
    position: relative; /* 相对定位 */
}

.policy-content {
    max-width: 800px; /* 最大宽度 */
    margin: 0 auto 40px; /* 自动水平外边距和向下外边距 */
    padding: 30px; /* 内边距 */
    line-height: 1.8; /* 行高 */
    background: rgba(255, 255, 255, 0.1); /* 背景色 */
    border-radius: 15px; /* 圆角 */
    backdrop-filter: blur(10px); /* 背景模糊效果 */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); /* 阴影效果 */
}

.policy-content section {
    margin-bottom: 40px; /* 下外边距 */
    text-align: left; /* 文字左对齐 */
}

.policy-content h2 {
    color: var(--text-color-dark); /* 文字颜色 */
    margin-bottom: 20px; /* 下外边距 */
    font-size: 1.5em; /* 字体大小 */
}

.policy-content ul {
    padding-left: 25px; /* 左内边距 */
}

.policy-content li {
    margin-bottom: 15px; /* 下外边距 */
}

.policy-content p {
    margin-bottom: 15px; /* 下外边距 */
}

.back-button {
    position: absolute; /* 绝对定位 */
    left: 20px; /* 左边距 */
    top: 20px; /* 上边距 */
    padding: 10px 20px; /* 内边距 */
    color: var(--text-color-dark); /* 文字颜色 */
    text-decoration: none; /* 去掉下划线 */
    background: rgba(255, 255, 255, 0.1); /* 背景色 */
    border-radius: 8px; /* 圆角 */
    backdrop-filter: blur(5px); /* 背景模糊效果 */
    transition: all 0.3s ease; /* 平滑过渡效果 */
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2); /* 悬停背景色 */
    transform: translateY(-2px); /* 悬停位移 */
}

.policy-footer {
    text-align: center; /* 文字居中对齐 */
    padding: 20px; /* 内边距 */
    margin-top: 40px; /* 上外边距 */
}

/* 玻璃效果 */
.glass-effect {
    background: rgba(255, 255, 255, 0.1); /* 背景色 */
    backdrop-filter: blur(10px); /* 背景模糊效果 */
    -webkit-backdrop-filter: blur(10px); /* 支持Safari浏览器 */
    border: 1px solid rgba(255, 255, 255, 0.18); /* 边框 */
}

/* 适配浅色主题 */
.light-theme .policy-content {
    background: rgba(255, 255, 255, 0.8); /* 背景色 */
    color: #333; /* 文字颜色 */
}

.light-theme .back-button {
    background: rgba(255, 255, 255, 0.8); /* 背景色 */
    color: #333; /* 文字颜色 */
}

.light-theme .policy-content h2 {
    color: #333; /* 文字颜色 */
}

/* 响应式适配 */
@media (max-width: 768px) {
    .policy-content {
        margin: 20px; /* 外边距 */
        padding: 20px; /* 内边距 */
    }
    
    .policy-header h1 {
        font-size: 1.8em; /* 字体大小 */
    }
}