.video-item iframe,
.video-item video{
    width:100%;
    height:400px;
    border-radius:12px;
}

@media (max-width:768px){
    .video-item iframe,
    .video-item video{
        height:220px;
    }
}
.video-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 8px;
  position: relative;
}
.video-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
}
.video-item.douyin-card{
  position: relative;
  width: 320px;
  height: 180px;
  flex: 0 0 320px;
  min-width: 320px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.douyin-card {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.douyin-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(10px);
}

.douyin-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.douyin-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.douyin-text {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
}

.douyin-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.video-item {
  flex: 0 0 320px;
  min-width: 320px;
  width: 320px;
  height: 180px;
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden;
}
.video-item img,
.video-item video,
.video-item iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.video-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.video-grid video {
  max-width: 100%;
  border-radius: 8px;
}
.dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  gap: 10px;
}
.dots span {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease;
}
.dots span.active {
  background: #800000;
}

.video-thumbnails {
  margin-top: 20px;
  overflow-x: auto;
}
.thumb-track {
  display: flex;
  gap: 10px;
  padding: 10px;
}
.thumb-item {
  flex-shrink: 0;
  width: 120px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s, transform 0.3s;
  position: relative;
}
.thumb-item:hover,
.thumb-item.active {
  opacity: 1;
  transform: scale(1.05);
}
.thumb-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
