
/* 全局样式 */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(to bottom, #0F2027, #1A2B34);
  color: #C0C5CE;
  line-height: 1.6;
  overflow-x: hidden;
}
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1440px;
  margin: auto;
}
.header {
  text-align: center;
  padding: 40px 20px;
  background: rgba(15, 32, 39, 0.8);
  position: relative;
}
.header h1 {
  font-size: 48px;
  font-weight: bold;
  color: #1E90FF;
  text-shadow: 0 0 10px rgba(30, 144, 255, 0.5);
}
.header p {
  font-size: 18px;
  color: #98FB98;
}
.section {
  background: rgba(15, 32, 39, 0.8);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.section h2 {
  color: #1E90FF;
  font-size: 32px;
  margin-bottom: 20px;
}
.section p {
  font-size: 16px;
  line-height: 1.8;
}
.code-block {
  background: #0F2027;
  color: #C0C5CE;
  padding: 15px;
  border-radius: 5px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  overflow-x: auto;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.image-grid img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
}
.button {
  background: #1E90FF;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  font-size: 16px;
  border-radius: 5px;
}
.button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px #1E90FF;
}
@media (max-width: 768px) {
  .header h1 {
    font-size: 36px;
  }
  .section h2 {
    font-size: 28px;
  }
  .code-block {
    font-size: 12px;
  }
}
@media (max-width: 480px) {
  .header h1 {
    font-size: 28px;
  }
  .section h2 {
    font-size: 24px;
  }
  .container {
    grid-template-columns: 1fr;
  }
}

