@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #121212;
    color: #fff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1f1f1f;
    padding: 10px 20px;
}

.logo {
    font-size: 2em;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
}

.hamburger {
    display: none;
    font-size: 2em;
    cursor: pointer;
}

.hero {
    text-align: center;
    margin: 50px auto;
    max-width: 800px;
    line-height: 1.6;
}

.hero .btn {
    background: #e50914;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
}

.form-container {
    max-width: 400px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
}

.form-container input {
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: none;
}

.form-container button {
    padding: 10px;
    background: #e50914;
    border: none;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

/* Movies list */
.films-list a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin: 5px 0;
    font-size: 1.2em;
}

/* Dark modal for movie detail */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.9);
}

.modal-content {
    background: #1f1f1f;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
}

.video-controls button {
    padding: 5px 10px;
    margin-right: 5px;
    background: #e50914;
    border: none;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    nav ul {
        display: none;
        flex-direction: column;
        background: #1f1f1f;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        text-align: right;
        padding-right: 10px;
    }
    nav ul li {
        margin: 15px 0;
    }
}
