/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none !important;
}

*:focus {
    outline: none !important;
}

html,
body {
    height: 100%;
    overflow: hidden;
    outline: none !important;
}

body {
    font-family: Arial, sans-serif;
    font-size: 0.8333vw; /* 16px */
}

/* 页面布局 */
.page {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 4.1667vw 1.0417vw 0; /* 80px 20px 0 */
    position: relative;
    transform: scale(0.8);
}

.main-title,
.page-title {
    font-weight: 500;
    font-size: 2.8125vw; /* 54px */
    text-align: center;
    margin-top: 0;
}

.page-title {
    position: relative;
    display: inline-block;
}
.highlight {
    position: relative;
    display: inline-block;
    color: #000040;
    font-size: 2rem;
    z-index: 1; /* 确保文字在SVG之下 */
}

/* 背景色 */
#page1 {
    position: relative;
    overflow: hidden;
    background-color: #000040;
}

#page1 .main-title {
    color: #fff;
}

#page2,
#page3,
#page4,
#page5 {
    background-color: #f0f3fa;
}

/* 顶部导航栏样式 */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3.125vw; /* 60px */
    display: flex;
    align-items: center;
    padding: 0 1.0417vw; /* 0 20px */
    z-index: 1000;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.logo {
    font-size: 1.25vw; /* 24px */
    font-weight: bold;
    margin-right: 3.6979vw; /* 71px */
}

nav {
    flex-grow: 1;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li:not(:last-child) {
    margin-right: 2.5vw; /* 48px */
}

nav ul li a {
    text-decoration: none;
    color: #989fc0;
    font-size: 0.8333vw; /* 16px */
    font-size: 1.0416vw; /* 18px */
    transition: color 0.3s;
}

.transparent nav ul li a {
    color: #fff;
}

nav ul li a:hover,
nav ul li a.active {
    color: #e839ff;
}

.auth-buttons {
    margin-left: auto;
}

.login-button {
    padding: 0.5208vw 1.0417vw; /* 10px 20px */
    background: linear-gradient(180deg, #642cff 0%, #2f52ff 100%);
    border-radius: 1.0417vw; /* 20px */
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

.login-button:hover {
    opacity: 0.9;
}

/* 非首页导航栏样式 */
.top-nav:not(.transparent) {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0.2604vw 0.5208vw 0.0521vw rgba(0, 0, 64, 0.15); /* 0px 5px 10px 1px */
}

/* 调整页面内容，为顶部导航栏留出空间 */
.page {
    padding-top: 3.125vw; /* 60px */
}

/* SVG 样式 */
.bottom-svg,
.right-svg {
    position: absolute;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    z-index: 2; /* 确保SVG在其他元素之上 */
}

.bottom-svg {
    bottom: -0.5vw; /* 稍微调整位置 */
    left: 59%;
    transform: translateX(-50%);
}

.bottom-svg-3 {
    bottom: -1rem;
    left: 38%;
    transform: translateX(-50%);
    position: absolute;
}

.right-svg {
    right: -1.2vw;
    top: 50%;
    transform: translateY(-50%) scale(1.1);
}

.svg-overlay {
    position: absolute;
    z-index: 1;
}

.svg-1 {
    top: 20%;
    left: 20%;
}

.svg-2 {
    bottom: 20%;
    left: 20%;
}

.svg-3 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

/* 特定页面的样式 */
#page4 .content {
    padding-top: 0.5vw; /* 80px */
    padding-left: 1.0417vw; /* 20px */

    position: relative;

    z-index: 2;
}

#page4 .page-title {
    text-align: left; /* 文字左对齐 */
    margin-bottom: 1.2rem;
}

.page4-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1vw;
    margin-bottom: 1.2rem;
    /* margin-top: 2.6389vw;s */
}

.page4-intro-col {
    flex: 1;
    max-width: 60vw;
}

.page4-intro-col p {
    font-weight: 500;
    font-size: 1.3rem;
    color: #6e79a7;
    text-align: center;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    margin-top: 1.0417vw; /* 20px */
}

