
/* 全局样式定义 */
body {
  background: linear-gradient(135deg, #8e9eab, #eef2f3);
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  letter-spacing: 0.5px;
  margin: 0;
  padding: 0;
  color: #4a4a4a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  color: #333333;
  font-weight: bold;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-top: 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.module {
  width: calc(50% - 20px);
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

@media (max-width: 768px) {
  .module {
    width: 100%;
  }
}

code {
  background-color: #f0f0f0;
  padding: 5px 10px;
  border-radius: 5px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  display: block;
  white-space: pre-wrap;
  overflow-x: auto;
  margin: 10px 0;
}

pre {
  background-color: #2d2d2d;
  color: #ffffff;
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
}

button {
  background-color: #6c63ff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

button:hover {
  background-color: #534bae;
}

.card {
  width: 100%;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  margin-bottom: 20px;
}

.card img {
  width: 100%;
  height: auto;
}

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #ff7f50;
  border-radius: 50%;
  animation: float 5s infinite ease-in-out;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

table th, table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

table th {
  background-color: #f2f2f2;
}

.parallax {
  background-image: url('https://images.gptkong.com/demo/sample1.png');
  height: 300px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 20px 0;
}

.notice {
  text-align: center;
  font-size: 1.2rem;
  color: #6c63ff;
  margin: 20px 0;
}

