
/* 全局样式设置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #0A1F44, #E0F7FA);
  color: #fff;
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  padding: 20px;
  background: linear-gradient(to right, #9C27B0, #00BCD4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  transition: all 0.3s ease;
  flex: 1 1 calc(33.333% - 20px);
  min-width: 300px;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.icon {
  width: 24px;
  height: 24px;
  border: 2px solid #00BCD4;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 2px;
  background-color: #00BCD4;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

th, td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

th {
  background: linear-gradient(to right, #9C27B0, #00BCD4);
  color: #fff;
}

pre {
  background: rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
}

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

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

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .container {
    padding: 10px;
  }
}

