body {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  color: #fff;
  overflow-x: hidden;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

header {
  text-align: center;
  padding: 2em;
  background: rgba(0,0,0,0.5);
}

header nav a {
  margin: 0 10px;
  color: #00f0ff;
  text-decoration: none;
  transition: color 0.3s;
}

header nav a:hover {
  color: #ff4081;
}

section {
  padding: 2em;
  margin: 1em auto;
  max-width: 800px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

/* 轮播图样式 */
.carousel {
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 10px;
}

.carousel-track {
  display: flex;
  transition: transform 1s ease-in-out;
}

.carousel-track img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 10px;
}

.images {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
}

.images img {
  width: 200px;
  border-radius: 10px;
  transition: transform 0.3s;
}

.images img:hover {
  transform: scale(1.1);
}

form input, form textarea, form button {
  display: block;
  width: 100%;
  margin: 0.5em 0;
  padding: 0.5em;
  border-radius: 5px;
  border: none;
}

form button {
  background: #00bcd4;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: #0097a7;
}

#messages {
  margin-top: 1em;
}

footer {
  text-align: center;
  padding: 2em;
  background: rgba(0,0,0,0.5);
}