@media(max-width: 1440px) {
    .intro{
        height: 640px;
    }
    .widow{
        background: linear-gradient(90deg, #DEF7FF 0%, #F4FCFF 45.64%, rgba(255, 255, 255, 0) 100.72%);
    }
    .game{
        height: 430px;
    }

}

@media(max-width: 1200px) {
    .game{
        height: 400px;
    }
    .intro {
        height: 600px;
        background-attachment: local;
    }



}

@media(max-width: 1140px) {
    .series_box{
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(4,1fr);
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }
    .widow{
        background: linear-gradient(90deg, #DEF7FF 0%, #F4FCFF 35.64%, rgba(255, 255, 255, 0) 100.72%);
        height: 450px;
    }
    .widow_title{
        width: 400px;

    }

    .film_box {
        gap: 20px;
    }

    .film_card {
        width: 230px;
        height: 320px;
    }

    .film_play {
        margin-top: 10px;
    }

    .film_text {
        display: -webkit-box;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
        overflow: hidden;
        overscroll-behavior-y: scroll;

    }
}


@media(max-width: 1000px) {
    .game{
        height: 350px;
        gap: 20px;
    }
    .game_title{
        font-size: 35px;
    }
    .collect_box{
        flex-wrap: wrap;
        justify-content: center;
    }
    .collect_card{
        width: 300px;
        height: 180px;
    }
    .collect_img{
        object-fit: cover;
        object-position: center;
        width: 100%;
        height:100%;
    }
    .collect_left,
    .collect_right{
        height: 166px;
    }
    .collect_play img{
        width: 35px;
    }
    .film_box {
        flex-wrap: wrap;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .title {
        margin: 30px auto;
        font-size: 32px;
    }



    .intro_title {
        font-size: 50px;
        text-align: center;
    }

    .intro_text {
        margin: 30px auto;
        text-align: center;
    }

    .intro_btns {
        justify-content: center;
    }

    .intro {
        height: 500px;
    }
}
@media(max-width: 950px) {
    .widow{
        background: linear-gradient(90deg, #DEF7FF 0%, #F4FCFF 35.64%, rgba(255, 255, 255, 0) 100.72%);
        text-align: center;
    }
    .widow_video{
        object-fit: cover;
        object-position: center;
        width: 100%;
    }
    .widow_title{
        width: 370px;
    }
    .widow_text{
        margin: 20px auto;
        max-width: 550px;
    }
}

@media(max-width: 800px) {
    .footer{
        padding: 15px 0;
        margin-top: 30px;
    }
    .footer_box{
        flex-direction: column;
        gap: 10px;
    }    
    .footer_left{
        gap: 30px;
    }
    .game{
        height: 300px;
        gap: 15px;
        padding: 0 15px;
    }
    .game_title{
        font-size: 30px;
    }
    .game_text{
        line-height: 130%;
        font-size: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        overflow-y: scroll;
    }    
    .widow{
        margin-top: 40px;
        height: 400px;
    }
    .widow_title{
        width: 220px;
    }
    .header_top {
        padding: 15px 0;
    }

    .header_top_img {
        width: 40px;
    }

    .intro {
        height: 400px;

    }

    .intro_text {
        margin: 20px auto;
    }

    .btn {
        padding: 15px 40px;
    }

    .nav_link span {
        padding: 35px 6px;
    }

}

@media(max-width:700px) {
    body{
        padding-bottom: 90px;
    }
    .collect_card{
        width: 270px;
        height: 165px;
        gap: 70px;
    }
    .collect_card:hover{
        box-shadow: unset;
    }
    .collect_card:hover .collect_left,
    .collect_card:hover .collect_right,
    .collect_card:hover .collect_img,
    .collect_card:hover .collect_play{
        transform: unset;
    }
    .collect_left,
    .collect_right{
        height: 150px;
    }
    .collect_play {
        transform: unset;
    }
    .collect_play img {
        width: 30px;
    }
    .collect_title {
        font-size: 18px;
        transform: unset;
    }
    
    
    .film_box {
        max-width: 480px;
    }

    .film_card {
        width: 220px;
        height: 300px;
    }

    .film_text {
        -webkit-line-clamp: 5;
    }
    
    .film_text ,
    .film_play,
    .film_title, 
    .film_time{
        transform: unset;
    }

    .film_card:hover{
        box-shadow: unset;
    } 
    .film_card:hover .film_play{
        transform: unset;
    }
    .title{
        margin: 20px auto;
        font-size: 28px;
    }



    .nav_box {
        display: none;
    }

    .nav_mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;

    }

    .nav_mobile_link {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .nav_mobile_link img {
        width: 35px;
        height: 35px;
    }

    .nav_mobile_link span {
        color: #FFF;
        font-family: var(--m400);
        font-size: 16px;
    }

    .nav {
        position: fixed;
        bottom: 0;
        width: 100%;
        padding: 15px;
    }
}

@media(max-width: 600px) {
    .footer{
        padding: 10px 0;

    }
    .footer_text{
        font-size: 16px;
        letter-spacing: 0px;
    }
    .series_box{
        display: flex;
        gap: 15px;
        margin-top: 15px;
        overflow: hidden;
        overflow-x: scroll;

    }
    .series_card{
        width: 220px;
        min-height: 165px;
        flex-shrink: 0;
        gap: 10px;
    }
    .series_title{
        font-size: 20px;
    }
    .series_play img{
        width: 32px;
    }
    .game{
        height: 250px;
    }
    .game_title{
        font-size: 27px;
    }
    .game_text{
        font-size: 14px;

    }
    .widow{
        margin-top: 30px;
        height: 320px;
    }
    .widow_title{
        width: 270px;
    }
    .widow_text{
        font-size: 16px;
        line-height: 140%;
        margin: 15px auto;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        overflow-y: scroll;
    }
    .header_top {
        padding: 10px 0;
    }

    .header_top_img {
        width: 32px;
    }

    .header_top_text {
        font-size: 14px;

    }

    .intro {
        height: 300px;
    }

    .intro_title {
        scroll-snap-align: 32px;
    }

    .intro_text {
        margin: 15px auto;
        font-size: 15px;
        line-height: 130%;
    }

    .btn {
        padding: 12px 30px;
    }

}









@media(max-width:500px) {
    .film_play img {
        width: 30px;

    }
    .film_box{
        flex-wrap: nowrap;
        overflow: hidden;
        overflow-x: scroll;
    }
    .film_time{
        padding: 5px 15px;
    }
    .film_title{
        font-size: 18px;
    }
    .film_card{
        flex-shrink: 0;
        width: 200px;
        height: 260px;
        gap: 10px;
        padding: 10px;
        padding-bottom: 10px;

    }
    .intro_title {
        font-size: 27px;
    }

    .intro_text {
        margin: 10px auto;
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        overflow-y: scroll;
    }

    .intro_btns {
        gap: 15px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 13px;
    }



    .nav {
        padding: 10px;
    }

    .nav_mobile_link img {
        width: 30px;
        height: 30px;
    }

    .nav_mobile_link span {
        font-size: 14px;
    }
}

@media(max-width:400px) {
    .game{
        height: 200px;
        padding: 0 8px;
        gap: 10px;
    }
    .game_title{
        font-size: 24px;
    }
    .game_text{
        -webkit-line-clamp: 4;

    }

    .intro_title {
        font-size: 25px;
    }

    .intro_text {
        font-size: 13px;
    }


    .btn {
        padding: 8px 20px;
    }

    .intro {
        height: 220px;
    }

    .nav_mobile_link img {
        width: 25px;
        height: 25px;
    }

    .nav_mobile_link span {
        font-size: 13px;
    }
}
