@charset "UTF-8";

:root {
  /* 主色调变量 - 合并重复的紫色系（与main系列重复） */
  --main: #4909b1;
  --main-light: #a066ff;
  --main-dark: #3a1379;
  --main-dark1: #2c1354;
  --main-dark2: #1f1137;
  --main-dark3: #10091a;

  /* 文本色变量 */
  --text: #fff;
  --text-light: #a0a6a9;
  --text-light1: #8b8e90;
  --text-light2: #666869;
  --text-light3: #414243;

  /* 白色及透明度系列 - 统一命名格式为 alpha-数值 */
  --white: #ffffff;
  --white-alpha-22: #ffffff22;
  --white-alpha-44: #ffffff44;
  --white-alpha-66: #ffffff66;
  --white-alpha-99: #ffffff99;
  --white-alpha-dd: #ffffffdd;

  /* 黑色及透明度系列 */
  --black: #000000;
  --black-alpha-00: #00000000;
  --black-alpha-11: #00000011;
  --black-alpha-22: #00000022;
  --black-alpha-44: #00000044;
  --black-alpha-66: #00000066;
  --black-alpha-99: #00000096;
  --black-alpha-dd: #000000dd;

  /* 绿色系列 */
  --green: #00b578;
  --green-light: #68ffcd;
  --green-dark: #009d68;
  --green-dark1: #01875a;
  --green-dark2: #006a47;
  --green-alpha-11: #00b57811;
  --green-alpha-22: #00b57822;
  --green-alpha-44: #00b57844;
  --green-alpha-66: #00b57866;
  --green-alpha-99: #00b57896;
  --green-alpha-dd: #00b578dd;

  /* 红色系列 */
  --red: #fc4138;
  --red-light: #ff736c;
  --red-dark: #bb140b;

  /* 橙色系列 */
  --orange: #ff6600;
  --orange-light: #ff9900;
  --orange-dark: #ff4400;
  --orange-alpha-55: #ff660055;

  /* 蓝色系列 */
  --blue: #0075fb;
  --blue-light: #4ec7ff;
  --blue-light1: #3bbefa;
  --blue-dark: #102ef5;
  --blue-dark1: #0b4e9b;
  --blue-dark2: #093d79;
  --blue-dark3: #05264b;

  /* 灰色系列 */
  --gray: #f7f6f6;
  --gray1: #f5f5f5;
  --gray2: #e5e5e5;
  --gray3: #cccccc;
}

/* 基础样式重置与统一 */
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  font: 13px/1.9 "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei",
    "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* 滚动条样式统一 */
/* ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.9);
  border-radius: 3px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.4) transparent;
} */

/* 表单元素样式统一 */
input,
button,
select,
textarea {
  outline: none;
}
textarea {
  font-size: 13px;
  resize: none;
}

/* 链接样式优化 - 合并重复状态 */
a {
  color: #409efd;
  text-decoration: none;
}
a:hover {
  color: #75baff;
}

/* 顶部导航样式 */
header {
  position: absolute;
  z-index: 180;
  top: 0;
  left: 0;
  width: 100%;
  height: 66px;
  font-size: 12px;
  background: linear-gradient(
    to bottom,
    var(--black-alpha-dd),
    var(--black-alpha-22)
  );
}

header .center {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 1200px;
  color: var(--white);
  letter-spacing: 2px;
}

header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  padding: 0;
  font-size: 16pt;
  font-weight: bold;
}

header .logo img {
  width: 36px;
  height: 36px;
  margin-top: 2px;
}

header .title {
  display: flex;
  align-items: flex-start;
  flex: 1;
  width: 100%;
  font-size: 15pt;
  font-weight: bold;
}

header .title span {
  font-size: 12px;
  font-weight: normal;
}

header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
}

header nav div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 66px;
  font-size: 14px;
  color: var(--white);
  background: linear-gradient(to bottom, var(--main), var(--main-light));
  cursor: pointer;
}

header nav img {
  width: 26px;
}

header nav div:hover {
  background: linear-gradient(to bottom, var(--main), var(--main));
}

header .sett {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 110px;
  height: 66px;
}

