:root{
  --brandA:#6C5CE7; /* 紫色渐变起点 */
  --brandB:#A363D9; /* 紫色渐变终点 */
  --text:#0f1222;
  --card:#ffffff;
  --muted:#5b5f73;
  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,Apple Color Emoji,Segoe UI Emoji;
  color:var(--text);
  background:linear-gradient(135deg,var(--brandA),var(--brandB));
  background-attachment: fixed;
  /* 添加背景过渡动画 */
  transition: background 0.4s ease;
  /* 添加动态渐变背景动画 */
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  /* 添加毛玻璃效果的基础 */
  position: relative;
  overflow-x: hidden;
}
/* 动态渐变背景动画 */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* 添加动态光效层 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
  animation: lightMove 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
/* 光效移动动画 */
@keyframes lightMove {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1) rotate(0deg);
  }
  25% {
    opacity: 0.6;
    transform: scale(1.1) rotate(90deg);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.9) rotate(180deg);
  }
  75% {
    opacity: 0.7;
    transform: scale(1.05) rotate(270deg);
  }
}
.container{
  max-width:900px;
  margin:0 auto;
  padding:40px 20px;
  position: relative;
  z-index: 2;
}
h1{
  color:white;
  text-shadow:0 2px 16px rgba(0,0,0,.15);
  margin:0 0 10px;
  font-size: clamp(24px, 5vw, 40px);
}
.container>p{
  color:#eef0ff;
  margin:0 0 28px;
}
.card{
  background:rgba(255, 255, 255, 0.15); /* 半透明白色背景 */
  backdrop-filter: blur(20px); /* 毛玻璃效果 */
  -webkit-backdrop-filter: blur(20px); /* Safari 兼容 */
  border-radius:var(--radius);
  box-shadow:0 8px 32px rgba(0,0,0,0.1); /* 增强阴影 */
  padding:22px;
  margin:18px 0;
  border: 1px solid rgba(255, 255, 255, 0.2); /* 半透明边框 */
  position: relative;
  overflow: hidden;
}
/* 卡片内部光效 */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: cardShine 3s ease-in-out infinite;
}
@keyframes cardShine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
.card h2{
  margin:0 0 10px;
  position: relative;
  z-index: 1;
}
.card p{
  color:var(--muted);
  position: relative;
  z-index: 1;
}
/* 按钮组样式 */
.button-group{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
button{
  border:none;
  background:rgba(0, 0, 0, 0.8); /* 半透明黑色背景 */
  backdrop-filter: blur(10px); /* 毛玻璃效果 */
  -webkit-backdrop-filter: blur(10px);
  color:white;
  padding:12px 16px;
  border-radius:12px;
  cursor:pointer;
  box-shadow:0 4px 16px rgba(0,0,0,0.2);
  /* 添加过渡动画效果 */
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
button:hover{
  background:rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
  box-shadow:0 6px 20px rgba(0,0,0,0.3);
}
/* 添加按钮点击时的缩放动效 */
button:active{
  transform: scale(0.95) translateY(0);
}
/* 按钮光效 */
button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
button:hover::before {
  left: 100%;
}
.links{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.link{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255, 255, 255, 0.2); /* 增强毛玻璃效果 */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color:#15172a;
  text-decoration:none;
  box-shadow:0 4px 16px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}
.link:hover{
  background:rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow:0 6px 20px rgba(0,0,0,0.15);
}