/* STAFF/CAST切换界面样式 */
.staffcast-container {
  position: relative;
  /*margin: 20px 0;*/
}

.staffcast_meun {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

/* STAFF和CAST选项容器 */
.staff_menu,
.cast_menu {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 20px;
  margin: 0;
  position: relative;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 300px;
}
.cast_menu{
  margin-left: -50px;
}

  /* STAFF默认选中状态 */
.staff_menu {
  background-image: url('../../staffcast/img/staff_active.png');
  margin-right: 10px;
}

/* CAST默认不选中状态 */
.cast_menu {
  background-image: url('../../staffcast/img/cast.png');
}

/* 不选中状态样式 */
.staff_menu.inactive {
  background-image: url('../../staffcast/img/staff.png');
}

.cast_menu.active {
  background-image: url('../../staffcast/img/cast_active.png');
}

/* 箭头图片样式 */
.staff_arrow,
.cast_arrow {
  width: 15px;
  height: auto;
  margin-right: 12px;
  transition: all 0.3s ease;
}

/* 未选中状态的箭头变灰色 */
.staff_menu.inactive .staff_arrow,
.cast_menu:not(.active) .cast_arrow {
  filter: brightness(0.5) grayscale(1) contrast(0.5);
}

/* 选中状态的箭头变白色 */
.staff_menu:not(.inactive) .staff_arrow,
.cast_menu.active .cast_arrow {
  filter: brightness(10) saturate(0) contrast(2);
}

/* 鼠标悬停效果 - 箭头动感 */
.staff_menu:hover .staff_arrow,
.cast_menu:hover .cast_arrow {
  transform: translateX(8px) scale(1.1);
}

/* 悬停时保持对应的颜色状态 */
.staff_menu:hover:not(.inactive) .staff_arrow,
.cast_menu:hover.active .cast_arrow {
  filter: brightness(10) saturate(0) contrast(2);
}

.staff_menu:hover.inactive .staff_arrow,
.cast_menu:hover:not(.active) .cast_arrow {
  filter: brightness(0.5) grayscale(1) contrast(0.5);
}

/* 文字样式 */
.staff_name,
.cast_name {
  font-family: SHanSanB;
  font-size: 24px;
  transition: all 0.3s ease;
  margin: 0;
}

/* 选中状态文字样式 */
.staff_menu:not(.inactive) .staff_name,
.cast_menu.active .cast_name {
  color: #fff;
}

/* 不选中状态文字样式 */
.staff_menu.inactive .staff_name,
.cast_menu:not(.active) .cast_name {
  color: #797979;
}

/* 鼠标悬停效果 - 箭头动感 */
.staff_menu:hover .staff_arrow,
.cast_menu:hover .cast_arrow {
  transform: translateX(8px) scale(1.1);
  filter: brightness(1.2) saturate(1.3);
}

/* 鼠标悬停效果 - 整体容器 */
.staff_menu:hover,
.cast_menu:hover {
  transform: translateY(2px);
}

/*!* 鼠标悬停效果 - 文字 *!*/
/*.staff_menu:hover .staff_name,*/
/*.cast_menu:hover .cast_name {*/
/*  color: #fff;*/
/*  transform: scale(1.05);*/
/*}*/

/* 装饰线样式 */
.staffcost_line {
  width: 100%;
  margin-top: -2px;
}

/* 点击激活动画 */
.staff_menu:active,
.cast_menu:active {
  transform: translateY(1px) scale(0.98);
  transition: all 0.1s ease;
}

/* 内容区域显示/隐藏控制 */
#staff, #cast {
    display: none;
    padding: 40px 20px;
}

#staff.show, #cast.show {
    display: block;
}

/* STAFF内容区域样式 */
.staff-content {
    display: flex;
    flex-direction: column;
}

.staff-row {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
    /*padding-bottom: 10px;*/
}

.staff-label {
    width: 40%;
    font-family: SHanSerM;
    font-size: 16px;
    color: #000;
    flex-shrink: 0;
    text-align: right;
    padding-right: 20px;
  line-height: 64px;
}

.staff-value {
    flex: 1;
    font-family: SHanSerM;
    font-size: 32px;
    color: #000;
    line-height: 64px;
}

/* CAST内容区域两列布局 */
#cast {
    padding: 40px 20px;
}

#cast .staff-content {
    max-width: 800px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    width: 48%;
    float: left;
    margin-right: 4%;
}

#cast .staff-content:last-child {
    margin-right: 0;
}

/* 清除浮动 */
#cast::after {
    content: "";
    display: table;
    clear: both;
}

/* 或者使用flexbox布局（推荐） */
#cast {
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

#cast .staff-content {
    width: 48%;
    margin: 0;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    #cast {
        flex-direction: column;
        padding: 20px 10px;
    }
    /* 文字样式 */
    .staff_name,
    .cast_name {
        font-size: 18px;
    }
    .staff_arrow, .cast_arrow{
        width: 10px;
    }
    
    #cast .staff-content {
        width: 100%;
        margin-bottom: 30px;
    }
    
    #cast .staff-content:last-child {
        margin-bottom: 0;
    }
  .staff_menu, .cast_menu{
    width: 260px;
    padding: 15px;
  }
}


/* STAFF内容区域两列布局 */
#staff {
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

#staff .staff-content {
    width: 48%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* 响应式设计 - STAFF部分 */
@media screen and (max-width: 768px) {
    #staff {
        flex-direction: column;
        padding: 20px 10px;
    }
    
    #staff .staff-content {
        width: 100%;
    }
    
    #staff .staff-content:last-child {
        margin-bottom: 0;
    }
    .staff-label{
      font-size: 14px;
      line-height: 40px;
    }
  .staff-value{
    font-size: 20px;
    line-height: 40px;
  }
}
