/* ============================================================
   关于我们（单屏不滚动版）
   继承主页视觉：深色背景图 + 玻璃质感面板 + 蓝色高光
   ============================================================ */

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "HarmonyOS Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #ffffff;
  background: #070c18;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------------- 背景层 ---------------- */
#bg_all {
  position: fixed;
  inset: 0;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 2.2vh, 26px);
  padding: clamp(16px, 3.2vh, 38px) clamp(18px, 6vw, 96px) clamp(10px, 2vh, 24px);
  background-image: url(../images/background/bg_001.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* 压暗背景，让文字与玻璃面板更通透 */
#bg_all::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(24, 62, 140, 0.45), transparent 60%),
    radial-gradient(110% 80% at 90% 100%, rgba(10, 92, 84, 0.36), transparent 65%),
    linear-gradient(180deg, rgba(5, 9, 20, 0.55), rgba(4, 7, 16, 0.66));
  z-index: 0;
  pointer-events: none;
}

/* 与主页一致的背景轮换图层（JS 插入，交叉淡入淡出） */
.bg-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

/* 流动光晕 */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.glow.g1 {
  width: 34vmax;
  height: 34vmax;
  left: -8vmax;
  top: -10vmax;
  background: radial-gradient(circle, rgba(72, 140, 255, 0.75), rgba(72, 140, 255, 0) 70%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.glow.g2 {
  width: 26vmax;
  height: 26vmax;
  right: -6vmax;
  bottom: -6vmax;
  background: radial-gradient(circle, rgba(58, 222, 178, 0.6), rgba(58, 222, 178, 0) 70%);
  animation: drift-b 18s ease-in-out infinite alternate;
}
.glow.g3 {
  width: 18vmax;
  height: 18vmax;
  right: 22%;
  top: 8%;
  background: radial-gradient(circle, rgba(255, 196, 92, 0.35), rgba(255, 196, 92, 0) 70%);
  animation: drift-c 26s ease-in-out infinite alternate;
}

@keyframes drift-a {
  to { transform: translate3d(6vmax, 5vmax, 0) scale(1.15); }
}
@keyframes drift-b {
  to { transform: translate3d(-7vmax, -4vmax, 0) scale(1.1); }
}
@keyframes drift-c {
  to { transform: translate3d(-4vmax, 6vmax, 0) scale(0.9); }
}

/* 循环上升的光点（氛围） */
.spark {
  position: absolute;
  bottom: -6vh;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(170, 214, 255, 0.9);
  box-shadow: 0 0 10px rgba(120, 190, 255, 0.85);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: spark-up 18s linear infinite;
  will-change: transform, opacity;
}
.spark.s1 { left: 10%; animation-delay: 0s; }
.spark.s2 { left: 32%; animation-delay: 4.5s; }
.spark.s3 { left: 58%; animation-delay: 9s; }
.spark.s4 { left: 80%; animation-delay: 13.5s; }

@keyframes spark-up {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  12% { opacity: 0.9; }
  85% { opacity: 0.5; }
  100% { transform: translateY(-112vh) scale(1); opacity: 0; }
}

/* ---------------- 顶栏 ---------------- */
.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  text-decoration: none;
  color: #ffffff;
  min-width: 0;
}

.brand-logo {
  width: clamp(34px, 5vh, 46px);
  height: clamp(34px, 5vh, 46px);
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 0 14px rgba(80, 150, 255, 0.65));
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s;
}
.brand:hover .brand-logo {
  transform: rotate(-8deg) scale(1.08);
  filter: drop-shadow(0 0 20px rgba(120, 190, 255, 0.9));
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}
.brand-text b {
  font-size: clamp(16px, 2.4vh, 20px);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand-text em {
  font-style: normal;
  font-size: clamp(10px, 1.5vh, 12px);
  color: rgba(196, 216, 255, 0.72);
  letter-spacing: 0.18em;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(7px, 1.2vh, 10px) clamp(14px, 1.6vw, 20px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(12px, 1.7vh, 14px);
  white-space: nowrap;
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.home-btn i {
  font-size: 0.95em;
  transition: transform 0.25s;
}
.home-btn:hover {
  background: rgba(143, 208, 255, 0.18);
  border-color: rgba(143, 208, 255, 0.6);
  box-shadow: 0 8px 26px rgba(56, 128, 255, 0.28);
  transform: translateY(-1px);
}
.home-btn:hover i {
  transform: translateX(-3px);
}

/* ---------------- 主内容 ---------------- */
.stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(16px, 3vw, 56px);
  min-height: 0;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(8px, 1.5vh, 16px);
  min-width: 0;
  min-height: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(11px, 1.55vh, 13px);
  letter-spacing: 0.3em;
  color: rgba(178, 206, 255, 0.85);
  text-transform: uppercase;
  animation: rise 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: 0.05s;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #59e2b3;
  box-shadow: 0 0 12px #59e2b3;
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

h1 {
  font-size: clamp(26px, 5.4vh, 60px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-shadow: 0 16px 50px rgba(0, 20, 60, 0.55);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: 0.12s;
}
h1 .hl {
  background-image: linear-gradient(112deg, #8fd0ff 0%, #ffffff 30%, #9ff2d2 55%, #8fd0ff 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 8s linear infinite;
}

@keyframes sheen {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

.lede {
  font-size: clamp(12px, 1.9vh, 16px);
  letter-spacing: 0.08em;
  color: rgba(214, 228, 255, 0.78);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: 0.2s;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: 0.28s;
}
.chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: clamp(5px, 0.9vh, 8px) clamp(11px, 1.2vw, 15px);
  border-radius: 999px;
  font-size: clamp(11px, 1.6vh, 13px);
  color: rgba(226, 238, 255, 0.9);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  animation: bob 5.5s ease-in-out infinite alternate;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.chips span:nth-child(2) { animation-delay: 0.7s; }
.chips span:nth-child(3) { animation-delay: 1.4s; }
.chips span:hover {
  background: rgba(143, 208, 255, 0.16);
  border-color: rgba(143, 208, 255, 0.5);
  box-shadow: 0 8px 22px rgba(56, 128, 255, 0.22);
}

@keyframes bob {
  from { transform: translateY(0); }
  to { transform: translateY(-5px); }
}
.chips i {
  color: #8fd0ff;
  font-size: 0.95em;
}

.bili {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: clamp(2px, 0.6vh, 6px);
  padding: clamp(7px, 1.2vh, 11px) clamp(15px, 1.6vw, 22px);
  border-radius: 999px;
  font-size: clamp(12px, 1.7vh, 15px);
  font-weight: 600;
  color: #0b1020;
  text-decoration: none;
  background: linear-gradient(110deg, #ffe08a, #ffc76b 55%, #ffd166);
  box-shadow: 0 12px 30px rgba(255, 196, 92, 0.28);
  transition: transform 0.25s, box-shadow 0.25s;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: 0.36s;
}
.bili i.fa-arrow-right {
  animation: nudge 2.4s ease-in-out infinite;
}
.bili:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255, 196, 92, 0.4);
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

/* ---------------- 右侧卡片区 ---------------- */
.side {
  display: grid;
  grid-template-rows: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(12px, 2vh, 22px);
  min-height: 0;
  min-width: 0;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(12px, 2.2vh, 26px) clamp(14px, 1.8vw, 26px);
  border-radius: clamp(16px, 2vh, 24px);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px rgba(3, 8, 24, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  overflow: hidden;
  animation: rise 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
/* 卡面呼吸光晕 */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(143, 208, 255, 0.16), 0 0 34px rgba(64, 132, 255, 0.16);
  opacity: 0.2;
  animation: breathe 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes breathe {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.8; }
}

.card.intro { animation-delay: 0.3s; justify-content: center; }
.card.contact { animation-delay: 0.42s; }

/* 卡面掠过的高光 */
.card::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 60%;
  height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: rotate(12deg);
  transition: left 0.8s ease;
  pointer-events: none;
}
.card:hover::after {
  left: 130%;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(13px, 1.95vh, 17px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: clamp(8px, 1.4vh, 14px);
  flex: 0 0 auto;
}
.card-title i {
  color: #8fd0ff;
  font-size: 0.92em;
}
.card-title .hint {
  margin-left: auto;
  font-size: 0.68em;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(190, 210, 245, 0.62);
}

.intro p {
  position: relative;
  z-index: 1;
  font-size: clamp(11px, 1.7vh, 15px);
  line-height: 1.8;
  color: rgba(226, 236, 255, 0.9);
  margin-bottom: clamp(6px, 1vh, 10px);
}
.intro p b {
  color: #9ff2d2;
  font-weight: 600;
}
.intro .sign {
  margin-top: 2px;
  margin-bottom: 0;
  text-align: right;
  font-size: clamp(10px, 1.5vh, 13px);
  color: rgba(178, 200, 240, 0.6);
  letter-spacing: 0.06em;
}

/* 联系方式行 */
.links {
  display: grid;
  gap: clamp(5px, 0.9vh, 9px);
  min-height: 0;
  overflow: hidden;
}
.link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(6px, 1.1vh, 10px) clamp(10px, 1vw, 14px);
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font: inherit;
  font-size: clamp(11px, 1.7vh, 14px);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.link-row > i:first-child {
  width: 1.25em;
  text-align: center;
  color: #8fd0ff;
  font-size: 1.05em;
}
.link-row span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.link-row em {
  font-style: normal;
  color: rgba(190, 214, 255, 0.72);
  font-size: 0.9em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.link-row .tail {
  margin-left: auto;
  color: rgba(190, 214, 255, 0.5);
  font-size: 0.9em;
  transition: color 0.25s, transform 0.25s;
  animation: tail-pulse 3.6s ease-in-out infinite;
}

@keyframes tail-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.95; }
}
.link-row:hover {
  transform: translateX(4px);
  background: rgba(143, 208, 255, 0.14);
  border-color: rgba(143, 208, 255, 0.45);
  box-shadow: 0 8px 22px rgba(56, 128, 255, 0.2);
}
.link-row:hover .tail {
  color: #ffffff;
  transform: scale(1.1);
}

.support {
  margin-top: auto;
  padding-top: clamp(8px, 1.2vh, 12px);
}
.support-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: clamp(8px, 1.3vh, 12px) clamp(10px, 1vw, 16px);
  border: 1px solid rgba(255, 209, 102, 0.55);
  border-radius: 12px;
  background: linear-gradient(110deg, rgba(255, 209, 102, 0.2), rgba(255, 160, 72, 0.16));
  color: #ffe6a8;
  font: inherit;
  font-size: clamp(11px, 1.7vh, 14px);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.support-btn .tiny {
  font-size: 0.78em;
  font-weight: 400;
  color: rgba(255, 230, 168, 0.7);
}
.support-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(110deg, rgba(255, 209, 102, 0.3), rgba(255, 160, 72, 0.24));
  box-shadow: 0 12px 28px rgba(255, 180, 80, 0.24);
}

/* ---------------- 页脚 ---------------- */
.foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: clamp(10px, 1.4vh, 12px);
  color: rgba(188, 204, 232, 0.62);
  letter-spacing: 0.04em;
}
.foot a {
  color: rgba(188, 204, 232, 0.62);
  text-decoration: none;
  transition: color 0.25s;
}
.foot a:hover {
  color: #ffffff;
}

/* ---------------- 二维码浮层 ---------------- */
.qr-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 9, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.qr-layer.show {
  opacity: 1;
  visibility: visible;
}

.qr-card {
  position: relative;
  width: min(320px, 78vw);
  padding: clamp(14px, 2vh, 20px);
  border-radius: 20px;
  background: linear-gradient(160deg, #16203a, #0b1226);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  text-align: center;
  transform: translateY(16px) scale(0.94);
  transition: transform 0.38s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.qr-layer.show .qr-card {
  transform: translateY(0) scale(1);
}

.qr-card img {
  display: block;
  width: 100%;
  max-height: 58vh;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
  padding: 8px;
  box-sizing: border-box;
}
.qr-card p {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
}
.qr-card .qr-tip {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: rgba(190, 210, 245, 0.6);
}
.qr-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 18, 34, 0.9);
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.qr-close:hover {
  background: rgba(255, 107, 107, 0.7);
  transform: rotate(90deg);
}

/* ---------------- 入场 ---------------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   窄屏 / 矮屏：单列排布，依旧不出现滚动条
   ============================================================ */
@media (max-width: 860px) {
  #bg_all {
    gap: 8px;
    padding: 12px 16px 8px;
  }
  .home-btn {
    padding: 6px 12px;
  }
  .brand-text em {
    display: none;
  }
  .stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
  }
  .hero {
    justify-content: flex-start;
    gap: 5px;
  }
  h1 {
    font-size: clamp(20px, 6vw, 30px);
    line-height: 1.2;
  }
  .eyebrow {
    letter-spacing: 0.22em;
  }
  .chips {
    gap: 6px;
  }
  .chips span {
    padding: 4px 9px;
  }
  .bili {
    margin-top: 2px;
    padding: 6px 14px;
  }
  .side {
    grid-template-rows: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 8px;
  }
  .card {
    padding: 10px 12px;
    border-radius: 14px;
  }
  .card-title {
    margin-bottom: 6px;
  }
  .card-title .hint {
    display: none;
  }
  .intro p {
    font-size: 11.5px;
    line-height: 1.6;
    margin-bottom: 4px;
  }
  .intro .sign {
    display: none;
  }
  .links {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .link-row {
    padding: 7px 9px;
    font-size: 11.5px;
  }
  .link-row em {
    display: none;
  }
  .support {
    padding-top: 6px;
  }
  .support-btn {
    font-size: 11.5px;
    padding: 7px 10px;
  }
  .support-btn .tiny {
    display: none;
  }
}

/* 矮屏（横屏手机 / 小笔记本）：收紧纵向占用 */
@media (max-height: 620px) {
  #bg_all {
    gap: 6px;
    padding-top: 10px;
    padding-bottom: 6px;
  }
  h1 {
    font-size: clamp(20px, 4.6vh, 34px);
  }
  .lede {
    font-size: 11px;
  }
  .intro p {
    line-height: 1.55;
  }
  .intro p:last-of-type {
    display: none;
  }
  .foot {
    font-size: 10px;
  }
}

/* 横屏矮屏手机：隐藏简介卡，把空间留给联系方式，避免内容被裁 */
@media (max-width: 860px) and (max-height: 620px) {
  .card.intro {
    display: none;
  }
  .side {
    grid-template-rows: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  .glow {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
