* {
  margin: 0;
  padding: 0;
}
html {
  height: 100vh;
}
body {
  height: 100%;
  width: 100%;
}
.logo {
  z-index: 10;
  position: fixed;
  width: 10%;
  left: 1%;
  top: 2%;
}
.arrow {
  position: fixed;
  left: 5%;
  bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.arrow-item {
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-width: 0 0 2px 2px;
  transform:  rotate(135deg);
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
}
.arrow-item.down {
  border-width: 2px 2px 0 0;
}
.arrow-item:hover {
  opacity: 0.8;
  transform:  rotate(135deg) scale(1.2);
}
.arrow-page {
  color: #fff;
  font-size: 16px;
}


.section {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.bg-list {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0; top: 0;
  z-index: 0;
  will-change: transform;
  transition: transform 1s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
}
.bg {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: cover;
  background: #222;
}
.bg.active {
  z-index: 2;
  pointer-events: auto;
  transform: translateY(0);
}
.bg.prev {
  z-index: 1;
  transform: translateY(-100%);
}
.bg.next {
  z-index: 1;
  transform: translateY(100%);
}

/* 加载指示器样式 */
.loading-indicator {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  z-index: 1000;
  min-width: 200px;
}

.loading-text {
  margin-bottom: 15px;
  font-size: 16px;
}

.loading-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #45a049);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 3px;
}

/* 加载失败的图片样式 */
.bg.loading-error {
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 16px;
  text-align: center;
  line-height: 1.5;
}