*,
*::before,
*::after {
box-sizing: border-box;
}

:root {
    --primary: #ff3b8d;
    --primary-hover: #ff5aa3;
    --dark-bg: #0b0b12;
    --card-bg: #11111a;
    --text: #ffffff;
    --text-muted: #aaaaaa;
}


body {
    margin: 0;
    font-family: 'Saira Condensed', sans-serif;
    color: white;
    
    /* Cor base sólida */
    background-color: #000001; 
    
    background-attachment: fixed; /* O fundo não rola, criando profundidade */
    overflow-x: hidden;
}



/* HERO */
.submit-hero {
    text-align: center;
    padding: 60px 20px 30px;
}

.submit-hero h1 {
    font-family: 'Oswald';
    font-size: 2.5rem;
}

.submit-hero p {
    color: #aaa;
}

/* WRAPPER */
.submit-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

/* CARD */
.submit-card {
    width: 100%;
    max-width: 500px;
    background: rgba(20,20,20,0.9);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #222;
    backdrop-filter: blur(10px);
}

/* TITLE */
.submit-card h2 {
    margin-bottom: 20px;
    font-family: 'Oswald';
}


/* FLOAT INPUT */
.form-group {
    position: relative;
    margin-bottom: 18px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: #111;
    border: 1px solid #333;
    color: white;
    outline: none;
}

.form-group label {
	position: absolute;
	left: 12px;
	top: 14px;

	color: #777;
	font-size: 0.85rem;

	pointer-events: none;
	transition: 0.2s;
	background: #0b0b0f;
	padding: 0 4px;
}

.form-group textarea {
    width: 100%;
    min-height: 140px;
    padding: 14px 12px;

    background: #111;
    border: 1px solid #333;
    color: white;

    outline: none;
    resize: vertical;

    font-family: inherit;
    line-height: 1.6;

    transition: 0.2s;
}

.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
	top: -8px;
	font-size: 0.7rem;
	color: #e71167;
}

.form-group input,
.form-group textarea,
.submit-card select {
    width: 100%;
    padding: 14px 12px;

    background: #111;
    border: 1px solid #333;
    color: white;

    outline: none;
    font-size: 0.95rem;

    transition: 0.2s;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #555;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 0.7rem;
    color: #e71167;
}


/* SELECT */
.submit-card select {
    width: 100%;
    padding: 12px;
    background: #111;
    border: 1px solid #333;
    color: white;
    margin-bottom: 15px;
    appearance: none;
    cursor: pointer;
}

.submit-card select:focus {
    border-color: #e71167;
}

/* PREVIEW */
.image-preview {
    width: 100%;
    height: 150px;
    background: #111;
    border: 1px dashed #333;
    margin-bottom: 15px;
    background-size: cover;
    background-position: center;
}

/* BOTÃO */
.submit-card .btn-primary {
    width: 100%;
    margin-top: 20px;
    padding: 14px;

    font-size: 0.95rem;
    letter-spacing: 0.5px;

    border-radius: 6px;
}

#news-title {
    font-size: 2.2rem;
    font-family: 'Oswald', sans-serif;
    min-height: auto;
    margin: 5px 0;
    min-height: 3.2em; /* Reserva espaço para até 3 linhas de título */
    display: flex;
    align-items: center;
}

#news-subtitle {
    color:#c9c9c9;
}

/* =========================
   HERO (NETFLIX STYLE)
========================= */

.hero-news {
    display: absolute;
    height: 500px;
    background: #000;
    overflow: hidden;
    position: relative; /* Isso é obrigatório para o absolute do dot funcionar */
    width: 100%;
}

/* IMAGEM */
.hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* IMAGEM */
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ADICIONE A LINHA ABAIXO */
    object-position: center 1px; 
    
    transition: transform 1s ease;
}

/* zoom leve tipo Netflix */
.hero-news:hover .hero-image img {
    transform: scale(1.05);
}

/* overlay escuro + gradiente */
.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.9) 30%,
        rgba(0,0,0,0.6) 55%,
        rgba(0,0,0,0.2) 75%,
        transparent
    );
}

/* CONTEÚDO */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 65%; /* O texto só pode ocupar até 60% da largura total */
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px; 
}

/* TAG */
.tag {
    background: #e71167;
    color: white;
    padding: 5px 10px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    width: fit-content;
    margin-bottom: 10px;
    height: 25px; /* Altura fixa */
    display: flex;
    align-items: center;
}

