
/* 页面整体样式 */
body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #0A2463, #8A2BE2);
  color: #E0E0E0;
  line-height: 1.6;
  margin: 0;
  padding: 20px;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif;
  color: #FFD700;
  margin-top: 30px;
}
p, li, td {
  font-size: 16px;
  color: #E0E0E0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.card {
  background-color: #1F1F1F;
  border-radius: 15px;
  box-shadow: 8px 8px 15px rgba(0, 0, 0, 0.6), 
              -8px -8px 15px rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  width: calc(33.33% - 20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.6);
}
.button {
  background-color: #FFD700;
  color: #1F1F1F;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.button:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.6);
}
.button:active {
  background-color: #E0E0E0;
  color: #0A2463;
}
pre {
  background-color: #0A2463;
  padding: 15px;
  border-radius: 10px;
  overflow-x: auto;
}
code {
  color: #00FF7F;
  font-size: 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
th, td {
  border: 1px solid #8A2BE2;
  padding: 10px;
  text-align: center;
}
th {
  background-color: #8A2BE2;
  color: #1F1F1F;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: #00FF7F;
  border-radius: 50%;
  animation: float 5s infinite ease-in-out;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@media (max-width: 768px) {
  .card {
    width: 100%;
  }
  .button {
    font-size: 14px;
    padding: 8px 16px;
  }
}

