* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: #fff5f7;
  width: 100%;
}

.page-wrapper {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(250, 231, 237, 1);
  min-height: 100vh;
  overflow: hidden;
}

/* ── 顶部导航 ── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 210, 230, 1);
}

.logo {
  width: 109px;
  height: 30px;
  border-radius: 19px;
  background: rgba(240, 189, 212, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.header-site {
  font-size: 13px;
  font-weight: 700;
  color: rgba(163, 47, 99, 1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 214, 228, 1) 0%, rgba(255, 253, 254, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.68);
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
}

/* ── Banner 轮播 ── */
.banner {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.swiper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.swiper-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.swiper-slide {
  width: 100%;
  flex-shrink: 0;
  display: block;
  height: auto;
}

.swiper-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.swiper-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
  cursor: pointer;
}

.swiper-dot.active {
  width: 18px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 1);
}

/* ── 公告跑马灯 ── */
.notice {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: rgba(254, 247, 249, 1);
  overflow: hidden;
}

.notice-icon {
  display: flex;
  align-items: center;
  margin-right: 8px;
  flex-shrink: 0;
}

.notice-icon img {
  width: 14px;
  height: 14px;
  display: block;
}

.notice-wrap {
  overflow: hidden;
  flex: 1;
}

.notice-text {
  font-size: 13px;
  color: rgba(138, 91, 106, 1);
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  display: inline-block;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 下载线路列表 ── */
.download-list {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-item {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 30px;
  padding: 12px 16px;
  box-shadow: 0 2px 10px rgba(244, 114, 182, 0.1);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(14, 201, 177, 1);
  flex-shrink: 0;
  margin-right: 8px;
}

.latency {
  font-size: 13px;
  font-weight: 400;
  color: rgba(14, 201, 177, 1);
  margin-right: 12px;
  min-width: 30px;
}

.line-name {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 21.72px;
  color: rgba(67, 15, 77, 1);
  text-align: center;
}

.btn-download {
  padding: 8px 20px;
  background: linear-gradient(90deg, rgba(255, 110, 136, 1) 0%, rgba(255, 97, 137, 1) 100%);
  color: rgba(255, 255, 255, 1);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 20.27px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0px 2px 4px rgba(249, 194, 255, 1), 0px 2px 4px rgba(255, 99, 137, 0.37);
}

/* ── 联系客服 ── */
.service {
  padding: 16px 24px;
}

.btn-service {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  padding: 16px;
  background: linear-gradient(90deg, rgba(255, 110, 136, 1) 0%, rgba(255, 97, 137, 1) 100%);
  color: rgba(250, 232, 255, 1);
  border-radius: 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 21.72px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: bounce-scale 1.8s ease-in-out infinite;
  transform-origin: center;
}

.btn-service img {
  width: 21px;
  height: 21px;
  display: block;
  flex-shrink: 0;
}

/* ── Footer ── */
.footer {
  padding: 20px 16px 30px;
  text-align: center;
  border-top: 1px solid #f5e0e8;
}

.footer-site {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0px;
  line-height: 18.82px;
  color: rgba(255, 106, 136, 1);
  margin-bottom: 6px;
}

@keyframes bounce-scale {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.07); }
  55%  { transform: scale(0.96); }
  75%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.footer-site a,
.footer-easy a,
.header-site a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.header-site a {
  display: inline-block;
  animation: bounce-scale 1.8s ease-in-out infinite;
  transform-origin: center;
}

.footer-easy {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 17.38px;
  color: rgba(255, 107, 136, 0.68);
  margin-bottom: 10px;
}

.footer-easy span {
  color: rgba(255, 107, 136, 1);
  font-weight: 700;
}

.footer-tip {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 17.38px;
  color: rgba(255, 107, 136, 0.68);
  text-align: center;
}
