
*{
    margin: 0;
    padding: 0;
}
body{
    background: #000;
    font-family: 'Arial';
}


#main-content{
    
}

/** Header **/
.bg-header{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 11111;
}
.header-box{
    display: flex;
    justify-content: space-between;
}
.header-fix{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}
.menu ul{
    display: flex;
}
.menu ul li{
    margin: 0px 8px 0px 0px;
    list-style: none;
}
.menu ul li a{
    color: #fff;
    font-size: 17px;
    text-decoration: none;
}
.menu ul li a:hover{
    color: #d0a9f6;
}

.header{
    margin-bottom: 20px;
    background: #000000;
    background: linear-gradient(180deg,rgba(0, 0, 0, 0.72) 0%, rgba(66, 66, 66, 0) 100%);
}
.logo{
    justify-content: start;
}
.search{
    justify-content: end;
}
.forn-search{
    width: 80%;
}
.search input{
    padding: 8px 10px;
    border: none;
    background: #545454;
    border-radius: 3px;
    width: 100%;
    box-sizing: border-box;
    color: #d0a9f6;
}
.search form{
    position: relative;
}
.iconsearch{
    position: absolute;
    top: 3px;
    right: 3px;
}
.iconsearch button{
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Estiliza o placeholder para a maioria dos navegadores modernos */
.search input::placeholder {
    color: #8d8d8d; /* Escolha a cor aqui */
    opacity: 1;    /* Garante que a cor apareça forte (o Firefox costuma aplicar transparência) */
}

/* Caso precise garantir suporte para navegadores muito antigos (IE/Edge antigo) */
.search input:-ms-input-placeholder {
    color: #8d8d8d;
}

.search input::-ms-input-placeholder {
    color: #8d8d8d;
}
.search input:focus {
    outline: none; /* Remove a borda padrão */
    /* Opcional: Adicione um efeito suave para não perder a acessibilidade */
    border: none; 
}

/** Icons **/
.icon{
    width: 35px;
    height: 35px;
    position: relative;
}
.icon-sm{
    width: 25px;
    height: 25px;
    position: relative;
}

.icon-heart{
    background: url('/img/icons/heart.svg') no-repeat center;
    position: absolute;
    background-size: 30px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}
.icon-heart-red{
    background: url('/img/icons/heart-red.svg') no-repeat center;
    position: absolute;
    background-size: 30px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}
.icon-comment{
    background: url('/img/icons/comment.svg') no-repeat center;
    position: absolute;
    background-size: 30px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}
.icon-share{
    background: url('/img/icons/share.svg') no-repeat center;
    position: absolute;
    background-size: 30px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}
.icon-save{
    background: url('/img/icons/save.svg') no-repeat center;
    position: absolute;
    background-size: 30px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}
.icon-mute{
    background: url('/img/icons/mute.svg') no-repeat center;
    position: absolute;
    background-size: 30px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}
.icon-onmute{
    background: url('/img/icons/onmute.svg') no-repeat center;
    position: absolute;
    background-size: 30px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}
.icon-play{
    background: url('/img/icons/play.svg') no-repeat center;
    position: absolute;
    background-size: 30px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}
.box-icon-play-hidden{
    pointer-events: none;
    position: absolute;
    align-items: center;
    justify-content: center;
}

.icon-search{
    background: url('/img/icons/search.svg') no-repeat center;
    position: absolute;
    background-size: 23px 23px;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}
.icon-lupa{
    background: url('/img/icons/lupa.svg') no-repeat center;
    position: absolute;
    background-size: 23px 23px;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}

.icon-right{
    background: url('/img/icons/right.svg') no-repeat center;
    position: absolute;
    background-size: 23px 23px;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}

.icon-left{
    background: url('/img/icons/left.svg') no-repeat center;
    position: absolute;
    background-size: 23px 23px;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}

/** Footer **/
.footer{
    color: #a485c2;
    text-align: center;
    padding: 20px;
    margin: 20px 0px 0px 0px;
}

/** Player **/
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px; /* Área maior para facilitar o toque/clique */
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: flex-end;
}

.progress-bar-bg {
    width: 100%;
    height: 9px; /* A barra visual é fina */
    background: rgba(255, 255, 255, 0.2);
    transition: height 0.2s;
}

.progress-bar:hover .progress-bar-bg {
    height: 10px; /* Aumenta levemente quando passa o mouse */
}

