@charset "UTF-8";
.home {
  width: 100%;
  margin: 0;
  height: 100%;
  background-color: #090e25;
}
.home .banner {
  width: 100%;
  height: 948px;
  background: url("../image-home/banner.avif") no-repeat top center;
  background-size: 100% 100%;
}
.home .banner .content {
  width: 100%;
  height: 948px;
  display: flex;
  justify-content: space-between;
  padding: 0 0 0 9%;
}
.home .banner .content .leftBox {
  width: 55vw;
  padding-top: 14%;
}
.home .banner .content .leftBox h1 {
  font-family: Poppins;
  font-weight: 700;
  font-size: 70px;
  line-height: 100%;
  color: #fff;
}
.home .banner .content .leftBox h6 {
  font-family: Poppins;
  font-weight: 600;
  font-size: 32px;
  line-height: 110%;
  letter-spacing: -2%;
  color: #fff;
  margin-top: 20px;
}
.home .banner .content .leftBox p {
  font-family: Poppins;
  font-weight: 400;
  font-size: 22px;
  line-height: 120%;
  letter-spacing: -3%;
  color: #fff;
  margin: 30px 0 40px;
}
.home .banner .content .leftBox button {
  width: 308px;
  height: 73px;
  border-radius: 73px;
  background: #ffffff;
  box-shadow: 0px 3.69px 25.34px 0px rgba(255, 255, 255, 0.6392156863);
  font-family: Arial;
  font-weight: 700;
  font-style: Bold;
  font-size: 28px;
  line-height: 100%;
  text-align: center;
  text-transform: capitalize;
  color: #000;
}
.home .banner .content .rightBox {
  flex: 1;
  height: 100%;
  margin-top: 100px;
  overflow: visible;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}
