* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: #000;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}


button,
input,
select {
    font-family: inherit;
}


button {
    cursor: pointer;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5%;

    z-index: 100;

    transition: .3s;
}


.navbar.scrolled {
    background: rgba(0, 0, 0, .95);
    backdrop-filter: blur(10px);
}


.logo {
    color: #e50914;

    font-size: 38px;

    font-weight: 900;

    letter-spacing: -2px;
}


.nav-right {
    display: flex;

    align-items: center;

    gap: 15px;
}


.language {
    display: flex;

    align-items: center;

    border: 1px solid #777;

    padding: 8px 12px;

    border-radius: 5px;

    background: rgba(0, 0, 0, .7);
}


.language select {
    background: transparent;

    color: white;

    border: none;

    outline: none;

    margin-left: 5px;
}


.language option {
    color: black;
}


.signin-btn {
    border: none;

    background: #e50914;

    color: white;

    padding: 10px 18px;

    border-radius: 5px;

    font-weight: bold;
}


.signin-btn:hover {
    background: #f6121d;
}


/* HERO */


.hero {
    height: 670px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;
}


.hero-background {
    position: absolute;
    inset: 0;

    background-image:
        url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=2000&q=90");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scale(1.05);
}


.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.75) 0%,
            rgba(0,0,0,0.35) 45%,
            rgba(0,0,0,0.90) 100%
        );
}


.hero-content {
    position: relative;

    z-index: 2;

    width: 90%;

    max-width: 900px;

    margin-top: 50px;
}


.hero h1 {
    font-size: 55px;

    line-height: 1.08;

    font-weight: 800;

    margin-bottom: 20px;
}


.price {
    font-size: 20px;

    font-weight: 600;

    margin-bottom: 25px;
}


.ready {
    margin-bottom: 18px;
}


.email-form {
    display: flex;

    gap: 8px;

    width: 100%;

    max-width: 610px;

    margin: auto;
}


.email-form input {
    flex: 1;

    min-width: 0;

    height: 52px;

    padding: 0 16px;

    color: white;

    background: rgba(20,20,20,.75);

    border: 1px solid #888;

    border-radius: 4px;

    outline: none;

    font-size: 16px;
}


.email-form input:focus {
    border-color: white;
}


.email-form button {
    background: #e50914;

    color: white;

    border: none;

    border-radius: 4px;

    padding: 0 22px;

    font-size: 18px;

    font-weight: bold;

    white-space: nowrap;
}


.email-form button:hover {
    background: #f40612;
}


.email-form button span {
    font-size: 27px;

    margin-left: 8px;

    vertical-align: -2px;
}


.message {
    margin-top: 10px;

    min-height: 20px;
}


/* GENERAL SECTIONS */


.section {
    width: 90%;

    max-width: 1200px;

    margin: auto;

    padding: 40px 0;
}


.section h2 {
    font-size: 25px;

    margin-bottom: 20px;
}


.section-title-row {
    display: flex;

    justify-content: space-between;

    align-items: center;
}


.slider-buttons {
    display: flex;

    gap: 8px;
}


.slider-buttons button {
    width: 40px;

    height: 40px;

    border: none;

    background: #292631;

    color: white;

    border-radius: 5px;

    font-size: 30px;
}


/* MOVIES */


.movies {
    display: flex;

    gap: 30px;

    overflow-x: auto;

    padding: 10px 10px 25px;

    scrollbar-width: none;

    scroll-behavior: smooth;
}


.movies::-webkit-scrollbar {
    display: none;
}


.movie {
    flex: 0 0 145px;

    height: 215px;

    position: relative;

    transition: .3s;
}


.movie:hover {
    transform: scale(1.07) translateY(-7px);

    z-index: 5;
}


.movie img {
    width: 145px;
    height: 215px;

    object-fit: cover;

    display: block;

    border-radius: 6px;

    background: #222;

    transition: .3s;
}


.number {
    position: absolute;

    left: -12px;

    bottom: -8px;

    font-size: 80px;

    line-height: .8;

    font-weight: 900;

    color: #000;

    -webkit-text-stroke: 2px white;

    text-shadow: 3px 3px #000;
}


/* REASONS */


.reasons {
    padding-top: 20px;
}


.reason-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}


.reason-card {
    min-height: 245px;

    padding: 24px 20px;

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            #211e43,
            #211326
        );

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: .3s;
}


