/* =========================================================
   哈哈体育 - PC + 移动端 合并响应式样式
   桌面端为默认样式，@media (max-width:768px) 为移动端覆盖
   ========================================================= */

* {
  padding: 0;
  margin: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-size: 14px;
}

ul, li {
  list-style: none;
}

/* ---------- 背景层 ---------- */
/* PC：视频背景（移动端隐藏） */
.video {
  position: fixed;
  right: 0px;
  bottom: 0px;
  min-width: 100%;
  min-height: 100%;
  height: auto;
  width: auto;
  z-index: 1;
}

/* 移动端：图片背景（默认隐藏，移动端显示） */
.h5-bg-layer {
  position: fixed;
  right: 0px;
  bottom: 0px;
  min-width: 100%;
  min-height: 100%;
  height: auto;
  width: auto;
  z-index: 1;
  background-image: url('h5_bg.png');
  background-position: center top;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: none;
}

.bg-black-layer {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
}

.main-container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 3;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.main-container::-webkit-scrollbar { display: none; }

/* ---------- 通用布局 ---------- */
.flex-center-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-space-between-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.center-box {
  width: 1200px;
  margin: 0 auto;
}

/* ---------- 头部 ---------- */
.main-header {
  height: 100px;
  background: rgba(0, 0, 0, 0.8);
}

.header-content {
  height: 100px;
}

.logo-box img {
  width: 221px;
}

/* 合作伙伴列表：PC 显示图标+文字，移动端显示整图 logo */
.partter-list {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pc-partner { display: flex; }
.m-partner  { display: none; }

.m1 { width: 29px; }
.m2 { width: 47px; }
.m3 { width: 30px; }
.m4 { width: 61px; }

.partter-item p {
  color: #BABABA;
  margin-left: 11px;
}

.pc-partner .partter-item {
  margin-right: 51px;
}

.pc-partner .partter-item:last-child {
  margin-right: 0;
}

/* ---------- 中部标语 ---------- */
.center-logo {
  text-align: center;
  margin-top: 62px;
}

.center-logo img {
  width: 307px;
}

.center-text {
  text-align: center;
  margin-top: 37px;
  margin-bottom: 41px;
}

.center-text img {
  width: 693px;
}

/* ---------- 域名列表 / 注册下载 ---------- */
.register-and-download,
.domain-list {
  width: 1040px;
  margin: 0 auto;
  justify-content: space-between;
  display: flex;
  flex-wrap: wrap;
}

.domain-item {
  border: 2px solid #f9c687;
  width: 502px;
  height: 70px;
  border-radius: 35px;
  box-sizing: border-box;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 57px;
  background-image: url('inter_icon.png?v=1');
  background-repeat: no-repeat;
  background-size: 25px 20px;
  background-position: 19px center;
}

.domain-address {
  color: #fff;
  font-size: 20px;
}

.domain-item .last-box {
  display: flex;
  padding-right: 15px;
  align-items: center;
}

.domain-item .last-box .speed-second {
  color: #F9C587;
  font-size: 14px;
}

.domain-item .last-box .entry-btn {
  width: 134px;
  height: 46px;
  background-image: url('btn.png');
  background-repeat: no-repeat;
  background-size: 100% auto;
  color: #000;
  cursor: pointer;
  text-align: center;
  line-height: 46px;
  font-size: 18px;
  letter-spacing: 2px;
  margin-left: 14px;
  text-decoration: none;
}

.register-box {
  width: 502px;
}
.register-box img {
  max-width: 100%;
  cursor: pointer;
}

/* ---------- 底部特色 ---------- */
.footer-box1 {
  width: 1200px;
  margin: 100px auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-box1-item {
  width: 288px;
  height: 163px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #F1C183;
  text-align: center;
}

.footer-box1-item p {
  font-size: 14px;
  line-height: 1.1;
  margin-top: 12px;
}

/* ---------- 合作伙伴 logo 墙 ---------- */
.pattner-logo-list {
  width: 1200px;
  margin: 40px auto 60px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---------- 在线客服 ---------- */
.online-customer {
  position: fixed;
  z-index: 99;
  right: 0.5em;
  bottom: 1em;
  width: 60px;
  height: 60px;
}

.online-customer img {
  max-width: 100%;
}

/* =========================================================
   移动端 (≤768px)
   ========================================================= */
@media (max-width: 768px) {
  /* 背景：隐藏视频，显示图片背景 */
  .video { display: none; }
  .h5-bg-layer { display: block; }

  /* 头部改为竖向排列 */
  .main-header { height: auto; }
  .center-box { width: 100%; }
  .header-content {
    display: block;
    height: auto;
  }

  .logo-box {
    text-align: center;
    padding-top: 10px;
  }
  .logo-box img {
    width: auto;
    max-width: 200px;
  }

  /* 合作伙伴：隐藏 PC 版，显示移动版整图 logo */
  .pc-partner { display: none; }
  .m-partner  {
    display: flex;
    width: 100%;
  }

  .m-partner .partter-item {
    color: #BABABA;
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-right: 0;
  }
  .m-partner .partter-item img {
    width: auto;
    max-width: 100%;
  }

  /* 中部标语 */
  .center-text {
    margin-top: 13px;
    margin-bottom: 15px;
  }
  .center-text img {
    width: 85%;
  }

  /* 域名列表 */
  .domain-list {
    width: 100%;
    justify-content: center;
  }
  .domain-item {
    border: 1px solid #f9c687;
    width: 85%;
    height: 40px;
    border-radius: 20px;
    margin-bottom: 10px;
    padding-left: 32px;
    background-size: 14px auto;
    background-position: 10px center;
  }
  .domain-address {
    font-size: 12px;
  }
  .domain-item .last-box {
    padding-right: 10px;
  }
  .domain-item .last-box .speed-second {
    font-size: 10px;
  }
  .domain-item .last-box .entry-btn {
    width: 80px;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    letter-spacing: 1px;
    margin-left: 6px;
  }

  /* 注册 / 下载 */
  .register-and-download {
    width: 100%;
    display: block;
  }
  .register-box {
    width: 85%;
    margin: 0 auto 6px auto;
  }

  /* 底部特色 2 列 */
  .footer-box1 {
    width: 85%;
    margin: 20px auto 0 auto;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .footer-box1-item {
    width: 48.6%;
    height: 130px;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  .footer-box1-item p {
    font-size: 12px;
  }

  /* 合作伙伴 logo 墙：换行居中，逐个设定宽度 */
  .pattner-logo-list {
    width: 85%;
    margin: 10px auto 20px auto;
    flex-wrap: wrap;
    justify-content: center;
  }
  .pattner-logo-list li {
    margin-bottom: 10px;
    margin-right: 10px;
  }
  .pattner-logo-list li:nth-child(1) img { width: 72px; }
  .pattner-logo-list li:nth-child(2) img { width: 90px; }
  .pattner-logo-list li:nth-child(3) img { width: 44px; }
  .pattner-logo-list li:nth-child(4) img { width: 64px; }
  .pattner-logo-list li:nth-child(5) img { width: 46px; }
  .pattner-logo-list li:nth-child(6) img { width: 82px; }
  .pattner-logo-list li:nth-child(7) img { width: 56px; }
  .pattner-logo-list li:nth-child(8) img { width: 164px; }

  /* 在线客服 */
  .online-customer {
    width: 40px;
    height: 40px;
  }
}
