body,html {
    background-color: var(--black);
}
.scrollDiv {
    width: 100%;
    /* height: fit-content; */
    /* height: calc(100vh + 4400px);; */
    /* z-index: 0; */
    /* background-color: rgba(0, 255, 255, 0.123); */
    position: relative;
    /* top: 0; */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--white);
}
.homeVARTrigger {
    display: block;
    width: 100%;
    height: 4400px;
    margin-top: 3000px;
    --scrollDivHeight: 7400px;
}

/* 主视觉板块 */
.homeParticle {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 1;
}
.particleMask {
    width: 100%;
    height: 100%;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    mix-blend-mode: exclusion;
    top: 0;
    /* backdrop-filter: blur(0.3px); */
}
.particleMaskDot {
    width: 48vh;
    height: 48vh;
    border-radius: 50%;
    background-color: var(--white);
    filter: blur(120px);
    opacity: 0.38;
    transition: all 2s ease-in-out;
}
.homeParticleCanvas {
    display: block;
}
.homeMoths {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

/* 字符串展示 */
.homeOneMoth {
    width: 100%;
    height: 100%;
    position: absolute;
    display: contents;
}
.homeOneTheMoth {
    position: absolute;
    padding-bottom: 20px;
    font-family: cocon;
    font-size: 8.4vw;
    z-index: 802;
    opacity: 0;
    scale: 1;
    letter-spacing: 4px;
    transition: transform 1.2s ease-out, opacity 0.6s ease-in-out, letter-spacing 2s ease-out, background-position 1.2s ease-in-out;
    background: url('./imgs/textmask.png');
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 200vw;
    background-repeat: no-repeat;
    color: transparent;
    background-position: 20% 0%;

}
.mothFlyOut {
    transform: scale(0.96);
    background-position: 180% 0%;
}
.mothFlyIn {
    opacity: 1;
    letter-spacing: 0px;
    transform: scale(0.94);
}
#DarkMarathyssa {
    font-weight: 500;
}
#VirginianTigerMoth > span:first-child {
    font-weight: 200;
    font-size: 8vw;
}
#White-dottedProminent > span:first-child {
    font-weight: 100;
    letter-spacing: -5px;
    font-size: 7.6vw;
}
#PolyphemusMoth {
    font-weight: 400;
}
#RosyMapleMoth {
    font-weight: 600;
}
#CitheroniaRegalis {
    font-weight: 300;
}
#BombyxMori > span:first-child{
    font-weight: 800;
    font-size: 9vw;
}
#AcherontiaAtropos > span:first-child {
    font-weight: 400;
    font-size: 8vw;
}
#UtetheisaOrnatrix {
    font-weight: 200;
}
#TyriaJacobaeae {
    font-weight: 700;
}

