/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { width: 100%; max-width: 100%; display: block; }
p   { margin: 0; padding: 0; }
a   { text-decoration: none; }

body {
  background: #000;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Outer wrapper ─── */
.down {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: #000;
}

/* ─── Fixed header ─── */
.dow-nav {
  background-image: url('images/nav_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 480px;
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.dow-ts { font-size: 14px; line-height: 20px; color: #fff; }

.dow-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.dow-nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
}

.dow-nav-logo p { display: flex; flex-direction: column; }

.dow-nav-text1 { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; }
.dow-nav-text2 { font-size: 11px; color: #4ea6ff; font-weight: 600; margin-top: 2px; }

.dow-nav-but {
  border-radius: 36px;
  height: 34px;
  min-width: 80px;
  padding: 0 12px;
  background: #4ea6ff;
  text-align: center;
  line-height: 34px;
  font-size: 13px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  display: block;
  transition: background 0.2s;
}
.dow-nav-but:hover { background: #3b8ee0; }

/* ─── Main scrollable content ─── */
.downss {
  padding-top: 60px;
  padding-bottom: 60px;
  min-height: 100vh;
}

/* ─── Carousel ─── */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slide {
  flex: 0 0 100%;
  max-width: 100%;
  cursor: pointer;
}

.slide img { width: 100%; height: auto; display: block; }

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

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active { background: #fff; width: 16px; border-radius: 4px; }

/* ─── Inner video / fallback section ─── */
.abcdef {
  position: relative;
  width: 100%;
  background: #111;
}

.abcdef img,
.abcdef video {
  width: 100%;
  display: block;
}

/* ─── Floating buttons ─── */
.kf, .sw {
  position: fixed;
  right: 6px;
  z-index: 98;
  width: clamp(48px, 12vw, 60px);
  cursor: pointer;
  transition: transform 0.2s;
}
.kf { bottom: 70px; }
.sw { bottom: 160px; }
.kf:hover, .sw:hover { transform: scale(1.08); }
/*.kf img, .sw img { width: 100%; height: auto; border-radius: 50%; }*/
.kf img, .sw img { width: 100%; height: auto;}


/* ─── Fixed footer ─── */
.dow-nav-wrapper {
  background-image: url('images/foot_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 480px;
  width: 100%;
  height: 60px;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.dow-nav-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.dow-nav-foot img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  flex-shrink: 0;
}

.dow-nav-foot p { display: flex; flex-direction: column; }
.dow-nav-foot .dow-nav-text1 { font-size: 12px; font-weight: 700; color: #fff; }
.dow-nav-foot .dow-nav-text2 { font-size: 10px; color: #4ea6ff; margin-top: 1px; }

.dow-nav-butq {
  border-radius: 36px;
  height: 32px;
  min-width: 74px;
  padding: 0 10px;
  background: #4ea6ff;
  text-align: center;
  line-height: 32px;
  font-size: 12px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  display: block;
  transition: background 0.2s;
}
.dow-nav-butq:hover { background: #3b8ee0; }

/* ─── Sensitive blur ─── */
/*.sensitive-blur {*/
/*  filter: blur(12px) brightness(0.85);*/
/*  -webkit-filter: blur(12px) brightness(0.85);*/
/*}*/

/* ─── Responsive clamp ─── */
@media (max-width: 360px) {
  .dow-nav, .dow-nav-wrapper { padding: 0 8px; }
  .dow-nav-text1 { font-size: 12px; }
  .dow-nav-text2 { font-size: 10px; }
}