.home .banner .content .rightBox .swiperBox {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  width: max-content;
  height: 100%;
  transform: rotate(10deg);
  transform-origin: right center;
  will-change: transform;
}
.home .banner .content .rightBox .column {
  min-width: 200px;
  height: 900px;
  overflow: hidden;
  position: relative;
}
.home .banner .content .rightBox .column ul {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  will-change: transform; /* GPU 加速 */
}
.home .banner .content .rightBox .column li {
  margin-bottom: 10px;
  border-radius: 27px;
}
.home .banner .content .rightBox .column img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 27px;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.home .banner .content .rightBox .scroll-container {
  width: 45vw;
  height: 60%;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin: 0 auto;
}
.home .banner .content .rightBox .scroll-contentodd {
  width: 25%;
  height: 40%;
  margin-right: 10px;
  animation: oddscroll 50s linear infinite;
}
.home .banner .content .rightBox .scroll-contenteven {
  width: 25%;
  height: 40%;
  margin-right: 10px;
  animation: evenscroll 50s linear infinite;
}
.home .banner .content .rightBox .item {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 5px;
}
.home .banner .content .rightBox {
  /* 图片样式 */
}
.home .banner .content .rightBox .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home .banner .content .rightBox {
  /* 滚动动画 */
}
@keyframes oddscroll {
  0% {
    transform: rotate(15deg) translateY(-400%);
  }
  100% {
    transform: rotate(15deg) translateY(-100%);
  }
}
@keyframes evenscroll {
  0% {
    transform: rotate(15deg) translateY(-100%);
  }
  100% {
    transform: rotate(15deg) translateY(-400%);
  }
}
.home .labelBox {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: -200px;
}
.home .labelBox .label {
  height: clamp(20px, 10vh, 170px);
  padding: 40px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(67, 66, 108, 0.4758) 20.19%, rgba(255, 255, 255, 0.366) 100%);
  backdrop-filter: blur(14.8999996185px);
}
.home .labelBox .label h6 {
  font-family: Arial;
  font-weight: 700;
  font-style: Italic;
  font-size: clamp(10px, 3vw, 55px);
  line-height: 100%;
  letter-spacing: -1%;
  text-align: center;
  background: linear-gradient(180deg, #ff3e98 0%, #ff88e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.home .labelBox .label p {
  font-family: Arial;
  font-weight: 700;
  font-style: Bold;
  font-size: clamp(10px, 2vw, 30px);
  line-height: 120%;
  letter-spacing: -1%;
  text-align: center;
  color: #fff;
}
.home .labelBox .label2 h6 {
  background: linear-gradient(180deg, #fcc44a 0%, #f4ea4e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.home .labelBox .label3 h6 {
  background: linear-gradient(180deg, #8d30ff 0%, #e1c1ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.home .labelBox .label4 h6 {
  background: linear-gradient(180deg, #168bff 0%, #8faeff 53.65%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.home .titleBox {
  margin: 100px auto;
}
.home .titleBox h1 {
  font-family: Poppins;
  font-weight: 700;
  font-size: 50px;
  line-height: 100%;
  letter-spacing: -1%;
  text-align: center;
  color: #fff;
}
.home .titleBox p {
  font-family: Poppins;
  font-weight: 400;
  font-size: 24px;
  line-height: 50px;
  letter-spacing: -1%;
  text-align: center;
  color: #acadb6;
}
.home .contentDisplayBox .flexBox {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-bottom: 120px;
}
.home .contentDisplayBox .flexBox .imgBox {
  width: 800px;
  height: 490px;
  border-radius: 36px;
  border: 1px solid #6d6c6c;
  position: relative;
  overflow: hidden;
}
.home .contentDisplayBox .flexBox .imgBox .colorBlock {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  filter: blur(80px);
}
.home .contentDisplayBox .flexBox .imgBox .colorBlock img {
  position: absolute;
  top: 0;
}
.home .contentDisplayBox .flexBox .imgBox .colorBlock img:nth-child(1) {
  left: 0;
}
.home .contentDisplayBox .flexBox .imgBox .colorBlock img:nth-child(2) {
  left: 120px;
}
.home .contentDisplayBox .flexBox .imgBox .colorBlock img:nth-child(3) {
  right: 0;
}
.home .contentDisplayBox .flexBox .imgBox .role {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
}
.home .contentDisplayBox .flexBox .imgBox .role img {
  position: absolute;
  width: 334px;
  height: calc(100% - 38px);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.home .contentDisplayBox .flexBox .imgBox .role img:nth-child(1) {
  transform: translateX(-10%);
  z-index: 2;
}
.home .contentDisplayBox .flexBox .imgBox .role img:nth-child(3) {
  transform: translateX(-90%);
  z-index: 2;
}
.home .contentDisplayBox .flexBox .imgBox .bubbles {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 4;
}
.home .contentDisplayBox .flexBox .imgBox .bubbles img {
  position: absolute;
  animation-duration: 5s, 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.home .contentDisplayBox .flexBox .imgBox .bubbles img:nth-child(1) {
  width: 191px;
  height: 191px;
  animation-name: floatAndSway;
  animation-duration: 6s, 4s;
  animation-delay: 0s, 0.2s;
  left: 10%;
  bottom: 40%;
}
.home .contentDisplayBox .flexBox .imgBox .bubbles img:nth-child(2) {
  width: 105px;
  height: 105px;
  animation-name: floatAndSway;
  animation-duration: 7s, 5s;
  animation-delay: 1s, 1.5s;
  left: 26%;
  bottom: 10%;
}
.home .contentDisplayBox .flexBox .imgBox .bubbles img:nth-child(3) {
  width: 105px;
  height: 105px;
  animation-name: floatAndSway;
  animation-duration: 5.5s, 4.5s;
  animation-delay: 2s, 0.5s;
  right: 20%;
  top: 26%;
}
.home .contentDisplayBox .flexBox .imgBox .bubbles img:nth-child(4) {
  width: 147px;
  height: 147px;
  animation-name: floatAndSway;
  animation-duration: 8s, 3.5s;
  animation-delay: 0.5s, 2s;
  right: 20%;
  bottom: 16%;
}
.home .contentDisplayBox .flexBox img {
  width: 100%;
  height: 100%;
}
.home .contentDisplayBox .flexBox .chatsBox {
  width: 800px;
  height: 490px;
  border-radius: 36px;
  border: 4px solid transparent;
  border-color: #8E88FF;
  background-image: url("../image-home/chat2-back.avif");
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.home .contentDisplayBox .flexBox .chatsBox .chat-box-container {
  width: 100%;
  height: 95%;
  padding: 10px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 20px auto;
}
.home .contentDisplayBox .flexBox .chatsBox .chat-box-container .scroll-content {
  height: 80%;
  width: 100%;
  animation: v-scroll 15s linear infinite;
}
.home .contentDisplayBox .flexBox .chatsBox .chat-box-container .message {
  width: 100%;
  display: flex;
  margin-bottom: 80px;
}
.home .contentDisplayBox .flexBox .chatsBox .chat-box-container .avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.home .contentDisplayBox .flexBox .chatsBox .chat-box-container .message .text {
  padding: 10px 15px;
  font-size: 20px;
  border-radius: 30px;
  line-height: 1.5;
  word-wrap: break-word;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.home .contentDisplayBox .flexBox .chatsBox .chat-box-container .user-a {
  justify-content: flex-start;
}
.home .contentDisplayBox .flexBox .chatsBox .chat-box-container .user-a .avatar {
  margin-right: 10px;
}
.home .contentDisplayBox .flexBox .chatsBox .chat-box-container .user-a .text {
  background-color: rgba(48, 44, 61, 0.8980392157);
  color: white;
  border-bottom-left-radius: 5px;
}
.home .contentDisplayBox .flexBox .chatsBox .chat-box-container .user-b {
  justify-content: flex-start;
  flex-direction: row-reverse;
}
.home .contentDisplayBox .flexBox .chatsBox .chat-box-container .user-b .avatar {
  margin-left: 10px;
}
.home .contentDisplayBox .flexBox .chatsBox .chat-box-container .user-b .text {
  background: linear-gradient(to right, #604AA4, #6D5DD3);
  color: #ffffff;
  border-bottom-right-radius: 5px;
}
.home .contentDisplayBox .modesBox {
  width: 800px;
  height: 490px;
  border-radius: 36px;
  background: url("../image-home/chat3-back.avif") center center;
  border: 1px solid #6d6c6c;
  position: relative;
  overflow: hidden;
}
.home .contentDisplayBox .storiesBox {
  width: 800px;
  height: 490px;
  border-radius: 36px;
  padding: 10px;
  background-image: url("../image-home/chat4-back.avif");
  overflow: hidden;
}
.home .contentDisplayBox .explain {
  flex: 1;
}
.home .contentDisplayBox .explain h6 {
  font-family: Poppins;
  font-weight: 700;
  font-size: 40px;
  line-height: 110%;
  letter-spacing: -1%;
  color: #fff;
}
.home .contentDisplayBox .explain h6 span {
  background: linear-gradient(90deg, #efc37a 4.81%, #e376e5 61.54%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.home .contentDisplayBox .explain h6 .span2 {
  background: linear-gradient(90deg, #2fcfff 0%, #a974ff 19.71%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.home .contentDisplayBox .explain p {
  font-family: Poppins;
  font-weight: 400;
  font-size: 28px;
  line-height: 100%;
  letter-spacing: -1%;
  color: #aaaaaa;
  margin: 10px 0 86px;
}
.home .contentDisplayBox .explain button {
  width: 308px;
  height: 74px;
  border-radius: 74px;
  background: #ffffff;
  box-shadow: 0px 3.69px 25.34px 0px rgba(255, 255, 255, 0.6392156863);
  font-family: Arial;
  font-weight: 700;
  font-size: 28px;
  line-height: 100%;
  letter-spacing: -1%;
  text-align: center;
  color: #000000;
}
.home .CardContainerC {
  display: flex;
  width: 90%;
  height: 500px;
  margin: auto;
  align-items: start;
  justify-content: center;
  overflow: hidden;
}
.home .CardContainerC h6 {
  font-family: Poppins;
  font-weight: 700;
  font-size: 18px;
  line-height: 110%;
  letter-spacing: -1%;
  text-align: center;
  color: #fff;
  margin-bottom: 10px;
}
.home .CardContainerC .CardC {
  width: 22%;
  max-width: 25%;
  height: auto;
  margin: 0 auto;
  border-radius: 5%;
  background: linear-gradient(to bottom right, #66315F, #080B2A, #6A84A8);
}
.home .CardContainerC .CardC .top {
  width: 100%;
  height: 10%;
  display: flex;
  margin: 5%;
}
.home .CardContainerC .CardC .top img {
  width: 35%;
  height: 35%;
  border-radius: 50%;
}
.home .CardContainerC .CardC .top .C-name {
  margin: 2px;
}
.home .CardContainerC .CardC .top .C-name img {
  height: 18%;
  width: 60%;
  object-fit: fill;
  border-radius: 0;
  margin-left: 22px;
}
.home .CardContainerC .CardC .middle {
  margin: 0 5%;
}
.home .CardContainerC .CardC .middle p {
  font-family: Poppins;
  font-weight: 400;
  font-size: 16px;
  line-height: 110%;
  letter-spacing: -1%;
  color: #FFFFFF;
}
.home .CardContainerC .CardC .C-foot {
  margin: 40px 5%;
  font-family: Poppins;
  font-weight: 400;
  font-size: 15px;
  line-height: 120%;
  letter-spacing: -1%;
  text-align: start;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
}

.cardbox {
  margin: 50px auto;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cardbox p {
  font-family: Poppins;
  font-weight: 400;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: -1%;
  text-align: center;
  color: #e2e3eb;
  margin-top: 15px;
}
.cardbox h6 {
  font-family: Poppins;
  font-weight: 700;
  font-size: 30px;
  line-height: 110%;
  letter-spacing: -1%;
  text-align: center;
  color: #fff;
  margin-bottom: 10px;
}
.cardbox .card {
  background-image: url("../image-home/backtest1.avif");
  width: 32%;
  height: 600px;
  border-radius: 20px;
  border: 0.5px solid #FFF;
}
.cardbox .card .pic {
  width: 100%;
  height: 75%;
  border-radius: 20px;
}
.cardbox .card .pic img {
  width: 100%;
  height: 100%;
  border-radius: 20px 20px 0 0;
}
.cardbox .card .cardcontent {
  height: 25%;
  background-color: #080B2A;
  border-radius: 0 0 20px 20px;
}
.cardbox .card .cardcontent span {
  background: linear-gradient(90deg, #efc37a 4.81%, #e376e5 61.54%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.premiumCharactersBox {
  width: 100%;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 800px;
  height: 80%;
  overflow: hidden;
  padding: 0 90px; /* 两侧显示部分相邻卡片 */
  margin-top: 20px;
  margin-bottom: 30px;
}
.carousel-container .carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  height: 90%;
  width: 90%;
  max-width: 100%;
  overflow: visible;
}
.carousel-container .carousel-track p {
  color: #CED2FF;
  font-size: 1.1rem;
}
.carousel-container .carousel-track h6 {
  color: white;
  font-weight: 700;
  font-style: bold;
  font-size: 1.5rem;
}
.carousel-container .carousel-track {
  /* 滑动卡片 */
}
.carousel-container .carousel-track .carousel-card {
  min-width: 70%;
  height: 1.579787234;
  margin: 0 20px;
  margin-top: 20%;
  background: linear-gradient(40deg, #5E4D9B, rgba(94, 77, 155, 0), #5E4D9B);
  border-radius: 15px;
  border-color: #5E4D9B;
  border-width: 5px;
  display: flex;
  transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  /* 左侧信息区域 */
}
.carousel-container .carousel-track .carousel-card .card-info {
  flex: 1;
  width: 50%;
  height: 100%;
  margin-left: 15px;
  margin-top: 15px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* 左上角布局 - 头像区*/
}
.carousel-container .carousel-track .carousel-card .card-info .card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  height: 20%;
}
.carousel-container .carousel-track .carousel-card .card-info .card-header .user-avatar {
  width: 20%;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1.2rem;
}
.carousel-container .carousel-track .carousel-card .card-info .card-header .user-info {
  display: flex;
  flex-direction: column;
}
.carousel-container .carousel-track .carousel-card .card-info .card-header .user-info .card-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
}
.carousel-container .carousel-track .carousel-card .card-info .card-header .user-info .card-emotion {
  color: #C7C7C7;
  font-size: 1rem;
  overflow: hidden;
}
.carousel-container .carousel-track .carousel-card .card-info .card-tags {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}
.carousel-container .carousel-track .carousel-card .card-info .card-tags .card-tag {
  background-color: #373566;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #ffffff;
}
.carousel-container .carousel-track .carousel-card .card-info .card-description {
  overflow: hidden;
  margin-top: 5px;
  /* 信息放在左下方 */
}
.carousel-container .carousel-track .carousel-card {
  /* 右侧图片区域 */
}
.carousel-container .carousel-track .carousel-card .card-image-container {
  flex: 1;
  justify-content: right;
  width: 50%;
  overflow: visible;
  position: relative;
}
.carousel-container .carousel-track .carousel-card .card-image-container .card-image {
  width: 100%;
  height: 120%;
  position: absolute;
  object-fit: cover;
  bottom: 0;
}
.carousel-container {
  /* 指示器 */
}
.carousel-container .carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.carousel-container .carousel-indicators .indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
  border: none;
}
.carousel-container .carousel-indicators .indicator.active {
  background: #4a90e2;
  width: 30px;
  border-radius: 5px;
}
.carousel-container .carousel-indicators .no-select {
  user-select: none;
  -webkit-user-select: none;
}

.expand-container {
  width: 90%;
  margin: 20px auto;
  overflow: hidden;
}
.expand-container h6 {
  font-family: Poppins;
  font-weight: 700;
  font-size: 19px;
  line-height: 110%;
  letter-spacing: -1%;
  color: #fff;
}
.expand-container p {
  font-family: Poppins;
  font-weight: 400;
  font-size: 15px;
  line-height: 120%;
  letter-spacing: -1%;
  color: #e2e3eb;
  margin-top: 15px;
}
.expand-container .toggle-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.expand-container {
  /* --- 标题和按钮布局 --- */
}
.expand-container .expand-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  cursor: pointer;
}
.expand-container .expand-title h6 {
  margin: 0;
  color: #ffffff;
}
.expand-container {
  /* --- 按钮样式 --- */
}
.expand-container .expand-button-generic {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.expand-container {
  /* --- 展开内容动画--- */
}
.expand-container .expand-content-generic {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}
.expand-container .expand-content-generic p {
  margin: 15px 0;
  line-height: 1.6;
  color: #ffffff;
}
.expand-container {
  /* 展开内容*/
}
.expand-container .toggle-checkbox:checked ~ .expand-content-generic {
  max-height: 500px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.expand-container {
  /* 按钮旋转和颜色变化 */
}
.expand-container .toggle-checkbox:checked ~ .expand-title .expand-button-generic {
  transform: rotate(45deg);
}

.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;
  margin-bottom: 50px;
}
.cards-grid .role-group {
  width: 100%;
  gap: 3.3333333333%; /* 卡片间距 */
  padding-left: 3.3333333333%;
  padding-right: 3.3333333333%;
  display: none;
}
.cards-grid .role-group.active {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.8s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cards-grid {
  /* --- 卡片容器和布局 （向右展开) --- */
}
.cards-grid .character-card-wrapper {
  width: 16%; /* 初始宽度 (缩略图) */
  max-width: 48%; /* 展开后的总宽度 (大图宽度) */
  height: 790px; /* 高度固定 */
  border: 1px solid #dcdcdc;
  border-radius: 100px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: rgba(0, 0, 0, 0);
  position: relative;
  transition: width 0.6s ease-in-out;
}
.cards-grid {
  /* 展开状态：由 JS 切换 */
}
.cards-grid .character-card-wrapper.is-expanded {
  width: 48%;
}
.cards-grid {
  /* 隐藏 Checkbox (仅用于 CSS 状态追踪) */
}
.cards-grid .card-toggle-checkbox {
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}
.cards-grid {
  /* --- 缩略图区域  --- */
}
.cards-grid .card-header {
  /* 绝对定位使其覆盖整个容器，并允许它动画消失 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background-color: #f9f9f9;
  /* 动画：透明度或 transform 消失 */
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 5; /* 确保它在收起时位于顶部 */
}
.cards-grid .thumbnail-area {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}
.cards-grid .char-name-thumb {
  margin: 10%;
  font-size: 1.1em;
  color: white;
  padding: 5px 10px;
  margin-bottom: 30px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  z-index: 5;
}
.cards-grid {
  /* --- 展开内容区域 (大图和信息，初始隐藏) --- */
}
.cards-grid .card-expanded-content {
  /* 绝对定位使其位于缩略图下方，准备接替其位置 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 初始隐藏和动画设置 */
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.4s ease-in, transform 0.4s ease-in;
  background-color: #f7f7f7;
  z-index: 4;
}
.cards-grid .main-image-area {
  width: 100%;
  height: 100%; /* 占据全部高度 */
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.cards-grid {
  /* --- 叠加信息--- */
}
.cards-grid .char-details-overlay {
  position: absolute; /* 绝对定位，覆盖在图片上 */
  width: 100%;
  height: 30%;
  bottom: 0;
  padding: 0 5%;
  box-sizing: border-box;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); /* 半透明黑色背景，从透明渐变 */
  color: white;
  transform: translateY(100%); /* 初始隐藏在底部，展开滑入 */
  transition: transform 0.4s ease-out;
}
.cards-grid {
  /* 展开时，信息滑入 */
}
.cards-grid .card-toggle-checkbox:checked ~ .card-expanded-content .char-details-overlay {
  transform: translateY(0);
}
.cards-grid .char-name-expanded {
  font-size: 34px;
  margin: 0 0 5px 0;
  font-weight: bold;
}
.cards-grid .char-info-text {
  font-size: 24px;
  color: #CED2FF;
  line-height: 33px;
  margin: 0;
  display: -webkit-box; /* 限制行数 */
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cards-grid {
  /* --- 状态切换：通用兄弟选择器 (~) --- */
  /* 展开内容显示 (滑动和出现) */
}
.cards-grid .card-toggle-checkbox:checked ~ .card-expanded-content {
  opacity: 1;
  transform: translateX(0);
}
.cards-grid {
  /* 隐藏缩略图 */
}
.cards-grid .card-toggle-checkbox:checked ~ .card-header {
  opacity: 0;
  /* 确保它滑出右侧，完全消失 */
  transform: translateX(100%);
  pointer-events: none; /* 禁用点击 */
}

.role-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 100px;
}
.role-selector button {
  padding: 2px 5px;
  margin: 0 20px;
  background: #20234A;
  border-radius: 80px;
  font-family: Arial;
  font-size: 26px;
  color: #FFF;
}
.role-selector .r-select:hover {
  color: #C37AFF;
}
.role-selector .r-select.active {
  background-color: rgba(93, 10, 176, 0.2901960784);
  color: #C37AFF;
  border: 2px solid;
  border-color: #A178FF;
}

.common-button {
  padding: 10px 20px;
  display: flex;
  margin: 0 auto;
  justify-self: center;
  align-self: center;
  border-radius: 73px;
  background: #ffffff;
  box-shadow: 0px 3.69px 25.34px 0px rgba(255, 255, 255, 0.6392156863);
  font-family: Arial;
  font-weight: 700;
  font-style: Bold;
  font-size: 30px;
  line-height: 100%;
  text-align: center;
  text-transform: capitalize;
  color: #000000;
}

.foot-m {
  width: 100%;
  height: 140px;
  padding: 0 40px;
  backdrop-filter: blur(10px);
  background-color: rgb(0, 0, 0);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  z-index: 900;
}
.foot-m .footlogo {
  width: 100px;
  height: 100px;
}
.foot-m .footbox {
  width: 85%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: white solid 2px;
}
.foot-m .footbox p {
  font-family: Poppins;
  font-weight: 400;
  font-style: bold;
  font-size: 48px;
  color: black;
  margin: 0 auto;
}
.foot-m .footbox button {
  width: 90%;
  height: 100px;
  border-radius: 50px;
  background: #976cfe;
}
.foot-m .footbox button p {
  font-family: Poppins;
  font-weight: 400;
  font-style: bold;
  margin-left: 30px;
  margin-right: 30px;
  font-size: 50px;
  color: white;
}

footer {
  width: 100%;
  margin-top: 20px;
  background-image: url("../image-home/footer.avif");
  background-size: 100% 100%;
  aspect-ratio: 1927/855;
  background-position: center;
  background-repeat: no-repeat;
}
footer .f-button {
  width: 60%;
  margin: auto;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
footer .f-button .f-download {
  width: 388px;
  height: 96px;
  margin: 0 10px;
  border-radius: 96px;
  background: #ffffff;
  font-family: Arial;
  font-weight: 700;
  font-style: Bold;
  font-size: 30px;
  line-height: 100%;
  text-align: center;
  text-transform: capitalize;
  color: #2E0B63;
}
footer .f-button .f-start {
  width: 388px;
  height: 96px;
  margin: 0 10px;
  border: 2px solid;
  border-color: #FFF;
  border-radius: 96px;
  background: rgba(255, 255, 255, 0.2784313725);
  font-family: Arial;
  font-weight: 700;
  font-style: Bold;
  font-size: 30px;
  line-height: 100%;
  text-align: center;
  text-transform: capitalize;
  color: #ffffff;
}

/* 定义主要浮动动画（漂浮摇动） */
@keyframes floatAndSway {
  0%, 100% {
    transform: translateY(0) translateX(0); /* 起始和结束位置：原点 */
  }
  25% {
    transform: translateY(-15px) translateX(-10px); /* 向上并向左移动 */
  }
  50% {
    transform: translateY(-30px) translateX(0); /* 移动到最上方，X方向回中 */
  }
  75% {
    transform: translateY(-15px) translateX(10px); /* 向下并向右移动 */
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1750px) {
  .home .banner .content .rightBox .swiperBox {
    left: 0;
    justify-content: flex-start;
    gap: 10px;
    margin-top: -150px;
    padding-left: 90px;
    transform-origin: left center;
  }
}
@keyframes v-scroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-200%);
    /* 移动到第二份内容开始的位置 */
  }
}

/*# sourceMappingURL=home.css.map */
