.arshine2-foot_top {
  position: relative;
      background-size: cover;
    background-position: center;
  height: 300px;
}

.arshine2-foot_top .background {
  width: 100%;
  aspect-ratio: 5;
  object-fit: cover;
}

.arshine2-foot_top .container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
  gap: 2%;
}

.arshine2-foot_top .tit {
  flex: 1;
}

.arshine2-foot_top .tit h5 {
  font-size: 2.5rem;
  color: #fff;
  line-height: 1.2;
}

.arshine2-foot_top .tit p {
  font-size: 20px;
  color: #fff;
  margin: 17px 0 0;
}

.arshine2-foot_top a {
  width: 258px;
  height: 50px;
  line-height: 50px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--button-radius);
  font-size: 18px;
  color: #fff;
  display: inline-block;
  text-align: center;
  border-radius: 4px;
/* 新增动画相关属性 */
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 1;
}
/* 流动边框动画 */
.arshine2-foot_top a::before,
.arshine2-foot_top a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.8); /* 流动光效颜色 */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: -1;
}

.arshine2-foot_top a::before {
  top: 0;
  left: 0;
  transition-delay: 0.1s;
}

.arshine2-foot_top a::after {
  bottom: 0;
  right: 0;
}

/* Hover动画触发 */
.arshine2-foot_top a:hover {
  color: rgba(255, 255, 255, 0.9); /* 文字轻微变亮 */
}

.arshine2-foot_top a:hover::before,
.arshine2-foot_top a:hover::after {
  width: 100%;
  background: linear-gradient(90deg, 
    rgba(255,255,255,0.8) 0%,
    rgba(255,255,255,0.4) 100%); /* 流动渐变效果 */
}



@media screen and (max-width:992px) {
  
  .arshine2-foot_top .container {
    flex-direction: column;
  }

  .arshine2-foot_top .background {
    width: 100%;
    aspect-ratio: 3;
  }
  
  .arshine2-foot_top .tit {
    text-align: center;
    margin-bottom: 20px;
  }

  .arshine2-foot_top .tit h5 {
    font-size: 24px;
  }

  .arshine2-foot_top .tit p {
    font-size: 18px;
  }

  .arshine2-foot_top a {
    /*width: 140px;*/
    /*height: 86px;*/
    line-height: 50px;
    font-size: 20px;
  }
}

@media screen and (max-width:768px) {

  /*.arshine2-foot_top .tit h5 {*/
  /*  font-size: 16px;*/
  /*}*/

  .arshine2-foot_top .tit p {
    font-size: 16px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }

  .arshine2-foot_top a {
    /*width: 140px;*/
    font-size: 18px;
  }
}