/* Existing CSS (unchanged) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    user-select: none;
}

body {
    background-color: #000;
}

.container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 100px;
    position: fixed;
    height: 100%;
    top: 0;
    left: 0;
}

.sidebar ul {
    list-style: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
}

.material-symbols-outlined {
    color: #fff;
    font-size: 30px !important;
}

.sidebar li {
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.sidebar li:hover {
    transform: scale(1.2);
}

.content-wrapper {
    flex: 1;
    margin-left: 100px;
}

.banner {
    background: url("moneyHeist.png") no-repeat left/cover;
    height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 20px;
    padding: 0px 20px 5px;
}

.flex-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spacing-left {
    margin-left: 15px;
}

.rating-label {
    background-color: #e6ba00;
    color: #000;
    padding: 0px 2px;
    font-family: "Anton";
}

.text-white {
    color: #fff;
}

.bold-text {
    font-weight: bold;
    font-size: 18px;
}

.stream-count {
    color: #d40000;
}

.action-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease-in-out;
}

.btn-play {
    background-color: #d40000;
    padding: 12px 50px;
    color: #fff;
}

.btn-play:hover {
    background-color: #a00000;
}

.btn-trailer {
    background-color: #d9d9d9;
    padding: 12px 15px;
    color: #000;
}

.btn-trailer:hover {
    background-color: #b0b0b0;
}

.movie-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 20px;
}

.movie-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.movie {
    width: 140px;
    aspect-ratio: 2/3;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.movie:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.movie::after {
    content: "Movie Title";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    padding: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.movie:hover::after {
    opacity: 1;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 50px;
        height: auto;
        position: fixed;
        top: 50px;
        left: 0;
        background-color: #000;
    }

    .sidebar ul {
        flex-direction: column;
        justify-content: space-around;
        padding: 10px 0;
        gap: 10px;
    }

    .material-symbols-outlined {
        font-size: 24px !important;
    }

    .content-wrapper {
        flex: 1;
        margin-left: 0;
        margin-top: 60px; /* Adjust based on the height of the fixed sidebar */
    }

    .banner {
        display: none;
    }

    .movie-section {
        margin-left: 50px; /* Adjust as needed */
        margin-top: 0; /* Ensure no extra margin */
        padding-top: 0; 
    }

    .movie-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    .movie {
        width: 120px;
        flex: 0 0 auto;
    }
}