/* custom.css */

/* FIX: Corrigir dupla barra de rolagem e proporções */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
    width: 100%;
    height: auto !important;
    min-height: 100vh;
}

body {
    margin: 0;
    padding: 0;
}

/* Corrigir overflow do .page que causa dupla barra */
.page {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* Responsividade geral do site */
* {
    box-sizing: border-box;
}

/* Container geral */
.container, .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Wrapper principal - Remove overflow-x para evitar barras duplas */
.wrapper, .main-wrapper, [class*="wrapper"] {
    overflow: visible;
}

/* Imagens responsivas */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tabelas responsivas */
table {
    width: 100%;
    table-layout: auto;
}

@media (max-width: 768px) {
    table {
        font-size: 0.8rem;
    }
}

/* Prevenção de overflow em elementos de texto */
h1, h2, h3, h4, h5, h6, p, div, span {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Videos e iframes responsivos */
iframe, video, embed, object {
    max-width: 100%;
    height: auto;
}

/* Ajustes customizados do site */

/* Corrigir posicionamento da imagem do personagem em telas grandes */
@media (min-width: 1200px) {
    .char {
        left: calc(50% - 52.5rem) !important; /* Ajusta para telas maiores */
    }
}

@media (min-width: 1600px) {
    .char {
        left: calc(50% - 65rem) !important; /* Ajusta ainda mais para telas muito grandes */
    }
}

@media (min-width: 1920px) {
    .char {
        left: calc(50% - 75rem) !important; /* Ajusta para telas Full HD+ */
    }
}

/* ============================================
   LIVES DA COMUNIDADE - Seção completa
   ============================================ */
.lives {
    padding: 40px 0;
}

.lives__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.lives__title {
    margin-bottom: 6px;
}

.lives__desc {
    max-width: 760px;
    margin-bottom: 0;
    opacity: 0.8;
}

.lives__counter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #ff4d4d;
    white-space: nowrap;
}

.lives__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d4d;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.6); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(255, 77, 77, 0); }
}

/* Grid para poucas lives (1-3) */
.lives__grid {
    display: grid;
    gap: 20px;
}

.lives__grid--1 {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
}

.lives__grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.lives__grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 991px) {
    .lives__grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .lives__grid--2,
    .lives__grid--3 { grid-template-columns: 1fr; }
}

/* Carousel para 4+ lives */
.lives__carousel {
    position: relative;
    padding: 0 40px;
}

.lives__nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-60%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.lives__arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.2s ease;
    line-height: 1;
}

.lives__arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

#livesPagination {
    margin-top: 16px;
    text-align: center;
}

#livesPagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 4px;
}

#livesPagination .swiper-pagination-bullet-active {
    background: #d4a843;
    width: 20px;
    border-radius: 4px;
}

/* Card individual */
.livecard {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.livecard:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 168, 67, 0.4);
}

.livecard--featured {
    border-color: rgba(212, 168, 67, 0.3);
}

.livecard__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    background: rgba(220, 38, 38, 0.9);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.livecard__live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: livePulse 1.5s ease-in-out infinite;
}

.livecard__media {
    position: relative;
    background: #111;
}

.livecard__media iframe {
    display: block;
    width: 100%;
    border: 0;
}

.livecard__info {
    padding: 12px 14px 16px;
}

.livecard__title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.livecard__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    opacity: 0.75;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.livecard__platform {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.livecard__platform--twitch {
    background: rgba(145, 70, 255, 0.25);
    color: #b388ff;
}

.livecard__platform--youtube {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
}

.livecard__viewers {
    font-size: 11px;
    opacity: 0.7;
}

.livecard__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #d4a843;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.livecard__link:hover {
    color: #f0c85a;
}

.livecard__link-icon {
    font-size: 10px;
}

/* Estado vazio */
.lives__empty {
    padding: 40px 20px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.lives__empty-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.lives__empty-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.7);
}

.lives__empty-sub {
    font-size: 13px;
    opacity: 0.5;
}

/* Downloads page improvements */
.resources {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.resources__box {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    padding: 50px 40px;
    background-color: rgba(26,12,7,.95) !important;
    border: 2px solid rgba(255,194,76,.3);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,.8);
}

.resources__ttl {
    font-size: 3.2rem !important;
    margin-bottom: 40px !important;
    text-align: center;
    color: #f4d18a;
    text-shadow: 2px 2px 4px rgba(0,0,0,.8);
}

