:root {
  --swiper-theme-color: #ffffff;
  --swiper-navigation-size: 44px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background-color: #141414;
  color: #e0e0e0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 40px 20px;
}

/* Swiper 容器 */
.swiper {
  width: 694px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  background: #000;
}

.swiper-slide {
  position: relative;
  background: #000;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 移动端适配 */
@media (max-width: 768px) {
  body {
    padding: 20px 10px;
  }

  .swiper {
    width: 100%;
    height: auto;
    aspect-ratio: 694 / 300; /* 保持原始图片比例 */
  }

  /* 移动端隐藏左右箭头 */
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}

/* 分页器美化 */
.swiper-pagination-bullet {
  background: rgba(255,255,255,0.5);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #ffffff;
}

/* 导航箭头美化（PC端显示时生效） */
.swiper-button-next,
.swiper-button-prev {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #ffffff;
}