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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #111;
    color: #fff;
    line-height: 1.6;
    padding: 0 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    color: #a35dc1;
    font-size: 3rem;
    text-shadow: 2px 2px 10px rgba(163, 93, 193, 0.8);
}

#logo {
    max-width: 3rem;
}

.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.search-bar select {
    margin-right: 10px;
    width: auto;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    padding: 0.5rem 1rem;
}

.search-bar input {
    width: 300px;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    outline: none;
    font-size: 1.2rem;
    background-color: #222;
    color: #fff;
}

.search-bar button {
    padding: 0.5rem 1rem;
    margin-left: 1rem;
    border: none;
    background-color: #a35dc1;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all ease-in-out 0.2s;
}

.search-bar button:hover {
    background-color: #8e4ba1;
}

.movies-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.media-item {
    background-color: #222;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.2s;
}

.media-item:hover {
    transform: scale(1.05);
}

.media-item img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.media-item h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #a35dc1;
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    color: #a35dc1;
}

.media-item select {
    padding: 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    border: none;
    font-size: 1rem;
}

.media-item .watch-button {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    background-color: #a35dc1;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.media-item .watch-button:hover {
    background-color: #8e4ba1;
}
