/* ===== XIAOQ导航站 · 引导页样式 ===== */

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --gold: #ffcf7a;
  --warm: #ff8f5e;
  --pink: #ffc1cf;
  --glass: rgba(255, 255, 255, .14);
  --glass-line: rgba(255, 255, 255, .32);
}

html, body { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
               "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: #fff;
  background: #2b1a24;
  min-height: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 背景 ---------- */
.bg {
  position: fixed; inset: 0; z-index: 0;
  background: url("../img/bg.jpg") center 28% / cover no-repeat;
  transform: scale(1.04);
  animation: breathe 26s ease-in-out infinite alternate;
}
@keyframes breathe {
  from { transform: scale(1.04) translateY(0); }
  to   { transform: scale(1.12) translateY(-12px); }
}

/* 提升文字可读性的渐变遮罩 */
.mask {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(60, 20, 30, .55), rgba(60, 20, 30, 0) 70%),
    linear-gradient(180deg, rgba(48, 18, 28, .48) 0%, rgba(48, 18, 28, .12) 32%,
                    rgba(40, 15, 25, .38) 72%, rgba(28, 10, 20, .72) 100%);
}

/* ---------- 布局 ---------- */
.wrap {
  position: relative; z-index: 2;
  max-width: 460px; margin: 0 auto;
  min-height: 100vh; min-height: 100dvh;
  padding: 46px 20px 34px;
  display: flex; flex-direction: column;
}

/* ---------- 顶部 ---------- */
.hero { text-align: center; padding-top: 14px; }

.badge {
  display: inline-block;
  padding: 6px 16px 7px;
  font-size: 12.5px; letter-spacing: 2px;
  border-radius: 999px;
  color: #ffe9c9;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: fadeUp .7s .05s both;
}

.title {
  margin: 16px 0 8px;
  font-size: 40px; line-height: 1.14; font-weight: 800;
  letter-spacing: 3px;
  background: linear-gradient(180deg, #fff 30%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 6px 26px rgba(255, 140, 80, .4);
  animation: fadeUp .7s .15s both;
}
.title span { display: block; font-size: 30px; letter-spacing: 8px; }

.slogan {
  font-size: 14.5px; letter-spacing: 4px;
  color: rgba(255, 240, 220, .92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
  animation: fadeUp .7s .25s both;
}

.tags {
  list-style: none;
  margin: 20px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px;
  animation: fadeUp .7s .35s both;
}
.tags li {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; letter-spacing: .5px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #fff5e8;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tags .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

/* ---------- 按钮列表 ---------- */
.nav {
  margin-top: 34px;
  display: flex; flex-direction: column; gap: 13px;
}

.btn {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 16px;
  border-radius: 18px;
  text-decoration: none; color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .09));
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 26px rgba(40, 12, 20, .26), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  animation: fadeUp .7s both;
}
.btn:nth-child(1) { animation-delay: .45s; }
.btn:nth-child(2) { animation-delay: .55s; }
.btn:nth-child(3) { animation-delay: .65s; }
.btn:nth-child(4) { animation-delay: .75s; }

.btn:active {
  transform: scale(.972);
  background: linear-gradient(135deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .16));
}

.ico {
  flex: 0 0 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(140deg, var(--warm), #e8557f);
  box-shadow: 0 4px 14px rgba(255, 120, 90, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.ico svg { width: 23px; height: 23px; }

.txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.txt b { font-size: 16px; font-weight: 600; letter-spacing: 1px; }
.txt em {
  font-style: normal; font-size: 12px; letter-spacing: .3px;
  color: rgba(255, 255, 255, .72);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.arrow { font-size: 22px; color: rgba(255, 255, 255, .55); margin-right: 2px; }

/* ---------- 底部 ---------- */
.foot { margin-top: auto; padding-top: 34px; text-align: center; animation: fadeUp .7s .85s both; }
.foot .line {
  display: block; width: 60px; height: 2px; margin: 0 auto 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.foot p { font-size: 11.5px; letter-spacing: 1px; color: rgba(255, 255, 255, .6); }

/* ---------- 动画 ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 桌面端 ---------- */
@media (min-width: 768px) {
  .wrap { padding: 60px 20px 40px; }
  .title { font-size: 46px; }
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(40, 12, 20, .34), inset 0 1px 0 rgba(255, 255, 255, .34);
    background: linear-gradient(135deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .13));
  }
}

/* ---------- 矮屏（保证一屏内看完） ---------- */
@media (max-height: 700px) {
  .wrap { padding-top: 26px; padding-bottom: 24px; }
  .title { margin: 11px 0 6px; font-size: 33px; }
  .title span { font-size: 25px; letter-spacing: 6px; }
  .tags { margin-top: 13px; }
  .nav { margin-top: 22px; gap: 10px; }
  .btn { padding: 12px 14px; }
  .ico { flex-basis: 40px; height: 40px; }
  .foot { padding-top: 22px; }
}

/* ---------- 小屏 ---------- */
@media (max-width: 360px) {
  .title { font-size: 34px; }
  .title span { font-size: 26px; }
  .btn { padding: 13px 14px; gap: 12px; }
  .ico { flex-basis: 40px; height: 40px; }
}