header .sett .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 66px;
  cursor: pointer;
}

header .sett .item:hover {
  background: linear-gradient(to bottom, var(--main), var(--main));
}

header .sett .item div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 33px;
  height: 33px;
}

header .sett .item div:first-child img {
  width: 28px;
  height: 28px;
}

/* 主内容区域 */
main {
  width: 100%;
  height: 100%;
  background-color: var(--gray1);
  overflow: auto;
}

main section {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 770px;
  background: #000 url(./img/scene01.jpg) center/cover no-repeat;
}

main .center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 490px;
  font-size: 17px;
  color: var(--white);
  letter-spacing: 3px;
  background: linear-gradient(
    to bottom,
    var(--black-alpha-00),
    var(--black-alpha-99),
    var(--black-alpha-dd)
  );
}

main .right {
  align-items: flex-end;
  padding-right: 20px;
}

main .left {
  align-items: flex-start;
  padding-left: 20px;
}

main .center h1 {
  font-size: 29pt;
}

main .center .content {
  width: 390px;
}

main .center .buts {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

main .center .buts div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 36px;
  margin: 0px 5px;
  font-size: 14px;
  color: var(--white);
  border: 1px solid var(--main-light);
  border-radius: 3px;
  background-color: var(--black-alpha-44);
  cursor: pointer;
}

footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 30px 0px;
  color: var(--text-light);
  background-color: var(--black);
}

footer .con {
  width: 460px;
  line-height: 2.2;
}

footer .wechat {
  width: 270px;
}

footer .wechat img {
  width: 270px;
}

/* 遮罩与弹窗 */
.mask {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 300;
  top: 0;
  left: 0;
  width: 100%; /* 改为相对宽度，适应不同屏幕 */
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.3)
  );
  backdrop-filter: blur(2.6px);
  -webkit-backdrop-filter: blur(2.6px);
}

.dialog {
  display: none;
  position: absolute;
  z-index: 320;
  top: 0px;
  left: 0px;
  width: 600px;
  padding: 15px;
  border-radius: 3px;
  background-color: #fff;
  box-shadow: 0 0 16px var(--black);
}

.dialog .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.dialog .tit {
  display: flex;
  align-items: center;
  width: 100%;
  height: 36px;
  border-bottom: 1px solid var(--gray1);
}

.dialog .tit div:first-child {
  flex: 1;
  font-size: 14px;
  letter-spacing: 2px;
}

.dialog .tit div:last-child {
  width: 30px;
  cursor: pointer;
  border: none;
}

.dialog .tit .close-btn {
  padding: 0px;
  border: none;
  background-color: var(--white);
  cursor: pointer;
}

.dialog .tit .close-btn img {
  width: 25px;
}

.dialog .con {
  width: 100%;
  height: 100%;
  font-size: 14px;
  overflow: auto;
}

/* 移动端专用样式 */
@media (max-width: 768px) {
  header {
    height: auto;
    padding: 10px 0;
    background: linear-gradient(
      to bottom,
      var(--black-alpha-99),
      var(--black-alpha-dd)
    );
  }

  header .center {
    flex-direction: column;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  header .logo,
  header .title {
    width: 100%;
    justify-content: center;
  }

  header .logo img {
    width: 60px;
    height: 60px;
  }

  header nav,
  header .sett {
    display: none;
  }

  main section {
    height: auto;
    min-height: 500px;
    background-attachment: scroll;
  }

  main .center {
    height: auto;
    padding: 140px 15px 30px 15px;
    text-align: center;
  }

  main .center h1 {
    font-size: 19pt;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  main .center ul {
    padding-left: 20px;
    text-align: left;
  }

  main .center .buts {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  main .center .buts div {
    width: 100%;
    height: 48px;
    font-size: 16px;
  }

  main .right,
  main .left {
    padding: 0 15px;
    align-items: center;
    text-align: center;
  }

  footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 10px;
    box-sizing: border-box; /* 包括padding和border在width里 */
  }

  footer .con {
    width: 100%;
    line-height: 1.6;
  }

  footer .wechat {
    width: 100%;
  }

  footer .wechat img {
    width: 290px;
  }
}
