@import './fonts.css';

:root {
    --c700: "Comfortaa-Bold";
    --c400: "Comfortaa-Regular";
    --m700: "Montserrat-Bold";
    --m400: "Montserrat-Regular";
    --r500: " Roboto-Medium";
    --r400: "Roboto-Regular";
    --gold: #F18128;
    --dark: #040D1F;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;

}

.container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

body {
    background-color: var(--dark);
}

.header_top {
    background: linear-gradient(90.09deg, #3800AF 0%, #BF7204 97.52%, #C27500 100%, #C27500 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 20px 0;
    animation: bg 2s linear infinite;
}

@keyframes bg {
    100% {
        filter: hue-rotate(360deg);
    }
}


.header_top_text {
    font-family: var(--c400);
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #fff;
    width: 160px;


}




.header_top_img {
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotateY(180deg);
    }
}

.nav {
    background-color: black;
}

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

.nav_logo {
    text-decoration: none;
}

.nav_logo img {
    width: 100px;
}

.nav_logo span {
    font-family: var(--c700);
    font-weight: 400;
    font-size: 18px;
    color: #FFF;

}

.nav_list {
    display: flex;
    gap: 18px;
}

.nav_link {
    color: #fff;
    font-family: var(--m400);
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;
    transition: 0.5s;
}

.nav_link span {
    padding: 40px 6px;
    display: block;
}

.nav_link::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
    transform: scale(0);
    transition: 0.5s;


}

.nav_link:hover {
    color: var(--gold);
}

.nav_link:hover::after {
    transform: scale(1);
}

.intro {
    background-image: url(../images/intro_bg.png);
    background-attachment: fixed;
    height: 700px;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

.intro::after {
    content: '';
    width: 100%;
    height: 100%;
    background: #070F19BF;
    top: 0;
    left: 0;
    position: absolute;
    z-index: -1;
}

.intro_title {
    font-family: var(--m700);
    font-size: 64px;
    color: #FFF;
}

.intro_text {
    font-family: var(--m400);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: justify;
    color: #C8C8C8;
    margin-top: 30px;
    margin-bottom: 50px;
    max-width: 570px;
    width: 100%;
}

.intro_btns {
    display: flex;
    gap: 30px;
}

.btn {
    background-color: var(--gold);
    color: var(--dark);
    font-family: var(--r500);
    font-size: 14px;
    line-height: 12px;
    border: none;
    padding: 17px 48px;
    border-radius: 4px;
    cursor: pointer;
}


.intro_btn {
    background-color: var(--dark);
    color: #FFF;
}

.header {
    position: sticky;
    top: -80px;
    z-index: 99;
    width: 100%;
}

.nav {
    backdrop-filter: blur(10px);
}

.nav_mobile {
    display: none;
}

.title {
    font-family: var(--c400);
    font-weight: 400;
    font-size: 36px;
    text-transform: capitalize;
    color: var(--gold);
    margin: 50px 0;
    border-bottom: 2px solid var(--gold);
    width: max-content;

}

.film_box {
    display: flex;
    gap: 30px;
}

.film_card {
    width: 255px;
    height: 368px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #fff;
    gap: 15px;
    transition: 1s;
    overflow: hidden;
    cursor: pointer;

}

.film_card:nth-child(1) {
    background-image: url(../images/film_1.png);
}

.film_card:nth-child(2) {
    background-image: url(../images/film_2.png);
}

.film_card:nth-child(3) {
    background-image: url(../images/film_3.png);
}

.film_card:nth-child(4) {
    background-image: url(../images/film_4.png);
}

.film_card::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(241, 129, 40, 0.35) 0%, rgba(0, 0, 0, 0.71) 51.04%, rgba(7, 15, 25, 0.8) 100%);
    z-index: -1;

}

.film_play {
    margin-top: 40px;
    transform: translateY(-120px);
    transition: 1s;
}

.film_time {
    font-family: var(--m400);
    font-weight: 400;
    font-size: 14px;
    line-height: 10px;
    color: #fff;
    padding: 7px 28px;
    border: 1ps solid #fff;
    border-radius: 9px;
    background: #070F1933;
    transform: translateX(-200px);
    transition: 1s;
}

