/**
 * index.css
 */
html {
    font-size: 3.5vw;
}

.tabBar_main_item_b .tabBar_main_item_icon {
    background-image: url(/static/img/footer_main_item_b_active.png);
}

.header_user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 3vw;
    padding-top: 6vw;
}

.header_user_info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.user_img {
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    border: 0.5vw solid #ffffff;
    overflow: hidden;
    margin-right: 1.5vw;
}

.user_img img {
    width: 100%;
    height: 100%;
}

.user_img_text {
    font-size: 3vw;
}

.header_user_button {
    font-size: 3vw;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #FF62A7, #FBB939);
    color: #ffffff;
    padding: 2vw 2.5vw;
    border-radius: 2vw;
    padding-bottom: 2.8vw;
}

.header_user_button img {
    width: 4vw;
    height: 4vw;
    margin-right: 1vw;
}

.index_header {
    background-image: url(/static/img/index_header_bg.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    position: relative;
}

.index_header_title1 {
    padding-top: 5vw;
    font-weight: bold;
    font-size: 5.5vw;
    color: #0F0F0F;
    text-align: center;
}

.index_header_title2 {
    font-weight: bold;
    font-size: 8.5vw;
    color: #000000;
    text-align: center;
}

.index_header_img_box {
    text-align: center;
}

.index_header_img {
    height: 54vw;
    position: relative;
}

.index_header_img_box_item {
    border: 0.7vw solid #ffffff;
    border-radius: 3vw;
    position: absolute;
    width: 25vw;
    /* height: 35vw; */
}

.index_header_img_box_item_1 {
    top: 48%;
    left: 28%;
    transform: translate(-50%, -50%) rotate(-15deg);
    z-index: 2;
}

.index_header_img_box_item_2 {
    top: 49%;
    left: 49%;
    transform: translate(-50%, -50%) rotate(-3deg);
    z-index: 4;
}

.index_header_img_box_item_3 {
    top: 40%;
    right: 31%;
    transform: translate(50%, -50%) rotate(15deg);
    z-index: 3;
}

.index_header_img_item {
    position: relative;
}


.index_header_img_box_item_img {
    width: 100%;
    height: 100%;
    border-radius: 3vw;

}


.index_header_img_box_item_user {
    position: absolute;
    width: 10vw;
    height: 10vw;
    border-radius: 5vw;
    border: 0.6vw solid #FFFFFF;
    z-index: 3;
}

.index_header_img_box_item_user_1 {
    bottom: -5%;
    left: -17%;
}

.index_header_img_box_item_user_3 {
    bottom: -5%;
    right: -17%;
}

.index_header_img_box_item_user_img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.main {
    margin: 0 3.5vw;
    padding-bottom: 20vw;
}

.main_menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw;
    margin-bottom: 6vw;
}

.main_menu_item {
    border-radius: 3vw;
    background-repeat: no-repeat, no-repeat;
    background-position: right bottom, center center;
    background-size: auto 87%, 100% 100%;
    height: 19vw;
    padding: 4vw 3vw;
}


.main_menu_item_1 {
    background-image: url('/static/img/main_menu_item_user_bg1.png'), url('/static/img/main_menu_item_bg1.png');
    color: #DC2F6A;
}

.main_menu_item_2 {
    background-image: url('/static/img/main_menu_item_user_bg2.png'), url('/static/img/main_menu_item_bg2.png');
    color: #FFA027;
}

.main_menu_item_3 {
    background-image: url('/static/img/main_menu_item_user_bg3.png'), url('/static/img/main_menu_item_bg3.png');
    color: #0069F8;
}

.main_menu_item_4 {
    background-image: url('/static/img/main_menu_item_user_bg4.png'), url('/static/img/main_menu_item_bg4.png');
    color: #AA25FF;
}


.main_menu_item_title {
    font-size: 4vw;
}

