* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background-image: url(../assets/images/netflix-background-image.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

header {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 20px 20px;
    background: linear-gradient(to right, #800080, #FF0000);
    position: relative;
    z-index: 2;
}

.head {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 20px;
    color: aliceblue;
}

.main {
    position: relative;
    z-index: 2;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 60px;
}

.nav-bar h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #e50914;
    text-transform: uppercase;
    letter-spacing: -4px;
    text-align: center;
    margin: 0;

    display: inline-block;
    transform: perspective(500px) rotateX(12deg);

    text-shadow:
        1px 0 0 #b20710,
        2px 0 0 #8b0000,
        3px 0 0 #5a0000;
}

.right {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 15px;
}

#language {
    padding: 10px 20px;
    border-radius: 6px;
    border: solid 1px rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
}

#language option {
    background: #141414;
    color: #ffffff;
}

.longin {
    background-color: #FF0000;
    color: aliceblue;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.longin:hover {
    background-color: #c11119;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    gap: 15px;
    text-align: center;
    padding: 0 20px;
}

.content h1 {
    font-size: 50px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.content p {
    font-size: 22px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-top: 5px;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.box input {
    padding: 14px 20px;
    border-radius: 6px;
    border: solid 1px rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 16px;
    width: 320px;
    outline: none;
}

.box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.box button {
    background-color: #FF0000;
    color: aliceblue;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.box button:hover {
    background-color: #c11119;
}

@media (max-width: 768px) {
    .nav-bar {
        padding: 15px 20px;
    }

    .nav-bar h1 {
        font-size: 2rem;
    }

    .right {
        gap: 10px;
    }

    #language {
        padding: 8px 10px;
        font-size: 14px;
    }

    .longin {
        padding: 8px 16px;
        font-size: 14px;
    }

    .content {
        margin-top: 40px;
        gap: 20px;
    }

    .content h1 {
        font-size: 2rem;
    }

    .content p {
        font-size: 1.1rem;
    }

    .box {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .box input,
    .box a,
    .box button {
        width: 100%;
    }
}

details {
    position: relative;
    z-index: 2;
    width: min(400px, calc(100% - 40px));
    margin:10px auto 0 auto;
    padding: 18px 20px;
    border-radius: 14px;
    color: #ffffff;
}

details summary {
    list-style: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    outline: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details a {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
}

details a:hover {
    color: #ffffff;
    text-decoration: underline;
}
details a:active {
    color: #f80606;
    text-decoration: underline;
}
