
/* 全局样式 */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #000033, #1a1a40);
  color: #ffffff;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  color: #6c63ff;
}
p {
  font-size: 1rem;
  color: #d4d4d4;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.grid-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
code {
  background: #000033;
  color: #00ff7f;
  padding: 5px;
  border-radius: 5px;
  font-size: 0.9rem;
}
pre {
  background: #000033;
  padding: 15px;
  border-radius: 10px;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
th, td {
  border: 1px solid #444;
  padding: 10px;
  text-align: left;
}
th {
  background: #6c63ff;
  color: #fff;
}
td {
  background: rgba(255, 255, 255, 0.1);
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1a1a1a;
  color: white;
  padding: 10px;
  z-index: 1000;
  text-align: center;
}
.particle-container {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, #000033, #000066);
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: float 5s infinite ease-in-out;
}
@keyframes float {
  0% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-50px) scale(1.2); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 0.7; }
}
.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@media (max-width: 600px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
  pre {
    font-size: 0.8rem;
  }
}

