@charset "utf-8";

/* ===================== 全局重置（基础样式） ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* 统一盒模型，避免尺寸偏移 */
}

#app {
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
}

a {
  color: #5a5a5a;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease; /* 文字颜色过渡 */
}

a:hover {
  color: #27b38b;
}

/* 间距工具类 */
.mr-64 {
  margin-right: 64px;
}

.mr-40 {
  margin-right: 40px;
}

/* ===================== 页面布局 ===================== */
#content .content {
  width: 1200px;
  margin: 0 auto;
}

/* 头部导航 */
#head {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 98;
}

#head .c {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 70px;
  min-width: 1200px;
}

#head .c .head-tabs-item {
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  flex: 1 1 auto;
  transition: color 0.3s ease;
  padding: 0 2px; /* 母标题内边距基准，与下拉项匹配 */
}

#head .c a:hover {
  color: rgba(255, 255, 255, 1);
}

#head .c .head-tabs {
  display: flex;
  align-items: flex-start;
}

#head .c .head-tabs .head-tabs-act,
#head .c .head-tabs .head-tabs-about,
#head .c .head-tabs .head-tabs-my,
#head .c .head-tabs .head-tabs-shop { /* 包含官方店铺 */
  position: relative;
}

/* 下拉菜单交互优化 */
#head .c .head-tabs .head-tabs-act:hover .head-tabs-act__hover {
  visibility: visible;
  height: 115px;
}

/* 优化：下拉菜单 hover 触发（仅淡入+下移恢复，无上浮） */
#head .c .head-tabs .head-tabs-about:hover .head-tabs-about__hover,
#head .c .head-tabs .head-tabs-shop:hover .head-tabs-about__hover {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  height: auto;
}

#head .c .head-tabs .head-tabs-my:hover .head-tabs-my__hover {
  visibility: visible;
  height: 115px;
}

#head .c .head-tabs .head-tabs-act .head-tabs-act__hover {
  top: -34px;
  left: -34px;
  padding-top: 34px;
  height: 0px;
  transition: height 0.1s ease;
}

#head .c .head-tabs .head-tabs-download .download-div {
  width: 80px;
  line-height: 24px;
  background-color: #00ad59;
  margin-top: -3px;
  text-align: center;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

#head .c .head-tabs .head-tabs-download .download-div:hover {
  background-color: #00c065;
}

/* 核心修复：下拉菜单定位到母标题正下方+左侧对齐 */
#head .c .head-tabs .head-tabs-about .head-tabs-about__hover,
#head .c .head-tabs .head-tabs-shop .head-tabs-about__hover {
  top: calc(100% + 5px) !important; /* 母标题正下方+5px间距 */
  left: 0 !important; /* 下拉框左侧与母标题左侧严格对齐 */
  height: auto;
  opacity: 0;
  transform: translateY(5px); /* 初始轻微下移 */
  padding-top: 0 !important; /* 取消上浮补偿的内边距 */
  transition: all 0.25s ease-out;
}

#head .c .head-tabs .head-tabs-my .head-tabs-my__hover {
  height: 0px;
  top: -34px;
  left: -20px;
  padding-top: 34px;
  transition: height 0.1s ease;
}

/* ===================== 核心优化：下拉框自适应最长菜单项宽度（避免文字换行） ===================== */
#head .c .head-tabs .box-hover {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  width: auto !important; /* 自适应最长菜单项的宽度 */
  background: #2D3A40 !important; /* 深色基调，增加区分度 */
  border: 1px solid #405059 !important; /* 细边框增强质感 */
  border-radius: 4px !important; /* 柔和圆角 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important; /* 柔和阴影增强层次 */
  display: flex;
  flex-direction: column;
  align-items: flex-start !important; /* 内容左对齐，与母标题文字对齐 */
  box-sizing: border-box;
  z-index: 9999 !important;
  padding: 8px 0 !important; /* 上下内边距增加呼吸感 */
  transform: translateY(5px); /* 初始轻微下移 */
  transition: all 0.25s ease-out !important; /* 顺滑过渡动画 */
}

