
/* 基础样式与背景渐变 */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #000033, #330066);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 提示信息样式 */
.notice {
  text-align: center;
  font-size: 14px;
  color: #cccccc;
  margin: 10px 0;
}

/* 头部标题设计 */
header {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

header h1 {
  font-size: 3em;
  font-weight: bold;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
  z-index: 2;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10.01%) 0 0,
              radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10.01%) 50px 50px;
  background-size: 100px 100px;
  animation: moveParticles 10s linear infinite;
  z-index: 1;
}

@keyframes moveParticles {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-50%, -50%); }
}

/* 卡片模块设计 */
.card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  margin: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9em;
  color: #cccccc;
}

/* 按钮交互设计 */
button {
  background-color: #6600cc;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #330066;
  transform: scale(1.1);
}

/* 导航栏设计 */
.navbar {
  display: flex;
  justify-content: space-around;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #6600cc;
}

/* 响应式布局调整 */
@media (max-width: 768px) {
  header h1 {
    font-size: 2em;
  }

  .card {
    width: 100%;
    margin: 10px 0;
  }

  .navbar {
    flex-direction: column;
  }
}

@media (min-width: 1024px) {
  .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* 代码块样式 */
pre {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
}

code {
  color: #66ccff;
}

/* 图片装饰样式 */
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 10px 0;
}

