/**
 * Tabs Home Responsive FIXED - A Casa dos Gamers
 * CSS com alinhamento corrigido e cores originais
 * Localização: /css/GERAL-HOME/tabs-home.css
 */

/* Container principal */
.hw-elementor-d9cef03 .hw-tabs-center .hw-title-box,
.hw-el-d9cef03 .hw-tabs-center .hw-title-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

/* Container das tabs com alinhamento perfeito */
.hw-elementor-d9cef03 .hw-tabs,
.hw-el-d9cef03 .hw-tabs {
    display: inline-flex !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 4px !important;
    background: rgba(26, 26, 26, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 35px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    list-style: none !important;
    align-items: stretch !important; /* Para altura uniforme */
    height: 52px !important; /* Altura fixa */
    position: relative !important;
}

/* Items das tabs */
.hw-elementor-d9cef03 .hw-tabs .hw-tab-item,
.hw-el-d9cef03 .hw-tabs .hw-tab-item {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: stretch !important;
}

/* Botões com altura completa */
.hw-elementor-d9cef03 .hw-tabs .hw-tab-item a,
.hw-el-d9cef03 .hw-tabs .hw-tab-item a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 30px !important; /* Apenas padding horizontal */
    background: transparent !important;
    border: none !important;
    border-radius: 31px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    letter-spacing: 0.3px !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    height: 100% !important; /* Preencher altura total */
    margin: 0 !important;
}