.main_menu_item_remoke {
    color: #989086;
    font-size: 3.5vw;
}

.main_button_fn {

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3vw;

}

.main_button_fn_item {
    text-align: center;
}

.main_button_fn_item_img {
    width: 12vw;
    height: 12vw;
    background: #F5F5F3;
    margin: 0 auto;
    border-radius: 2.5vw;
    margin-bottom: 1vw;
}

.main_button_fn_item_img img {
    width: 100%;
    height: 100%;

}

.main_button_fn_item_title {
    font-size: 3.5vw;
    color: #000000;
}


.main_button_a {
    background: linear-gradient(90deg, #FF62A7, #FBB939);
    border-radius: 2vw;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 6vw 0;
}

.main_button_a_img {
    width: 5vw;
    height: 5vw;
}

.main_button_a_title {
    color: #ffffff;
    font-size: 4.5vw;
    line-height: 14vw;
    margin: 0 2vw;
}

.main_button_a_remoke {
    color: #ffffff;
    font-size: 2.8vw;
    padding: 0.2vw 1.2vw;
    border-bottom-right-radius: 2vw;
    border-top-right-radius: 2vw;
    border-top-left-radius: 2vw;
    background: rgb(45 10 25 / 41%);
    padding-bottom: 0.8vw;
}

.img_list_y {
    margin-bottom: 5vw;
}

.img_list_y_title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3vw;
}

.img_list_y_title_text {
    font-size: 4.7vw;
}

.img_list_y_title_remoke {
    color: #999999;
    font-size: 3.2vw;
}

.img_list_y_data_box {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.img_list_y_data {
    display: flex;
    gap: 2.5vw;
}

.img_list_y_data_item {
    flex: 0 0 auto;

    border-radius: 2vw;
    overflow: hidden;
}

.img_list_y_data_item_1 {
    width: 19.2vw;
    height: 19.2vw;
    background: #ddd;
    overflow: hidden;
}

.img_list_y_data_item_1_img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}


.type_img_box {
    margin: 0;
}

.type_img_box_title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 4vw;
}

.type_img_box_title_icon {
    width: 5vw;
    height: 5vw;
    margin-right: 2vw;
}

.type_img_box_title_icon > img {
    width: 100%;
    height: 100%;
}

.type_img_box_title_remoke {
    font-size: 4.7vw;
}


.type_img_box .grid-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 30vw;
    gap: 3vw;
    margin-bottom: 4vw;
}

.type_img_box .grid-item {
    position: relative;
    border-radius: 3vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    flex-direction: column;
}

.type_img_box .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.type_img_box .grid-item span {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(0 0 0 / 26%);
    color: #fff;
    font-size: 3vw;
    padding: 0;
    border-radius: 3vw;
    width: 100%;
    text-align: center;
    font-size: 3vw;
    line-height: 3vw;
    padding-bottom: 1.8vw;
    padding-top: 1vw;
    backdrop-filter: blur(1vw);
    -webkit-backdrop-filter: blur(1vw);
}

.type_img_box .grid-item.big {
    grid-column: span 2;
    grid-row: span 2;
}

