
/* 全局样式定义 */
body {
  margin: 0;
  font-family: 'Roboto Mono', monospace;
  background: linear-gradient(135deg, #00008B, #8A2BE2, #00FF7F);
  background-size: cover;
  color: #fff;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

header {
  text-align: center;
  padding: 40px 0;
  background: rgba(0, 0, 0, 0.5);
}

header h1 {
  font-family: 'Neometric', sans-serif;
  font-weight: bold;
  color: #FFD700;
  font-size: 3rem;
}

.module {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.module:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.module img {
  width: 100%;
  border-radius: 10px;
}

button {
  background: linear-gradient(90deg, #FF4500, #FFFF00);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: 'Roboto Mono', monospace;
}

button:hover {
  background: linear-gradient(90deg, #FFFF00, #FF4500);
}

code {
  background: rgba(0, 0, 0, 0.7);
  color: #00FF7F;
  padding: 5px;
  border-radius: 5px;
  display: block;
  overflow-x: auto;
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.05);
}

@keyframes move {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
}

.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: white;
  border-radius: 50%;
  animation: move 3s infinite;
}

@media (max-width: 768px) {
  .module {
    padding: 15px;
    font-size: 14px;
  }

  header h1 {
    font-size: 2rem;
  }
}

