/* 文字展示区样式 */
.text-showcase {
  max-width: 1000px;
  margin: 20px auto;
  padding: 10px;
  background: rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(79, 172, 254, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100px;
}

.fade-text-container {
  position: relative;
  height: 300px; /* 调整容器高度以适应内容 */
}

.fade-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* 使高度占满容器 */
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  
  /* 使用Flexbox居中 */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* 垂直排列英文和中文文本 */
}

.fade-text.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-text.highlight {
  color: #4facfe;
  font-style: italic;
}

/* 英文文本样式 */
.english-text {
  font-size: 1.4rem;
  font-weight: 500;
  color: #4facfe;
  margin-bottom: 10px;
  text-align: center;
  font-style: italic;
}

/* 中文文本样式 */
.chinese-text {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  line-height: 1.6;
}