@charset "utf-8";

* {
  box-sizing: border-box;
}

html {
  min-width: 1440px;
  background: #17181d;
}

body {
  min-width: 1440px;
  min-height: 100vh;
  margin: 0;
  color: #eee6d8;
  background: #17181d url("../img/help-bg.jpg") center top no-repeat;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
}

.help-hero {
  padding: 170px 20px 80px;
  text-align: center;
}

.help-hero h1 {
  margin: 0 0 12px;
  color: #ffd386;
  background: linear-gradient(180deg, #feeeb8, #ffd386);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 56px;
}

.help-hero p {
  margin: 0;
  color: #cabd9b;
  font-size: 20px;
  font-weight: 700;
}

.help-wrap {
  position: relative;
  width: 1440px;
  min-height: 0;
  margin: 0 auto;
  padding: 80px 50px 50px;
  background: linear-gradient(180deg, rgba(17, 14, 25, 0.7), #110e19);
}

.help-wrap::before,
.help-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  border: solid #ffd386;
  opacity: 0.5;
  transform: rotate(45deg);
}

.help-wrap::before {
  top: -20px;
  width: 40px;
  height: 40px;
  margin-left: -28px;
  border-width: 1px;
}

.help-wrap::after {
  top: -33px;
  width: 65px;
  height: 65px;
  margin-left: -40px;
  border-width: 2px;
  opacity: 0.8;
}

.help-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 48px;
}

.help-tab {
  min-height: 54px;
  margin: 0 10px;
  padding: 15px 40px;
  color: #3b2418;
  background: linear-gradient(135deg, #feeeb8, #ffd386);
  border: 0;
  border-radius: 0;
  font: 700 17px/1.3 "Microsoft YaHei", Arial, sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.help-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.help-tab.active {
  color: #fff;
  background: linear-gradient(135deg, #f1422d, #bf0014);
}

.help-panel {
  display: none;
}

.help-panel.active {
  display: block;
}

.help-card {
  margin-bottom: 30px;
  overflow: hidden;
  background: rgba(255, 211, 134, 0.08);
  border: 0;
  border-radius: 0;
}

.help-question {
  position: relative;
  display: block;
  width: 100%;
  padding: 20px 60px 20px 30px;
  color: #f7e7bc;
  text-align: left;
  background: transparent;
  border: 0;
  font: 700 16px/1.5 "Microsoft YaHei", Arial, sans-serif;
  cursor: pointer;
}

.help-question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 25px;
  color: #f5ba66;
  font-size: 28px;
  font-weight: 400;
  transform: translateY(-50%);
}

.help-question[aria-expanded="true"]::after {
  content: "−";
}

.help-question.static {
  cursor: default;
}

.help-answer {
  display: none;
  padding: 24px 28px;
  color: #d8d0c2;
  border-top: 1px solid rgba(0, 0, 0, 0.45);
  font-size: 14px;
  line-height: 1.9;
}

.help-answer.open {
  display: block;
}

.help-answer p {
  margin: 0 0 12px;
}

.help-answer p:last-child {
  margin-bottom: 0;
}

.help-answer strong {
  color: #efaa58;
}

.help-notice {
  padding: 14px 18px;
  color: #f4d8a4;
  background: rgba(191, 0, 20, 0.18);
  border-left: 3px solid #d51c2e;
}
