/* Banner容器样式 */
.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 25vh; /* 60%视口高度 */
  background: #121212; /* 121212深黑背景 4a4a4a*/
  color: #ffffff; /* 白色文字 */
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 动态背景动画 */
.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  animation: pulse 5s infinite;
  z-index: 1;
  opacity: 0.3;
}

/* 标题样式 */
.banner h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 2px;
  z-index: 2;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8); /* 增加文字阴影 */
}

/* 副标题样式 */
.banner p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2rem;
  margin-top: 10px;
  z-index: 2;
  opacity: 0.8; /* 辅助文字稍微弱化 */
}

/* 按钮样式 */
.banner .btn {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1rem;
  color: #121212; /* 深黑色按钮文字 */
  background: #ffffff; /* 白色按钮背景 */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 2;
}

.banner .btn:hover {
  background: #f1f1f1; /* 按钮悬停时稍亮 */
  transform: scale(1.05);
}

/* 动画 */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.1;
  }
}