/* 字符串辅助 */
.homeOneMothDetail {
    position: absolute;
    left: 24px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.64rem;
    color: var(--darkGrey);
    font-weight: 200;
}
.homeOneMothDetailName {
    font-weight: 600;
    padding-bottom: 10px;
    font-size: 0.7rem;
}
.homeOneMothDetailCocon {
    display: flex;
    align-items: center;
    width: fit-content;
    padding: 2px 6px;
    border-radius: 20px;
    font-size: 0.56rem;
    transform: translateX(-3px);
}
.noCocoon {
    border: 1px solid var(--midGrey);
}
.cocoon {
    border: 1px solid var(--black);
    background-color: var(--black);
    color: var(--white);
}
.homeOneMothDetailInfo {
    width: 360px;
}
.homeOneMothDetailMap {
    width: 160px;
    height: 100px;
    border: 1px solid var(--darkGrey);
}
.homeOneMothUnicode {
    position: absolute;
    left: 52px;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.64rem;
    color: var(--darkGrey);
    font-weight: 200;
}
.homeOneMothUnicodeLine {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.homeOneMothUnicodeTag {
    position: absolute;
    left: -24px;
    top: -8px;
    width: 12px;
    height: 12px;
    border-right: 1px solid var(--midGrey);
    border-bottom: 1px solid var(--lightGrey);
}

/* 粒子开关 */
.homeParticleSwitch {
    display: block;
    position: fixed;
    right: 32px;
    bottom: 32px;
    padding: 10px 32px;
    border: 1px solid var(--black);
    background-color: var(--whiteBar);
    border-radius: 40px;
    font-weight: 200;
    font-size: 0.84rem;
    z-index: 860;
    transition: all 0.3s ease-in-out;
}
.homeParticleSwitch:hover {
    background-color: var(--lightGrey);
}

/* 滚动提示 */
.homeScrollDownBox {
    width: 100%;
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 32px;
    z-index: 802;
}
.homeScrollDownBg {
    width: 156px;
    height: 40px;
    background-color: var(--black);
    border-radius: 40px;
}
.homeScrollDownGroup {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 156px;
    height: 40px;
}
.homeScrollDownCircles {
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 12px;
}
.homeScrollDownCircle {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.homeScrollDownCircle > svg {
    width: 100%;
    animation: rotate 8s linear infinite;
}
.homeScrollDownCircle2 > svg {
    width: 100%;
    animation: rotate-reverse 8s linear infinite;
}
.homeScrollDownText {
    position: absolute;
    color: var(--white);
    font-weight: 200;
    font-size: 0.9rem;
}
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes rotate-reverse {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

/* 字重变化 */
.homeVARBox {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.homeVAR {
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    padding-bottom: 44px;
    gap: 32px;
    line-height: 1.12;
    /* transition: font-weight 3s ease-in-out; */
    font-weight: 100;
}
.homeVAR.test {
    font-weight: 800;
}
.homeVARLine1A, .homeVARLine1B, .homeVARLine2A, .homeVARLine2B {
    display: flex;
    gap: 12px;
    font-family: coconForHome;
    font-size: 8.4vw;
    /* font-weight: 100; */
}
.homeVARLine1.homeVARLine1 {
    position: relative;
    width: fit-content;
    display: flex;
    gap: 60px;
}
.homeVARLine2.homeVARLine2 {
    position: relative;
    width: fit-content;
    display: flex;
    gap: 60px;
}
.homeVARLetter {
    border: 1px solid var(--darkGrey);
}

.homeVARUnicode {
    position: absolute;
    left: 52px;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.64rem;
    color: var(--darkGrey);
    font-weight: 200;
}
.TGroup {
    margin-left:-6px;
    margin-right: -6px;
}
.aGroup {
    margin-right: -6.8px;
}
.rGroup {
    margin-right: -6px;
}
.nGroup {
    margin-right: -4px;
}

    /* 每行数据 */  
.homeVARLine1Data, .homeVARLine2Data {
    width: 100px;
    position: absolute;
    display: flex;
    justify-content: flex-start;
    /* border: 1px solid red; */
    gap: 12px;
    right: -120px;
    top: -12px;
}
.homeVARLine1Data > div:first-child, .homeVARLine2Data > div:first-child {
    width: 12px;
    height: 12px;
    border-left: 1px solid var(--darkGrey);
    border-bottom: 1px solid var(--midGrey);
}
.homeVARLine1Width, .homeVARLine2Width {
    border: none;
    font-size: 0.8rem;
    font-weight: 200;
}

    /* 字重Bar */
.homeVARBarBox {
    position: fixed;
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* left: 17%; */
    /* top: 74%; */
}
.homeVARBarDots {
    display: flex;
    gap: 4.2vw;
}
.homeVARBarADot {
    width: 2px;
    height: 5px;
    background-color: var(--black);
    z-index: 1;
}
.homeVARBarLine {
    width: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    overflow-x: hidden;
    top: 50%;
    z-index: 0;
}
.homeVARLineBox {
    display: contents;
}
.homeVARLineSolid {
    width: 100%;
    flex-shrink: 0;
    border-top: 1px solid var(--black);
    z-index: 0;
    transform: translateX(-100%);
}
.homeVARLineDotted {
    width: 100%;
    flex-shrink: 0;
    border-top: 1px dotted var(--darkGrey);
    z-index: 0;
    transform: translateX(-100%);
}
#homeVARBarADotThin::before {
    content: 'thin';
    position: absolute;
    top: 16px;
    font-weight: 100;
    font-size: 0.7rem;
}
#homeVARBarADotLight::before {
    content: 'light';
    position: absolute;
    top: 16px;
    font-weight: 100;
    font-size: 0.7rem;
}
#homeVARBarADotNormal::before {
    content: 'normal';
    position: absolute;
    top: 16px;
    font-weight: 100;
    font-size: 0.7rem;
}
#homeVARBarADotRegular::before {
    content: 'regular';
    position: absolute;
    top: 16px;
    font-weight: 100;
    font-size: 0.7rem;
}
#homeVARBarADotMedium::before {
    content: 'medium';
    position: absolute;
    top: 16px;
    font-weight: 100;
    font-size: 0.7rem;
}
#homeVARBarADotSemibold::before {
    content: 'semibold';
    position: absolute;
    top: 16px;
    font-weight: 100;
    font-size: 0.7rem;
}
#homeVARBarADotBold::before {
    content: 'bold';
    position: absolute;
    top: 16px;
    font-weight: 100;
    font-size: 0.7rem;
}
#homeVARBarADotHeavy::before {
    content: 'heavy';
    position: absolute;
    top: 16px;
    font-weight: 100;
    font-size: 0.7rem;
}
.homeVARBar {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--black);
    left: -4.5px;
    top: -1px;
    transform: translateX(0px);
}

