
/* 基础样式与全局设置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, #000000, #1A1A1A, #4B0082);
  color: #FFFFFF;
  line-height: 1.6;
  letter-spacing: 0.5px;
  overflow-x: hidden;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
h1, h2, h3 {
  font-weight: bold;
  text-transform: uppercase;
  color: #00FFFF;
}
h1 {
  font-size: 36px;
  margin-bottom: 20px;
}
h2 {
  font-size: 30px;
  margin-bottom: 15px;
}
h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
p {
  font-size: 16px;
  margin-bottom: 15px;
}
ul {
  list-style-type: none;
  padding-left: 20px;
}
li {
  margin-bottom: 10px;
}
a {
  color: #FF00FF;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #FFFF00;
}
button {
  background-color: #4B0082;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
button:hover {
  background-color: #00FFFF;
}
code {
  display: block;
  background-color: #1A1A1A;
  padding: 10px;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #00FFFF;
  white-space: pre-wrap;
  word-wrap: break-word;
}
pre {
  margin-bottom: 20px;
}
.item {
  background-color: #1A1A1A;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.image-box {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}
.image-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  body {
    padding: 10px;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 18px;
  }
}

