body {
    font-family: 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', sans-serif;
    font-weight: 700;
    cursor: url('/Resources/Static/Image/Pointer/Main.png'), auto;
}
a:hover, button:hover, .clickable:hover ,.logo:hover {
    cursor: url('/Resources/Static/Image/Pointer/Link.png'), pointer;
}
* {
    user-drag: none;           /* 标准写法 */
    -webkit-user-drag: none;   /* Safari/Chrome 兼容 */
}

/* 禁止所有元素选中（文字、图片等） */
* {
    user-select: none;         /* 标准写法 */
    -webkit-user-select: none; /* Safari/Chrome 兼容 */
    -moz-user-select: none;    /* Firefox 兼容 */
    -ms-user-select: none;     /* IE/Edge 兼容 */
}



html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;  /* 使用fixed确保不随内容滚动 */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/Resources/Static/Image/mainBg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    filter: blur(4px);  /* 模糊效果 */
    z-index: -2;  /* 置于最底层 */
    transform: scale(1.02);  /* 消除模糊边缘 */
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;  /* 在模糊层上方，内容下方 */
}
body > * {
    position: relative;  /* 创建新的层叠上下文 */
    filter: blur(0);
}

.main-container {
    margin-top: 70px;  /* 关键修改：用margin替代padding */
    margin-left: 20px;  /* 左右间距适当减小 */
    margin-right: 20px;
    margin-bottom: 10px;
    padding: 20px;  /* 内部留白 */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative; /* 确保层级 */
    z-index: 1; /* 高于背景但低于导航栏 */
}


/*--------------------------------------特效----------------------------------------*/
.ripple {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, rgba(221,137,182,0.8), rgba(255,179,222,0.6));
    border-radius: 50%;
    transform: scale(0);
    pointer-events: none;
    animation: ripple 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
    box-shadow: 0 0 10px rgba(221,137,182,0.3);
}

@keyframes ripple {
    0% {
        transform: scale(0.2);
        opacity: 1;
    }
    70% {
        transform: scale(1.5);
        opacity: 0.7;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}
/*--------------------------------------特效----------------------------------------*/