/* 页面背景和基本样式 */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
    background-image: url('1.jpg');
    background-size: 100% 100%;  /* 宽度100%，高度自动调整 */
    background-position: center center; /* 背景图居中显示 */
    background-attachment: fixed; /* 背景图固定，不随页面滚动 */
    background-repeat: no-repeat; /* 背景图不重复 */
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Arial', sans-serif;
  color: white;
  overflow: hidden;
}

/* 中间容器 */
.container {
  text-align: center;
  position: relative;
  z-index: 10; /* 确保标题、描述、按钮在前 */
}

/* 动态效果（火焰和闪电）放在背景 */
.dynamic-effects {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1; /* 使动态效果在背景 */
}

/* 标题样式 */
h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px #ff4500, 0 0 20px #ff4500, 0 0 30px #ff4500;
}

/* 描述文字样式 */
p {
  font-size: 1.5rem;
  text-shadow: 0 0 5px #ff4500, 0 0 10px #ff4500;
}

/* 阿瑞斯的描述样式 */
.ares-description {
  max-width: 800px;
  margin: 20px auto;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: justify;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.8);
  color: #ebe5e3;
}

/* 火焰效果 */
.fire {
  position: absolute;
  bottom: -50px;
  left: 50%;
  width: 100px;
  height: 150px;
  background: radial-gradient(circle, #ff4500, rgba(255, 69, 0, 0.5));
  border-radius: 50%;
  animation: fireAnimation 2s infinite;
  transform: translateX(-50%);
}

@keyframes fireAnimation {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.1);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* 闪电效果 */
.lightning {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #fff, transparent);
  animation: lightningAnimation 0.5s infinite;
  opacity: 0;
  transform: translate(-50%, -50%);
}

@keyframes lightningAnimation {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* 闪电随机位置变化 */
body:hover .lightning {
  animation: lightningAnimation 0.2s infinite;
  animation-delay: 0.5s;
}

/* 下载按钮容器 */
.download-buttons {
  margin-top: 20px;
}

/* 下载按钮样式 */
.download-btn {
  display: inline-block;
  margin: 10px;
  transition: transform 0.3s;
}

/* 下载按钮的图片 */
.download-btn img {
  width: 200px;  /* 图片宽度可以根据实际情况调整 */
  height: auto;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: transform 0.3s, border-color 0.3s;
}

/* 图片悬停效果 */
.download-btn img:hover {
  transform: scale(1.1);  /* 放大效果 */
  border-color: #ff4500;  /* 悬停时显示边框 */
}

/* 点击按钮时的效果 */
.download-btn img:active {
  transform: scale(0.9);  /* 点击时缩小效果 */
}