.step {
    flex: 1;
    padding: 0.5208vw; /* 10px */
    background-color: #f0f0f0;
    border-radius: 0.4167vw; /* 8px */
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.step.active {
    background-color: #e0e0ff;
    box-shadow: 0 0.2083vw 0.3125vw rgba(0, 0, 0, 0.1); /* 0 4px 6px */
    opacity: 1;
}

.step h3 {
    margin-top: 0;
    color: #333;
}

.step-content {
    display: none;
    margin-top: 0.5208vw; /* 10px */
}

.step.active .step-content {
    display: block;
}

.tab-container {
    width: 70vw;
    margin: 0 auto;
    border-radius: 1.0417vw; /* 20px */
    background: linear-gradient(304deg, rgba(14, 170, 242, 0.4) 10.59%, rgba(47, 82, 255, 0.5) 95.22%);

    position: relative;
    overflow: hidden;
}

#page1 .tab-content-main {
    background: #0d0d56;
    padding: 0.5208vw 0; /* 10px 0 */
    box-sizing: border-box;
    border-radius: 1.25vw; /* 24px */
}

#page1 .tab-container {
    background: none;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 2.8125vw; /* 54px */
    margin: 1.4583vw 0 1.5625vw 0; /* 28px 0 30px 0 */
}

.tab-button {
    font-size: 1.25vw; /* 24px */
    padding: 0.625vw 1.1979vw; /* 12px 23px */
    border: none;
    border-radius: 1.5104vw; /* 29px */
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(359deg, rgba(100, 44, 255, 0.3) 0%, rgba(47, 82, 255, 0.3) 100%);
    color: #ffffff;
}

.tab-button.active {
    background: linear-gradient(359deg, #e3eaff 0%, #ffffff 100%);
    color: #642cff;
}

#page1 .tab-button {
    background: none;
    color: #2f52ff;
}

#page1 .tab-button.active {
    background: none;
    color: #e839ff;
}

.tab-content {
    border-radius: 1.0417vw; /* 20px */
    height: 60vh;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0.2083vw 0.5208vw rgba(0, 0, 0, 0.1); /* 0 4px 10px */
    backdrop-filter: blur(0.5208vw); /* 10px */
    -webkit-backdrop-filter: blur(0.5208vw); /* 10px */
    margin: 1.1458vw 1.7188vw; /* 22px 33px */
}

#page1 .tab-content {
    background: linear-gradient(144deg, rgba(14, 170, 242, 0.3) 0%, rgba(47, 82, 255, 0.1) 100%);
    box-shadow: inset 0.0521vw 0.0521vw 0.0521vw 0.0521vw rgba(54, 255, 255, 0.3); /* 1px 1px 1px 1px */
    border-radius: 1.25vw; /* 24px */
}

.tab-pane {
    display: none;
    padding: 1.0417vw; /* 20px */
    width: 100%;
    height: 100%;
}

.tab-pane.active {
    display: block;
}

#page2 {
    position: relative;
    overflow: hidden;
}

#page2 .tab-container {
    position: relative;
    z-index: 2; /* 确保内容在 SVG 之上 */
}

.svg-background {
    position: absolute;
    top: -10.4167vw; /* -200px */
    left: -10.4167vw; /* -200px */
    z-index: 1;
}

.svg-background-2 {
    position: absolute;
    top: -10.4167vw; /* -200px */
    right: -10.4167vw; /* -200px */
    z-index: 1;
}

.bg-svg {
    width: 48.0208vw; /* 922px */
    height: 48.0208vw; /* 922px */
}

#page2 .content {
    position: relative;
    z-index: 2;
}

.image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 1.5625vw; /* 30px */
}

.tab-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Page 3 样式 */
.page3-layout {
    display: flex;
    justify-content: space-between;
    margin-top: 2.0833vw; /* 40px */
    gap: 1.0417vw; /* 20px */
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 9.375vw); /* 180px */
    grid-template-rows: repeat(3, 9.375vw); /* 180px */
    gap: 1.0417vw; /* 20px */
}

