
:root {
  --primary-color: #1a1a40; /* 深蓝色 */
  --secondary-color: #8e44ad; /* 紫色 */
  --highlight-color: #34c759; /* 荧光绿 */
  --accent-color: #3498db; /* 电光蓝 */
  --warm-orange: #e67e22; /* 暖橙色 */
  --font-family: 'Inter', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  text-align: center;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: center;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--highlight-color);
}

main {
  padding-top: 6rem;
  min-height: calc(100vh - 6rem);
}

section {
  padding: 2rem 1rem;
  text-align: center;
}

h2, h3 {
  color: white;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.code-block {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
  white-space: pre-wrap;
}

.button {
  background-color: var(--highlight-color);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  color: white;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: var(--secondary-color);
}

.parallax-container {
  perspective: 1px;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: x mandatory;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
}

.layer-1 {
  background-image: url('https://images.gptkong.com/demo/sample1.png');
  background-size: cover;
  transform: translateZ(-1px) scale(2);
  animation: moveLayer1 10s infinite linear;
}

.layer-2 {
  background-image: url('https://images.gptkong.com/demo/sample2.png');
  background-size: cover;
  transform: translateZ(-2px) scale(3);
  animation: moveLayer2 10s infinite linear;
}

.layer-3 {
  background-image: url('https://images.gptkong.com/demo/sample3.png');
  background-size: cover;
  transform: translateZ(-3px) scale(4);
  animation: moveLayer3 10s infinite linear;
}

@keyframes moveLayer1 {
  from { transform: translateX(0); }
  to { transform: translateX(-100vw); }
}

@keyframes moveLayer2 {
  from { transform: translateX(0); }
  to { transform: translateX(-50vw); }
}

@keyframes moveLayer3 {
  from { transform: translateX(0); }
  to { transform: translateX(-25vw); }
}

.shape {
  width: 100px;
  height: 100px;
  background-color: var(--highlight-color);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  animation: rotateShape 5s infinite linear;
  position: relative;
  z-index: 1001;
}

@keyframes rotateShape {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.footer {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
}

