
/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #0A75AD, #6C5CE7);
  color: white;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  padding: 20px;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  color: #38E54D;
}

p, li {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
}

a {
  color: #38E54D;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #6C5CE7;
}

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

.card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.module {
  grid-column: span 4;
}

@media (max-width: 1024px) {
  .module {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .module {
    grid-column: span 12;
  }
}

pre {
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
}

code {
  color: #38E54D;
  font-family: 'Consolas', monospace;
}

.loader {
  position: relative;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #38E54D;
  border-radius: 50%;
  animation: move 5s ease-in-out infinite;
}

@keyframes move {
  0% { transform: translateX(-100px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100px); opacity: 0; }
}

.header {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 20px;
}

.footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
}