.grid-item {
    width: 9.375vw; /* 180px */
    height: 9.375vw; /* 180px */
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 0.2083vw 0.5208vw rgba(96, 165, 255, 0.16); /* 0 4px 10px */
    border-radius: 0.4167vw; /* 8px */
    cursor: pointer; /* 添加鼠标手型指针 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item img {
    object-fit: cover;
    transform: scale(1.5);
    padding-top: 1vw;
}

.grid-item:hover {
    transform: translateY(-0.5208vw); /* 悬停时向上移动 10px */
    box-shadow: 0 0.4167vw 0.8333vw rgba(96, 165, 255, 0.24); /* 果 */
}

.grid-item.active {
    border: 0.1563vw solid #2f52ff; /* 3px */

    box-shadow: 0 0.4167vw 0.8333vw rgba(96, 165, 255, 0.24);
}

.right-content {
    width: 31.8229vw; /* 611px */
}

.base-glow {
    height: 100%;
    width: 100%;
    position: relative;
}

.base-glow img {
    width: 100%;
    /* height: 100%; */
}

.base-glow-1 {
    position: absolute;

    left: 0;
    right: 0;
    bottom: -1vw;
    z-index: 2;
}

.base-glow-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    /* bottom: -6px; */
}

.displayedGif-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4vw;
    z-index: 1;
    overflow: hidden;
    height: 46vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: top 0.3s ease; /* Add smooth transition */
}

#displayedGif {
    /* width: 63%; */
    object-fit: contain;
    position: relative;
}

.tab-content-page1 {
    position: relative;
    width: 100%;
    height: 68vh;
}

.tab-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.tab-image-container.active {
    opacity: 1;
    pointer-events: auto;
}

.tab-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.experience-btn {
    position: absolute;
    font-weight: 500;
    font-size: 1.25vw;
    color: #000040;
    width: 8.3333vw;
    height: 3.0208vw;
    background: linear-gradient(359deg, #e3eaff 0%, #ffffff 100%);
    border-radius: 1.5104vw;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    text-align: center;
}

.experience-btn:hover {
    transform: scale(1.05);
}

.character-showcase {
    position: relative;
    width: 100%;
    height: 37vw; /* 调整高度以适应您的设计 */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.character-item {
    position: absolute;
    transition: all 0.5s ease;
}

.character-item video {
    max-height: 100%;
    transform: scale(1.1);
    object-fit: contain;
    pointer-events: none; /* 确保视频不会干扰点击事件 */
}

.main {
    height: 90%;
    z-index: 1;
}

.left-1,
.right-1 {
    height: 65%; /* 内侧角色更小 */
    z-index: 4;
    filter: blur(2px);
    opacity: 0.8;
}

.left-2,
.right-2 {
    height: 75%; /* 外侧角色稍大 */
    z-index: 3;
    filter: blur(4px);
    opacity: 0.6;
}

.left-1 {
    transform: translateX(-10vw) translateY(-4vw);
} /* 调整这两个值来改变水平和垂直位置 */
.left-2 {
    transform: translateX(-20vw) translateY(2vw);
} /* 调整这两个值来改变水平和垂直位置 */
.right-1 {
    transform: translateX(10vw) translateY(-4vw);
} /* 调整这两个值来改变水平和垂直位置 */
.right-2 {
    transform: translateX(20vw) translateY(2vw);
} /* 调整这两个值来改变水平和垂直位 */

.page4-bg,
.page4-bg-index {
    position: relative;
}

.page4-base-glow-1 {
    position: absolute;
    bottom: 3rem;
    right: 10rem;
    object-fit: contain;
    height: 4rem;
}

.page4-title {
    color: #fff;
    position: absolute;
    top: 44%;
    left: 7%; /* Moved to the left */
    transform: translateY(-50%); /* Only vertical centering */
    text-align: left; /* Ensure text aligns to the left */
}

#page4 {
    position: relative;
}

.page4-bg-index {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    transform: scale(1.1);
    z-index: 1;
}

.botton-text {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 1.25vw;
    color: #fff;
    z-index: 2;
    margin: 0 auto;
}

#page2 .page-title {
    margin-bottom: 2rem;
}

.character-showcase {
    position: absolute;

    position: absolute;
    right: -13.6rem;
    top: -7rem;
    transform: scale(0.5);
}

@media (min-width: 1440px) {
    .character-showcase {
        transform: scale(0.56);
        height: 44vw;
    }
}