/* 卡片板块 */
.homeCards {
    /* margin-top: calc(100vh + 7400px); */
    width: 78vw;
    padding-top: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    z-index: 800;
    /* background-color: var(--white); */
}
.homeSlot {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.homeSlot > div {
    width: 100%;
    background-color: var(--black);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    position: relative;
}

.homeSlotOne {
    overflow: hidden;
}

.items {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 3s ease-in-out;
}

.item {
    width: 100%;
    aspect-ratio: 1 / 1; /* 确保容器是正方形 */
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background-color: var(--black);
}

.item img {
    width: 100%;
    height: 100%; /* 图片完全填充容器 */
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.lottie-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    opacity: 0; /* 默认隐藏动画 */
    transition: opacity 0.3s ease-in-out;
}

.item:hover .lottie-container {
    opacity: 1; /* 鼠标悬停时显示动画 */
}

.homeSlotBtn {
    width: 100%;
    padding-bottom: 32px;
    z-index: 850;
}

.homeSlotBtn > span {
    padding: 8px 32px;
    border-radius: 40px;
    border: 1px solid var(--black);
    background-color: var(--white);
    display: inline-block;
    margin: 0 auto;
    transition: background-color 0.3s ease-in-out; /* 添加过渡效果 */
}

#homeSlotBtnRoll.hover-effect {
    background-color: var(--lightGrey); /* 鼠标悬停时的背景颜色 */
}

.homeCardsLine2 {
    width: 100%;
}
.homeCardsWelcome {
    width: 100%;
    aspect-ratio: 3.2 / 1;
    border-radius: 20px;
    overflow: hidden;
}

    /* 字符堆叠板块 */
.homeO {
    width: 100%;
    height: 600px;
    background-color: var(--black);
    border-radius: 20px;
    position: relative;
}
.homeOLottie {
    width: 100%;
    display: block;
    will-change: transform;
    aspect-ratio: 19 / 10;
    overflow: hidden;
}

    /* 字体描述板块 */
