/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital@1&display=swap');

* {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
}
/* Popup Styles */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup-content {
    background: rgb(255, 249, 249);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
    width: 300px;
}

h2 {
    color: #d4af37;
}

p {
    margin-bottom: 20px;
    color: #333;
}

button {
    background: #d83919;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

button:hover {
    background: #b0b22f;
}



:root {
    --main-color: #ffff00;
    --text-color: #020307;
    --bg-color: #fff;
}

body {
    background: var(--text-color);
    color: var(--bg-color);
}

section {
    padding: 4.5rem 0 1.5rem;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 100px;
    transition: 0.5s;
}

header.shadow {
    background: rgba(33, 33, 33, 0.7);
}

.logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bg-color);
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}

.logo .bx {
    font-size: 24px;
    color: var(--main-color);
}

.navbar {
    display: flex;
    column-gap: 5rem;
}

.navbar li {
    position: relative;
}

.navbar a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--bg-color);
}

.navbar a::after {
    content: "";
    width: 0;
    height: 2px;
    background: var(--main-color);
    position: absolute;
    bottom: -4px;
    left: 0;
    transition: 0.5s all linear;
}

.navbar a:hover::after,
.navbar .home-active::after {
    width: 100%;
}

#menu-icon {
    font-size: 24px;
    cursor: pointer;
    z-index: 1000001;
    display: none;
}

.btn {
    padding: 0.7rem 1.4rem;
    background-color: red;
    color: var(--bg-color);
    font-weight: 300;
    border-radius: 0.5rem;
}

.btn:hover {
    background-color: yellow;
    color: white;
}

.container {
    width: 100%;
    min-height: 585px;
    position: relative;
    display: flex;
    align-items: center;
    background: rgb(2, 3, 7, 0.4);
}

.container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
    opacity: 0.5;
}

.swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
    border-radius: 0.2rem !important;
    background: var(--bg-color) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    width: 1.5rem !important;
    background: var(--main-color) !important;
}

.home-text {
    margin-top: 215px;
    padding: 0 100px;
    z-index: 1000;
}

.home-text span {
    color: var(--bg-color);
    font-weight: 500;
    text-transform: uppercase;
}

.home-text h1 {
    color: var(--bg-color);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.play {
    position: absolute;
    right: 6rem;
    bottom: 10%;
}

.play .bx {
    background: var(--main-color);
    padding: 10px;
    font-size: 2rem;
    border-radius: 50%;
    border: 4px solid rgb(2, 3, 7, 0.4);
    color: var(--bg-color);
}

.play .bx:hover {
    background: black;
    color: var(--bg-color);
    transition: 0.2s all linear;
}

.heading {
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    border-bottom: 1px solid var(--main-color);
}

.movies-container {
    max-width: 968px;
    margin-right: auto;
    margin-left: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, auto));
    gap: 1rem;
    margin-top: 2rem;
}

.movies-container .box {
    width: 100%;
    height: 270px;
    position: relative;
    overflow: hidden;
}

.box .box-img {
    width: 100%;
    height: 270px;
    cursor: pointer;
}

.box .box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box .box-img img:hover {
    transition: 0.2s all linear;
}

.box h3 {
    font-size: 0.9rem;
    font-weight: 500;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(33, 33, 33, 0.7);
    color: #fff;
    margin: 0;
    text-align: center;
    transition: 0.3s;

}

#box-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    border-radius: 50%;
    background: var(--main-color);
    color: var(--bg-color);
    border: 4px solid rgb(2, 3, 7, 0.4);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
}

.box-img:hover #box-play {
    transition: 0.2s all linear;
    opacity: 1;
}

.coming-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    overflow: hidden;
}

.coming-container .box {
    width: 100%;
    height: 270px;
    position: relative;
    overflow: hidden;
}



.coming-container .box h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(33, 33, 33, 0.7);
    color: #fff;
    margin: 0;
    text-align: center;
    transition: 0.3s;
}

.coming-container .box .box-img img {
    transform: translateY(0);
}

.newsletter {
    max-width: 368px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 2rem;
}

.newsletter h2 {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 1px solid var(--bg-color);
    padding: 5px;
}

.newsletter form {
    background: var(--bg-color);
    padding: 10px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
}

.newsletter form input {
    border: none;
    outline: none;
}

.newsletter form .email {
    width: 200px;
}


.newsletter form input::placeholder {
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 400;
}

.newsletter .btn {
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
}

.footer {
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
}

.social {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}

.social .bi {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 2px;
    font-size: 20px;
    border-radius: 30%;
    border: 4px solid rgb(2, 3, 7, 0.4);
}


.social .bi:hover {
    background: var(--main-color);
    color: var(--bg-color);
    transition: 0.2s all linear;
}

.copyright {
    padding: 20px;
    text-align: center;
    color: var(--bg-color);
    border-top: 1px solid var(--bg-color);
}

@media (max-width:1080px) {
    .home-text {
        padding: 0 100px;
    }
}

@media (max-width:991px) {
    header {
        padding: 10px 4%;
    }

    section {
        padding: 50px 4%;
    }


    .home-text {
        padding: 0 4%;
    }

    .home-text h1 {
        font-size: 3rem;
    }

}

@media (max-width:774px) {

    header {
        padding: 12px 4%;
    }

    #menu-icon {
        display: initial;
        color: var(--bg-color);
    }

    .navbar {
        position: absolute;
        top: -570px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: rgba(33, 33, 33, 0.7);
        row-gap: 1.4rem;
        padding: 20px;
        text-align: center;

    }

    .navbar a {
        color: var(--bg-color);
    }

    .navbar a:hover {
        color: var(--main-color);
    }

    .navbar a::after {
        display: none;
    }

    .navbar.active {
        top: 100%;
    }

    .home-text h1 {
        font-size: 2.4rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
    }

    .movies-container {
        grid-template-columns: repeat(auto-fit, minmax(160px, auto));
    }
}

@media (max-width:472px) {
    .play {
        position: absolute;
        right: 1rem;
        bottom: 10%;
    }

    .newsletter form .email {
        width: auto;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        row-gap: 1rem;
    }

}

@media (max-width:370px) {
    header {
        padding: 6px 4%;
    }

    .home-text h1 {
        font-size: 1.7rem;

    }

    .play {
        right: 1rem;
        bottom: 8%;
    }

    .play .bx {
        padding: 7px;
    }

    .movies-container {
        grid-template-columns: repeat(auto-fit, minmax(140px, auto));
    }
}
.copyright{
    color: white;
}
.signin-link{
    color: red;
}
