body {
    background-color: #000;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

.sidebar {
    width: 80px;
    height: 100%;
    background-color: #111;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    z-index: 2;
}

.sidebar .logo {
    font-size: 3rem;
    font-weight: bold;
    color: #e10404!important;
    margin-bottom: 22px;

}

.sidebar img {
    width: 27px;
    margin: 10px 0;
    cursor: pointer;
}

.sidebar .bottom-avatar {
    margin-top: auto;
    padding-bottom: 0px;
}

.sidebar .avatar {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.main-content {
    margin-left: 80px;
    padding: 20px;
}

.banner {
    position: relative;
    height: 68vh;
    margin-top: -20px;

    background: url('../images/streaming/background.jpg') no-repeat top center/cover;
    box-shadow: inset 500px 0px 246px 70px rgba(3, 3, 3, 0.9);
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: left;
    padding: 60px;
    margin-right: -20px;
    margin-left: -20px;
}

/* Gradiente para suavizar a borda inferior completamente */
.banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.5) 50%, black 100%);

}

.banner h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.btn-primary {
    background-color: #e10404;
    border: none;
    padding: 8px 18px;
    border-radius: 7px;
}

.btn-secondary {
    padding: 8px 18px;
    border-radius: 7px;
}

.btn-primary:hover {
    background-color: #b00202;
}

.btn-primary img {
    font-family: 'Roboto', light;
}

.w-600 {
    font-weight: 600;
}

.movie-list img {
    border-radius: 10px;
    width: 100%;
    transition: 0.3s;
    display: block;
}

.movie-list img:hover {
    transform: scale(1.01);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0);
    position: fixed;
    top: 0;
    left: 80px;
    right: 0;
    z-index: 1000;
    transition: background 0.3s;
}

.top-bar.scrolled {
    background: rgba(0, 0, 0, 0.8);
}

.top-bar .left-links {
    display: flex;
    align-items: center;
}

.top-bar .left-links a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    font-size: 1rem;
}

.top-bar .right-icons {
    display: flex;
    align-items: center;
}

.top-bar .right-icons button {
    margin-right: 15px;
}

.top-bar .right-icons img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.icons {
    /* Converte o SVG para branco */
    filter: invert(100%) brightness(200%);
}


.icon-link.active {
    filter: invert(12%) sepia(10%) saturate(99969%) hue-rotate(339deg) brightness(100%) contrast(100%);
}

.icon-link:hover {
    filter:
        invert(12%) sepia(10%) saturate(99969%) hue-rotate(339deg) brightness(100%) contrast(100%);
}


.x1 {
    width: 17px;
}

.shadow {
    box-shadow: rgb(40 40 41) 0px 20px 30px -10px !important
}



.episodios-margem {
    margin-left: 40px;
}

.size-2 {
    font-size: 1.3rem !important;
}




/* ==================== */
/* Listagem de Vídeos   */
/* ==================== */

.episodios-margem {
    margin-left: 40px;
}

.size-2 {
    font-size: 1.3rem !important;
}

.movie-list img {
    border-radius: 10px;
    width: 100%;
    transition: 0.3s;
    display: block;
}

.movie-list img:hover {
    transform: scale(1.01);
}

.video-card {
    cursor: pointer;
}

/* ==================== */
/* Modal de Vídeo       */
/* ==================== */

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
}

.video-modal-content {
    position: relative;
    width: 80%;

    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
}

/* Botão de fechar */
.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* Seção do vídeo principal */
.video-section {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #0c0c0c;
    border-radius: 7px 0 0 7px;
    padding: 2%;
}

#modalVideo {
    width: 100%;
    height: auto;
    max-height: 70%;
    object-fit: contain;
    border-radius: 7px;
}

/* Área de Like e Comentários */
.video-interactions {
    margin-top: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.like-area {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.like-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.like-icon:hover {
    filter:
        invert(10%) sepia(100%) saturate(99969%) hue-rotate(329deg) brightness(100%) contrast(100%)
}

.liked-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    filter:
        invert(10%) sepia(100%) saturate(99969%) hue-rotate(329deg) brightness(100%) contrast(100%)
}

.comment-area {
    width: 100%;
}

.comment-label {
    display: block;
    margin-bottom: 5px;
}

.comment-textarea {
    width: 100%;
    background-color: #1f1f1f;
    color: #fff;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 8px;
}

/* Lista de episódios (lateral) */
.episodesList {
    flex: 1;
    overflow-y: auto;
    padding: 10px 15px;
    background-color: #0c0c0c;
    border-radius: 0 7px 7px 0;
}

.episodesList-title {
    color: #fff;
}

.episodesList-container {
    margin-top: 10px;
    overflow-y: auto;
    max-height: 500px;
}

/* Scrollbar para navegadores WebKit (Chrome, Edge, Safari) */
.episodesList-container::-webkit-scrollbar {
    width: 6px;
    /* mais fino */
}

.episodesList-container::-webkit-scrollbar-track {
    background: #2b2b2b;
    /* fundo cinza escuro */
    border-radius: 3px;
}

.episodesList-container::-webkit-scrollbar-thumb {
    background: #555;
    /* "rolador" cinza mais claro */
    border-radius: 3px;
}

.episodesList-container::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.proximos-episodios {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
}

.proximos-episodios:hover {
    background-color: #2b2b2b;
    /* Cor de hover */
}

.proximos-episodios-cover {
    width: 60px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 5px;
}

.proximos-episodios-title {
    color: #fff;
    font-size: 0.9rem;
}

/* Episódio ativo */
.active-video {
    background-color: #333;
    /* Fundo mais escuro */
    border-left: 4px solid #e10404;
    /* Destaque lateral */
}

.copyright {
    font-size: 13px;
    color: aliceblue;

}

.links-footer {
    color: #777;
    font-size: 14px;
}

.links-footer:hover {
    color: aliceblue;
    text-decoration: none;
}

.alert-custom {
    background-color: #070707;
    color: #9a9a9a;
    border-radius: 7px;
}

.footer-container {
    background-color: #040404;
}

.footer-container {
    z-index: 1 !important;
}

#message {
    display: none;
}

