/* 基本重置 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}


body::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: url(https://www.loliapi.com/acg/pe/) #fff;
  background-position: right center;
  background-size: auto 100%;
  background-attachment: fixed;
  opacity: 0.5;
}


a {
  color: #4db8ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* 容器 */
.about-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* 标题 */
.about-container h1 {
  font-size: 2.4rem;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}
.about-container .subtitle {
  font-size: 1.2rem;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}

/* 分节标题 */
.section-title {
  font-size: 1.6rem;
  color: #333;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid #4db8ff;
  display: inline-block;
  padding-bottom: 4px;
}

/* 正文段落 */
p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 16px;
}

/* 列表 */
ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333;
}

/* 代码块 */
pre {
  background-color: #dff0d888;
  padding: 20px;
  border-radius: 6px;
  overflow-x: auto;
  font-family: monospace;
  color: #3c763d;
  margin-bottom: 30px;
}

/* 注意提示框 */
.note {
  background-color: #dff0d888;
  border-left: 4px solid #4db8ff;
  padding: 20px;
  border-radius: 4px;
  margin: 30px 0;
  color: #3c763d;
}

/* 返回按钮 */
.btn-back {
  display: inline-block;
  margin-bottom: 30px;
  padding: 8px 16px;
  font-size: 1rem;
  color: #333;
  border: 1px solid #4db8ff;
  border-radius: 4px;
  background: transparent;
  transition:
    background 0.3s,
    color 0.3s;
}
.btn-back:hover {
  background-color: #4db8ff88;
  color: #1c1c1c;
}

/* 页脚 */
footer {
  text-align: center;
  margin-top: 50px;
  font-size: 0.9rem;
  color: #888888;
}

@media all and (orientation : portrait){
  body::before  {
    background: url(https://www.loliapi.com/acg/pe/) #fff;
    background-size: auto 100%;
  }
}

/* 响应式 */
@media (max-width: 600px) {
  .about-container {
    padding: 20px;
  }
  .about-container h1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
}


.links {
  padding: 5px 10px;
  text-align: center;
}

.links a {
  color: #333;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}
