#app {
  width: 100%;
  min-height: 100vh;
  min-width: 1400px;
  background-color: #fbf6f3;
}

html,
body {
  background-color: #fbf6f3;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li {
  padding: 0;
  margin: 0;
}

ul,
li,
button {
  list-style: none;
  outline: none;
}

.ellipsis-line {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: PingFangSC-Medium;
  font-size: 16px;
  color: #000000;
  letter-spacing: 0;
  font-weight: 500;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header {
  width: 100%;
  height: 600px;
  object-fit: cover;
  font-size: 0;
  margin-bottom: 44px;
}
.content {
  width: 1400px;
  margin: 0 auto;
  padding-bottom: 56px;
}
.card {
  display: flex;
  flex-direction: column;
  width: 670px;
  box-shadow: 0 2px 13px 0 #D3D6D0;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 36px;
}
.card:nth-child(odd) {
  background-color: #6faa31;
}
.card:nth-child(even) {
  background-color: #ef9b1e;
}

.card:nth-child(odd) .title-text {
  background: #6faa31;
}
.card:nth-child(even) .title-text {
  background: #ef9b1e;
}
.card-head {
  width: 100%;
  padding: 18px 0;
  font-family: FZZDHJW--GB1-0;
  font-size: 32px;
  letter-spacing: 0;
  text-align: center;
  font-weight: 400;
  color: #ffffff;
}
.card-item-title {
  align-items: center;
  width: 100%;
  height: 42px;
  padding-left: 30px;
  padding-right: 37px;
  box-sizing: border-box;
}
.card-item-title .title-text {
  font-family: PingFangSC-Medium;
  font-size: 18px;
  color: #ffffff;
  letter-spacing: 0;
  font-weight: 500;
  padding: 8px 17px;
  border-radius: 100px 100px 100px 0;
}
.card-content-wrapper {
  background-color: #ffffff;
  border-radius: 16px 16px 0 0;
  flex: 1;
  min-height: 379px;
}
.card-content:first-child {
  padding-top: 38px;
}
.card-content ul {
  padding: 32px 0;
}
.card-content ul li a {
  display: block;
  width: 100%;
  padding-left: 30px;
  padding-right: 15%;
  font-size: 16px;
  text-decoration: none;
  box-sizing: border-box;
}
li + li {
  margin-top: 24px;
}
.card:nth-child(odd) ul li a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 8px;
  background-color: #6faa31;
  vertical-align: middle;
}
.card:nth-child(even) ul li a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 8px;
  background-color: #ef9b1e;
  vertical-align: middle;
}
.card:nth-child(1) {
  position: relative;
}
.card:nth-child(1)::after {
  position: absolute;
  content: '';
  width: 138px;
  height: 138px;
  background-image: url(../assets/policy.png);
  background-size: 100% 100%;
  background-position: bottom left;
  background-repeat: no-repeat;
  bottom: 18px;
  right: 12px;
}
.card:nth-child(2) {
  position: relative;
}
.card:nth-child(2)::after {
  position: absolute;
  content: '';
  width: 138px;
  height: 138px;
  background-image: url(../assets/guide.png);
  background-size: 100% 100%;
  background-position: bottom left;
  background-repeat: no-repeat;
  bottom: 18px;
  right: 12px;
}
.card:nth-child(3) {
  position: relative;
}
.card:nth-child(3)::after {
  position: absolute;
  content: '';
  width: 138px;
  height: 138px;
  background-image: url(../assets/video.png);
  background-size: 100% 100%;
  background-position: bottom left;
  background-repeat: no-repeat;
  bottom: 18px;
  right: 12px;
}
.card:nth-child(4) {
  position: relative;
}
.card:nth-child(4)::after {
  position: absolute;
  content: '';
  width: 138px;
  height: 138px;
  background-image: url(../assets/text.png);
  background-size: 100% 100%;
  background-position: bottom left;
  background-repeat: no-repeat;
  bottom: 18px;
  right: 12px;
}

/* 悬浮二维码组件 */
.floating-qrcode {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 130px;
  height: 164px;
  background-color: #ffffff;
  border-radius: 4px 0 0 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12),
    0 0 0 0.5px rgba(173, 216, 230, 0.4);
  padding: 22px 8px 8px 8px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 1000;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.floating-qrcode:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.18),
    0 0 0 0.5px rgba(173, 216, 230, 0.6);
}

/* 收起状态 */
.floating-qrcode.collapsed {
  width: 40px;
  height: 160px;
  padding: 10px 8px;
  writing-mode: vertical-lr;
  justify-content: center;
}

.floating-qrcode.collapsed .qrcode-content {
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
}

.floating-qrcode.collapsed .qrcode-text {
  margin-top: 0;
  writing-mode: vertical-lr;
  font-size: 14px;
  letter-spacing: 2px;
}

/* 展开状态的内容容器 */
.qrcode-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 1;
}

.qrcode-image {
  width: 100%;
  height: auto;
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(202, 225, 246);
}

.qrcode-text {
  margin-top: 8px;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(81, 81, 81, 0.6);
  text-align: center;
  line-height: 1.3;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
}