/* 优化：菜单项文字强制单行显示（避免换行）+ 自适应宽度 */
#head .c .head-tabs .box-hover .contact.head-tabs-item,
#head .c .head-tabs .box-hover .act-new.head-tabs-item,
#head .c .head-tabs .box-hover .gift.head-tabs-item {
  width: 100% !important; /* 占满菜单宽度 */
  padding: 8px 12px !important; /* 左右内边距（增加点击区域） */
  font-size: 14px !important;
  color: #E0E0E0 !important; /* 默认浅灰文字，降低刺眼感 */
  text-align: left !important; /* 文字左对齐，与母标题“联系我们”/“官方店铺”对齐 */
  border-radius: 2px !important; /* 菜单项自身小圆角 */
  transition: all 0.2s ease !important;
  white-space: nowrap !important; /* 强制文字单行显示，不换行 */
}

/* 菜单项 hover 效果（加深背景+纯白文字） */
#head .c .head-tabs .box-hover .contact.head-tabs-item:hover,
#head .c .head-tabs .box-hover .act-new.head-tabs-item:hover,
#head .c .head-tabs .box-hover .gift.head-tabs-item:hover {
  background: #37474F !important; /* hover背景加深 */
  color: #FFFFFF !important; /* 文字变白，对比度更高 */
}

/* ===================== 滚动条样式 ===================== */
.scroll {
  height: 1px;
  scrollbar-face-color: #00ad59;
  scrollbar-arrow-color: #00ad59;
  scrollbar-highlight-color: #29363c;
}

.scroll::-webkit-scrollbar {
  width: 6px;
  height: 1px;
}

.scroll::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #00ad59;
  transition: background 0.3s ease;
}

.scroll::-webkit-scrollbar-thumb:hover {
  background: #00c065;
}

.scroll::-webkit-scrollbar-track {
  border-radius: 6px;
  background: #29363c;
}

/* ===================== 功能组件 ===================== */
.ver7Clk {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 18px;
  font-size: 14px;
}