.film_title {
    font-family: var(--m400);
    font-weight: 400;
    font-size: 22px;
    transform: translateX(220px);
    transition: 1s;
}

.film_text {
    font-family: var(--r400);
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    transform: translateY(180px);
    transition: 1s;
}


.film_card:hover .film_title,
.film_card:hover .film_text,
.film_card:hover .film_time {
    transform: translate(0);
}

.film_card:hover .film_play {
    transform: translate(0) rotateX(720deg);
}

.film_card:hover {
    box-shadow: 0px 0px 15px #fff;
}

.widow {
    background: linear-gradient(90deg, #DEF7FF 0%, #F4FCFF 50.64%, rgba(255, 255, 255, 0) 100.72%);
    margin-top: 50px;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
}

.widow_video {
    position: absolute;
    top: 0;
    right: 0;
    max-height: 100%;
    z-index: -1;
}

.widow_text {
    font-family: var(--r400);
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    text-align: justify;
    margin: 50px 0;
    max-width: 550px;

}

.collect_box {
    display: flex;
    gap: 30px;
}

.collect_card {
    width: 350px;
    height: 193px;
    position: relative;
    background: linear-gradient(270deg, rgba(7, 15, 25, 0.56) 0%, rgba(49, 114, 9, 0.56) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: 1s;
}

.collect_img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: 1s;
}

.collect_left {
    position: absolute;
    top: 7px;
    left: 7px;
    transition: 1s;
}

.collect_right {
    position: absolute;
    top: 7px;
    right: 7px;
    transition: 1s;
}

.collect_title {
    font-family: var(--c700);
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    color: #fff;
    transform: translateY(100px);
    transition: 1S;



}

.collect_play {
    transform: scale(0);
    transition: 1s;
}


.collect_card:hover .collect_title {
    transform: translate(0);
}

.collect_card:hover .collect_play {
    transform: scale(1);
    rotate: (720deg);

}

.collect_card:hover {
    box-shadow: 0 0 15px #fff;
}

.collect_card:hover .collect_img {
    transform: scale(1.1);
}

.collect_card:hover .collect_left {
    transform: translateY(110%);
    rotate: (720deg);
}

.collect_card:hover .collect_right {
    transform: translateY(-110%);
    rotate: (720deg);
}

.game {
    background-image: url(../images/game_bg.png);
    height: 500px;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    gap: 30px;
}

.game::after {
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(95.68deg, rgba(35, 35, 35, 0.8) 10.86%, rgba(11, 11, 11, 0.6) 110.86%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1
}

.game_title {
    color: #fff;
    font-family: var(--c700);
    font-size: 700;
    font-weight: 40px;
    list-style: 100%;
}

.game_text {
    font-family: var(--c400);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #fff;

}

.series_box {
    display: grid;
    gap: 30px;
    margin-top: 30px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.series_card {
    min-height: 183px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.series_card::after {
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(95.68deg, rgba(35, 35, 35, 0.8) 0%, rgba(11, 11, 11, 0.6) 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;

}

.series_card:nth-child(1) {
    background-image: url(../images/series_1.png);
    grid-column: span 2;
    grid-row: span 2;
}

.series_card:nth-child(2) {
    background-image: url(../images/series_2.png);
}

.series_card:nth-child(3) {
    background-image: url(../images/series_3.png);
}

.series_card:nth-child(4) {
    background-image: url(../images/series_4.png);
}

.series_card:nth-child(5) {
    background-image: url(../images/series_5.png);
}

.series_title {
    font-family: var(--c700);
    font-weight: 700;
    font-size: 24px;
    color: #fff;



}

.footer {
    background: linear-gradient(90deg, #FF8C30 0%, #9F4700 100%);
    margin-top: 50px;
    padding: 24px 0;
}

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

.footer_left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.footer_text {
    font-family: var(--c700);
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 5px;
    text-shadow: 0 0 10px #000;
    color: #fff;

}