/* 背景层 - 放在最底层 */
#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  /* 关键：负值让背景在内容后面 */
  background-image: url('../../images/bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 内容层 - 确保在背景上面 */
.content {
  position: relative;
  z-index: 1;
  /* 正值让内容在背景前面 */
  max-width: 80%;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.9);
  /* 可选：半透明白色背景让文字更清晰 */
}

p {
  text-indent: 2em;
  /* 首行缩进 2 个字符宽度 */
  text-align: justify;
  /* 可选：两端对齐，让段落更整齐 */
  margin-bottom: 1em;
  /* 段与段之间的间距 */
}

.terms_page {
  display: flex;
  /* justify-content: space-around; */
  padding-bottom: 10px;

  justify-content: flex-start;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);

}

.terms_page_items {
  position: relative;
  cursor: pointer;
  padding: 10px 20px;
  text-align: center;
  transition: all 0.3s ease;
  user-select: none;
}

.terms_page_items .tab-text {
  font-size: 16px;
  color: #c6c6c6;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.terms_page_items.active .tab-text {
  color: #ffffff;
  font-weight: bold;
}

.terms_page_items .line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
  transition: all 0.3s ease;
  border-radius: 2px 2px 0 0;
}

.terms_page_items .line_change {
  background-color: #007bff;
  width: 100%;
}

.content-item {
  display: none;
  padding: 20px;
}

.content-item.active {
  display: block;
}

.important-notice {
  border-left: 4px solid #ffc107;
  padding: 15px;
  margin: 20px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  box-sizing: border-box;
}

table td {
  border: 1px solid #999;
  padding: 4px;
}