.text-green {
    color: #81e104 !important;
}

.none {
    text-decoration: none !important;
}

.text-soft {
    color: #a5a5a5 !important;
}

.liked {
    filter: invert(10%) sepia(100%) saturate(99969%) hue-rotate(329deg) brightness(100%) contrast(100%);
}

@-webkit-keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

@-webkit-keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        opacity: 1;
    }
}

@keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        opacity: 1;
    }
}

.spinner-grow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: spinner-grow .75s linear infinite;
    animation: spinner-grow .75s linear infinite;
}

.spinner-grow-sm {
    width: 1rem;
    height: 1rem;
}

.menu-link {
    color: #fff;
}

.menu-link:hover {
    color: #e10404 !important;
    font-weight: 600;
}

.red-font {
    color: #e10404 !important;
    font-weight: 600;
}

/*  -----------------  Breakpoint até 768 px  ----------------- */
@media (max-width: 768px) {

    /* 2.1  Sidebar vira off-canvas à esquerda  */
    .sidebar {
        left: -80px;
        /* some da tela */
        transition: left .3s ease;
    }

    .sidebar.open {
        left: 0;
    }

    /* aparece quando botão é clicado */

    /* 2.2  Top-bar ocupa a tela toda  */
    .top-bar {
        left: 0;
        /* deixa de compensar sidebar */
        padding-left: 60px;
        /* espaço pro botão/hamburger */
    }

    /* 2.3  Conteúdo sem margem */
    .main-content {
        margin-left: 0;
        padding: 20px 15px;
    }

    /* 2.4  Banner – menos altura e padding  */
    .banner {
        height: 55vh;
        padding: 40px 20px;
    }

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

    /* 2.5  Ajuste de texto pequeno para caber  */
    .banner p {
        font-size: .9rem;
    }

    /* 2.6  Botão Play centralizado opcionalmente  */
    .btn-primary {
        display: inline-flex;
        align-items: center;
    }

    /* botão minúsculo, colado à sidebar fechada */
    .btn-toggle-sidebar {
        position: fixed;
        top: 12px;
        /* alinhado à top-bar */
        left: 12px;
        width: 36px;
        height: 36px;
        padding: 0;
        background: rgba(0, 0, 0, .6);
        border: 0;
        border-radius: 6px;
        z-index: 1100;
        /* acima da sidebar */
    }

    /* remove highlight */
    .btn-toggle-sidebar:focus {
        outline: none;
        box-shadow: none;
    }

    /* Posição normal (encostado à borda) já existe */
    .btn-toggle-sidebar {
        left: 12px;
        transition: left .3s ease;
    }

    /* Quando a sidebar estiver aberta… */
    .btn-toggle-sidebar.shifted {
        left: 19vw;
    }

    /* ~19 % da largura da tela */
    .subscription-menu {
        width: 430px !important;
    }

    .btn-assinar-font {
        font-size: 1rem !important;
        font-weight: 600 !important;
    }



    /* Botão flutuante no rodapé do mobile */
    .btn-bottom-mobile {
        position: fixed;
        left: 50%;
        bottom: 16px;
        transform: translateX(-50%);
        z-index: 1050;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease;
    }

    /* visível */
    .btn-bottom-mobile.show {
        opacity: 1;
        pointer-events: auto;
    }

    /* botão flutuante mobile */
    .btn-bottom-mobile {
        position: fixed;
        left: 50%;
        bottom: 16px;
        /* altura normal */
        transform: translateX(-50%);
        z-index: 1050;
        white-space: nowrap;
        /* evita quebra */
        border-radius: 6px;
        font-weight: 600;
        box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
        transition: bottom .25s ease;
    }

}

.rounded-pill {
    background-color: #1b1b1b;
}

.card {
    border-radius: 1.25rem !important;
}

.bg-dark-transp {
    background-color: #31323da1 !important;
}
.link-credits {
    color: #3a3a3a;
    font-size: 12px;
}
.none {
    text-decoration: none!important;
    color: #e10404!important;
}

.super-lg{
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: block;
    text-align: center;
    font-size: 1.6rem;
    padding: 20px 20px;
}