.type_img_box .grid-item .tag {
    position: absolute;
    bottom: 3vw;
    right: 3vw;
    background: linear-gradient(90deg, #F7B7D3, #E6D6FE, #9FD0FF);
    color: #000000;
    font-size: 3.5vw;
    padding: 1vw 3vw;
    border-radius: 4vw;
    width: auto;
    padding-bottom: 1.5vw;
}

.img_list_y_data_item_2 {
    width: 33vw;
    height: 43vw;
    background: #ddd;
    position: relative;
    overflow: hidden;
}

.img_list_y_data_item_2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img_list_y_data_item_2_tag {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2vw;
    box-sizing: border-box;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5vw;
    word-break: break-word;
    white-space: normal;
}

.img_list_y_data_item_2_tag_p1 {
    font-size: 3vw;
    font-weight: bold;
}

.img_list_y_data_item_2_tag_p2 {
    font-size: 2.5vw;
    opacity: 0.9;
}

.img_list_y_data_item_3 {
    width: 34vw;
    height: 43vw;
    background: #ddd;
    position: relative;
}

.img_list_y_data_item_3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab_content {
    visibility: hidden;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    flex: 1;
    display: none;
}

.tab_content.active {
    visibility: visible;
    width: auto;
    height: auto;
    overflow: visible;
    opacity: 1;
    position: relative;
    display: block;
}

.tab_header {
    display: flex;
    overflow-x: auto; /* 横向滚动 */
    white-space: nowrap; /* 防止换行 */
    -webkit-overflow-scrolling: touch; /* 移动端平滑滚动 */
    scrollbar-width: none; /* Firefox 隐藏滚动条 */
    margin-bottom: 2.8vw;
}

.tab_header::-webkit-scrollbar {
    display: none; /* Chrome/Safari 隐藏滚动条 */
}

.tab_header_item {
    display: inline-block;
    padding: 2vw 0; /* 调整左右间距 */
    cursor: pointer;
    color: #A6A6A6;
    font-size: 4vw;
    margin-right: 4vw;
    flex-shrink: 0; /* 防止被压缩 */
    margin-left: 2vw;
}

.tab_header_item.active {
    color: #000000;
    font-weight: bold;
    position: relative;
    z-index: 0;
}

.tab_header_item.active::after {
    z-index: -1;
    content: '';
    position: absolute;
    bottom: 24%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1vw;
    border-radius: 0.2vw;
    background: linear-gradient(90deg, #FF62A7, #FBB939);
}


.tab_grid_box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 52vw;
    gap: 3vw;
    margin-bottom: 4vw;
}

.tab_grid_item {
    position: relative;
    border-radius: 3vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    flex-direction: column;
}

.tab_grid_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab_grid_item span {
    position: absolute;
    bottom: 1vw;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(0 0 0 / 26%);
    color: #fff;
    font-size: 3vw;
    padding: 8vw 1vw;
    border-radius: 5vw;
    width: 54%;
    text-align: center;
    font-size: 3vw;
    line-height: 3vw;
    padding-bottom: 1.8vw;
    padding-top: 1vw;
    backdrop-filter: blur(1vw);
    -webkit-backdrop-filter: blur(1vw);
    font-size: 3vw;
    line-height: 3vw;
    padding-top: 2.1vw;
    display: inline-block;
}

.tab_grid_item.tab_big {
    grid-column: span 2;
}

.tab_grid_item .tab_tag {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 4vw 4vw;
}

.tab_grid_item .tab_tag .tab_tag_title {

    font-size: 5vw;
    color: #FFFFFF;

}

.tab_grid_item .tab_tag .tab_tag_remoke {
    font-size: 2.8vw;
    background: rgb(0 0 0 / 36%);
    color: #FFFFFF;
    margin: 0 8vw;
    border-radius: 4vw;
    margin-top: 2vw;
    padding-bottom: 0.5vw;
}

.tab_grid_item .tab_tag .tab_tag_button {
    width: 50%;
    display: inline;
    color: #FFFFFF;
    margin: 0 auto;
    margin-top: auto;
    padding: 1.1vw 2vw;
    border-radius: 4vw;
    background: linear-gradient(123deg, #FF62A7, #FBB939);
    font-size: 4vw;
    padding-bottom: 1vw;
}


.image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.thumbnail {
    width: 200px;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s;
}

.thumbnail:hover {
    transform: scale(1.05);
}

/* 遮罩层样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    display: block;

}

/* 图片容器样式 */
.modal-content {
    width: 90%;
    height: 90%;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* 关闭按钮样式 */
.close-btn {
    position: absolute;
    top: -4%;
    right: -2%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.tab_content_box {
    display: flex;
    align-items: stretch;

}