
/* 基础样式 */
body {
  font-family: 'Roboto', sans-serif;
  color: #FFFFFF;
  background: linear-gradient(135deg, #1A1A40, #0F3460, #5C2D91);
  background-size: 300% 300%;
  animation: gradientShift 15s ease infinite;
  margin: 0;
  padding: 0;
  line-height: 1.8;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  color: #03DAC6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
p, li, td {
  font-size: 1rem;
  line-height: 1.6;
}
a {
  color: #03DAC6;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: #E0E0E0;
  text-shadow: 0 0 8px #03DAC6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.header {
  position: sticky;
  top: 0;
  background: rgba(26, 26, 64, 0.9);
  padding: 15px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.header h1 {
  font-size: 2rem;
  text-align: center;
}
.module {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}
.module:hover {
  transform: translateY(-5px);
}
.parallax-container {
  position: relative;
  overflow-x: hidden;
  height: 50vh;
  margin: 20px 0;
}
.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.8;
}
.layer-background {
  background-image: url('https://images.gptkong.com/demo/sample1.png');
  transform: translateY(0%);
}
.layer-foreground {
  background-image: url('https://images.gptkong.com/demo/sample2.png');
  transform: translateY(-20%);
}
.code-block {
  background: rgba(26, 26, 64, 0.8);
  border: 1px solid #03DAC6;
  border-radius: 8px;
  padding: 15px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #E0E0E0;
  overflow-x: auto;
}
.button {
  background: #E0E0E0;
  color: #1A1A40;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.button:hover {
  background: #03DAC6;
  transform: scale(1.1);
}
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.table th, .table td {
  border: 1px solid #03DAC6;
  padding: 10px;
  text-align: center;
}
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  .parallax-container { height: 30vh; }
  .code-block { font-size: 0.8rem; }
  .button { font-size: 0.9rem; padding: 8px 16px; }
}