/* Hover - sutil */
.hw-elementor-d9cef03 .hw-tabs .hw-tab-item a:hover,
.hw-el-d9cef03 .hw-tabs .hw-tab-item a:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Tab Ativa - Cor única laranja (todas as tabs) */
.hw-elementor-d9cef03 .hw-tabs .hw-tab-item.hw-tab-active a,
.hw-el-d9cef03 .hw-tabs .hw-tab-item.hw-tab-active a {
    background: linear-gradient(135deg, #FF6B00, #FF8C00) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 
        0 4px 15px rgba(255, 107, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Remover espaços entre elementos inline */
.hw-elementor-d9cef03 .hw-tabs,
.hw-el-d9cef03 .hw-tabs {
    font-size: 0 !important;
}

.hw-elementor-d9cef03 .hw-tabs .hw-tab-item a,
.hw-el-d9cef03 .hw-tabs .hw-tab-item a {
    font-size: 14px !important;
}

/* Esconder JSON data */
.hw-elementor-d9cef03 .hw-data-json,
.hw-el-d9cef03 .hw-data-json {
    display: none !important;
}

/* ========================================
   RESPONSIVIDADE MOBILE
   ======================================== */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .hw-elementor-d9cef03 .hw-tabs,
    .hw-el-d9cef03 .hw-tabs {
        height: 48px !important;
        padding: 4px !important;
    }
    
    .hw-elementor-d9cef03 .hw-tabs .hw-tab-item a,
    .hw-el-d9cef03 .hw-tabs .hw-tab-item a {
        padding: 0 24px !important;
        font-size: 13px !important;
    }
}

/* Mobile Large (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .hw-elementor-d9cef03 .hw-tabs,
    .hw-el-d9cef03 .hw-tabs {
        height: 46px !important;
        padding: 3px !important;
    }
    
    .hw-elementor-d9cef03 .hw-tabs .hw-tab-item a,
    .hw-el-d9cef03 .hw-tabs .hw-tab-item a {
        padding: 0 18px !important;
        font-size: 12px !important;
        letter-spacing: 0 !important;
    }
}

/* Mobile Small (até 480px) - Layout vertical */
@media (max-width: 480px) {
    .hw-elementor-d9cef03 .hw-tabs,
    .hw-el-d9cef03 .hw-tabs {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        padding: 8px !important;
        gap: 8px !important;
        width: 90% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        border-radius: 20px !important;
        align-items: stretch !important;
    }
    
    .hw-elementor-d9cef03 .hw-tabs .hw-tab-item,
    .hw-el-d9cef03 .hw-tabs .hw-tab-item {
        width: 100% !important;
        display: block !important;
    }
    
    .hw-elementor-d9cef03 .hw-tabs .hw-tab-item a,
    .hw-el-d9cef03 .hw-tabs .hw-tab-item a {
        width: 100% !important;
        height: 44px !important;
        padding: 0 20px !important;
        font-size: 14px !important;
        border-radius: 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Adicionar borda sutil nas tabs inativas no mobile */
    .hw-elementor-d9cef03 .hw-tabs .hw-tab-item:not(.hw-tab-active) a,
    .hw-el-d9cef03 .hw-tabs .hw-tab-item:not(.hw-tab-active) a {
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
}

/* Mobile Extra Small (até 360px) */
@media (max-width: 360px) {
    .hw-elementor-d9cef03 .hw-tabs,
    .hw-el-d9cef03 .hw-tabs {
        width: 95% !important;
        padding: 6px !important;
        gap: 6px !important;
    }
    
    .hw-elementor-d9cef03 .hw-tabs .hw-tab-item a,
    .hw-el-d9cef03 .hw-tabs .hw-tab-item a {
        height: 40px !important;
        font-size: 13px !important;
        padding: 0 16px !important;
    }
}

/* Orientação Landscape em Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hw-elementor-d9cef03 .hw-tabs,
    .hw-el-d9cef03 .hw-tabs {
        flex-direction: row !important;
        height: 44px !important;
        gap: 2px !important;
        padding: 3px !important;
    }
    
    .hw-elementor-d9cef03 .hw-tabs .hw-tab-item,
    .hw-el-d9cef03 .hw-tabs .hw-tab-item {
        width: auto !important;
    }
    
    .hw-elementor-d9cef03 .hw-tabs .hw-tab-item a,
    .hw-el-d9cef03 .hw-tabs .hw-tab-item a {
        width: auto !important;
        height: 100% !important;
        padding: 0 16px !important;
        font-size: 11px !important;
    }
}

/* Touch feedback para mobile */
@media (hover: none) and (pointer: coarse) {
    .hw-elementor-d9cef03 .hw-tabs .hw-tab-item a:active,
    .hw-el-d9cef03 .hw-tabs .hw-tab-item a:active {
        transform: scale(0.97) !important;
    }
}

/* Fix para garantir alinhamento vertical */
.hw-elementor-d9cef03 .hw-tabs li,
.hw-el-d9cef03 .hw-tabs li {
    vertical-align: top !important;
    line-height: normal !important;
}

/* Transições suaves */
.hw-elementor-d9cef03 .hw-tabs,
.hw-el-d9cef03 .hw-tabs,
.hw-elementor-d9cef03 .hw-tabs .hw-tab-item a,
.hw-el-d9cef03 .hw-tabs .hw-tab-item a {
    transition: all 0.3s ease !important;
}

/* ================== MELHORIAS SUGERIDAS ================== */

/* Items das tabs (inativos agora têm mais contraste e borda) */
.hw-elementor-d9cef03 .hw-tabs .hw-tab-item a,
.hw-el-d9cef03 .hw-tabs .hw-tab-item a {
    background: rgba(255, 255, 255, 0.03) !important; /* leve preenchimento */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.75) !important; /* maior contraste */
}

/* Hover mais evidente (desktop) */
.hw-elementor-d9cef03 .hw-tabs .hw-tab-item a:hover,
.hw-el-d9cef03 .hw-tabs .hw-tab-item a:hover {
    color: rgba(255, 255, 255, 0.95) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    transform: translateY(-1px) !important; /* micro elevação */
}

/* Tab Ativa - já tinha destaque, mantive */
.hw-elementor-d9cef03 .hw-tabs .hw-tab-item.hw-tab-active a,
.hw-el-d9cef03 .hw-tabs .hw-tab-item.hw-tab-active a {
    background: linear-gradient(135deg, #FF6B00, #FF8C00) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 
        0 4px 15px rgba(255, 107, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* Mobile feedback no toque */
@media (hover: none) and (pointer: coarse) {
    .hw-elementor-d9cef03 .hw-tabs .hw-tab-item a:active,
    .hw-el-d9cef03 .hw-tabs .hw-tab-item a:active {
        transform: scale(0.97) !important;
        background: rgba(255, 255, 255, 0.18) !important;
    }
}

/* ================== AJUSTE DE GAP ================== */

/* Melhor prática: adicionar espaçamento entre botões para clareza */
.hw-elementor-d9cef03 .hw-tabs,
.hw-el-d9cef03 .hw-tabs {
    gap: 6px !important; /* espaçamento entre as tabs */
}
