* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 右侧内容样式 */
.main {
  display: block;
  padding: 3.2rem 3.2rem;
}

.movie-card {
  display: none;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.movie-card.active {
  display: block;
}

.movie-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
  padding-bottom: 20px;
  border-bottom: 2px solid #eee;
}

.media-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detials-container {
  padding: 1rem 0;
}

.section-title {
  font-size: 3.2rem;
  margin: 3rem 0;
  padding-left: 15px;
  border-left: 5px solid forestgreen;
  color: #333;
}

.background,
.details {
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.6rem;
  text-indent: 2em;
}

.details-item {
  list-style: none;
  margin-left: 20px;
}

.small-details {
  margin-bottom: 20px;
  padding-left: 20px;
}

.character-header {
  display: flex;
  align-items: center;
  margin: 25px 0;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* 音频播放器样式 */
audio {
  width: 100%;
  margin: 20px 0;
  border-radius: 30px;
  background: #f1f3f4;
}

/* 响应式设计 */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .side-nav {
    width: 100%;
    max-height: 400px;
  }

  .main {
    max-height: none;
  }

  .movie-header {
    flex-direction: column;
    text-align: center;
  }

  .media-img {
    margin-right: 0;
    margin-bottom: 20px;
  }
}
