@charset "UTF-8";
/* 简单的样式，您可以根据需要进行修改 */
body {
  font-family: Arial, sans-serif;
  color: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  background-color: #0e0d11;
  /* 设置为黑色背景 */
  overflow: hidden;
  /* 防止滚动条出现 */
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 100px;
  width: 1000px;
  position: relative;
  /* 确保内容在背景之上 */
}

.welcome-title {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin-bottom: 30px;
}

.module-container {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.link-button {
  display: inline-block;
  background-color: transparent;
  border: #ffffff solid 2px;
  border-radius: 1000rem;
  line-height: 1;
  color: #fff;
  padding: 12px 32px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}
.link-button:hover {
  opacity: 0.7;
}

.logo {
  width: 200px;
  height: 100px;
  margin: 20px auto;
}

.module {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  /* 使用半透明背景 */
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  color: #ffffff;
  width: 45%;
  position: relative;
}
.module .title {
  color: #fff;
  margin-top: 0;
  font-size: 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.module .desc {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.module .link-button {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.module img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.ai-paint {
  background-image: linear-gradient(218deg, #1be9ff 0%, #2d60ff 100%);
}
.ai-paint::before {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.1) 75%), linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.1) 75%) 10px 10px;
  background-size: 20px 20px;
  z-index: 0;
}

.ai-writer {
  background-image: linear-gradient(218deg, #e91bff 0%, #ff862d 100%);
}
.ai-writer::before {
  position: absolute;
  content: "";
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 10px, transparent 10px, transparent 20px);
  background-size: 20px 20px;
  /* 调整背景大小以改变线条效果 */
  z-index: 0;
}

.footer {
  margin-top: 100px;
  padding: 100px 0;
}

.copyright {
  color: #ffffff;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.copyright a {
  color: #ffffff;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.copyright a:hover {
  text-decoration: underline;
  opacity: 0.7;
}

/* 添加泡泡动画 */
@keyframes bubble {
  0% {
    transform: translateY(-150px);
  }
  100% {
    transform: translateY(calc(-100vh - 150px));
  }
}
.bubble {
  position: absolute;
  bottom: -50px;
  /* 从底部开始 */
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  opacity: 0.3;
  animation: bubble 10s infinite;
  /* 动画持续时间和无限循环 */
}

/* 生成多个泡泡 */
.bubble:nth-child(1) {
  left: 5%;
  width: 40px;
  height: 40px;
  animation-duration: 8s;
  animation-delay: 0s;
  /* 不同的动画延迟 */
  opacity: 0.1;
  /* 不同的透明度 */
}

.bubble:nth-child(2) {
  left: 15%;
  width: 50px;
  height: 50px;
  animation-duration: 12s;
  animation-delay: -0.5s;
  /* 不同的动画延迟 */
  opacity: 0.4;
  /* 不同的透明度 */
}

.bubble:nth-child(3) {
  left: 25%;
  width: 45px;
  height: 45px;
  animation-duration: 10s;
  animation-delay: -2s;
  /* 不同的动画延迟 */
  opacity: 0.6;
  /* 不同的透明度 */
}

.bubble:nth-child(4) {
  left: 35%;
  width: 55px;
  height: 55px;
  animation-duration: 9s;
  animation-delay: -2.4s;
  /* 不同的动画延迟 */
  opacity: 0.2;
  /* 不同的透明度 */
}

.bubble:nth-child(5) {
  left: 45%;
  width: 60px;
  height: 60px;
  animation-duration: 11s;
  animation-delay: -5.5s;
  /* 不同的动画延迟 */
  opacity: 0.3;
  /* 不同的透明度 */
}

.bubble:nth-child(6) {
  left: 55%;
  width: 50px;
  height: 50px;
  animation-duration: 10s;
  animation-delay: -2.6s;
  /* 不同的动画延迟 */
  opacity: 0.4;
  /* 不同的透明度 */
}

.bubble:nth-child(7) {
  left: 65%;
  width: 100px;
  height: 100px;
  animation-duration: 12s;
  animation-delay: -3.2s;
  /* 不同的动画延迟 */
  opacity: 0.5;
  /* 不同的透明度 */
}

.bubble:nth-child(8) {
  left: 75%;
  width: 30px;
  height: 30px;
  animation-duration: 9s;
  animation-delay: -5.6s;
  /* 不同的动画延迟 */
  opacity: 0.6;
  /* 不同的透明度 */
}

.bubble:nth-child(9) {
  left: 85%;
  width: 35px;
  height: 35px;
  animation-duration: 11s;
  animation-delay: -7.4s;
  /* 不同的动画延迟 */
  opacity: 0.3;
  /* 不同的透明度 */
}

.bubble:nth-child(10) {
  left: 95%;
  width: 120px;
  height: 120px;
  animation-duration: 8s;
  animation-delay: -12.9s;
  /* 不同的动画延迟 */
  opacity: 0.5;
  /* 不同的透明度 */
}