
/* 全局样式 */
body {
  font-family: 'Roboto Mono', monospace;
  background: linear-gradient(135deg, #001f3f, #0074d9, #651fff);
  color: white;
  line-height: 1.8;
  margin: 0;
  padding: 20px;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  color: #ffdc00;
  margin-top: 30px;
  margin-bottom: 15px;
}
p {
  font-size: 1rem;
  margin-bottom: 20px;
}
a {
  color: #00ff7f;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #00ffff;
}
.container {
  max-width: 1200px;
  margin: auto;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.code-block {
  background: #1e1e1e;
  color: #00ff7f;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
}
.table-container table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.table-container th, .table-container td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}
.table-container th {
  background: #0074d9;
  color: white;
}
.side-nav {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}
.side-nav a {
  display: block;
  margin-bottom: 10px;
}
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffdc00;
  color: black;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.back-to-top:hover {
  background: #ffc107;
}
.parallax {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.gptkong.com/demo/sample1.png'), 
              url('https://images.gptkong.com/demo/sample2.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: scale(1.2);
  filter: blur(5px);
}
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .side-nav {
    display: none;
  }
}

