
/* 全局样式 */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #00008B, #4B0082);
  color: #FFD700;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Bodoni', serif;
  text-shadow: 0 0 10px #FFD700;
}

p, li {
  color: #E0FFFF;
}

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

a:hover {
  color: #FFD700;
}

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

.header {
  background: linear-gradient(to right, #00008B, #4B0082);
  padding: 20px;
  text-align: center;
  color: #FFD700;
  position: relative;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover;
  opacity: 0.2;
  z-index: -1;
}

.section {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.image-grid img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.1);
}

.button {
  background: #FFA500;
  color: #000;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.button:hover {
  animation: glow 1s infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 10px #FFD700; }
  to { box-shadow: 0 0 20px #FFD700; }
}

.code-block {
  background: #000;
  color: #FFD700;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
}

@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .header {
    font-size: 1.5rem;
  }

  .section {
    padding: 15px;
  }
}