/* O container pai agora é apenas um flexbox transparente */
.tag, #post-category {
    background: transparent !important; 
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* Espaço entre as caixinhas */
    height: auto; 
    padding: 0;
}

/* O estilo rosa vai para os spans dentro dele */
.tag span, #post-category span {
    background: #e71167;
    color: white;
    padding: 4px 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    line-height: 1;
}

/* TÍTULO */
.hero-content h1 {
    font-size: 2.6rem;
    font-family: 'Oswald', sans-serif;
    margin: 10px 0;
}

/* DESCRIÇÃO */
.hero-content p {
    color: #ccc;
    max-width: 500px;
}

/* =========================
   ACTIONS (BOTÕES)
========================= */

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* BOTÃO PRINCIPAL */
.btn-primary {
    background: #e71167;
    border: none;
    padding: 12px 22px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.25s;
}

.btn-primary:hover {
    background: #a80a49;
    transform: scale(1.05);
}

/* BOTÃO SECUNDÁRIO (opcional estilo Netflix) */
.btn-secondary {
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    backdrop-filter: blur(5px);
    transition: 0.25s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}

/* =========================
   DOTS
========================= */

/* home.css */

.hero-dots {
    position: absolute !important; /* Força o uso do absolute */
    right: 40px !important;       /* Distância fixa da borda direita final */
    top: 50%;
    transform: translateY(-50%);
    
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99; /* Garante que fique acima de gradientes e imagens */
    
    /* Remove interferências de flexbox ou alinhamentos anteriores */
    left: auto;
    margin: 0;
}

/* Garante que os pontos se adaptem a dispositivos móveis */
@media (max-width: 768px) {
    .hero-dots {
        right: 15px; /* Em celulares, ficam mais próximos da borda */
        gap: 8px;
    }
    
    .hero-dots span {
        width: 10px;
        height: 10px;
    }
}

.hero-dots span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.hero-dots span:hover {
    transform: scale(1.2);
}

.hero-dots .active {
    background: #e71167;
    box-shadow: 0 0 10px #e71167;
}

.hero-dots span.active {
    background: #ff3b8d; /* Sua cor principal */
    transform: scale(1.2);
}


/* =========================
   ANIMAÇÕES
========================= */

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.4s ease; /* Transição suave apenas na opacidade */
}
/* SECTIONS */
section {
    padding: 25px 5%;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1px;
    font-family: 'Oswald', sans-serif;
    border-left: 4px solid #e71167;
    padding-left: 10px;
}

/* =========================
   CAROUSEL
========================= */

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 10px 0;
    }

.carousel > * {
flex: 0 0 auto;
}

.carousel::-webkit-scrollbar {
    display: none;
}

/* BOTÕES */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    z-index: 20;
    border-radius: 6px;
    line-height: 1;
}

.carousel-btn:hover {
    background: #e71167;
}

.carousel-btn.left { left: -10px; }
.carousel-btn.right { right: -10px; }

/* fade lateral */
.carousel-wrapper::before,
.carousel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.carousel-wrapper::before {
    left: 0;
}

.carousel-wrapper::after {
    right: 0;
}

/* =========================
   DISCOVER - PARALLELOGRAM STACK FIX
========================= */

#discover-list {
    display: flex;
    gap: 0;
    padding-left: 20px;
}

/* CARD */
#discover-list .vtuber-card {
    display: block;

    min-width: 250px;
    max-width: 250px;
    height: 350px;

    position: relative;
    overflow: hidden;

    margin-left: -50px;
    z-index: 1;

    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);

    transition: transform 0.25s ease, z-index 0.2s ease, filter 0.25s ease;

    text-decoration: none;
    color: inherit;
}

#discover-list .vtuber-card:first-child {
    margin-left: 0;
}

/* IMAGEM NORMAL */
#discover-list .card-image {
    height: 100%;
}

#discover-list .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    filter: brightness(0.7);
    transition: 0.3s ease;
}

/* OVERLAY (SEM CLIP!) */
#discover-list .card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 12px;

    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.form-group.checkbox {
    margin: 20px 0;
}

.form-group.checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #aaa;
}

.form-group.checkbox input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* =========================
   BORDA (FIXADA CORRETAMENTE)
========================= */

#discover-list .vtuber-card::after {
    content: "";
    position: absolute;
    inset: 0;

    border: 2px solid transparent;
    clip-path: inherit;

    z-index: 5; /* 🔥 ACIMA DE TUDO */
    pointer-events: none;

    transition: 0.25s ease;
}

