/* Global landing page styles */
:root {
    --primary: #e50914;
    --primary-dark: #b20710;
    --text: #ffffff;
    --muted: #d1d5db;
    --surface: rgba(0, 0, 0, 0.68);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)), url('../../images/pintoflix.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.overlay {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 40px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px clamp(20px, 5vw, 72px);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
}

.logo {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo img {
    height: 48px;
    width: auto;
}

.movies-link,
.sign-in-btn a {
    text-decoration: none;
    font-weight: 700;
    color: var(--text);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.movies-link:hover {
    color: var(--primary);
}

.sign-in-btn {
    position: fixed;
    top: 22px;
    right: clamp(20px, 5vw, 72px);
    z-index: 20;
}

.sign-in-btn a {
    display: inline-block;
    background: var(--primary);
    padding: 10px 20px;
    border-radius: 6px;
}

.sign-in-btn a:hover,
.email-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

h1 {
    max-width: 850px;
    margin: 0 0 20px;
    font-size: clamp(2.6rem, 7vw, 5.8rem);
    line-height: 1.02;
    font-weight: 900;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.email-form {
    display: flex;
    width: min(100%, 620px);
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.email-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 18px 20px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    outline: none;
    background: rgba(255, 255, 255, 0.92);
}

.email-form button {
    border: none;
    padding: 18px 26px;
    color: var(--text);
    background: var(--primary);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (max-width: 640px) {
    .header {
        padding: 16px 20px;
    }

    .logo img {
        height: 36px;
    }

    .sign-in-btn {
        top: 16px;
        right: 20px;
    }

    .email-form {
        flex-direction: column;
    }

    .email-form input[type="email"],
    .email-form button {
        width: 100%;
    }
}
