@charset "utf-8";

/* 添加CSS动画关键帧 */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideInFromLeft {
  0% { transform: translateX(-50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromRight {
  0% { transform: translateX(50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInFromTop {
  0% { transform: translateY(-50px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes zoomIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}

/* Webkit前缀版本 */
@-webkit-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@-webkit-keyframes slideInFromLeft {
  0% { -webkit-transform: translateX(-50px); opacity: 0; }
  100% { -webkit-transform: translateX(0); opacity: 1; }
}

@-webkit-keyframes slideInFromRight {
  0% { -webkit-transform: translateX(50px); opacity: 0; }
  100% { -webkit-transform: translateX(0); opacity: 1; }
}

@-webkit-keyframes slideInFromTop {
  0% { -webkit-transform: translateY(-50px); opacity: 0; }
  100% { -webkit-transform: translateY(0); opacity: 1; }
}

@-webkit-keyframes zoomIn {
  0% { -webkit-transform: scale(0.8); opacity: 0; }
  100% { -webkit-transform: scale(1); opacity: 1; }
}

@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% { -webkit-transform: translateY(0); }
  40% { -webkit-transform: translateY(-20px); }
  60% { -webkit-transform: translateY(-10px); }
}

*{ font-size:12px;font-family:"PingFang SC",Arial,"Microsoft YaHei",sans-serif }
body {
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh; /* 使用视口高度单位 */
  overflow: hidden; /* 防止滚动条出现 */
}

html {
  height: 100%;
  overflow: hidden;
}

.no-padding{  padding: 0;  }
.no-margin{margin: 0;  }
*{box-sizing: border-box !important;}
img{border-style: none;border: 0;}

.index-top{padding-top: 0;background: #44B9EB;position: fixed;left: 0;top:0;z-index: 100;width: 100%;height: 90px;}
.index-top.index-fixed{/* border-bottom: 1px solid #fff; */}
.main-width{width: 1280px;margin: 0 auto;}

.index-main.pc{
  position: relative;
  width: 100%;
  height: 100vh; /* 使用视口高度 */
  display: block;
  overflow: hidden;
}
.index-main.mobile{
  display: none;
  position: relative;
  width: 100%;
  height: 100vh; /* 使用视口高度 */
  overflow: hidden;
}

.index-main.pc .index-bg{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.index-main.pc .index-bg img{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持图片比例并填充容器 */
  animation: fadeIn 1.5s ease-in-out;
  -webkit-animation: fadeIn 1.5s ease-in-out;
}
.index-main.pc .index-img{
  position: absolute;
  left: 0;
  /* 添加通用动画属性 */
  animation-duration: 1.2s;
  animation-fill-mode: both;
  -webkit-animation-duration: 1.2s;
  -webkit-animation-fill-mode: both;
}
.index-main.pc .index-img.enter{
  width: 18.3%;
  left: 72%;
  top:75%;
  animation-name: zoomIn;
  -webkit-animation-name: zoomIn;
  animation-delay: 1s;
  -webkit-animation-delay: 1s;
  transition: transform 0.3s ease;
  -webkit-transition: -webkit-transform 0.3s ease;
}
.index-main.pc .index-img.slogan{
  width: 35.7%;
  left:3.8%;
  top:4.6%;
  animation-name: slideInFromLeft;
  -webkit-animation-name: slideInFromLeft;
  animation-delay: 0.6s;
  -webkit-animation-delay: 0.6s;
}
.index-main.pc .index-img.logo{
  width: 18.9%;
  left:77%;
  top:5%;
  animation-name: slideInFromTop;
  -webkit-animation-name: slideInFromTop;
  animation-delay: 0.3s;
  -webkit-animation-delay: 0.3s;
}
.index-main.pc .copyright{
  position: absolute;
  right: 50px;
  bottom: 20px;
  color: #95adbf;
  font-size: 24px;
}
/* 进入按钮悬停效果 */
.index-main.pc .index-img.enter:hover {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
  cursor: pointer;
}

/* 屏幕适配 - 超宽屏 */
@media screen and (min-width: 1921px) {
  .index-main.pc .index-img.logo{
    width: 16%;
    left: 80%;
  }

  .index-main.pc .index-img.slogan{
    width: 32%;
    left: 5%;
  }

  .index-main.pc .index-img.enter{
    width: 15%;
    left: 75%;

  }

}

/* 屏幕适配 - 宽屏 */
@media screen and (min-width: 1441px) and (max-width: 1920px) {
  .index-main.pc .index-img.logo{
    width: 18%;
    left: 78%;
  }

  .index-main.pc .index-img.slogan{
    width: 34%;
    left: 4.5%;
  }
}

/* 屏幕适配 - 标准屏 */
@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .index-main.pc .index-img.logo{
    width: 19%;
    left: 76%;
  }

  .index-main.pc .index-img.enter{
    width: 19%;
    left: 70%;
  }
}

/* 屏幕适配 - 小屏笔记本 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .index-main.pc .index-img.logo{
    width: 22%;
    left: 73%;
  }

  .index-main.pc .index-img.slogan{
    width: 38%;
    left: 3%;
  }

  .index-main.pc .index-img.enter{
    width: 22%;
    left: 68%;
    top: 73%;
  }
}

/* 移动端适配（保留原有代码） */
@media screen and (max-width: 750px) {
   .index-main.pc{
    display: none;
  }
  .index-main.mobile{
    display: block;
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 9;
  }

  .index-main.mobile .index-bg {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .index-main.mobile .index-bg img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* 降低背景图层级 */
    animation: fadeIn 1.5s ease-in-out;
    -webkit-animation: fadeIn 1.5s ease-in-out;
  }
  .index-main.mobile .index-img{
    position: absolute; /* 为所有图片元素添加绝对定位 */
    z-index: 10; /* 确保所有内容图片在背景之上 */
    /* 添加通用动画属性 */
    animation-duration: 1.2s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1.2s;
    -webkit-animation-fill-mode: both;
  }

  .index-main.mobile .index-img.index-img{
    width:100%;
    left: 0%;
    bottom:0%;
    z-index: 10;
    animation-name: fadeIn;
    -webkit-animation-name: fadeIn;
  }
  .index-main.mobile .index-img.enter{
    width: 42.5%;
    left: 30.8%;
    top:52%;
    z-index: 30;
    animation-name: zoomIn;
    -webkit-animation-name: zoomIn;
    animation-delay: 1s;
    -webkit-animation-delay: 1s;
    transition: transform 0.3s ease;
    -webkit-transition: -webkit-transform 0.3s ease;
    display: inline-block;
  }


  /* 移动端进入按钮触摸效果 */
  .index-main.mobile .index-img.enter:active {
    transform: scale(0.95);
    -webkit-transform: scale(0.95);
  }

  .index-main.mobile .index-img.logo{
    width: 42%;
    left:10%;
    top:5%;
    z-index: 20;
    animation-name: slideInFromTop;
    -webkit-animation-name: slideInFromTop;
    animation-delay: 0.3s;
    -webkit-animation-delay: 0.3s;
  }

  .index-main.mobile .index-img.slogan{
    width: 84%;
    left:6%;
    top:16.9%;
    z-index: 20;
    animation-name: slideInFromLeft;
    -webkit-animation-name: slideInFromLeft;
    animation-delay: 0.6s;
    -webkit-animation-delay: 0.6s;
  }
}

/* 添加CSS3动画兼容性支持 */
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

/* 针对不同浏览器的兼容性前缀 */
@-webkit-keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@-moz-keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@-o-keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@-ms-keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