/* HOVER */
#discover-list .vtuber-card:hover {
    transform: translateY(-10px);
    z-index: 10;
}

#discover-list .vtuber-card:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}

/* BORDA VISÍVEL */
#discover-list .vtuber-card:hover::after {
    border-color: #e71167;
    box-shadow: 0 0 15px rgba(231, 17, 103, 0.6);
}

/* ESCURECE OUTROS */
#discover-list:hover .vtuber-card {
    filter: brightness(0.6);
}

#discover-list .vtuber-card:hover {
    filter: brightness(1);
}


/* =========================
   CARDS BASE
========================= */

.live-card,
.clip-card,
.vtuber-card {
    cursor: pointer;
}

/* =========================
   LIVE CARD
========================= */

/* home.css */
#live-list .live-card {
    min-width: 300px; /* Define uma largura mínima fixa para todos os cards de live */
    max-width: 300px;
    flex: 0 0 auto;
}

.live-card {
    background: #12121c;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden; /* Garante que nada saia do card */
    isolation: isolate; /* Proteção extra para contextos de empilhamento */
}

.live-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.live-info {
    padding: 15px;
    align-items: center;
}

.live-avatar {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary);
    padding: 2px;
    background: #000;
}

.live-text h4 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.live-text p {
    margin: 4px 0 0;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
}

.live-text p i {
    font-size: 14px;
}

/* thumb */

.live-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* Mantém todas as thumbs no mesmo formato */
    overflow: hidden; /* Corta o zoom da imagem internamente */
    border-radius: 12px 12px 0 0;
}

.live-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha o espaço sem sobrar ponta reta */
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* O Zoom agora fica restrito ao box da thumb */
.live-card:hover .live-thumb img {
    transform: scale(1.1);
}

.live-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* badge FIXA */
.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e71167;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}

/* info */
.live-info {
    display: flex;
    gap: 10px;
    padding: 10px;
}

.live-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.live-info p {
    font-size: 0.8rem;
    color: #aaa;
}

/* EMPTY STATE LIVE */

.empty-state {
    width: 100%;
    min-height: 180px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: #888;
    text-align: center;
}

.sad-face {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.7;
}

/* =========================
   CLIP CARD
========================= */

.clip-card{
    min-width: 260px;
    max-width: 260px;
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.clip-card:hover {
    transform: scale(1.06);
    z-index: 10;
}

.clip-thumb {
    position: relative;
    height: 140px;
}

.clip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.clip-card:hover .clip-thumb img {
    transform: scale(1.05);
}

/* overlay */
.clip-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: 0.3s;
}

.clip-card:hover .clip-overlay {
    opacity: 1;
}

/* =========================
   VTUBER CARD
========================= */

.vtuber-card {
    position: relative;
    min-width: 240px;
    max-width: 240px;
    border: 1px solid #222;
    background: #111;
    overflow: hidden;
    transition: 0.3s;
}

.vtuber-card:hover {
    transform: translateY(-6px);
    border-color: #e71167;
}

.card-image {
    position: relative;
    height: 260px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: 0.3s;
}

.vtuber-card:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.vtuber-card::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.5) 40%,
        rgba(0,0,0,0.1) 70%,
        transparent 100%
    );
    pointer-events: none;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.card-badge {
    background: #e71167;
    padding: 3px 8px;
    font-size: 0.7rem;
}

.see-all {
    margin-top: 20px;
    text-align: center;
}

