/* TVC 屏 — Figma PC #267:273 / Mob #289:2 */

.tvc_banner{
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background: #000;
}

/* 背景视频 */
.tvc_bg{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.tvc_bg_video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tvc_mask{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.tvc_gradient{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 57.8%;
  background: linear-gradient(180deg, rgba(102, 102, 102, 0) 0%, rgba(0, 0, 0, 0.44) 56%);
  pointer-events: none;
}

/* 文案 — PC 叠在视频左下 */
.tvc_content{
  position: absolute;
  left: 2.01rem;
  bottom: 1.78rem;
  z-index: 2;
  color: #fff;
  max-width: 70%;
  pointer-events: none;
}
.tvc_tag{
  font-size: 0.21rem;
  line-height: 1.2;
  font-weight: 300;
  color: #FFE9D0;
  margin-bottom: 0.16rem;
}
.tvc_title{
  font-size: 0.7rem;
  line-height: 1.31em;
  font-weight: 300;
  color: #fff;
  background: linear-gradient(125deg, #FFCE95 21%, #FFFFFF 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 按钮 — PC 叠在视频左下 */
.tvc_btn{
  position: absolute;
  left: 2.01rem;
  bottom: 0.92rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 0.53rem;
  border-radius: 100px;
  background: rgba(81, 70, 70, 0.5);
  cursor: pointer;
  transition: background .3s ease;
  user-select: none;
}
.tvc_btn:hover{
  background: rgba(81, 70, 70, 0.75);
}
.tvc_btn_text{
  font-size: 0.18rem;
  line-height: 1;
  font-weight: 300;
  color: #fff;
}

/* 完整视频弹窗 */
.tvc_full{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tvc_full_mask{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.72);
  cursor: pointer;
}
.tvc_full_dialog{
  position: relative;
  z-index: 1;
  width: 12rem;
  max-width: 90vw;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 0.08rem;
  overflow: hidden;
  box-shadow: 0 0.16rem 0.48rem rgba(0, 0, 0, 0.45);
}
.tvc_full_video{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}
.tvc_full_close{
  position: absolute;
  right: 0.16rem;
  top: 0.16rem;
  width: 0.4rem;
  height: 0.4rem;
  z-index: 2;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / 0.2rem no-repeat;
  cursor: pointer;
  transition: background .3s;
}
.tvc_full_close:hover{
  background-color: rgba(0, 0, 0, 0.7);
}
body.tvc-scroll-lock{
  overflow: hidden !important;
}

.mb-only{ display: none !important; }
.pc-pad{ display: block !important; }

/* 移动端 — Figma mob #289:2 TVC：标题在上、视频、底部按钮 */
@media (max-width: 767px){
  .mb-only{ display: block !important; }
  .pc-pad{ display: none !important; }

  .tvc_banner{
    height: auto;
    max-height: none;
    background: #fff;
    overflow: visible;
    display: flex;
    flex-direction: column;
    padding: 0 0 0.6rem;
  }

  /* 标题在视频上方：标签 #B38044，标题深色渐变 */
  .tvc_content{
    position: relative;
    left: auto;
    bottom: auto;
    z-index: 1;
    order: 1;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem 4.61vw 0.5rem; /* 左右 59/1280 */
    pointer-events: none;
  }
  .tvc_tag{
    font-size: 3.59vw; /* 46/1280 */
    line-height: 3.95vw; /* 50.6 */
    color: #B38044;
    margin-bottom: 2.4vw;
  }
  .tvc_title{
    font-size: 8.59vw; /* 110/1280 */
    line-height: 10.94vw; /* 140/1280 */
    font-weight: 300;
    color: transparent;
    background: linear-gradient(270deg, #000 0%, #897054 97%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* 视频区：左右边距 59，比例 1163×1154 */
  .tvc_bg{
    position: relative;
    left: auto;
    top: auto;
    order: 2;
    width: 90.86vw; /* 1163/1280 */
    height: auto;
    aspect-ratio: 1163 / 1154;
    margin: 0 4.61vw;
    overflow: hidden;
  }
  .tvc_mask{
    background: rgba(0, 0, 0, 0.1);
  }
  .tvc_gradient{
    display: none;
  }

  /* 按钮在视频下方：宽 1065、高 142.4、底 #262626 */
  .tvc_btn{
    position: relative;
    left: auto;
    bottom: auto;
    order: 3;
    display: flex;
    width: 83.2vw; /* 1065/1280 */
    height: 11.13vw; /* 142.4/1280 */
    margin: 3.2vw 4.61vw 0;
    margin-left: 8.44vw; /* 108/1280，相对画板左 */
    border-radius: 100px;
    background: #262626;
  }
  .tvc_btn:hover{
    background: #333;
  }
  .tvc_btn_text{
    font-size: 3.91vw; /* 50/1280 */
    font-weight: 300;
  }

  .tvc_full_dialog{
    width: 92vw;
    max-width: none;
    border-radius: 0.06rem;
  }
  .tvc_full_close{
    right: 0.12rem;
    top: 0.12rem;
    width: 0.5rem;
    height: 0.5rem;
    background-size: 0.24rem;
  }
}