@media (min-width: 1536px) {
    .character-showcase {
        transform: scale(0.56);
        height: 43vw;
    }
}

@media (min-width: 1920px) {
    .page4-bg img {
        height: 40rem !important;
    }

    .page5-bg img {
        height: auto !important;
    }

    .page5-bg .page5-bg-img {
        height: 40rem !important;
    }

    .page4-bg .page4-base-glow-1 {
        height: 4rem !important;
        position: absolute;
        bottom: 5rem;
        right: 21rem;
        object-fit: contain;
    }
}

#logo-img {
    width: 82px;
    height: 82px;
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.image-carousel img.active {
    opacity: 1;
}

.character-showcase.image-carousel .character-item {
    position: absolute;
    transition: all 0.5s ease-in-out;
}

.character-showcase.image-carousel .character-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-showcase.image-carousel .main {
    z-index: 5;
    /* 添加适当的尺寸和位置样式 */
}

.character-showcase.image-carousel .left-1,
.character-showcase.image-carousel .right-1 {
    z-index: 4;
    /* 添加适当的尺寸和位置样式 */
}

.character-showcase.image-carousel .left-2,
.character-showcase.image-carousel .right-2 {
    z-index: 3;
    /* 添加适当的尺寸和位置样式 */
}

.tab-pane,
.tab-image-container {
    transition: opacity 0.3s ease-in-out;
}

@media (min-width: 2000px) {
    .right-svg {
        right: 0;
        top: 50%;
        transform: translateY(-50%) scale(1.8);
    }

    .page4-bg .page4-base-glow-1 {
        position: absolute;
        bottom: 7rem !important;
        right: 20rem !important;
        object-fit: contain;
        height: 4rem !important;
    }

    .character-showcase {
        height: 35vw;
        transform: scale(0.7);
    }

    #page4 .content {
        padding-top: 7vw;
        transform: scale(1);
    }

    #page5 .content {
        padding-top: 7vw;
        transform: scale(1);
    }
}

/* 用户信息区域样式 */
.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-wrapper {
    position: relative;
    cursor: pointer;
    width: 45px;
    display: inline-flex;
    justify-content: center;
}

.icon {
    width: 24px;
    height: 24px;
}

.badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff4d4f;
    color: white;
    border-radius: 10px;
    padding: 0 6px;
    font-size: 12px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
}

.avatar-wrapper {
    position: relative;
    cursor: pointer;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px); /* 调整菜单位置 */
    right: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: none;
    min-width: 120px;
    padding: 4px 0;
    z-index: 1000;
}

.avatar-wrapper:hover .dropdown-menu {
    display: block;
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu li {
    padding: 8px 16px;
    transition: background-color 0.2s ease;
}

.dropdown-menu li:hover {
    background: #f5f5f5;
}

.dropdown-menu a {
    color: #333;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

/* Page 5 styles to match Page 4 */
#page5 .content {
    padding-top: 0.5vw;
    padding-left: 1.0417vw;
    position: relative;
    z-index: 2;
}

#page5 .page-title {
    text-align: left;
    margin-bottom: 1.2rem;
}

#page5 {
    position: relative;
}

.page5-bg {
    position: relative;
}

.page5-base-glow-1 {
    position: absolute;
    bottom: 3rem;
    right: 10rem;
    object-fit: contain;
    height: 4rem;
}

.page5-title {
    color: #fff;
    position: absolute;
    top: 44%;
    left: 7%;
    transform: translateY(-50%);
    text-align: left;
}

.page5-bg-index {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    transform: scale(1.1);
    z-index: 1;
}

/* 移除之前的动画样式 */
.character-showcase img:first-child,
.character-showcase img:last-child {
    opacity: 0;
}

/* 添加新的动画类 */
@keyframes slideFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-first {
    animation: slideFromRight 0.8s ease-out forwards;
}

.animate-slide-second {
    animation: slideFromRight 0.8s ease-out 0.4s forwards;
}

.animate-slide-third {
    animation: slideFromLeft 0.8s ease-out 0.8s forwards;
}