.file__title {
    font-size: 1.8rem !important;
    margin-bottom: 30px !important;
    text-align: center;
    color: #f4d18a;
    font-weight: 600;
}

.file__list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.file__btn {
    padding: 15px 25px !important;
    background: linear-gradient(145deg, #2a1810, #1a0f08) !important;
    border: 2px solid rgba(255,194,76,.6) !important;
    border-radius: 8px !important;
    color: #f4d18a !important;
    text-decoration: none !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file__btn:hover {
    background: linear-gradient(145deg, #3a2420, #2a1810) !important;
    border-color: #ffc24c !important;
    color: #ffc24c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(255,194,76,.3) !important;
}

.resources__help {
    background: rgba(16,8,4,.7);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    border: 1px solid rgba(255,194,76,.2);
}

.resources__help-list {
    margin: 0;
    padding-left: 20px;
    line-height: 1.6;
}

.resources__help-list li {
    margin-bottom: 8px;
    color: #d4af37;
}

.resources__tablebox {
    background: rgba(16,8,4,.7);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,194,76,.2);
}

.table-style-1 {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.table-style-1 th,
.table-style-1 td {
    padding: 12px 15px;
    border: 1px solid rgba(255,194,76,.2);
    text-align: left;
}

.table-style-1 th {
    background: rgba(255,194,76,.15);
    color: #f4d18a;
    font-weight: 600;
    text-align: center;
}

.table-style-1 td.td-name {
    font-weight: 600;
    color: #d4af37;
    width: 200px;
}

/* ============================================
   RANKING TABLES (Top PvP, PK, Online, Level, Clan, Olympiad, Boss)
   ============================================ */

/* Tabela padrão dos rankings */
table.default {
    width: 100%;
    border-collapse: collapse;
    background: rgba(16, 8, 4, 0.6);
    border: 1px solid rgba(255, 194, 76, 0.15);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

table.default th {
    background: rgba(255, 194, 76, 0.12);
    color: #f4d18a;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 12px 15px;
    border-bottom: 2px solid rgba(255, 194, 76, 0.25);
    text-align: center;
    letter-spacing: 0.5px;
}

table.default td {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 194, 76, 0.08);
    color: #b9aa86;
    text-align: center;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

table.default tr:hover td {
    background: rgba(255, 194, 76, 0.06);
}

table.default tr.two td {
    background: rgba(54, 39, 24, 0.5);
}

table.default tr.two:hover td {
    background: rgba(255, 194, 76, 0.1);
}

/* Coluna de posição */
table.default td.pos,
table.default th.pos {
    width: 50px;
    min-width: 50px;
    text-align: center;
    font-weight: 700;
    color: #d4af37;
}

/* 1º lugar destaque */
table.default tr:first-of-type td.pos {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Coluna em destaque (level, class, etc) */
table.default td.foco {
    color: #f4d18a;
    font-weight: 700;
}

/* Texto menor (subclan info, etc) */
table.default .txtmin {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Separador de classes na Olympiad */
table.default tr.ctype2 td {
    padding: 2px 0;
    background: rgba(255, 194, 76, 0.08);
    border: none;
}

/* Texto de info acima da tabela */
.pddInner {
    padding: 15px 20px;
    color: #b9aa86;
    font-size: 0.9rem;
    line-height: 1.5;
    background: rgba(16, 8, 4, 0.4);
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 194, 76, 0.1);
}

.pddInner b {
    color: #f4d18a;
}

/* Menu horizontal de navegação dos rankings */
.horMenu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    padding: 12px 15px;
    background: rgba(16, 8, 4, 0.5);
    border: 1px solid rgba(255, 194, 76, 0.15);
    border-radius: 8px;
}

.horMenu a {
    display: inline-block;
    padding: 8px 18px;
    color: #b9aa86;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 5px;
    border: 1px solid rgba(255, 194, 76, 0.15);
    background: rgba(255, 194, 76, 0.05);
    transition: all 0.3s ease;
}

.horMenu a:hover {
    background: rgba(255, 194, 76, 0.15);
    color: #f4d18a;
    border-color: rgba(255, 194, 76, 0.3);
}

.horMenu a.act {
    background: rgba(255, 194, 76, 0.2);
    color: #ffd700;
    border-color: rgba(255, 194, 76, 0.4);
    box-shadow: 0 0 10px rgba(255, 194, 76, 0.1);
}

/* ============================================
   RANKING TABLES - RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    table.default {
        font-size: 0.8rem;
    }
    
    table.default th,
    table.default td {
        padding: 8px 8px;
    }
    
    table.default td.pos,
    table.default th.pos {
        width: 35px;
        min-width: 35px;
    }
    
    .horMenu {
        gap: 6px;
        padding: 10px;
    }
    
    .horMenu a {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .pddInner {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    table.default th,
    table.default td {
        padding: 6px 5px;
        font-size: 0.75rem;
    }
    
    .horMenu {
        flex-direction: column;
        align-items: stretch;
    }
    
    .horMenu a {
        text-align: center;
    }
}

/* ============================================
   BOSS STATUS TABLE ADJUSTMENTS
   ============================================ */
table.default td[style*="color: #006202"],
table.default td span[style*="color: #006202"] {
    font-weight: 700;
}

table.default td[style*="color: #ba0d0d"],
table.default td span[style*="color: #ba0d0d"] {
    font-weight: 700;
}

/* Responsive improvements */
@media (max-width: 1200px) {
    .resources__box {
        width: 90%;
        padding: 40px 30px;
    }
    
    .file__list {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .resources {
        padding: 30px 15px;
    }
    
    .resources__box {
        width: 95%;
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .resources__ttl {
        font-size: 2.4rem !important;
    }
    
    .file__title {
        font-size: 1.4rem !important;
    }
    
    .file__list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    
    .file__btn {
        padding: 12px 15px !important;
        font-size: 0.9rem !important;
        min-height: 45px;
    }
    
    .table-style-1 {
        font-size: 0.85rem;
    }
    
    .table-style-1 td.td-name {
        width: auto;
    }
    
    .resources__help,
    .resources__tablebox {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .resources {
        padding: 20px 10px;
        min-height: 70vh;
    }
    
    .resources__box {
        width: 98%;
        padding: 25px 15px;
        margin: 0 5px;
    }
    
    .resources__ttl {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
    }
    
    .file__title {
        font-size: 1.2rem !important;
    }
    
    .file__list {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    
    .file__btn {
        padding: 15px 20px !important;
        font-size: 1rem !important;
        min-height: 50px;
    }
    
    .resources__help,
    .resources__tablebox {
        padding: 15px 10px;
    }
    
    .table-style-1 th,
    .table-style-1 td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
}

/* Responsividade geral adicional para todo o site */
@media (max-width: 1024px) {
    /* Navegação e header */
    .header__title {
        font-size: 2.5rem !important;
    }
    
    .header__subtitle {
        font-size: 1.8rem !important;
    }
    
    /* Botões gerais */
    .btn, .button {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    /* Seções gerais */
    section {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    /* Header principal */
    .header__title {
        font-size: 2rem !important;
        text-align: center;
    }
    
    .header__subtitle {
        font-size: 1.4rem !important;
        text-align: center;
    }
    
    .header__content {
        font-size: 1rem !important;
        text-align: center;
        padding: 0 10px;
    }
    
    /* Navegação */
    .navigation {
        padding: 0 15px;
    }
    
    /* Botões */
    .btn, .button {
        padding: 10px 15px;
        font-size: 0.9rem;
        min-width: auto;
    }
    
    /* Seções */
    section {
        padding: 30px 15px;
    }
    
    /* Títulos gerais */
    .title {
        font-size: 2rem !important;
    }
    
    .subtitle {
        font-size: 1.2rem !important;
    }
    
    /* Grid layouts */
    .grid, [class*="grid"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Cards e boxes */
    .box, .card, [class*="box"], [class*="card"] {
        margin: 10px 0;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    /* Header mobile */
    .header__title {
        font-size: 1.6rem !important;
    }
    
    .header__subtitle {
        font-size: 1.1rem !important;
    }
    
    .header__content {
        font-size: 0.9rem !important;
        padding: 0 5px;
    }
    
    /* Navegação mobile */
    .navigation {
        padding: 0 10px;
    }
    
    /* Botões mobile */
    .btn, .button {
        padding: 12px 20px;
        font-size: 1rem;
        width: 100%;
        margin: 5px 0;
    }
    
    /* Seções mobile */
    section {
        padding: 20px 10px;
    }
    
    /* Títulos mobile */
    .title {
        font-size: 1.5rem !important;
    }
    
    /* Formulários */
    input, textarea, select {
        width: 100% !important;
        padding: 12px;
        font-size: 16px; /* Previne zoom no iOS */
    }
    
    /* Tabelas mobile */
    table {
        font-size: 0.8rem;
    }
    
    th, td {
        padding: 6px 4px !important;
    }
}

/* ============================================
   GALERIA DE MÍDIA - Estilos do Carousel
   ============================================ */

/* Link da galeria */
.stream__link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
    border-radius: 0.9375rem;
}

/* Imagem de thumbnail (background-image fallback) */
.stream__img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Imagem real com <img> tag - solução definitiva */
img.stream__img-cover,
.stream__img-cover {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1;
    transition: transform 0.4s ease, filter 0.4s ease;
    border-radius: 0;
}

.stream__link:hover .stream__img-cover {
    transform: scale(1.08);
    filter: brightness(0.6);
}

.stream__link:hover .stream__img {
    transform: scale(1.08);
    filter: brightness(0.6);
}

/* Overlay com botão play - vídeos */
.stream__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.stream__link:hover .stream__overlay {
    opacity: 1;
}

/* Botão Play */
.stream__play {
    width: 56px;
    height: 56px;
    background: rgba(255, 194, 76, 0.95);
    border-radius: 50%;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 20px rgba(255, 194, 76, 0.4);
}

.stream__play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 11px 0 11px 20px;
    border-color: transparent transparent transparent #1a1a1a;
}

.stream__link:hover .stream__play {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(255, 194, 76, 0.6);
}

/* Ícone de zoom para imagens */
.stream__zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.stream__zoom-icon {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    position: relative;
    transition: transform 0.25s ease;
}

.stream__zoom-icon::before {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: 300;
    color: #fff;
    line-height: 1;
}

.stream__link:hover .stream__zoom {
    opacity: 1;
}

.stream__link:hover .stream__zoom-icon {
    transform: scale(1.1);
}

/* Badge de tipo (YouTube, Vídeo, Imagem) */
.stream__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 4;
    pointer-events: none;
}

.stream__badge--youtube {
    background: rgba(255, 0, 0, 0.85);
    color: #fff;
}

.stream__badge--video {
    background: rgba(255, 194, 76, 0.9);
    color: #1a1a1a;
}

.stream__badge--image {
    background: rgba(255, 255, 255, 0.85);
    color: #1a1a1a;
}

/* Streams Swiper container */
.streams__list {
    overflow: hidden;
    width: 100%;
}

.streams__list .swiper-wrapper {
    display: flex !important;
}

.streams__list .swiper-slide {
    flex-shrink: 0;
}

/* Stream card */
.stream,
.streams__stream.stream {
    height: 15rem;
    border-radius: 0.9375rem;
    overflow: hidden;
    position: relative;
    background-color: #1a0e08 !important;
    background-image: none !important;
    background: #1a0e08 !important;
    border: 2px solid rgba(255, 194, 76, 0.15);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.streams__stream.stream:hover {
    border-color: rgba(255, 194, 76, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 194, 76, 0.1);
}

/* Responsive */
@media (min-width: 1200px) {
    .stream,
    .streams__stream.stream {
        height: 15.625rem;
        background: #1a0e08 !important;
        background-image: none !important;
    }
}

@media (max-width: 599px) {
    .stream,
    .streams__stream.stream {
        height: 12rem;
        background: #1a0e08 !important;
        background-image: none !important;
    }
    .stream__play {
        width: 44px;
        height: 44px;
    }
    .stream__play::after {
        border-width: 8px 0 8px 15px;
    }
    .stream__badge {
        font-size: 0.6rem;
        padding: 3px 7px;
    }
}

/* ========================================
   FANCYBOX - Lightbox da Galeria
   ======================================== */
.fancybox-bg {
    background: rgba(0, 0, 0, 0.9) !important;
}

.fancybox-slide--image .fancybox-content {
    max-width: 90vw !important;
    max-height: 85vh !important;
}

.fancybox-button--close {
    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    top: 10px !important;
    right: 10px !important;
}

.fancybox-button--close:hover {
    background: rgba(200, 50, 50, 0.8) !important;
}

.fancybox-navigation .fancybox-button {
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
}

.fancybox-navigation .fancybox-button:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}

.fancybox-caption {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)) !important;
    color: #fff !important;
    font-size: 14px !important;
    padding: 20px 44px !important;
}

/* Evitar que o lightbox quebre o layout */
.fancybox-is-open .fancybox-bg {
    opacity: 1 !important;
}

/* ========================================
   VIDEO PREVIEW no card da galeria
   ======================================== */
.stream__video-preview {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    z-index: 1;
    pointer-events: none;
    background: #1a0e08;
}

.stream__link:hover .stream__video-preview {
    filter: brightness(0.6);
    transition: filter 0.3s ease;
}