.see-all button {
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    padding: 10px 20px;
    margin-top: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.see-all button:hover {
    border-color: #e71167;
    color: white;
}

.see-all-LIVE {
    margin-top: 20px;
    text-align: center;
}

.see-all-LIVE button {
    background: transparent;
    border: 1px solid #333;
    color: #aaa;
    padding: 10px 20px;
    margin-top: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.see-all-LIVE button:hover {
    border-color: #e71167;
    color: white;
}




/* =========================
   ADS
========================= */

/* Container Geral de Anúncios */
.ads-banner {
    width: 100%;
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px; /* Opcional: arredondar cantos */
    
}

/* BANNER HORIZONTAL (Topo e Rodapé) */
.ads-banner img {
    width: 100%;
    height: 180px; /* Altura padrão para Horizontal */
    object-fit: cover; /* Faz a imagem preencher o espaço sem distorcer */
    object-position: center;
}

/* BANNER VERTICAL (Sidebar) */
/* Se você tiver uma classe específica para o vertical nas outras páginas: */
.ads-sidebar .ads-banner img {
    height: 600px; /* Altura padrão para Vertical */
    object-fit: cover;
}

/* 2. AJUSTE PARA MOBILE (Responsividade) */
@media (max-width: 768px) {
    /* No mobile, o horizontal fica mais baixo para não ocupar a tela toda */
    .ads-banner img {
        height: 100px; 
    }

    /* O vertical geralmente vira horizontal no mobile ou diminui */
    .ads-sidebar .ads-banner img {
        height: 250px; 
    }
}

.ads-banner {
    aspect-ratio: 16 / 3; /* Proporção horizontal larga */
}

.ads-sidebar .ads-banner {
    aspect-ratio: 9 / 16; /* Proporção vertical de celular */
}

/* =========================
   LAST VIDEOS - PREMIUM
========================= */

.video-card {
    min-width: 280px;
    max-width: 280px;
    flex: 0 0 auto;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
    text-decoration: none;
    color: white;
    position: relative;
}

.video-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

/* THUMB */
.video-thumb {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* ZOOM */
.video-card:hover .video-thumb img {
    transform: scale(1.08);
}

/* GRADIENT OVERLAY */
.video-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0.7;
    transition: 0.3s;
}

.video-card:hover .video-thumb::after {
    opacity: 1;
}

/* PLAY BUTTON */
.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    font-size: 40px;
    color: white;
    opacity: 0;
    transition: 0.3s;
}

.video-card:hover .video-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* DURATION */
.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    padding: 2px 6px;
    font-size: 0.7rem;
    border-radius: 4px;
}

/* INFO */
.video-info {
    padding: 10px;
}

.video-info h4 {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.3;
    color: #ddd;
    transition: 0.2s;
}

.video-card:hover .video-info h4 {
    color: white;
}


/* =========================
   FOOTER
========================= */

.footer {
    background: #000;
    border-top: 1px solid #222;
    padding: 40px 5%;
    margin-top: 60px;
}

.footer a {
    color: #aaa;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}


/* =========================
   SUBMIT PAGE
========================= */

/* HERO */
.submit-hero {
    text-align: center;
    padding: 80px 20px 40px;
    position: relative;
    z-index: 2;
}

.submit-hero h1 {
    font-size: 3.2rem;
    font-family: 'Oswald';
    letter-spacing: 1px;
}

.submit-hero p {
    color: #aaa;
    margin-top: 10px;
}

/* linha */
.hero-line {
    width: 120px;
    height: 3px;
    background: #e71167;
    margin: 20px auto 0;
}

/* =========================
   FORM WRAPPER
========================= */
.submit-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px 80px;
    width: 100%;
    box-sizing: border-box;
}

/* CARD */
.submit-card {
    width: 100%;
    max-width: 520px;
    background: rgba(20,20,20,0.9);
    padding: 30px;
    border-radius: 14px;
    border: 1px solid #222;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    box-sizing: border-box;
}

/* FLOAT INPUT */
.form-group {
    position: relative;
    margin-bottom: 18px;
    width: 100%;
}

.form-group input,
.form-group textarea,
.submit-card select {
    width: 100%;
    padding: 12px 14px;
    background: #111;
    border: 1px solid #333;
    color: white;
    outline: none;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e71167;
}

.form-group label {
    position: absolute;
    left: 12px;
    top: 14px;
    color: #777;
    font-size: 0.85rem;
    pointer-events: none;
    background: #0b0b0f;
    padding: 0 4px;
    transition: 0.2s;
}

/* Corrigido para afetar inputs e textareas fora do inline-group */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 0.7rem;
    color: #e71167;
}

/* =========================
   INLINE GROUP (TWITCH / YOUTUBE) - CORREÇÃO FINAL
========================= */

/* Container Flex */
.inline-group {
    display: flex;
    align-items: center; 
    gap: 10px;
    width: 100%;
}

/* Div para isolar Label e Input */
.input-container {
    position: relative;
    flex: 1; /* Ocupa todo o espaço */
}

/* Força o input a preencher a div flexível */
.input-container input {
    width: 100% !important;
    box-sizing: border-box;
}

/* Botão fixo ao lado */
.no-live-btn {
    flex-shrink: 0; 
    white-space: nowrap;
    height: 46px; 
    padding: 0 16px;
    background: #222;
    border: 1px solid #ff4fd8;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.3s;
}

.no-live-btn:hover {
    background: #333;
}

.no-live-btn.active {
    background: #ff4fd8;
    color: #000;
}

