@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;
 
}


.index-main.pc .index-bg{
  position: relative;
  width: 100%;
  height: 100%;
 overflow-y: auto;
}
.index-main.pc .index-bg img{
  position: absolute;
  width: 100%;
  height: auto;
  object-fit: cover; /* 保持图片比例并填充容器 */
  animation: fadeIn 1.5s ease-in-out;
  -webkit-animation: fadeIn 1.5s ease-in-out;
  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) {
   
}

/* 添加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; } }

/* 移动端自动缩放设置 - 模仿TCL项目 */
body {
    min-width: 1160px;
}