.reason-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 15px 40px rgba(0,0,0,.4);
}


.reason-card h3 {
    font-size: 19px;

    margin-bottom: 14px;
}


.reason-card p {
    color: #c4c1cf;

    font-size: 15px;

    line-height: 1.5;
}


.icon {
    text-align: right;

    font-size: 45px;
}


/* FAQ */


.faq {
    padding-top: 60px;
}


.faq-container {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.faq-item {
    background: #292929;
}


.faq-question {
    width: 100%;

    background: #292929;

    color: white;

    border: none;

    padding: 22px 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    text-align: left;

    font-size: 20px;
}


.faq-question:hover {
    background: #3a3a3a;
}


.faq-question span {
    font-size: 30px;

    transition: .3s;
}


.faq-answer {
    display: none;

    padding: 0 25px 23px;

    background: #292929;

    color: #ddd;

    line-height: 1.6;
}


.faq-item.active .faq-answer {
    display: block;
}


.faq-item.active .faq-question span {
    transform: rotate(45deg);
}


/* CTA */


.bottom-cta {
    width: 90%;

    max-width: 850px;

    margin: 30px auto 70px;

    text-align: center;
}


.bottom-cta h2 {
    font-size: 25px;

    margin-bottom: 10px;
}


.bottom-cta p {
    color: #ccc;

    margin-bottom: 18px;
}


/* FOOTER */


footer {
    border-top: 1px solid #333;

    padding: 40px 7% 50px;

    color: #aaa;
}


.footer-links {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 17px;

    margin: 25px 0 30px;
}


.footer-links a {
    color: #aaa;

    text-decoration: underline;

    font-size: 14px;
}


.footer-language {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    border: 1px solid #777;

    padding: 8px 12px;

    border-radius: 4px;
}


.footer-language select {
    background: transparent;

    color: white;

    border: none;
}


.footer-language option {
    color: black;
}


.copyright {
    margin-top: 25px;

    font-size: 13px;
}


/* LOGIN MODAL */


.modal {
    position: fixed;

    inset: 0;

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 1000;
}


.modal.show {
    display: flex;
}


.modal-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0,0,0,.8);

    backdrop-filter: blur(6px);
}


.login-box {
    position: relative;

    z-index: 2;

    width: 430px;

    max-width: 92%;

    padding: 45px;

    background: #000;

    border-radius: 5px;

    box-shadow: 0 20px 70px rgba(0,0,0,.8);
}


.login-box h2 {
    font-size: 32px;

    margin-bottom: 25px;
}


.login-box input {
    width: 100%;

    padding: 16px;

    margin-bottom: 14px;

    border: 1px solid #555;

    background: #333;

    color: white;

    border-radius: 4px;

    outline: none;
}


.login-button {
    width: 100%;

    padding: 15px;

    background: #e50914;

    border: none;

    color: white;

    font-weight: bold;

    border-radius: 4px;

    font-size: 16px;
}


.close {
    position: absolute;

    top: 10px;

    right: 15px;

    border: none;

    background: transparent;

    color: white;

    font-size: 35px;
}


.or {
    text-align: center;

    color: #777;

    margin: 20px 0;
}


.demo-button {
    width: 100%;

    padding: 13px;

    background: #222;

    border: 1px solid #666;

    color: white;

    border-radius: 4px;
}


.small {
    text-align: center;

    color: #777;

    font-size: 12px;

    margin-top: 20px;
}


#loginMessage {
    color: #8ee99c;

    min-height: 20px;

    margin-top: 10px;
}


/* RESPONSIVE */


@media(max-width: 900px) {

    .reason-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .hero h1 {
        font-size: 42px;
    }

}


@media(max-width: 600px) {

    .navbar {
        height: 70px;
    }


    .logo {
        font-size: 27px;
    }


    .language {
        display: none;
    }


    .hero {
        height: 620px;
    }


    .hero h1 {
        font-size: 35px;
    }


    .price {
        font-size: 17px;
    }


    .email-form {
        flex-direction: column;
    }


    .email-form button {
        height: 50px;

        width: max-content;

        align-self: center;
    }


    .reason-grid {
        grid-template-columns: 1fr;
    }


    .footer-links {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .movie {
        flex-basis: 130px;

        height: 195px;
    }


    .movie img {
        width: 130px;

        height: 195px;
    }


    .number {
        font-size: 70px;
    }


    .login-box {
        padding: 35px 25px;
    }

}