.progress-bar-perc {
    height: 100%;
    width: 0%;
    background: #ffa01c; /* Sua cor laranja */
    position: relative;
}

/** home **/
.posts-home{
    margin: 130px 0px 50px 0px;
}
.post-grid {
    /* Define o número de colunas conforme o espaço */
    column-count: 5; 
    column-gap: 20px;
    padding: 0px 15px;
}
.post-card {
    /* Importante: impede que o card seja cortado entre uma coluna e outra */
    display: inline-block;
    width: 100%;
    margin-bottom: 20px; 
    overflow: hidden;
    transition: transform 0.3s ease;
}
.post-card h2{
    font-size: 15px;
    margin: 10px 0px;
}

.post-card:hover {
    transform: translateY(-5px);
}
.post-card a{
    color:#fff;
    text-decoration: none;
}
.post-card a:hover{
    color:#d0a9f6;
}
.post-card img {
    width: 100%;
    display: block;
    border-radius: 8px;
}
.tags {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
    margin: 0px 0px 15px 0px;
    position: relative;
}
.tag-prev{
    position: absolute;
    bottom: 8px;
    left: 0;
    cursor: pointer;
    background: #000000;
    background: linear-gradient(79deg,rgba(0, 0, 0, 1) 0%, rgba(23, 23, 23, 0) 99%);
}
.tag-prev:hover{
    background: #000000;
    background: linear-gradient(79deg,rgba(0, 0, 0, 1) 0%, rgba(23, 23, 23, 0.49) 100%);
}
.tag-next{
    position: absolute;
    bottom: 8px;
    right: 0;
    cursor: pointer;
    background: #404040;
    background: linear-gradient(90deg,rgba(64, 64, 64, 0) 0%, rgba(0, 0, 0, 1) 100%);
}
.tag-next:hover{
    background: #404040;
    background: linear-gradient(90deg,rgba(64, 64, 64, 0.49) 0%, rgba(0, 0, 0, 1) 100%);
}
/* Esconde a barra de scroll no Chrome/Safari (opcional, para ficar mais bonito) */
.tags::-webkit-scrollbar {
    display: none;
}

.tags ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    list-style: none;
    padding: 0 50px 0 15px; /* Padding extra na direita para não esconder tag sob o ícone */
    margin: 0;
    overflow-x: auto; /* O scroll agora é aqui no UL */
    scrollbar-width: none; 
    -ms-overflow-style: none;
    width: 100%;
}


.tags ul li {
    flex: 0 0 auto; 
}
.tags ul li a:hover {
    color: #d0a9f6;
}
.tags ul li a {
    display: block;
    padding: 8px 15px;
    background: #454545;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    white-space: nowrap;
    font-size: 14px;
}

.tags ul li a span {
    color: #84e525; 
    margin-right: 3px;
}

/** scrols **/
.menu-controls{
    position: absolute;
    bottom: 40px;
    right: 20px;
    color: #fff;
    padding: 0;
}
.menu-controls-item {
    margin: 0px 0px 7px 0px;
}
.menu-controls-item i{
    cursor: pointer;
}

.feed-container {
    position: absolute;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    top: 0;
    width: 100%;
}
.feed-container::-webkit-scrollbar { display: none; } /* Esconde scroll no Chrome/Safari */

section {
    height: 100vh;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}
video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.video-info {
    position: absolute;
    bottom: 40px;
    left: 20px;
    color: #fff;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
        width: 73%;
}
.video-info h2 { margin: 0; font-size: 1.2rem; }
.video-info h1{
    font-size: 17px;
}
.video-info p { margin: 5px 0 0; font-size: 0.9rem; opacity: 0.9; }




/** Container **/
.container{
    margin-right: auto;
    margin-left: auto;
    position: relative;
    
}

@media (min-width: 1320px){
    .container {
        max-width: 1320px;
    }
}

/** Responsividade **/
@media (max-width: 1000px) {
    .post-grid { column-count: 3; }
}

@media (max-width: 600px) {
    .post-grid { 
        column-count: 2; 
        column-gap: 10px;
    }
    .menu{
        width: 0;
    }
    .logo{
        width: 40%;
    }
    .search{
        margin-right: 7px;
    }
}

@media screen and (max-width: 1499px) {}

@media screen and (max-width: 1000px) {}

@media screen and (max-width: 900px) {}