/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Creepster&display=swap');

.seasonepisodeSelector.hidden {
	bottom: -200px;
    opacity: 0;
    visibility: hidden;
    display: none;
}
ititle {
    display: block;
    opacity: .8;
    font-size: 0.8rem;
    color: var(#fff);
}
/* Vars */
:root {
    --font-family: 'Montserrat', 'sans-serif';
    --color-004: #ce1300;
    --color-002: #070707;
    --color-003: #2d2d2d;
    --color-001: rgba(255,255,255,.2);
    --transition: .2s all ease-in-out; 
}

/* Css Reset */
body {
    padding: 0;
    margin: 0;
    background: var(--color-002);
    font-family: var(--font-family);
    color: #fff;
	overflow-y: hidden; /* Hide vertical scrollbar */
	overflow-x: hidden; /* Hide horizontal scrollbar */
}
a {
    color: inherit;
    text-decoration: none;
}
* {
    box-sizing: border-box;
    outline: none;
}
/* Player */
.player_screen {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.embedder_info {
    right: 20px;
    background: var(--color-001);
    backdrop-filter: blur(10px);
    width: 50px;
    font-size: 20px;
    justify-content: center;
    z-index: 9;
    position: absolute;
    top: 15px;
    line-height: 50px;
    height: 40px;
    padding: 0 15px;
    box-shadow: var(--shadow);
    border-radius: 1.5rem;
    cursor: pointer;
    transition: .2s ease-in-out;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}
.embedder_info2 {
    position: absolute;
    top: 0;
    right: 20px;
    background: var(--color-001);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    cursor: pointer;
    z-index: 9;
}
.player_bg_container {
    background: var(--color-002);
    background: #f0f8ff00;
}
.player_bg {
  	width:100%;
  	height:100%;
  	background-size:cover!important;
  	position:absolute;
    top: 0;
    left: 0;
    filter: brightness(.4);
    opacity: 0.14;
    z-index: 1;
}
.without_players_warning {
    width: 500px;
    position: absolute;
    z-index: 1;
}
.warning_title {
    display: flex;
    align-items: center;
    justify-content: center;
}
.warning_title i {
    font-size: 40px;
}
.warning_title span {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 600;
    margin-left: 10px;
}
.warning_msg {
    padding: 10px;
    text-align: center;
}
.warning_msg p {
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 14px;
}
.players_select_container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    top: 0;
    z-index: 2;
    overflow: hidden;
    transition: .5s all ease-in-out;
}
.players_select_container.hidden {
    top: -100%;
}
.select_languages {
    font-size: 19px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}
.languages_selector {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.select_language {
    padding: 15px 40px;
    background: var(--color-003);
    font-size: 13px;
    margin-right: 10px;
    border-radius: 50px;
    cursor: pointer;
    transition: .3s all ease-in-out;
    text-transform: uppercase
    ;
}
.select_language.active,
.select_language:hover {
    background: var(--color-001);
}
.select_language:last-child {
    margin-right: 0;
}
.players_select {
    width: 350px;
    height: 300px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.player_select_header {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}
.players_select_items {
    position: absolute;
    top: 100%;
    left: 0;
    transition: .2s all ease-in-out;
    opacity: 0;
}
.players_select_items.visible {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
}
.player_select_item {
    width: 350px;
    height: 60px;
    margin-bottom: 15px;
    background: var(--color-001);
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 0 10px;
    cursor: pointer;
    transition: .2s all ease-in-out;
    box-shadow: 0 0 5px rgba(0, 0, 0, .05);
}
.player_select_item:hover {
    background: var(--color-003);
    box-shadow: none;
}
.player_select_item:last-child {
    margin-bottom: 0;
}
.player_select_icon {
    font-size: 40px;
    display: flex;
    align-items: center;
}
.player_select_name {
    margin-left: 20px;
    font-size: 18px;
    font-weight: 400;
}

/* Player Container */
.changeOptions {
    background: var(--color-001);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    border-radius: 1.5rem;
    cursor: pointer;
    transition: .2s ease-in-out;
    z-index: 800;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
  	font-size: 13px;
    transform: translateX(-50%);
    position: absolute;
    top: 15px;
    line-height: 50px;
    height: 40px;
    padding: 0 15px;
}
.changeOptions:hover {
    opacity: .8;
  	left: 7%;
}
.changeOptions.hidden {
  	left: 78px;
    opacity: 8;
}
.changeEpisode {
    background: var(--color-001);
    backdrop-filter: blur(10px);
    font-size: 13px;
    padding: 15px 20px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    cursor: pointer;
    transition: .2s all ease;
    z-index: 5;
}
.changeEpisode:hover {
    opacity: .8;
}
.changeEpisode.hidden {

}
/* ContĆĀŖiner do player */
.player_container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9); /* ComeĆĀ§a com um leve zoom */
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.6s ease-in-out;
}

/* Quando visĆĀ­vel */
.player_container.visible {
    top: 0;
    opacity: 1;
    transform: scale(1); /* Anima para o tamanho normal */
}
/* ConfiguraĆ§Ćµes principais para a div infra */
.infra {
	position: relative;
    width: 100%;
    height: 100vh;
    background-image: url(https://d1muf25xaso8hp.cloudfront.net/);
    background-size: 25%;
    background-repeat: no-repeat;
    background-position: bottom;
    overflow: hidden;
}


/* Estilo para o texto "Carregando..." */
.infra::before {
    content: 'Carregando...';
    font-size: 50px;
    font-family: 'Mountains of Christmas', cursive;
    color: #fff;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff;
    animation: blinkText 1s infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* AnimaĆ§Ć£o do texto piscando */
@keyframes blinkText {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}


/* AnimaĆĀ§ĆĀ£o do iframe */
.player_container .infra iframe {
    width: 100%;
    height: 100vh;
    animation: fadeInZoom 1s ease-in-out forwards; /* AnimaĆĀ§ĆĀ£o para o iframe aparecer */
}

/* AnimaĆĀ§ĆĀ£o customizada para o iframe */
@keyframes fadeInZoom {
    0% {
        opacity: 0;
        transform: scale(0.8); /* ComeĆĀ§a menor e com opacidade 0 */
    }
    100% {
        opacity: 1;
        transform: scale(1); /* Vai para tamanho normal e opacidade total */
    }
}


.player_loading {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .8);
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}
.player_loading i {
    animation: linear .5s rotateLoader infinite;
}
.seasonepisodeSelector {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: calc(100% - 40px);
    z-index: 2;
    overflow: hidden;
    transition: .2s all ease-in-out;
}
.seasonSelector {
    width: 100%;
    margin-bottom: 20px;
}
.seasonSelectorTitle {
    font-size: 20px;
    font-weight: 600;
    height: 30px;
    margin-right: 20px;
    margin-top: 7px;
}
.seasonOption {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #000;
    border-radius: 50px;
    font-weight: 700;
    margin-left: 15px;
    transition: .2s all ease;
}
.seasonOption:hover,
.seasonOption.active {
    background: var(--color-001);
    color: #fff;
    cursor: pointer;
}
.episodeSelector {
    display: none;
}
.episodeSelector.visible {
    display: block;
}
.episodeOption {
}
.episodeOption::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgb(0 0 0 / 0.3);
    border: 3px solid rgba(255, 255, 255, .1);
    border-radius: 15px;
    box-sizing: border-box;
    transition: .2s all ease;
    cursor: pointer;
}
.episodeOption:hover::before,
.episodeOption.active::before {
    border-color: var(--color-001);
}
.episodeNum {
    white-space: nowrap;
    position: absolute;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    font-size: 13px;
    transition: .3s all ease-in-out;
    pointer-events: none;
}
.episodeOption:hover .episodeNum,
.episodeOption.active .episodeNum {
    bottom: 35px;
}

/* TvChannels */
.tvchannels_select {
    width: 100%;
    padding: 3%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tvchannel_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tvchannels_title {
    width: 100%;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 3%;
}

.tvchannels_search {
    width: 80%; /* A caixa de busca ocupa 80% do espaĆĀ§o disponĆĀ­vel */
    padding-right: 3%; /* EspaĆĀ§o Ć&nbsp; direita para separaĆĀ§ĆĀ£o */
}

.tvchannels_select {
    width: 100%;
    padding: 3%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tvchannels_search {
    width: 80%; /* A caixa de busca ocupa 80% do espaĆĀ§o disponĆĀ­vel */
}

.tvchannel_select {
    width: 20%; /* A caixa de seleĆĀ§ĆĀ£o de categoria ocupa 20% do espaĆĀ§o disponĆĀ­vel */
}

.tvchannels_search input {
    width: 100%;
}
.selectize-control{
  width: 20%;
  display: inline-flex;
}

.tvchannels_select .selectize-controle.single .selectize-input.input-active,
.tvchannels_select .selectize-input {
    background: rgba(0, 0, 0, .2)!important;
    border: none;
    color: #fff;
    padding:15px;
}

.tvchannels_select .selectize-input.focus {
    box-shadow: none!important;
}

.tvchannels_select .selectize-dropdown {
    max-height: 50vh; /* Aumentei a altura mĆĀ�xima para 50% da altura da janela */
    overflow-y: auto; /* Adicionei rolagem Ć&nbsp; lista, caso haja muitas categorias */
    background-color: #222222;
    color: #999;
}

.tvchannels_select .selectize-dropdown .selectize-dropdown-content .option {
    padding: 15px;
}

.tvchannels_select .selectize-dropdown .selectize-dropdown-content .option.active {
    background: #5b5d7445;
    color: #fff;
}

/* Estilo para os itens do canal de TV */
.tvchannel_item {
    width: calc(100% / 7 - 3%);
    margin-bottom: 3%;
    margin-right: 3%;
    overflow: hidden;
}

.tvchannel_item:nth-child(7n) {
    margin-right: 0;
}

.tvchannel_item_link {
    border-radius: 5px;
    display: block;
    background: rgba(0, 0, 0, .2);
    padding: 6%;
    position: relative;
    padding-top: 86%;
}

.tvchannel_item img {
    width: 75%;
    height: 75%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tvchannel_name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    padding: 1% 0 0;
}

.boxin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #0e0e0e;
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.boxin input[type="text"] {
    flex: 1;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
 	width: 73%;
  	margin-right: 1%;
    background: rgba(0, 0, 0, .2)!important;
}

.boxin select {
    flex: 1;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-left: 10px; /* EspaĆĀ§o Ć&nbsp; esquerda para separar a caixa de pesquisa do menu suspenso */
}

.boxin #searchResults {
    margin-top: 10px;
}

/* Adicione estilos adicionais conforme necessĆĀ�rio. */


/* Animation - RotateLoader */
@keyframes rotateLoader {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Banner */
.sflix_space {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: 99;
}

.sflix_space_content {
    width: 100%; /* Ocupa toda a largura possĆĀ­vel */
    max-width: 330px; /* Define um limite mĆĀ�ximo maior para telas grandes */
    height: auto;
    max-height: 90vh; /* MantĆĀ©m a altura limitada a 90% da altura da tela */
    padding: 20px;
    background: var(--color-002);
    border-radius: 15px;
    position: relative;
}

.sflix_space_close,
.sflix_space_close2 {
    position: absolute;
    top: -10px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    color: var(--color-004);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    cursor: pointer;
    transition: 1s all ease;
    z-index: 9999;
}

.sflix_space_close:hover,
.sflix_space_close2:hover {
    transform: rotate(360deg);
}

/* Ajustes para dispositivos mĆĀ³veis */
@media (max-width: 768px) {
    .sflix_space_content {
        max-height: 80%;
    }
}


/* Media Queries */
/* 768px */
@media (max-width: 768px) {
    .tvchannel_item {
        width: calc(100% / 4 - 23px);
    }
    .tvchannel_item:nth-child(8n+9) {
        margin-right: 30px;
    }

    .tvchannel_item:nth-child(4n+5) {
        margin-right: 0;
    }
}

/* 425px */
@media (max-width: 425px) {
    .tvchannel_item {
        width: calc(100% / 2 - 15px);
    }
    .tvchannel_item:nth-child(4n+5) {
        margin-right: 30px;
    }

    .tvchannel_item:nth-child(2n+3) {
        margin-right: 0;
    }
}

/* 375px */
@media (max-width: 415px) {
    .select_language {
    margin-bottom: 1px;
    padding: 10px 20px;
    font-size: 12px;
    border-radius: 10px;
	}
    .select_languages {
	margin-bottom: 10px;
    font-size: 14px;
    margin-top: -35px;
  }
    .players_select {
        width: 95%;
  }
    .players_select_items {
        width: 100%;
  }
    .sflix_space {
        padding: 30px;
  }
  .embedder_info {
    left: 330px;
    width: 33px;
    height: 32px;
    font-size: 16px;
  }
  .player_select_item {
    width: 75%;
    height: 50px;
    margin-bottom: 5px;
  }
  .players_select_items.visible {
    text-align: -webkit-center;
  }
  .player_select_icon {
    font-size: 30px;
  }
  .player_select_name {
    margin-left: 15px;
    font-size: 18px;
    font-weight: 500;
  }
  .players_select_container {
    padding-top: 10px;
  }
  .changeOptions {
    font-size: 12px;
    padding: 12px 15px;
  }
  .changeEpisode {
    font-size: 12px;
    padding: 12px 15px;
  }
  .seasonSelector {
    margin-bottom: 10px;
  }.seasonOption {
    width: 30px;
    border-radius: 10px;
  }
  .seasonOption:hover, .seasonOption.active {
    margin-left: 0%;
  }
  .seasonSelectorTitle {
    font-size: 18px;
  }
  .seasonepisodeSelector {
    bottom: 10px;
    left: 15px;
    width: calc(100% - 10px);
  }
  .episodeOption {
    width: 130px;
    height: 70px;
  }
}

/* 560px max-height */
@media (max-height: 560px) {
    .players_select_container {
        padding-top: 50px;
        justify-content: flex-start;
    }
}