.ver7Clk p {
  background: url(https://image.xunyou.com/2023/xunyou7/Group973.png) left top no-repeat;
  width: 168px;
  height: 32px;
  line-height: 32px;
  padding-left: 53px;
  margin-left: 314px;
  transition: background-position 0.3s ease;
}

.ver7Clk p:hover {
  background-position: left bottom;
}

/* 弹幕悬浮样式 */
.danmu-hover-contain:hover .danmu-hover-content {
  text-decoration: underline;
  color: #fcff00 !important;
  transition: color 0.3s ease;
}

.message-bg {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  z-index: -1;
}

.message-1 {
  background: url(https://image.xunyou.com/danmu/box-1.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position-x: right;
  height: 100%;
  width: 10vh;
  transition: background 0.3s ease;
}

.message-2 {
  background: url(https://image.xunyou.com/danmu/box-2.png);
  background-repeat: repeat;
  background-size: contain;
  height: 100%;
  flex: 1;
  transition: background 0.3s ease;
}

.message-3 {
  background: url(https://image.xunyou.com/danmu/box-3.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position-x: left;
  height: 100%;
  width: 5vw;
  transition: background 0.3s ease;
}

.danmu-hover-contain:hover .message-1 {
  background: url(https://image.xunyou.com/danmu/box-1-hover.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position-x: right;
  height: 100%;
  width: 10vh;
}

.danmu-hover-contain:hover .message-2 {
  background: url(https://image.xunyou.com/danmu/box-2-hover.png);
  background-repeat: repeat;
  background-size: contain;
  height: 100%;
  flex: 1;
}

.danmu-hover-contain:hover .message-3 {
  background: url(https://image.xunyou.com/danmu/box-3-hover.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position-x: left;
  height: 100%;
  width: 5vw;
}

.danmu-hover-contain {
  font-size: 0.75vw;
}

.remember-password-container {
  display: none;
}

/* ===================== 核心：下载按钮样式（彻底修复颜色） ===================== */
/* 按钮组容器 - 横向排列 */
.download-btn-group {
  display: inline-flex;
  align-items: center;
  gap: 10px; /* 两个按钮间距 */
  margin: 0;
  padding: 0;
}

/* 主下载按钮（绿色）- 极致优先级 */
.description-8 .download-btn-group .download-btn-8.download-btn {
  width: 150px;
  height: 45px;
  background: none !important; /* 清空所有背景样式 */
  background-color: #00ad59 !important; /* 单独声明背景色，强制绿色 */
  border: none !important; /* 清空边框 */
  outline: none !important; /* 清空轮廓 */
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.6) !important; /* 绿色发光 */
  transition: all 0.3s ease;
  margin: 0 !important;
}

.description-8 .download-btn-group .download-btn-8.download-btn:hover {
  background-color: #00c065 !important; /* 悬浮加深绿色 */
  box-shadow: 0 0 25px rgba(0, 255, 135, 0.9) !important;
  transform: scale(1.02);
}

/* 备用下载按钮（灰色）- 极致优先级 */
.description-8 .download-btn-group .download-btn-8.backup-download-btn {
  width: 150px;
  height: 45px;
  background: none !important; /* 清空所有背景样式 */
  background-color: #888888 !important; /* 单独声明背景色，强制灰色 */
  border: none !important; /* 清空边框 */
  outline: none !important; /* 清空轮廓 */
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(150, 150, 150, 0.6) !important; /* 灰色发光 */
  transition: all 0.3s ease;
  margin: 0 !important;
  /* 初始隐藏，仅电脑端显示 */
  display: none;
}

.description-8 .download-btn-group .download-btn-8.backup-download-btn:hover {
  background-color: #999999 !important; /* 悬浮加深灰色 */
  box-shadow: 0 0 25px rgba(150, 150, 150, 0.9) !important;
  transform: scale(1.02);
}

/* 按钮文字样式 - 统一 */
.download-btn-8 .download-a {
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  z-index: 2;
}

.download-btn-8 img {
  width: 16px;
  height: 8px;
  object-fit: contain;
}

/* ===================== 移动端导航样式（修复点击打不开） ===================== */
.mobile-nav-container {
  display: none !important; /* 初始隐藏，仅移动端显示 */
  position: fixed !important;
  top: 15px !important;
  right: 15px !important;
  z-index: 99999999 !important;
  width: 32px !important;
  height: 24px !important;
  padding: 5px !important;
  box-sizing: border-box !important;
  background: transparent !important;
}

/* 移动端（≤768px）强制显示导航按钮 */
@media screen and (max-width: 768px) {
  .mobile-nav-container {
    display: block !important;
  }
}

/* 汉堡按钮样式 */
.hamburger-btn {
  width: 28px !important;
  height: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
  z-index: 99999999 !important;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(11px) rotate(45deg) !important;
  background-color: #f0f0f0 !important;
}
.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0 !important;
}
.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg) !important;
  background-color: #f0f0f0 !important;
}

.hamburger-line {
  width: 100% !important;
  height: 2px !important;
  background-color: #e5e5e5 !important;
  border-radius: 1px !important;
  transition: all 0.3s ease !important;
}

/* 移动端导航菜单（核心：统一用show类控制） */
.mobile-nav-menu {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 80% !important;
  max-width: 280px !important;
  height: 100vh !important;
  background: rgba(0,0,0,0.95) !important;
  z-index: 99999998 !important;
  padding: 80px 20px 20px !important;
  transform: translateX(100%) !important;
  transition: transform 0.3s ease !important;
  overflow-y: auto !important;
  display: block !important; /* 改为block，仅用transform控制显隐 */
  opacity: 0 !important;
  pointer-events: none !important; /* 初始不可点击 */
  margin: 0 !important;
}

/* 菜单显示状态（优先级拉满） */
.mobile-nav-menu.show {
  transform: translateX(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.mobile-nav-item {
  display: block !important;
  color: #fff !important;
  text-decoration: none !important;
  padding: 12px 15px !important;
  font-size: 16px !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  margin-bottom: 5px !important;
  -webkit-tap-highlight-color: transparent !important;
  position: relative !important;
}

.mobile-nav-item.has-submenu::after {
  content: "▼" !important;
  position: absolute !important;
  right: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 10px !important;
  color: #e5e5e5 !important;
  line-height: 1 !important;
}

.mobile-nav-item.has-submenu.active::after {
  transform: translateY(-50%) rotate(180deg) !important;
}

.mobile-submenu {
  padding-left: 15px !important;
  margin-top: 5px !important;
  display: none !important;
}

.mobile-submenu.show {
  display: block !important;
}

.mobile-submenu .mobile-nav-item {
  font-size: 14px !important;
  padding: 8px 15px !important;
  border-bottom: none !important;
}

/* ===================== 核心修复：页脚样式（恢复居中+两行显示） ===================== */
.footer-8 {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 99 !important;
  padding: 15px 0 !important;
  background: transparent !important;
}

.footer-unified {
  width: 100% !important;
  text-align: center !important; /* 强制居中 */
  display: flex !important;
  flex-direction: column !important; /* 两行排列 */
  gap: 8px !important; /* 两行之间的间距 */
  align-items: center !important;
  justify-content: center !important;
}

.footer-unified-copyright,
.footer-unified-beian {
  display: block !important; /* 每行一个 */
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
}

.footer-link:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

/* ===================== 响应式适配 ===================== */
@media screen and (min-width: 769px) {
  /* 电脑端显示备用按钮 */
  .description-8 .download-btn-group .download-btn-8.backup-download-btn {
    display: flex !important;
  }
  /* 电脑端隐藏移动端导航 */
  .mobile-nav-container, .mobile-nav-menu {
    display: none !important;
  }
  /* 电脑端强制隐藏移动端专属内容 */
  .mobile-only-content {
    display: none !important; /* 优先级拉满，强制隐藏 */
  }
  /* 电脑端：统一“联系我们”和“官方店铺”母标题字体样式 */
  .head-tabs-shop {
    margin-right: 0 !important; /* 最后一个项取消右侧间距 */
  }
  /* 同时匹配“联系我们”和“官方店铺”的母标题，字体样式完全统一 */
  .head-tabs-about .shop-item,
  .head-tabs-shop .shop-item {
    font-size: 14px !important;
    line-height: 20px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    transition: color 0.3s ease !important;
    text-decoration: none !important;
    padding: 0 2px !important; /* 与下拉菜单项内边距匹配 */
  }
  /* 统一hover效果 */
  .head-tabs-about .shop-item:hover,
  .head-tabs-shop .shop-item:hover {
    color: rgba(255, 255, 255, 1) !important;
  }
  /* 电脑端页脚样式强化 */
  .footer-8 {
    padding: 20px 0 !important;
  }
  .footer-unified-copyright,
  .footer-unified-beian {
    font-size: 13px !important;
  }
}

@media screen and (max-width: 768px) {
  /* 移动端隐藏PC导航 */
  .head-logo, .head-tabs {
    display: none !important;
  }

  /* 移动端专属内容 */
  .mobile-only-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    padding: 0 !important;
    margin-top: 0 !important;
  }

  .mobile-logo {
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
  }

  .mobile-logo-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .mobile-title {
    font-size: 24px !important;
    color: #fff !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    text-align: center !important;
    margin-top: 0 !important;
  }

  .mobile-desc {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    color: #fff !important;
    font-size: 14px !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
  }

  .star, .cross {
    color: #fff !important;
    font-weight: 500 !important;
  }

  /* 移动端隐藏备用按钮 */
  .description-8 .download-btn-group .download-btn-8.backup-download-btn {
    display: none !important;
  }

  /* 移动端页脚适配 */
  .footer-8 {
    padding: 10px 0 !important;
  }
  .footer-unified-copyright,
  .footer-unified-beian {
    font-size: 11px !important;
  }
}