
/* 全局样式 */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background: radial-gradient(circle, rgb(25, 39, 52), rgb(17, 27, 38));
  color: #e0e0e0;
  line-height: 1.6;
  animation: aurora-move 15s linear infinite;
}
@keyframes aurora-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* 容器布局 */
.container {
  max-width: 1440px;
  margin: auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* 标题与提示 */
header {
  text-align: center;
  padding: 30px 0;
  position: relative;
  z-index: 10;
}
header h1 {
  font-size: 2.5rem;
  color: #64ffda;
  text-shadow: 0 0 10px rgba(100, 255, 218, 0.7);
}
header p {
  font-size: 1rem;
  color: #c9d1d9;
}

/* 玻璃拟态卡片 */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(100, 255, 218, 0.5);
}

/* 文章排版 */
article {
  grid-column: span 2;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 20px;
  overflow: hidden;
  position: relative;
}
article h2 {
  font-size: 2rem;
  color: #64ffda;
  margin-bottom: 15px;
}
article p, article ul {
  font-size: 1rem;
  color: #c9d1d9;
  margin-bottom: 15px;
}
article code {
  background: rgba(0, 0, 0, 0.5);
  color: #64ffda;
  padding: 5px 10px;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
}
article pre {
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }
  article {
    grid-column: span 1;
  }
}

/* 动效增强 */
.button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #64ffda, #2de0a5);
  color: #0f172a;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.7);
}

/* 图片装饰 */
.decorative-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.decorative-img:hover {
  opacity: 1;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: rgba(100, 255, 218, 0.5);
  border-radius: 10px;
}

