.home * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.home {
    background-color: #141414;
    color: #fff;
    overflow-x: hidden;
    display: block;
    min-height: 100vh;
}

.home .logo {
    font-family: 'Amaranth', sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #e50914;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-icon {
    font-size: 20px;
    cursor: pointer;
    margin-right: 20px;
}

.home .profile {
    width: 32px;
    height: 32px;
    background-color: #e50914;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
}

.search-bar {
    display: none;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px 15px;
    border-radius: 4px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 20px;
    height: calc(100% - 10px);
    padding: 0 40px;
}

.search-bar.active {
    display: flex;
}

.back-arrow {
    font-size: 20px;
    cursor: pointer;
    margin-right: 20px;
}

.search-input {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    width: 100%;
    padding: 8px;
    outline: none;
}

.clear-search {
    font-size: 20px;
    cursor: pointer;
    margin-left: 10px;
    display: none;
}

.clear-search.active {
    display: block;
}

.home main {
    margin-top: 80px;
    padding: 0 40px;
}

.home .hero-section {
    height: 70vh;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 100%), 
                url('https://source.unsplash.com/random/1600x900/?movie') no-repeat center center;
    background-size: cover;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    margin-bottom: 40px;
}

.home .hero-content {
    max-width: 500px;
}

.home .hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.home .hero-description {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.home .hero-buttons {
    display: flex;
    gap: 15px;
}

.home .btn {
    padding: 10px 25px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home .btn-play {
    background-color: #fff;
    color: #000;
}

.home .btn-info {
    background-color: rgba(109, 109, 110, 0.7);
    color: #fff;
}

.home #foryou {
    min-height: 400px;
}

.home .search-results {
    display: none;
    padding: 20px;
}

.home .search-results.active {
    display: block;
}

.home .result-item {
    padding: 10px;
    border-bottom: 1px solid #333;
    cursor: pointer;
}

.home .result-item:hover {
    background-color: #2a2a2a;
}

@media (max-width: 768px) {
    .home header {
        padding: 15px 20px;
    }
    
    .profile header {
        padding: 15px 20px;
    }
    
    .home .hero-section {
        height: 50vh;
        padding: 0 20px;
    }
    
    .home .hero-title {
        font-size: 32px;
    }
    
    .home .hero-description {
        font-size: 16px;
    }
    
    .home main {
        padding: 0 20px;
    }

    .profile .search-bar {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .home .logo {
        font-size: 20px;
    }
    
    .home .hero-section {
        height: 40vh;
    }
    
    .home .hero-title {
        font-size: 24px;
    }
    
    .home .hero-description {
        font-size: 14px;
    }
    
    .home .btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .profile .search-bar {
        padding: 0 15px;
    }
}
