﻿/* @media (max-width: 1920px) { */
    html{
        font-size: .5vw !important;
    }
/* } */
.flex{
    display: flex;
}
.flex-justify-center{
    justify-content: center;
}
.flex-items-center{
    display: flex;
    align-items: center;
}
.box-index{
    position: relative;
    z-index: 1;
}
.box-1{
    align-items: center;
    justify-content: center;
    gap: 10rem;
}
.box-title{
    font-size: 7.2rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.title-box{
    margin: 16rem 0 5.2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out,transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.title-box.active1 {
    opacity: 1;
    transform: translateY(0);
}
.title-box img{
    width: 13rem;
}
.box-title-point{
    width: 3.5rem;
    height: 3.5rem;
    margin-left: 3rem;
    margin-top: -2rem;
    border-radius: 50%;
    background-image: linear-gradient(218deg, #FE5A01 1%, #003FFF 100%);
}
.box-title::after {
    content: "OUR CATALOG";
    position: absolute;
    top: 6px;
    left: 6px;
    color: #0005FF;
    z-index: -1;
    width: 100%;
}
.box-1 .box-title-2::after {
    content: "MORE THAN 400 HOURS+ & TRENDING TITLES";
}
.box-2 .box-title::after {
    content: "DIVERSIFY CONTENT RECOMMENDATION";
}
.box-3 .box-title::after {
    content: "PREMIUM TITLE RECOMMENDATION";
}
.box-4 .box-title::after {
    content: "WE BRING YOU";
}
.box-4 .box-title1::after {
    content: "BEST PERFORMANCE TITLES";
}
.box-5 .box-title::after {
    content: "More Catalog and Screening Inquiry";
}
.box-5 .box-title1::after {
    content: "Please send email to: ";
    top: 0.2rem;
    left: 0.2rem;
}
.box-5 .box-title2::after {
    content: "cassandra.yang@risingjoycc.com";
    top: 0.2rem;
    left: 0.2rem;
}
.box-title-2{
    width: 40rem;
    font-size: 6rem;
}
.marquees-container {
    display: flex;
    gap: 20px;
}

.marquee-container {
    max-width: 32rem;
    width: 32rem;
    flex: 1;
    height: 94rem;
    overflow: hidden;
    position: relative;
    border-radius: 2rem;
}

.marquee-track {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    width: 100%;
    animation: scrollVertical linear infinite;
}

/* 第一、三个跑马灯的轨道位置（从上开始） */
#marquee1 .marquee-track,
#marquee3 .marquee-track {
    top: 0;
}

/* 第二个跑马灯的轨道位置（从下开始） */
#marquee2 .marquee-track {
    bottom: 0;
    animation-name: scrollVerticalReverse; /* 使用反向动画 */
}

@keyframes scrollVertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* 反向滚动的动画 */
@keyframes scrollVerticalReverse {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(50%);
    }
}

.marquee-item {
    margin: 10px 0;
    width: 100%;
}