/* 确保动画重置时的平滑过渡 */
.character-showcase img:not(.animate-slide-first):not(.animate-slide-second):not(.animate-slide-third) {
    transform: translateX(100px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 特别处理第三张图片的初始状态 */
.character-showcase img:nth-child(3):not(.animate-slide-third) {
    transform: translateX(-100px);
}

/* 添加从左侧滑入的动画 */
@keyframes slideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 添加淡入动画 */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* 添加从下到上的动画 */
@keyframes slideFromBottom {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 修改现有的动画类 */
.character-showcase img {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.3s ease;
}

.animate-slide-first {
    animation: slideFromRight 0.8s ease-out forwards;
}

.animate-slide-second {
    animation: slideFromRight 0.8s ease-out 0.4s forwards;
}

.animate-slide-third {
    animation: slideFromLeft 0.8s ease-out 0.8s forwards;
}

.animate-slide-fourth {
    animation: fadeIn 0.8s ease-out 1.2s forwards;
}

.animate-slide-fifth {
    animation: slideFromBottom 0.8s ease-out 1.6s forwards;
}

/* 确保动画重置时的平滑过渡 */
.character-showcase img:not(.animate-slide-first):not(.animate-slide-second):not(.animate-slide-third):not(.animate-slide-fourth):not(.animate-slide-fifth) {
    transform: translateX(100px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 特别处理第三张图片的初始状态 */
.character-showcase img:nth-child(3):not(.animate-slide-third) {
    transform: translateX(-100px);
}

/* 特别处理第五张图片的初始状态 */
.character-showcase img:nth-child(5):not(.animate-slide-fifth) {
    transform: translateX(100px);
}

/* 添加从右向左滑入的动画 */
@keyframes slideFromRight2 {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 修改第五张图片的动画类 */
.animate-slide-fifth {
    animation: slideFromRight2 0.8s ease-out 1.6s forwards;
}

/* 修改第五张图片的初始状态 */
.character-showcase img:nth-child(5):not(.animate-slide-fifth) {
    transform: translateX(100px);
}

/* 重置所有动画相关的样式 */
.character-showcase img {
    opacity: 0;
    will-change: transform, opacity;
}

/* 图1和图5的动画 */
@keyframes animateImage1 {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* 图2的动画 */
@keyframes animateImage2 {
    0% {
        opacity: 0;
        transform: translateX(80px) translateY(20px);
    }
    60% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

/* 图3的动画 */
@keyframes animateImage3 {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotate(-5deg);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

/* 图4的动画 */
@keyframes animateImage4 {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    60% {
        transform: translateY(5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 应用动画类 */
.animate-slide-first,
.animate-slide-fifth {
    animation: animateImage1 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-second {
    animation: animateImage2 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.animate-slide-third {
    animation: animateImage3 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
}

.animate-slide-fourth {
    animation: animateImage4 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}

/* 优化动画性能 */
.character-showcase img {
    backface-visibility: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Update the character-index container */
.character-showcase.character-index {
    position: absolute;
    width: 831px;
    height: 600px;
    transform-origin: center;
    top: -7%;
    right: -15%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.character-showcase.character-index .character-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 图片基础样式 */
.character-showcase.character-index img {
    position: absolute;
    object-fit: contain;
    max-width: 100%; /* 确保图片不会超出容器 */
}

/* 各图片具体样式 */
.character-index .img-1 {
    right: 7%;
}

.character-index .img-2 {
    top: 100px;
    right: 177px;
    width: 500px;
}

.character-index .img-3 {
    width: 300px;
    top: -100px;
    left: -155px;
    opacity: 1;
}

.character-index .img-4 {
    top: -100px;
    height: auto;
    left: 160px;
}

.character-index .img-5 {
    width: 1000px;
    bottom: 125px;
    left: -57px;
}

.profile-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.expert-icon {
    position: absolute !important;
    display: inline-block;
    top: -2px;
    right: -4px;
    margin: 0 !important;
}

@media (min-width: 1920px) {
    .page5-bg {
        height: auto !important;
    }
}

@media (min-width: 1920px) {
    .character-showcase.character-index {
        top: 8%;
        right: -7%;
    }

    .character-showcas {
        transform: scale(0.8);
    }
}
