* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #000;
    color: #fff;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.logo {
    width: 150px;
}

.sign-in-btn {
    background-color: #e50914;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

/* Hero Section */
.hero {
   background-image: 
    linear-gradient(to right, rgba(0,0,0,0.7) 10%, transparent 70%),
    url('https://picsum.photos/1500/900?random=40');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.hero h1, .hero p, .email-form {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    max-width: 700px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Email Form */
.email-form {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.email-form input {
    padding: 15px 20px;
    width: 350px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background: rgba(255,255,255,0.9);
}

.email-form button {
    background-color: #e50914;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 4px;
    cursor: pointer;
}

.email-form button:hover {
    background-color: #f40612;
}
/* Features Section */
.features {
    background: #000;
    padding: 70px 50px;
    border-top: 8px solid #222;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 0;
    border-bottom: 8px solid #222;
    gap: 40px;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.feature-text p {
    font-size: 1.3rem;
    color: #ccc;
}

.feature-img {
    flex: 1;
    text-align: center;
}

.feature-img img {
    width: 100%;
    max-width: 500px;
}
/* Movies Section */
.movies-section {
    background: #000;
    padding: 70px 50px;
    border-top: 8px solid #222;
}

.movies-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.movie-card {
    position: relative;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.movie-card:hover {
    transform: scale(1.1);
    z-index: 10;
}

.movie-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: #333;
}

.movie-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 15px 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-card:hover .movie-overlay {
    opacity: 1;
}

.movie-overlay h3 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.movie-overlay p {
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.movie-overlay button {
    background: #e50914;
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8rem;
}
/* FAQ Section */
.faq {
    background: #000;
    padding: 70px 50px;
    border-top: 8px solid #222;
    text-align: center;
}

.faq h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.faq-item {
    background: #303030;
    margin-bottom: 8px;
    cursor: pointer;
    text-align: left;
    max-width: 800px;
    margin: 0 auto 8px auto;
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 25px;
    font-size: 1.1rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #454545;
}

.faq-answer.open {
    max-height: 200px;
    padding: 25px;
}

/* Footer */
footer {
    background: #000;
    border-top: 8px solid #222;
    padding: 70px 50px;
    color: #757575;
}

footer a {
    color: #757575;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

footer p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}/* Sign In Page */
.signin-container {
    background-image: url('https://picsum.photos/1500/900?random=40');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signin-box {
    background: rgba(0,0,0,0.75);
    padding: 60px 68px;
    border-radius: 4px;
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.signin-box h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.signin-box input {
    padding: 16px 20px;
    border-radius: 4px;
    border: none;
    background: #333;
    color: #fff;
    font-size: 1rem;
}

.signin-box input::placeholder {
    color: #aaa;
}

.signin-box button {
    background: #e50914;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}

.signin-box button:hover {
    background: #f40612;
}

.signin-footer {
    color: #737373;
    font-size: 0.9rem;
}

.signin-footer a {
    color: #fff;
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .email-form {
        flex-direction: column;
        width: 100%;
    }

    .email-form input {
        width: 100%;
    }

    .feature-item {
        flex-direction: column !important;
    }

    .movies-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .signin-box {
        padding: 40px 20px;
        margin: 20px;
    }
}