
/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  width: 100%;
  height: 100%;
  font-family: 'Roboto', sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #0b0c1e, #1a1d2f);
  overflow-x: hidden;
}
h1, h2, h3 {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}
h1 {
  font-size: 2.5rem;
  text-align: center;
  background: -webkit-linear-gradient(#6c5ce7, #4854e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
p {
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .container {
    flex-direction: row;
    justify-content: space-between;
  }
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background: linear-gradient(180deg, #1a1d2f, #0b0c1e);
  padding: 20px;
  z-index: 1000;
}
.navbar ul {
  list-style: none;
}
.navbar li {
  margin-bottom: 15px;
}
.navbar a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.navbar a:hover {
  color: #6c5ce7;
  text-shadow: 0 0 10px #6c5ce7, 0 0 20px #6c5ce7;
}
.content {
  margin-left: 270px;
  padding: 20px;
}
@media (max-width: 768px) {
  .navbar {
    position: static;
    width: 100%;
    height: auto;
  }
  .content {
    margin-left: 0;
  }
}
.module {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.module:hover {
  transform: scale(1.02);
}
.code-block {
  background: #1a1d2f;
  border: 1px solid #6c5ce7;
  border-radius: 5px;
  padding: 10px;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}
button {
  background: linear-gradient(135deg, #6c5ce7, #4854e0);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
button:hover {
  box-shadow: 0 0 10px #6c5ce7, 0 0 20px #6c5ce7;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}
.star-movement {
  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'),
              linear-gradient(135deg, #0b0c1e, #1a1d2f);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: 50% 50%, 80% 20%, center;
  animation: starMovement 10s infinite linear;
}
@keyframes starMovement {
  0% { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}

