body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Assistant', sans-serif;
    overflow: hidden;
    position: relative;
    background-color: #f2f2f2;
    color: #181818;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://image.tmdb.org/t/p/original/vp1tI6tHRziDSOVXPMp8xtgpJXy.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
    background-attachment: fixed;
}

.content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #F2F2F2;
    width: 100%;
    max-width: 900px;
    padding: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.search-box {
    display: flex;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 2px solid #f2f2f2;
    border-radius: 50px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    font-size: 18px;
    border: none;
    outline: none;
    color: #181818;
}

.search-input::placeholder {
    color: #aaa;
}

.clear-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #181818;
    font-size: 20px;
    font-weight: bold;
    border: 1px solid #f2f2f2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.clear-button:hover {
    background-color: #f2f2f2;
    transform: scale(1.1);
}

.results {
    margin-top: 40px;
    width: 100%;
    text-align: left;
}

.result-item {
    display: block;
    padding: 15px;
    background: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(10px); 
    margin: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none; 
    color: #1392d9; 
    transition: transform 0.2s, box-shadow 0.2s;
}

.result-item:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.8); 
}

.result-item span {
    font-size: 22px;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .background {
        background-attachment: unset;
    }

    h1 {
        font-size: 2.8rem;
    }

    .content {
        padding: 40px;
    }

    .search-box {
        max-width: 90%;
    }

    .search-input {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .background {
        background-size: cover;
        background-position: center center;
    }

    h1 {
        font-size: 2.5rem;
    }

    .content {
        padding: 30px;
    }

    .search-input {
        font-size: 14px;
    }

    .clear-button {
        font-size: 18px;
        padding: 10px;
    }
}