/* Posicionamento do Label dentro do novo container */
.input-container label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 0.85rem;
    pointer-events: none;
    background: #0b0b0f;
    padding: 0 4px;
    transition: 0.2s;
}

/* Animação do Label Flutuante corrigida para o input-container */
.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label {
    top: -8px;
    transform: translateY(0);
    font-size: 0.7rem;
    color: #e71167;
}

/* =========================
   SELECT
========================= */
.submit-card select {
    width: 100%;
    padding: 12px 14px;
    background: #111;
    border: 1px solid #333;
    color: white;
    border-radius: 6px;
    margin-bottom: 15px;
    cursor: pointer;
    appearance: none;
}

.submit-card select:focus {
    border-color: #e71167;
}

/* =========================
   TEXTAREA
========================= */
.form-group textarea {
    min-height: 140px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}

/* =========================
   TAG MODAL
========================= */

.tags-field {
    margin-bottom: 20px;
}

#open-tags {
    background: #111;
    border: 1px solid #333;
    color: #aaa;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    transition: 0.2s;
}

#open-tags:hover {
    border-color: #e71167;
    color: white;
}

/* MODAL */
.tags-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.tags-modal.active {
    display: flex;
}

.tags-modal-content {
    background: #111;
    border: 1px solid #333;
    padding: 20px;
    width: 400px;
    max-width: 90%;
}

/* =========================
   RADIO GROUP
========================= */

.form-group.radio-group-wrapper label {
    position: static;
    top: auto;
    left: auto;
    pointer-events: auto;
    color: white;
    font-size: 0.9rem;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.radio-group label {
    position: relative;
    color: #aaa;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.radio-group input {
    accent-color: #e71167;
    cursor: pointer;
}

#agency-field textarea {
	resize: none;
	height: 48px;
	min-height: 48px;
}

/* =========================
   CHECKBOX GRID (IDIOMAS)
========================= */

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #111;
    border: 1px solid #333;
    padding: 14px;
    cursor: pointer;
    transition: 0.2s;
    color: #aaa;
    font-size: 0.9rem;
}

.checkbox-grid label:hover {
    border-color: #e71167;
}

.checkbox-grid input {
    accent-color: #e71167;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

/* =========================
   AGENCY FIELD ANIMATION
========================= */

#agency-field {
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HEADER */
.tags-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

/* GRID */
.tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

/* TAG ITEM */
.tag-item {
    border: 1px solid #333;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}

.tag-item:hover {
    border-color: #e71167;
}

/* SELECTED */
.tag-item.selected {
    border-color: #e71167;
    background: rgba(217, 4, 41, 0.2);
    color: white;
}

/* ACTIONS */
.tags-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.tags-actions button {
    padding: 8px 12px;
    cursor: pointer;
}

/* =========================
   UPLOAD BOX
========================= */

.upload-box {
    position: relative;
    display: block;
    height: 160px;
    border: 1px dashed #333;
    margin-bottom: 15px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

/* INPUT ocupa tudo */
.upload-box input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

/* TEXTO CENTRAL */
.upload-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #777;
    transition: 0.2s;
    z-index: 1;
}

/* PREVIEW */
.image-preview {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* HOVER */
.upload-box:hover {
    border-color: #e71167;
}

.upload-box:hover .upload-content {
    color: white;
}

/* QUANDO TEM IMAGEM */
.upload-box.has-image .upload-content {
    opacity: 0;
}

#selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

#selected-tags span {
    background: rgba(231, 17, 103, 0.15);
    border: 1px solid #e71167;
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
}



/* GRID 
body::after {
    content: "";
    position: fixed;
    inset: 0;

    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);

    background-size: 40px 40px;

    z-index: -1;
}*/

/* ANIMAÇÃO SUAVE */
@keyframes bgMove {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 20% 10%;
    }
    100% {
        background-position: 0% 0%;
    }
}

/* ============================================================
   AJUSTES GLOBAIS DE RESPONSIVIDADE (MOBILE FIRST)
============================================================ */

/* 1. Imagens e Vídeos GLOBAIS (impede que estourem a tela) */
img, video {
    max-width: 100%;
    height: auto;
}

/* 2. Listas de Cards (Scroll horizontal no Mobile/Tablet) */
.live-list, .discover-list, .clips-list {
    display: flex !important;
    overflow-x: auto; 
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding: 10px 15px 20px 15px;
    -webkit-overflow-scrolling: touch; /* Scroll suave no iPhone */
}

/* 3. Banners de Anúncio */
.ads-banner {
    max-width: 100%;
    height: auto !important;
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.ads-banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Container Geral dos Clipes */
#clips-list {
    display: flex !important;
    flex-wrap: nowrap !important; /* Força a ficar em uma linha */
    gap: 15px;
    overflow-x: auto !important; /* Garante o scroll lateral */
    padding: 10px 15px 25px;
    -webkit-overflow-scrolling: touch; /* Suaviza o scroll no iPhone/Android */
}

/* Card Individual */
.clip-card {
    flex: 0 0 280px; /* Não deixa o card encolher (essencial para mobile) */
    width: 280px;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
}

/* Esconde a barra de scroll feia no mobile, mas mantém a função */
#clips-list::-webkit-scrollbar {
    display: none;
}