.marquee-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 2rem;
}
.box-2 .box-2-1{
    padding: 0 6rem;
    gap: 6rem;
    justify-content: center;
}
.box-2 .box-2-1 img{
    width: 38rem;
}
.box-2 .box-2-1 img:first-child{
    position: absolute;
    width: 20rem;
    top: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.video-play{
    width: 5rem !important;
    height: 5rem;
    position: absolute;
    top: 50%;
    margin-top: -2.5rem;
    left: 50%;
    margin-left: -2.5rem;
    z-index: 1;
}
.box-2 .box-2-1 .video-player>div{
    height: 100%;
}
.box-2 .box-2-1 .myVideo{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.box-2 .box-2-1 .video-player{
    position: absolute;
    height: 94%;
    width: 86%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 4rem;
    overflow: hidden;
}
.box-2 .box-2-1 .title{
    font-size: 2.4rem;
    text-align: center;
    line-height: 4.2rem;
    font-weight: 700;
    width: 30rem;
    background: #0005FF;
    border-radius: 34px;
    padding: 1.3rem 0;
    margin: 3rem auto;
}
.box-3 .box-3-1{
    padding: 0 8rem;
    gap: 6rem;
    justify-content: center;
}
.box-3 .box-3-1 div{
    overflow: hidden;
}
.box-3 .box-3-1 div img:first-child{
    position: absolute;
    z-index: -1;
    height: 97%;
    width: 97%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 6rem;
    object-fit: cover;
}
.box-3 .box-3-1 img{
    width: 46rem;
}
.box-4 .box-4-1{
    padding: 0 8rem;
}
.box-4-1 img {
    opacity: 0;
    transform: scale(0.3);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}
/* 为不同图片设置不同的动画延迟 */
.box-4-1-1 img:nth-child(1) { transition-delay: 0.1s; }
.box-4-1-1 img:nth-child(2) { transition-delay: 0.3s; }
.box-4-1-1 img:nth-child(3) { transition-delay: 0.5s; }
.box-4-1-2:nth-child(1) img:nth-child(1) { transition-delay: 0.7s; }
.box-4-1-2:nth-child(2) img:nth-child(1) { transition-delay: 0.9s; }
.box-4-1-2:nth-child(1) img:nth-child(2) { transition-delay: 1.5s; }
.box-4-1-2:nth-child(2) img:nth-child(2) { transition-delay: 2s; }
/* 激活状态 */
.box-4-1 img.is-visible {
    opacity: 1;
    transform: scale(1);
}
.box-4 .box-4-1-1{
    gap: 2rem;
}
.box-4 .box-4-1-1 img{
    width: 50rem;
}
.box-4 .box-4-1-2 img{
    width: 72rem;
}
.box-4 .box-4-1-2 img:last-child{
    position: absolute;
    width: 81rem;
    left: 50%;
    transform: translateX(-50%) !important;
}
.box-5 .box-title1,.box-5 .box-title2{
    font-size: 2.8rem;
}
.box-5 .title-box{
    margin-bottom: 13rem;
}
.bg-shadow-dou {
    position: absolute;
    right: -7rem;
    bottom: 17rem;
    z-index: 1;
    width: 24rem;
}
.bg-shadow-dou::before {
    content: "";
    position: absolute;
    width: 24rem; /* 圆圈大小 */
    height: 24rem;
    background-color: #FE4401; /* 红色 */
    border-radius: 50%; /* 圆形 */
    z-index: -1; /* 放在图片后面 */
}
  /* 右侧蓝色圆圈（带阴影和过渡） */
.bg-shadow-dou::after {
    content: "";
    position: absolute;
    top: 17rem;
    right: -7rem;
    transform: translateY(-50%);
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    z-index: -1;
    /* 完全渐变的蓝色背景 */
    background: radial-gradient(
        circle at center,
        rgba(0, 5, 255, 1) 0%,       /* 中心较实 */
        rgba(0, 5, 255, 0.9) 30%,      /* 中间过渡 */
        rgba(0, 5, 255, 0.7) 50%,      /* 中间过渡 */
        rgba(0, 5, 255, 0.4) 70%,      /* 中间过渡 */
        rgba(0, 5, 255, 0.3) 90%,      /* 中间过渡 */
        rgba(0, 5, 255, 0) 100%      /* 边缘虚化 */
    );

    /* 平滑阴影（与渐变融合） */
    box-shadow: 
        0 0 30px rgba(0, 5, 255, 0.5), /* 内层柔和光晕 */
        0 0 30px rgba(0, 5, 255, 0.5); /* 外层投影 */

    /* 初始状态（半透明） */
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* 平滑缓动 */
  }

  /* 动画 */
  .flesh,.flesh1 {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform; /* 优化性能 */
}
.box-2-1 .flesh:nth-child(1),.box-2-1 .flesh:nth-child(2) {
    transform: translateX(-50rem);
}

/* 偶数项：从右边进入 */
.box-2-1 .flesh:nth-child(3),.box-2-1 .flesh:nth-child(4) {
    transform: translateX(50px);
}

/* 激活状态 */
.flesh.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.flesh1.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #eee; /* 灰色背景 */
    border-radius: 4px;
    transition: opacity 0.3s ease;
}