/* 基础布局 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  color: #000;
  padding-top: 120px;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    /* height: 100%; */
    overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #fff;
  padding-top: 6.25vw;
  overflow-y: hidden;
}

a{
  text-decoration: none;
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
  width: 6px; /* 滚动条宽度 */
  height: 6px; /* 横向滚动条高度 */
}

::-webkit-scrollbar-track {
  background: #f1f1f1; /* 滚动条轨道背景色 */
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #545454; /* 滚动条滑块颜色 */
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e7e7e7; /* 滑块悬停颜色 */
}

/* 兼容 Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #545454 #f1f1f1;
}

.main-container {
  width: 100vw;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100vw;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5vw;
  padding: 0.5vw 0.8vw;
  color: #000;
  text-decoration: none;
  font-size: 1vw;
  transition: all 0.3s ease;
  border: 0.104vw solid #d51f19;
}

.btn-more::after {
  content: "";
  display: inline-block;
  width: 1vw;
  height: 1vw;
  background-image: url("../images/arrow1.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.btn-more:hover::after {
  transform: translateX(0.5vw);
}

/* 动画相关样式 */
.fade-up {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 确保父容器不会隐藏子元素 */
.fade-up-container {
  overflow: visible;
}

/* 视频容器 */
.video_container {
  width: 100vw;
  height: auto;
}