/* Força a visibilidade dos clipes no Celular */
@media (max-width: 768px) {
    #clips-list {
        display: flex !important; /* Força horizontal */
        flex-direction: row !important;
        overflow-x: scroll !important; /* Garante o deslize */
        -webkit-overflow-scrolling: touch;
        width: 100vw; /* Ocupa a largura da tela */
    }

    .clip-card {
        min-width: 280px !important; /* NÃO deixa o card sumir */
        margin-right: 15px;
        display: block !important; /* Garante que não esteja hidden */
    }
}

/* ============================================================
    MEDIA QUERIES (ORGANIZADAS E CORRIGIDAS)
============================================================ */

/* --- TABLETS (Até 992px) --- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.2rem;
        max-width: 90%;
    }
}

/* --- CELULARES (Até 768px) --- */
@media (max-width: 768px) {
    /* Navbar e Header */
    header {
        flex-direction: column;
        padding: 10px;
        text-align: center;
        height: auto;
    }

    nav {
        margin-top: 15px;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: row;
    }

    .btn-sou-vtuber {
        width: 100%;
        margin-top: 10px;
    }

    /* Conteúdo do Título da Notícia */
    .hero-content {
        padding: 0 15px 20px 15px;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    /* Título principal adaptado */
    #news-title {
        font-size: 1.1rem; /* Redução para caber horizontalmente */
        line-height: 1.2;
        width: 100%;
        max-width: 100%;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 3; /* Permite até 3 linhas antes de cortar */
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: clip;
    }
    
    /* Subtítulo/Descrição */
    .hero-content p {
        font-size: 0.9rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Tags */
    #news-tag {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 6px;
        margin-left: -10px;
        margin-bottom: 10px;
        align-items: center;
    }

    #news-tag span {
        font-size: 0.7rem;
        padding: 2px 8px;
        text-transform: uppercase;
        font-weight: bold;
        white-space: nowrap;
        border-radius: 4px;
    }

    #news-btn-link {
        display: inline-block;
        margin-top: -10px; /* Ajuste esse valor conforme necessário */
        padding: 10px 20px;
    }

    /* Ajuste para Mobile (dentro daquela sua Media Query de 768px) */
    @media (max-width: 768px) {
        #news-btn-link {
            width: 40%;        /* Faz o botão ocupar a largura toda no celular */
            text-align: center;
            padding: 12px 0;    /* Aumenta a área de toque */
            font-size: 0.75rem;
            margin-bottom: 50px;
        }
    }

    /* Cards */
    .vtuber-card, .live-card, .clip-card {
        min-width: 85%;
        scroll-snap-align: center;
    }

    .card-image img, .live-thumb img {
        height: 200px;
        object-fit: cover;
    }
} /* <--- Aqui fecha o bloco de 768px */

/* --- CELULARES PEQUENOS (Até 480px) --- */
@media (max-width: 480px) {
    #news-tag span {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    #news-title {
        font-size: 1rem;
    }
}

/* --- CELULARES PEQUENOS (Até 480px) --- */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    #news-tag {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .hero-news {
        height: 400px; /* Reduz a altura do banner principal no celularzinho */
    }
}

/* ============================================================
 FIX SUPREMO PARA BANNERS NA HOME E DEMAIS PÁGINAS
============================================================ */
section.ads {
  display: block !important;
  width: 100% !important;
  margin: 30px 0 !important;
}

section.ads a {
  display: block !important;
  width: 100% !important;
  text-decoration: none !important;
}

.ads-banner {
  width: 100% !important;
  min-height: 120px !important;
  height: auto !important;
  background-color: #000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.ads-banner img {
  width: 100% !important;
  max-height: 250px !important;
  height: auto !important;
  min-height: 100px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}