.homeBriefBox {
    width: 80%;
    height: 100vh;
    position: fixed;
    /* top: 360px; */
    z-index: 810;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;

    transition: opacity 1s ease-in-out;
}
.homeBrief {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.homeBriefBracketBox {
    padding: 0 60px;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.homeBriefBracketBox > div {
    width: 24px;
    height: 460px;
}
.homeBriefBracketLeft {
    border-left: 1px solid var(--darkGrey);
    border-top: 1px solid var(--darkGrey);
    border-bottom: 1px solid var(--darkGrey);
}
.homeBriefBracketRight {
    border-right: 1px solid var(--darkGrey);
    border-top: 1px solid var(--darkGrey);
    border-bottom: 1px solid var(--darkGrey);
}
.homeBriefText {
    position: absolute;
    width: 68%;
    display: flex;
    flex-direction: column;
    font-weight: 120;
    line-height: 1.5;
    color: var(--black);
    mix-blend-mode: difference;
    /* font-family: cocon; */
    /* background-color: var(--black); */
    /* text-align: center; */
}

/* 虫虫 */
.homeBabyBox {
    width: 98vw;
    height: 1000px;
    display: flex;
    flex-direction: column;
    /* background-color: aqua; */
    justify-content: end;
    align-items: center;
    margin-top: 400px;
    position: relative;
    z-index: 801;
}
.homeBabyTipsBox {
    width: 100%;
    display: flex;
    padding: 12px;
    /* background-color: var(--white); */
}
.footerOver {
    position: absolute;
    bottom: -460px;
    left: -500px;
    letter-spacing: -200px;
    font-size: 1600px;
    font-weight: 800;
    font-family: cocon;
    z-index: 801;
    color: var(--black);
    /* mix-blend-mode: difference; */
    pointer-events: none;
    transition: opacity 1.2s ease-in-out;
}
.homeBabyTips {
    display: flex;
    flex-direction: column;
    justify-content: end;
    /* background-color: var(--white); */
    border-radius: 20px;
    width: 100%;
    height: 300px;
    padding: 16px 36px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 800;
    transition: all 0.5s ease-in-out;
    /* opacity: 0; */

}

/* footer */
.footer {
    background-color: var(--black);
    width: 100vw;
    height: 460px;
    z-index: 840;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    /* margin-top: 300px; */
}
.footerTags {
    /* border: 1px solid green; */
    padding: 60px 100px 0px;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    gap: 16px;
}
.footerTags.footerTagsRu {
    gap: 28px;
}
.footerTagColumn {
    width: 108px;
    height: 280px;
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footerTagColumn.footerTagColumnRu {
    width: 108px;
    text-wrap: nowrap;
    font-size: 0.7rem;
}
.footerTagColumn1 {
    width: 100%;
    display: flex;
    gap: 10px;
    position: relative;
}
.footerTagColumn1Box {
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--white);
    border-right: 1px solid var(--white);
    position: relative;
}
.footerTagColumn1Box.footerTagColumn1BoxRu {
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--white);
    border-right: 1px solid var(--white);
    position: absolute;
    bottom: -20px;
    left: 0;
}
.footerTagColumn1BoxCanvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 850;
}
.footerTagColumnHead {
    color: var(--white);
    width: fit-content;
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 20px;
    position: relative;
    letter-spacing: 0.8px;
}
.footerTagColumnHead::after {
    content: '';
    width: 0%;
    height: 1px;
    background-color: var(--white);
    position: absolute;
    bottom: -2px;
    left: 0;
    transition: all 0.5s ease-out;
}
.footerTagColumnHead:hover::after {
    content: '';
    width: 100%;
    height: 1px;
    background-color: var(--white);
    position: absolute;
    bottom: -2px;
    left: 0;
}
.footerTagColumnBody {
    color: var(--darkGrey);
    font-size: 0.7rem;
    font-weight: 100;
    letter-spacing: 0.5px;
}
.footerDesigner {
    width: 100%;
    height: 52px;
    border-top: 1px solid var(--darkGrey);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}
.footerDesignerLeft {
    display: flex;
    align-items: center;
    gap: 32px;
}
.footerDesignerRight {
    color: var(--midGrey);
    font-weight: 100;
}
.footerDesignerLeftHead {
    display: flex;
    align-items: center;
    gap: 4px;
}
.footerDesignerLeftHeadCel24 {
    font-family: rany;
    font-weight: bold;
}
.footerDesignerLeftHeadWork {
    font-weight: 100;
    color: var(--midGrey);
}
.footerDesignerLeftBody {
    font-weight: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--midGrey);
}
.footerDesignerLeftBodyDesign {
    margin-left: 4px;
    font-weight: 600;
    color: var(--lightGrey);
}

#footerTagColumnHome {
    margin-right: -8px;
}
#footerTagColumnHome.footerTagColumnRu {
    margin-right: 20px;
}
#footerTagColumnAbout {
    margin-right: -20px;
}
#footerTagColumnAbout.footerTagColumnRu {
    margin-right: -30px;
}

.homeCardLine {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}



#loadingHome {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--white);
    z-index: 997;
}
#loadingHome video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}