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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;

  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel {
  width: 100%;
  height: 100vh;

  position: relative;

  overflow: hidden;

  background: #000;
}

.track {
  display: flex;

  width: 100%;
  height: 100%;

  transition: transform 0.4s ease;

  will-change: transform;
}

.slide {
  flex: 0 0 100%;

  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  user-select: none;
  -webkit-user-drag: none;
}

.dots {
  position: absolute;

  bottom: 20%;
  left: 0;
  right: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 10px;

  z-index: 10;
}

.dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.4);

  transition: 0.3s;
}

.dot.active {
  width: 24px;

  border-radius: 10px;

  background: #fff;
}

.btn {
  position: absolute;

  bottom: 12%;
  left: 50%;

  transform: translateX(-50%);

  min-width: 220px;

  padding: 14px 32px;

  border: none;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.2);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: #fff;

  font-size: 16px;
  font-weight: 600;

  cursor: pointer;

  z-index: 20;

  transition: 0.25s;
}

.btn:active {
  transform: translateX(-50%) scale(0.96);
}

/* 微信提示 */

#browserTip {
  position: fixed;
  inset: 0;

  z-index: 99999;

  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.browser-tip-mask {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.72);

  backdrop-filter: blur(2px);
}

.browser-tip-content {
  position: relative;

  padding: 30px 24px;

  color: #fff;

  text-align: right;

  z-index: 2;

  animation: tipFade 0.3s ease;
}

.browser-tip-arrow {
  font-size: 54px;

  line-height: 1;

  margin-bottom: 12px;
}

.browser-tip-text {
  font-size: 20px;

  line-height: 1.8;

  font-weight: 500;
}

.browser-tip-text span {
  color: #ffd54f;

  font-weight: 700;
}

@keyframes tipFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 768px) {
  .carousel {
    max-width: 1000px;
  }

  .slide img {
    object-fit: contain;
    background: #000;
  }
}
