
/* 基本样式 */
body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, #1a1a42, #000000);
  color: #ffffff;
  line-height: 1.6;
}

/* 容器 */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 标题样式 */
h1, h2, h3, h4 {
  font-family: 'Roboto', sans-serif;
  color: #00ff88;
  text-transform: uppercase;
  margin-bottom: 20px;
}

h1 {
  font-size: 3rem;
  text-align: center;
  margin-top: 40px;
}

h2 {
  font-size: 2.5rem;
  border-bottom: 2px solid #00ccff;
  padding-bottom: 10px;
}

h3 {
  font-size: 2rem;
  margin-top: 40px;
}

h4 {
  font-size: 1.5rem;
  margin-top: 30px;
}

/* 段落样式 */
p {
  font-size: 1rem;
  color: #cccccc;
  margin-bottom: 20px;
}

/* 代码块样式 */
pre {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 20px;
}

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

/* 表格样式 */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th, td {
  border: 1px solid #00ccff;
  padding: 10px;
  text-align: left;
}

th {
  background: rgba(0, 255, 136, 0.2);
}

td {
  background: rgba(255, 255, 255, 0.05);
}

/* 列表样式 */
ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 10px;
}

/* 按钮样式 */
.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00ff88;
  color: #000000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.button:hover {
  transform: scale(1.1);
  background-color: #00ccff;
}

/* 图片样式 */
img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 10px;
  margin: 10px 0;
}

/* 链接样式 */
a {
  color: #00ff88;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* 样式参考提示 */
.reference-note {
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-left: 5px solid #00ff88;
  margin: 20px 0;
  font-style: italic;
}

/* 响应式设计 */
@media (max-width: 1440px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  h4 {
    font-size: 1.25rem;
  }
}

@media (max-width: 1200px) {
  .container {
    width: 95%;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 15px;
  }

  img {
    max-width: 280px;
  }
}

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

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1rem;
  }

  pre {
    padding: 10px;
  }
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h4 {
    font-size: 0.875rem;
  }

  .button {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  table, th, td {
    font-size: 0.9rem;
  }

  img {
    max-width: 240px;
  }
}

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

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  h4 {
    font-size: 0.75rem;
  }

  .container {
    padding: 10px;
  }

  .button {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  table, th, td {
    font-size: 0.8rem;
  }

  img {
    max-width: 200px;
  }
}

