@charset "UTF-8";
/* 中间按钮 */
.mid-btn {
  width: 300px;
  height: 42px;
  margin: 0 auto;
  line-height: 42px;
  text-align: center;
  font-size: 16px;
  color: #fff;
  background-color: #DB2251;
  border-radius: 50px;
  border: none;
  cursor: pointer;
}

.mid-btn:hover {
  background-color: #f5003e;
}

/* 活动广告 */
.active-ad {
  display: block;
  width: 1200px;
  height: 200px;
  margin: 0 auto;
  background: url(../images/ad.png) center center no-repeat;
  cursor: pointer;
}

/* 默认按钮 */
.primary-btn {
  position: relative;
  width: 240px;
  height: 46px;
  line-height: 46px;
  margin: 0 auto;
  border-radius: 23px;
  background-image: linear-gradient(90deg, #df073a, #f0582a);
  color: #fff;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  opacity: 1;
  transition: all ease-in-out .3s;
}

.primary-btn::after {
  content: '';
  position: absolute;
  height: 200px;
  width: 16px;
  border-radius: 20px;
  background-color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1) rotate(30deg) translateX(-160px);
  filter: blur(2px);
  opacity: .2;
}

.primary-btn:hover {
  background-image: linear-gradient(90deg, #bd0530, #e74e1f);
  width: 250px;
  margin: 0 auto;
}

.primary-btn:hover::after {
  transform: translate(-50%, -50%) scale(1) rotate(30deg) translateX(160px);
  transition: all ease-in-out 1.2s;
}

.online {
  cursor: pointer;
}

.red-btn {
  position: relative;
  border: 1px solid #af2020;
  color: #af2020;
  margin: 0 auto;
  transition: all ease-in-out .3s;
  text-align: center;
}

.red-btn::after {
  content: '→';
  position: absolute;
  transition: all ease-in-out .3s;
  right: 0px;
  color: #fff;
  opacity: 0;
}

.red-btn:hover {
  background-color: #af2020;
  color: #fff;
  padding-right: 10px;
}

.red-btn:hover::after {
  right: 10px;
  opacity: 1;
}
