
/* 全局样式 */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(135deg, #0A1F44, #6C5CE7);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  color: #FFD700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

p {
  color: #BDBDBD;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: #FFD700;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

th, td {
  border: 1px solid #FFD700;
  padding: 0.8rem;
  text-align: left;
}

th {
  background-color: #6C5CE7;
  color: #fff;
}

pre {
  background-color: #0A1F44;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
}

code {
  color: #FFD700;
  font-family: 'Courier New', Courier, monospace;
}

/* 布局样式 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header, .footer {
  background: linear-gradient(90deg, #0A1F44, #6C5CE7);
  width: 100%;
  padding: 1rem 0;
  text-align: center;
}

.content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

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

.image-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.button {
  background-color: #FF6F61;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #FFD700;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .content {
    grid-template-columns: 1fr;
  }

  h1, h2, h3 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }

  pre {
    font-size: 0.8rem;
  }
}

